[-] wwwgem@lemmy.ml 2 points 9 months ago

OP has solved his issue already but the trick I mentioned could be due to a capacitor issue which can occur anytime and break things that worked before.
I was just trying to help by suggesting an approach that solved the exact same issue on others' laptop running the same distro. Even though not convenient you can either wait for your battery to run out or disconnect it to try this trick.

[-] wwwgem@lemmy.ml 2 points 9 months ago

I've been biased in my interpretations because of professional deformation where we use "should" as "you have to do it unless exceptional situations that prevent you to comply".

[-] wwwgem@lemmy.ml 2 points 9 months ago

I would need to go back to my old dwm config file but I think what you're looking for is this patch. In bspwm this is achieved with the "follow" option as shown in my example.

To restart dwm without login out and back in you'll need this in your .xinitrc:

while :; do
    ssh-agent dwm
done

Then whenever you kill dwm with kill -HUP $(pidof -s dwm) it will actually be reloaded. Seems like there's also 2 patches to do that now (note that they both mention the above method as well).
https://dwm.suckless.org/patches/restartsig/
https://dwm.suckless.org/patches/selfrestart/

[-] wwwgem@lemmy.ml 2 points 9 months ago

You know how hard it is to explain personal preferences when we talk about tiling WM but, as I mentioned in my first post, I would say that bspwm offer some further granularity. I didn't thought that was possible after using dwm but to come back to my example I have bspwm listening to the state of my media player. Everytime it becomes floating, bspwm resize the window, place it on a specific position, and add a border to it. This is just one example. Also, even though you can use it with any tiling WM, sxhkd has been developed with bspwm in mind and offers the best keybindings management I've ever tested. Thanks to chords, several commands can be associated to independent keybindings within the same piece of code like so:

control+{_,shift+}{1-9}
   bspc {desktop -f,node -d} '^{1-9}' --follow

Control and a number will switch you to a workspace. If you also press Shift the active window will be sent to a given workspace.

[-] wwwgem@lemmy.ml 2 points 9 months ago

You're spot on and that's what this discussion helped me figure out: I have no problem. I knew that but I also thought that NixOS would bring something new to improve my Linux usage. So far I still see such improvements for servers or deployment on several machines but not for a single user with standard needs (and this statement may be wrong and due to my limited experience with NixOS).

But NixOS approach is quite different from others and I feel like I may discover something of interest to me once I learn more about it. Also, just for the sake of learning and discovering, I will continue experimenting with it for a while.

[-] wwwgem@lemmy.ml 2 points 9 months ago* (last edited 9 months ago)

Very nice explanation. I also recognize this point for NixOS.After reading so many comments, they all confirm what I've read before and I may realize that my real problem is already having a stable system which means not being in need for some "advanced" recovery options. That being said, I'm still curious and will continue testing NixOS.

Not that I really have too much spare time but I do enjoy learning and tweaking NixOS. With its current development state, things are changing a lot so it can keep me busy for months. That's probably what I was mostly looking for: another toy to play with. Will see if I actually switch to NixOS at some point. Thanks again for your feedback.

[-] wwwgem@lemmy.ml 2 points 9 months ago

That's indeed pretty neat.

[-] wwwgem@lemmy.ml 2 points 9 months ago* (last edited 9 months ago)

Great feedback, thanks! I've appreciated being able to replicate my system in NixOS within only few hours. I found NixOS actually pretty easy to take a grasp on, though I still didn't look at flakes in detail. You spot on the reason why I'm using Arch and a bunch of applications you can tweak to perfectly meet your own specific needs (neovim, neomutt, bspwm, rofi...).

I love spending time to config them and to learn new things. This is basically why I'm interested in NixOS as well. Being entirely satisfied with Arch and not being a distro hopper, the fact that I installed NixOS means a lot to me but now I need tangible reasons to fully move to it. Maybe time will help me in my decision.

All the great feedback in response to this post so far confirm how great NixOS is and I had no doubt about that. I may realize what it can bring me after some weeks of serious use. Thanks again for the time spent to write your feedback, very much appreciated

[-] wwwgem@lemmy.ml 2 points 9 months ago

Thanks for taking time to share this detailed thought. That's an interesting point I forgot because I didn't experience any related issues over 15 years with Arch but that's still a nice approach. I can certainly see why this is a big plus for NixOS.

[-] wwwgem@lemmy.ml 2 points 9 months ago

Glad it can be useful.

[-] wwwgem@lemmy.ml 2 points 10 months ago

Thanks for sharing your experience. Always interesting to hear how things are (not) working for others. The only negative side of Linux - which is at the same time a good thing in other aspects - is the behavior difference across distros. Arch is working smoothly on the XPS 13 and the Razer Book 13 which is a very similar machine.

I have no doubt Tuxedo is great. My friend was just not lucky with his laptop. Like any brands there're various positive and negative stories about their machines. Just here we have different experiences with Dell and Tuxedo. That's just frustrating when you're trying to collect info to help you decide on a buy. Ending up with issues while you did your best to prevent them is really a killer to the excitement you should have with your new laptop.

[-] wwwgem@lemmy.ml 2 points 10 months ago

Thanks for the information. I'm always happy to hear from others because that's how I make progress. Also with my workflow in constant evolution it's good to know neovim's limitations so I can be prepared. Being curious by nature I will try other apps with no doubts anyway. I've tried vi, neovim, emacs, but only heard of VS so who knows...

view more: ‹ prev next ›

wwwgem

joined 2 years ago