• 2 Posts
  • 48 Comments
Joined 1 year ago
cake
Cake day: October 9th, 2023

help-circle



  • Cosmic-comp is my second favorite after hyprland so far due to their tiling being quite well thought-out. The problem is, it’s part of a DE and is somewhat cumbersome to configure as a standalone compositor (can be fixed by patching libcosmic, tho), and also it’s quite bare-bones when it comes to features.

    Then there’s pinnacle which looks promising, but I haven’t yet tried to daily-drive it.

    Also, maybe qtile, which has a Wayland back-end.







  • Sounds like one of the cells has died; fully agree that it’s best to replace the battery (given its 7th gen, I doubt it’s still under warranty).

    Alternatively, if you like tinkering with stuff just for the sake of it, you can replace the offending cell (often slightly expanded compared to the rest of them), or all 3/4 of them: in my experience, replacing only the dead one results in another one dying relatively soon after, but may still be a viable temporary solution if you’re short on money or have something of similar size lying around. Also, if you decide it sounds fun, be sure to look up how-to’s, as just disconnecting a cell will make most BMSes lock themselves + possibly burn the fuse, and you probably don’t want to play the game of “is this BMS unlockable without paying 100500 kilomoney for specialized equipment”









  • fl42v@lemmy.mltoLinux@lemmy.mlMy move to Linux
    link
    fedilink
    arrow-up
    4
    ·
    1 month ago

    Given those options, you may want to try vim :) It’s a bit different in how you interact with it (pressing stuff on the keyboard instead of clicking stuff in menus, plus it’s more of an imperative vs declarative approach, i.e. you tell vim how to do stuff instead of what you need to be done; the good part is being independent of what sb thought you may need to do, the bad – having to learn editing primitives and stuff), but it can certainly do stuff you’ve mentioned, sometimes with some help from external programs:

    • dupcicate current line - yyp [(yy)ank_curren and (p)aste];
    • join lines depends on how you want to join them, in the simplest case it’s J or gJ to join current line with the one below with or without space as a separator respectively. You can also combine it with :g or :v and norm or macros to make this edit on lines matching (g) or not (v) a specific regex (e.g. :g/join me/norm J will join all lines containing “join me” with that below). Splitting also depends;
    • reverse, randomize and sorting can be done via calling external stuff: v10j:.!tac will reverse 11 lines, including the one with the cursor, via calling (!) tac on the selection (v) of the current line and 10 below (10j) and pasting its output in the file you’re editing (.) (it’ll replace stuff you’ve selected). Replace tac with shuf or sort for the other options mentioned. Removing duplicates without sorting - https://stackoverflow.com/questions/11532157/remove-duplicate-lines-without-sorting#11532197

    Bonus: neovim integrates with vscode quite well, and on itself it handles reasonably huge files without an issue.