My dotfiles for Arch Linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

Cleanup background idle and lock screen config

jehrhardt.dev 097d171f eea173e2

verified
+7 -15
-2
README.md
··· 26 26 ```bash 27 27 paru -S \ 28 28 swayidle \ 29 - swaybg \ 30 29 yazi \ 31 30 btop \ 32 31 bluetui \ ··· 115 114 systemctl --user add-wants niri.service plasma-polkit-agent.service 116 115 systemctl --user add-wants niri.service mako.service 117 116 systemctl --user add-wants niri.service waybar.service 118 - systemctl --user add-wants niri.service swaybg.service 119 117 systemctl --user add-wants niri.service swayidle.service 120 118 ``` 121 119
+5 -1
dot_config/niri/config.kdl
··· 41 41 MOD+RETURN hotkey-overlay-title="Open Terminal: alacritty" { spawn-sh "alacritty"; } 42 42 MOD+SPACE hotkey-overlay-title="Open App Launcher: wofi" { spawn-sh "wofi"; } 43 43 MOD+B hotkey-overlay-title="Open Browser: brave" { spawn-sh "brave"; } 44 - MOD+ALT+L hotkey-overlay-title="Lock Screen: swaylock" { spawn-sh "swaylock"; } 44 + MOD+ALT+L hotkey-overlay-title="Lock Screen: loginctl" { spawn-sh "loginctl lock-session"; } 45 45 46 46 // Please choose your own file manager 47 47 MOD+E hotkey-overlay-title="File Manager: yazi" { spawn-sh "alacritty -e yazi"; } ··· 164 164 165 165 // ────────────── Startup Applications ────────────── 166 166 // https://github.com/YaLTeR/niri/wiki/Configuration:-Miscellaneous#spawn-sh-at-startup 167 + 168 + 169 + spawn-sh-at-startup "swww-daemon" // Wallpaper daemon 170 + spawn-sh-at-startup "swww img ~/.config/niri/background.jpg" // Set wallpaper 167 171 168 172 prefer-no-csd // Disable program decorations 169 173 screenshot-path null // Disable screenshot saving
dot_config/swaybg/background.jpg dot_config/niri/background.jpg
-2
dot_config/swaylock/config
··· 1 - ignore-empty-password 2 1 disable-caps-lock-text 3 2 font=Cantarelle Regular 4 - #font-size=9 5 3 6 4 screenshots 7 5 effect-blur=7x5
-8
dot_config/systemd/user/swaybg.service
··· 1 - [Unit] 2 - PartOf=graphical-session.target 3 - After=graphical-session.target 4 - Requisite=graphical-session.target 5 - 6 - [Service] 7 - ExecStart=/usr/bin/swaybg -m fill -i "%h/.config/swaybg/background.jpg" 8 - Restart=on-failure
+1 -1
dot_config/systemd/user/swayidle.service
··· 4 4 Requisite=graphical-session.target 5 5 6 6 [Service] 7 - ExecStart=/usr/bin/swayidle -w timeout 601 'niri msg action power-off-monitors' timeout 600 'swaylock -f' before-sleep 'swaylock -f' 7 + ExecStart=/usr/bin/swayidle -w timeout 601 'niri msg action power-off-monitors' timeout 600 'loginctl lock-session' before-sleep 'loginctl lock-session' lock 'swaylock -f' 8 8 Restart=on-failure
+1 -1
dot_config/wlogout/layout
··· 1 1 { 2 2 "label" : "lock", 3 - "action" : "swaylock", 3 + "action" : "loginctl lock-session", 4 4 "text" : "Lock", 5 5 "keybind" : "l" 6 6 }