diff options
| author | José Juan Loeza Sierra <jj@xz6ze.com> | 2026-03-20 23:25:54 -0700 |
|---|---|---|
| committer | José Juan Loeza Sierra <jj@xz6ze.com> | 2026-03-20 23:25:54 -0700 |
| commit | 33cbe9329621eece0c66d902a352aa799588b0b1 (patch) | |
| tree | d90148677c591b33cad37fa8d8cce40ee31e251d | |
| parent | f2e43137ca0b77da1354bf4816cd7ebe2eac71cc (diff) | |
move swaylock params to config
Also, added a wallpaper to swaylock. Assumes a symlinked wallpaper at
the path.
| -rw-r--r-- | dot-bashrc | 2 | ||||
| -rw-r--r-- | dot-config/niri/config.kdl | 2 | ||||
| -rw-r--r-- | dot-config/swaylock/config | 4 |
3 files changed, 6 insertions, 2 deletions
@@ -32,7 +32,7 @@ alias tm='trash-put' alias open='handlr open' # lock desktop -alias lock='swaylock -f -c 000000' +alias lock='swaylock' # bluetooth alias bt='bluetui' diff --git a/dot-config/niri/config.kdl b/dot-config/niri/config.kdl index 27137a9..6ca902e 100644 --- a/dot-config/niri/config.kdl +++ b/dot-config/niri/config.kdl @@ -365,7 +365,7 @@ binds { // Suggested binds for running programs: terminal, app launcher, screen locker. Mod+Return hotkey-overlay-title="Open a Terminal: foot" { spawn "foot"; } Mod+Space hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } - Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock" "-f" "-c" "000000"; } + Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } // You can also use a shell. Do this if you need pipes, multiple commands, etc. // Note: the entire command goes as a single argument in the end. diff --git a/dot-config/swaylock/config b/dot-config/swaylock/config new file mode 100644 index 0000000..e41939e --- /dev/null +++ b/dot-config/swaylock/config @@ -0,0 +1,4 @@ +daemonize +ignore-empty-password +indicator-caps-lock +image=/home/jose/Pictures/Wallpapers/wallpaper |
