aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/niri
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2026-11-08 02:21:45 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2026-11-08 02:21:45 +0300
commitd5652c6575b019bd6c1739f08379ef71e3a87ca6 (patch)
treebb2ea2e170784b8268005fadc7df2180dbb39f40 /dotfiles/.config/niri
parent5a6612ec205dffac6f4afeb486d6b90da12e3ec8 (diff)
downloadswayrice-d5652c6575b019bd6c1739f08379ef71e3a87ca6.tar.gz
swayrice-d5652c6575b019bd6c1739f08379ef71e3a87ca6.zip
niri, dms: more changes after dms v2.1
Also added config for dfiles. For now lf is still comfier, but dfiles looks very promising, and it's definitely way nicer to have it as the open/save dialog instead of the gnome crap.
Diffstat (limited to 'dotfiles/.config/niri')
-rw-r--r--dotfiles/.config/niri/config.kdl27
-rw-r--r--dotfiles/.config/niri/dms/binds.kdl7
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";