I took a look at which simple programs I could use as a desktop environment instead of Gnome and picked out the following ones
The suckless tools are configured by editing C header files before compilation. This is pretty straightforward to do in most cases, but it requires dealing with source changes in git repos instead of using config files. For now these changes stay outside my dotfiles repo and I'm not sure about the best way to version and sync this type of configuration.
One very pleasant aspect is how easily and fast the programs compile. They have hardly any dependencies and compilation is finished nearly at the same moment as you hit the enter key to call make.
Since each of the programs handles only a single concern, you have to collect more of them than you're used to when you want to cover the usual amount of use cases. This allows freely mixing and matching different tools as you like. I like the general approach, but would have preferred a way to get a selection of recommended programs and configs and start using a known-good setup before fiddling with the details.
I want to be able to change the volume and screen brightness with the media keys and have a keybinding to turn off and lock my screen. This can be configured with xbindkeys by assigning shell commands to certain keys. This has a nice unix feel to it, but needs some fiddling to get right. I also miss the visual feedback when changing brightness and volume.
# Brightness + "lux -a 70" XF86MonBrightnessUp # Brightness - "lux -s 70" XF86MonBrightnessDown # Increase volume "pactl set-sink-volume @DEFAULT_SINK@ +5000" XF86AudioRaiseVolume # Decrease volume "pactl set-sink-volume @DEFAULT_SINK@ -5000" XF86AudioLowerVolume # Mute volume "pactl set-sink-mute @DEFAULT_SINK@ toggle" XF86AudioMute # Shift + super + L locks screen and turns display off "slock & (sleep 1 && xset dpms force off)" Shift + Mod4 + l
I didn't find an autolock setup that worked as well as I would like. My goal would be:
I could not get the last point working reliably for me with xautolock or xidlehook (bug report). I stopped using autolock and just manually lock my screen.