I installed NixOS yesterday and so far I really like it. I have one big problem though and that is related to bspwm and sxhkd.
bspwm starts up and I can open terminals and stuff like that, but it seems like bspwm doesn’t read the config file.
I can’t change workspace, nothing happens. Nothing in my bspwm config is acutally set on boot. I tried this by changing the split ratio which had no effect at all.
As I understand from the NixOS options page is that i really don’t need to specify the config path if it’s in ~/.config/bspwm/bspwmrc. I’ve tried both to specify the path and completely remove it from the configuration.nix, same issue no matter what.
I tried to run bspc in terminal and got the following:
~ → bspc
No arguments given.
When I try to swap desktop:
~ → bspc desktop -f 2
desktop -f: Invalid descriptor found in '2'.
I did search the forum and some people have had the same problem and it seems like most solving this by using home-manager. I don’t want to do that, yet at least. I want to learn a bit of how Nix works first.
No, I changed that for the post only, it’s the right user name in the config file. This doesn’t seems to work for me at all though, no matter if I put the path or leave it out. I also tried with ~/ and windowManager.bspwm.configFile = builtins.getEnv "HOME" + "/.config/bspwm/bspwmrc";.