diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-01-21 23:10:04 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2025-01-21 23:10:04 +0300 |
commit | 505555aed847b06f3b4552f3f605b31104c703f7 (patch) | |
tree | b320412e4a87f54bb4df28a339c57c684965bb78 | |
parent | 468fe47bd83e05dd60100a049362b16efa40ca31 (diff) | |
download | swayrice-505555aed847b06f3b4552f3f605b31104c703f7.tar.gz swayrice-505555aed847b06f3b4552f3f605b31104c703f7.zip |
niri: layer-shell shadows; rofitz is back
-rw-r--r-- | dotfiles/.config/niri/config.kdl | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl index 9b0a988..469fd71 100644 --- a/dotfiles/.config/niri/config.kdl +++ b/dotfiles/.config/niri/config.kdl @@ -283,11 +283,18 @@ animations { // https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules layer-rule { - match namespace="^notifications$" + match namespace="notifications" block-out-from "screencast" } +layer-rule { + match namespace="notifications" + match namespace="rofi" + + shadow { on; } +} + // Work around WezTerm's initial configure bug // by setting an empty default-column-width. window-rule { @@ -300,9 +307,8 @@ window-rule { window-rule { match app-id="GLava" - border { - off - } + border { off; } + shadow { off; } } window-rule { @@ -628,6 +634,7 @@ binds { Mod+F3 { spawn "rofi" "-show" "display" "-modi" "display:rofidisplay"; } Mod+F4 { spawn "menublk"; } Mod+F10 { spawn "chcolors"; } + Mod+F12 { spawn "rofi" "-show" "tz" "-modi" "tz:rofitz"; } Mod+Shift+N { spawn "networkmanager_dmenu"; } Mod+Shift+C { spawn "rofi" "-show" "calc" "-modi" "calc" "-no-show-match" "-no-sort"; } Mod+Grave { spawn "rofi" "-show" "moji" "-modi" "moji:rofimoji"; } |