diff options
Diffstat (limited to 'dotfiles/.config/niri')
| -rw-r--r-- | dotfiles/.config/niri/config.kdl | 27 | ||||
| -rw-r--r-- | dotfiles/.config/niri/dms/binds.kdl | 7 |
2 files changed, 26 insertions, 8 deletions
diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl index 4e1bdd5..186d2b6 100644 --- a/dotfiles/.config/niri/config.kdl +++ b/dotfiles/.config/niri/config.kdl @@ -317,12 +317,9 @@ window-rule { window-rule { match app-id=r#"^[aA]+lacritty"# - match app-id="mattermost-desktop" match app-id="org.telegram.desktop" match app-id="dev.duxlabs.shell" - - default-column-width { fixed 770; } - + match app-id="dev.duxlabs.files" background-effect { blur true xray false @@ -330,6 +327,19 @@ window-rule { } window-rule { + match app-id="dev.duxlabs.shell" + default-column-width { fixed 820; } +} + +window-rule { + match app-id=r#"^[aA]+lacritty"# + match app-id="mattermost-desktop" + match app-id="org.telegram.desktop" + match app-id="dev.duxlabs.files" + default-column-width { fixed 770; } +} + +window-rule { match app-id="org.pwmt.zathura" default-column-width { fixed 1100; } @@ -645,10 +655,11 @@ binds { Mod+Ctrl+M { spawn "rofi" "-show" "audio" "-modi" "audio:rofiaudio"; } // Application shortcuts - Mod+M { spawn "sh" "-c" "$TERM -e ncmpcpp"; } - Mod+A { spawn "sh" "-c" "$TERM -T 'neomutt' -e neomutt"; } - Mod+N { spawn "sh" "-c" "$TERM -T 'newsboat' -e newsboat && killall -42 waybar"; } - Mod+B { spawn "sh" "-c" "$TERM -T 'calcurse' -e calcurse"; } + Mod+M { spawn-sh "$TERM -e ncmpcpp"; } + Mod+A { spawn-sh "$TERM -T 'neomutt' -e neomutt"; } + Mod+N { spawn-sh "$TERM -T 'newsboat' -e newsboat && killall -42 waybar"; } + Mod+B { spawn-sh "$TERM -T 'calcurse' -e calcurse"; } + Mod+P { spawn "dfiles" "open"; } Mod+T { spawn "toggletorrent"; } Mod+Ctrl+T { spawn "launch-transmission"; } diff --git a/dotfiles/.config/niri/dms/binds.kdl b/dotfiles/.config/niri/dms/binds.kdl index c324b2e..245ce0d 100644 --- a/dotfiles/.config/niri/dms/binds.kdl +++ b/dotfiles/.config/niri/dms/binds.kdl @@ -28,11 +28,18 @@ binds { spawn "dms" "ipc" "call" "notifications" "toggle"; } + Mod+Alt+I { spawn "dms" "ipc" "call" "wallpaper" "next"; } + Mod+Alt+U { spawn "dms" "ipc" "call" "wallpaper" "prev"; } + // === Security === Mod+X hotkey-overlay-title="Lock Screen" { spawn "dms" "ipc" "call" "lock" "lock"; } + Mod+Shift+X hotkey-overlay-title="Lock Screen" { + spawn "dms" "ipc" "call" "lock" "lockAndOutputsOff"; + } + // === Audio Controls === // XF86AudioRaiseVolume allow-when-locked=true { // spawn "dms" "ipc" "call" "audio" "increment" "3"; |
