Generalize and move configs

This commit is contained in:
Jimbo 2024-11-12 18:03:28 -05:00
parent 17f2a16f48
commit ffb1b6d541
21 changed files with 73 additions and 64 deletions

View file

@ -0,0 +1,10 @@
{ pkgs, config, ... }:
{
home.packages = with pkgs; [
(pkgs.writeScriptBin "swaysleep" ''
swaylock & ${pkgs.swayidle}/bin/swayidle -w \
timeout 1 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"; pkill -9 swayidle'
'')
];
}