diff --git a/private_dot_config/niri/config.kdl b/private_dot_config/niri/config.kdl index 0d5f9cb..474403f 100644 --- a/private_dot_config/niri/config.kdl +++ b/private_dot_config/niri/config.kdl @@ -346,6 +346,7 @@ layout { // spawn-at-startup "alacritty" "-e" "fish" //spawn-at-startup "waybar" spawn-at-startup "swaybg" "-i" "images/wallpapers/wallhaven-yxzmog-interstellar.png" +spawn-at-startup "swayidle" "-w" spawn-at-startup "wlsunset" "-l" "48.6" "-L" "6.1" // Uncomment this line to ask the clients to omit their client-side decorations if possible. @@ -358,7 +359,7 @@ prefer-no-csd // You can change the path where screenshots are saved. // A ~ at the front will be expanded to the home directory. // The path is formatted with strftime(3) to give you the screenshot date and time. -screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" +screenshot-path "~/images/screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png" // You can also set this to null to disable saving screenshots to disk. // screenshot-path null diff --git a/private_dot_config/swayidle/config b/private_dot_config/swayidle/config new file mode 100644 index 0000000..30ef83a --- /dev/null +++ b/private_dot_config/swayidle/config @@ -0,0 +1,5 @@ +timeout 300 "swaylock -f" +timeout 600 "niri msg action power-off-monitors" +lock swaylock +before-sleep "swaylock -f" +after-resume "niri msg action power-on-monitors"