diff options
| author | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2026-02-10 12:10:56 -0500 |
|---|---|---|
| committer | Mohammad Reza Karimi <m.r.karimi.j@gmail.com> | 2026-02-10 12:10:56 -0500 |
| commit | b29aab34dff6b76fd8eb067d51d2fe41be594616 (patch) | |
| tree | 8eaad86263b3b194d45b341ee4c542395c8f508e /niri/dot-config | |
| parent | 8d416aa3cc6a562cb4d676eafb92d52b1ef3d334 (diff) | |
niri remove dms
Diffstat (limited to 'niri/dot-config')
| -rw-r--r-- | niri/dot-config/niri/config.kdl | 70 | ||||
| -rw-r--r-- | niri/dot-config/niri/dms/alttab.kdl | 10 | ||||
| -rw-r--r-- | niri/dot-config/niri/dms/binds.kdl | 3 | ||||
| -rw-r--r-- | niri/dot-config/niri/dms/colors.kdl | 39 | ||||
| -rw-r--r-- | niri/dot-config/niri/dms/cursor.kdl | 0 | ||||
| -rw-r--r-- | niri/dot-config/niri/dms/layout.kdl | 22 | ||||
| -rw-r--r-- | niri/dot-config/niri/dms/outputs.kdl | 0 | ||||
| -rw-r--r-- | niri/dot-config/niri/dms/windowrules.kdl | 0 | ||||
| -rw-r--r-- | niri/dot-config/niri/dms/wpblur.kdl | 9 |
9 files changed, 44 insertions, 109 deletions
diff --git a/niri/dot-config/niri/config.kdl b/niri/dot-config/niri/config.kdl index 23a15d6..ec3663d 100644 --- a/niri/dot-config/niri/config.kdl +++ b/niri/dot-config/niri/config.kdl @@ -1,7 +1,3 @@ -config-notification { - disable-failed -} - output "eDP-1" { mode "2880x1800@120.000" scale 1.75 @@ -41,7 +37,37 @@ input { } layout { - // background-color "transparent" + background-color "transparent" + gaps 4 + + focus-ring { + width 2 + active-color "#80aa9e" + inactive-color "#a89984" + urgent-color "#e96962" + } + + border { + width 2 + active-color "#80aa9e" + inactive-color "#a89984" + urgent-color "#e96962" + } + + shadow { + off + } + + tab-indicator { + active-color "#80aa9e" + inactive-color "#a89984" + urgent-color "#e96962" + } + + insert-hint { + color "#80aa9e80" + } + center-focused-column "never" preset-column-widths { @@ -52,21 +78,10 @@ layout { default-column-width { proportion 0.5; } - border { - off - } - shadow { - off - } struts { } } -// layer-rule { -// match namespace="^quickshell$" -// place-within-backdrop true -// } - overview { workspace-shadow { off @@ -156,12 +171,23 @@ window-rule { open-floating true } +window-rule { + geometry-corner-radius 6 + clip-to-geometry true + tiled-state true + draw-border-with-background false +} + debug { honor-xdg-activation-with-invalid-serial } // Override to disable super+tab recent-windows { + highlight { + active-color "#0d3138" + urgent-color "#e96962" + } binds { Alt+Tab { next-window scope="output"; } Alt+Shift+Tab { previous-window scope="output"; } @@ -175,12 +201,12 @@ binds { Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn-sh "runapp -o alacritty"; } Mod+P hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } - // Mod+X hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } + Mod+X hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } Mod+B hotkey-overlay-title="Open browser" { spawn-sh "runapp -o qutebrowser"; } Mod+M hotkey-overlay-title="Open mail" { spawn-sh "runapp -o -- alacritty -e aerc"; } Mod+S hotkey-overlay-title="Open schedule" { spawn-sh "runapp -o -- alacritty -e ikhal"; } - // Mod+Shift+B { spawn "toggle-waybar"; } + Mod+Shift+B { spawn "toggle-waybar"; } XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05+ -l 1.0"; } XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05-"; } @@ -277,11 +303,3 @@ binds { Mod+Shift+P { power-off-monitors; } } - -// Include dms files -include "dms/colors.kdl" -include "dms/layout.kdl" -include "dms/alttab.kdl" -include "dms/binds.kdl" -include "dms/outputs.kdl" -include "dms/cursor.kdl" diff --git a/niri/dot-config/niri/dms/alttab.kdl b/niri/dot-config/niri/dms/alttab.kdl deleted file mode 100644 index 2d49f89..0000000 --- a/niri/dot-config/niri/dms/alttab.kdl +++ /dev/null @@ -1,10 +0,0 @@ -// ! DO NOT EDIT ! - // ! AUTO-GENERATED BY DMS ! - // ! CHANGES WILL BE OVERWRITTEN ! - // ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE ! - - recent-windows { - highlight { - corner-radius 6 - } - } diff --git a/niri/dot-config/niri/dms/binds.kdl b/niri/dot-config/niri/dms/binds.kdl deleted file mode 100644 index e34bd8a..0000000 --- a/niri/dot-config/niri/dms/binds.kdl +++ /dev/null @@ -1,3 +0,0 @@ -binds { - Mod+X { spawn "dms" "ipc" "lock" "lock"; } -} diff --git a/niri/dot-config/niri/dms/colors.kdl b/niri/dot-config/niri/dms/colors.kdl deleted file mode 100644 index cde2c23..0000000 --- a/niri/dot-config/niri/dms/colors.kdl +++ /dev/null @@ -1,39 +0,0 @@ -// ! Auto-generated file. Do not edit directly. -// Remove `include "dms/colors.kdl"` from your config to override. - -layout { - background-color "transparent" - - focus-ring { - active-color "#80aa9e" - inactive-color "#a89984" - urgent-color "#e96962" - } - - border { - active-color "#80aa9e" - inactive-color "#a89984" - urgent-color "#e96962" - } - - shadow { - color "#00000070" - } - - tab-indicator { - active-color "#80aa9e" - inactive-color "#a89984" - urgent-color "#e96962" - } - - insert-hint { - color "#80aa9e80" - } -} - -recent-windows { - highlight { - active-color "#0d3138" - urgent-color "#e96962" - } -} diff --git a/niri/dot-config/niri/dms/cursor.kdl b/niri/dot-config/niri/dms/cursor.kdl deleted file mode 100644 index e69de29..0000000 --- a/niri/dot-config/niri/dms/cursor.kdl +++ /dev/null diff --git a/niri/dot-config/niri/dms/layout.kdl b/niri/dot-config/niri/dms/layout.kdl deleted file mode 100644 index ed234cf..0000000 --- a/niri/dot-config/niri/dms/layout.kdl +++ /dev/null @@ -1,22 +0,0 @@ -// ! DO NOT EDIT ! - // ! AUTO-GENERATED BY DMS ! - // ! CHANGES WILL BE OVERWRITTEN ! - // ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE ! - - layout { - gaps 4 - - border { - width 2 - } - - focus-ring { - width 2 - } - } - window-rule { - geometry-corner-radius 6 - clip-to-geometry true - tiled-state true - draw-border-with-background false - } diff --git a/niri/dot-config/niri/dms/outputs.kdl b/niri/dot-config/niri/dms/outputs.kdl deleted file mode 100644 index e69de29..0000000 --- a/niri/dot-config/niri/dms/outputs.kdl +++ /dev/null diff --git a/niri/dot-config/niri/dms/windowrules.kdl b/niri/dot-config/niri/dms/windowrules.kdl deleted file mode 100644 index e69de29..0000000 --- a/niri/dot-config/niri/dms/windowrules.kdl +++ /dev/null diff --git a/niri/dot-config/niri/dms/wpblur.kdl b/niri/dot-config/niri/dms/wpblur.kdl deleted file mode 100644 index 3d58802..0000000 --- a/niri/dot-config/niri/dms/wpblur.kdl +++ /dev/null @@ -1,9 +0,0 @@ -// ! DO NOT EDIT ! -// ! AUTO-GENERATED BY DMS ! -// ! CHANGES WILL BE OVERWRITTEN ! -// ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE ! - -layer-rule { - match namespace="dms:blurwallpaper" - place-within-backdrop true -} |
