4 ms·
Sounds interesting. Could you share your setup/workflow?
by gingerlime 9y ago
Sounds interesting. Could you share your setup/workflow?
- mort96 9y agoHere's my git repository with all dotfiles and such: https://github.com/mortie/nixConf https://github.com/mortie/nixConf I use i3wm (well, i3-gaps) as the WM. Xdotool is just used to move the cursor with hotkeys: https://github.com/mortie/nixConf/blob/7c12d4215c703de0c6935d62c4fc7296c6c3c3e8/.sxhkdrc#L18-L28 https://github.com/mortie/nixConf/blob/7c12d4215c703de0c6935..., scrot is used both for a print screen button (scrot takes the picture, then it's copied to my server with scp, and the URL is put in the clipboard: https://github.com/mortie/nixConf/blob/master/bin/mshot https://github.com/mortie/nixConf/blob/master/bin/mshot) and for i3lock (scrot takes the picture, imagemagick pixelates, i3lock shows it: https://github.com/mortie/nixConf/blob/master/bin/mlock https://github.com/mortie/nixConf/blob/master/bin/mlock). I also have a project called dedaemon: https://github.com/mortie/dedaemon https://github.com/mortie/dedaemon. That uses udev to listen to events, like displays or input devices being connected or disconnected, and does a preconfigured to them. I for example have these lines, which sets the resolution and frame rate to any connected monitor to the highest possible, and positions it to the left of the primary monitor: https://github.com/mortie/nixConf/blob/7c12d4215c703de0c6935d62c4fc7296c6c3c3e8/.dedaemon.hcnf#L5-L9 https://github.com/mortie/nixConf/blob/7c12d4215c703de0c6935.... I imagine porting that functionality to wayland would be really hard, and probalby require writing custom extensions to each window manager separately. There's also this other project I have, which isn't really related to wayland, but which I still feel is relevant: mmenu - https://github.com/mortie/mmenu https://github.com/mortie/mmenu. It just makes dmenu work as a calculator, running the input through python if it doesn't match a program in your $PATH, plus some other features.
- gingerlime 9y agoThanks for sharing! I really appreciate it. Already "borrowed" the screen lock solution, and will look into other productivity enhancements :)