Compare commits

...

3 commits

Author SHA1 Message Date
987934ee37 feat(niri): change screenshot folder 2025-03-22 10:26:55 +01:00
b07a7d3612 feat(niri): run swayidle at startup 2025-03-22 10:26:35 +01:00
af4858cbdb feat(swayidle): add config 2025-03-22 10:26:18 +01:00
2 changed files with 7 additions and 1 deletions

View file

@ -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

View file

@ -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"