diff options
Diffstat (limited to 'dotfiles/.config/niri')
| -rw-r--r-- | dotfiles/.config/niri/config.kdl | 21 | ||||
| -rw-r--r-- | dotfiles/.config/niri/dms/alttab.kdl | 10 | ||||
| -rw-r--r-- | dotfiles/.config/niri/dms/binds.kdl | 88 | ||||
| -rw-r--r-- | dotfiles/.config/niri/dms/colors.kdl | 39 | ||||
| -rw-r--r-- | dotfiles/.config/niri/dms/cursor.kdl | 0 | ||||
| -rw-r--r-- | dotfiles/.config/niri/dms/layout.kdl | 22 | ||||
| -rw-r--r-- | dotfiles/.config/niri/dms/outputs.kdl | 14 | ||||
| -rw-r--r-- | dotfiles/.config/niri/dms/windowrules.kdl | 0 | ||||
| -rw-r--r-- | dotfiles/.config/niri/dms/wpblur.kdl | 9 |
9 files changed, 193 insertions, 10 deletions
diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl index 0142dab..cd1f636 100644 --- a/dotfiles/.config/niri/config.kdl +++ b/dotfiles/.config/niri/config.kdl @@ -238,12 +238,6 @@ gestures { } } -// Add lines like this to spawn processes at startup. -// Note that running niri as a session supports xdg-desktop-autostart, -// which may be more convenient to use. -// See the binds section below for more spawn examples. -// spawn-at-startup "alacritty" "-e" "fish" - // Uncomment this line to ask the clients to omit their client-side decorations if possible. // If the client will specifically ask for CSD, the request will be honored. // Additionally, clients will be informed that they are tiled, removing some client-side rounded corners. @@ -372,7 +366,9 @@ spawn-at-startup "blueman-applet" spawn-at-startup "bash" "-c" "GTK_IM_MODULE= fcitx5 -d" spawn-at-startup "xwayland-satellite" spawn-at-startup "setsessionenv" -spawn-at-startup "qs" "-c" "noctalia-shell" +// spawn-at-startup "qs" "-c" "noctalia-shell" +spawn-at-startup "dsearch" "serve" +spawn-at-startup "dms" "run" environment { DISPLAY ":0" @@ -383,7 +379,7 @@ environment { } // spawn-at-startup "gsettings" "set" "org.gnome.desktop.interface" "gtk-theme" "Breeze" -spawn-at-startup "gsettings" "set" "org.gnome.desktop.interface" "icon-theme" "Arc" +// spawn-at-startup "gsettings" "set" "org.gnome.desktop.interface" "icon-theme" "Arc" spawn-at-startup "gsettings" "set" "org.gnome.desktop.interface" "font-name" "monospace 10" spawn-at-startup "gsettings" "set" "org.gnome.desktop.interface" "color-scheme" "prefer-dark" @@ -662,5 +658,10 @@ binds { } include "local.kdl" -include "noctalia.kdl" -include "noctalia-binds.kdl" +// include "noctalia.kdl" +// include "noctalia-binds.kdl" +include "dms/binds.kdl" +include "dms/colors.kdl" +include "dms/layout.kdl" +include "dms/cursor.kdl" +include "dms/wpblur.kdl" diff --git a/dotfiles/.config/niri/dms/alttab.kdl b/dotfiles/.config/niri/dms/alttab.kdl new file mode 100644 index 0000000..89f82bf --- /dev/null +++ b/dotfiles/.config/niri/dms/alttab.kdl @@ -0,0 +1,10 @@ +// ! DO NOT EDIT ! + // ! AUTO-GENERATED BY DMS ! + // ! CHANGES WILL BE OVERWRITTEN ! + // ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE ! + + recent-windows { + highlight { + corner-radius 1 + } + } diff --git a/dotfiles/.config/niri/dms/binds.kdl b/dotfiles/.config/niri/dms/binds.kdl new file mode 100644 index 0000000..c324b2e --- /dev/null +++ b/dotfiles/.config/niri/dms/binds.kdl @@ -0,0 +1,88 @@ +binds { + // === Application Launchers === + Mod+D hotkey-overlay-title="Application Launcher" { + spawn "dms" "ipc" "call" "spotlight" "toggle"; + } + Mod+Shift+D { + spawn-sh "dms ipc call widget openWith launcherButton files"; + } + // Mod+V hotkey-overlay-title="Clipboard Manager" { + // spawn "dms" "ipc" "call" "clipboard" "toggle"; + // } + + Mod+Shift+E hotkey-overlay-title="Power Menu: Toggle" { spawn "dms" "ipc" "call" "powermenu" "toggle"; } + + Ctrl+Shift+Escape hotkey-overlay-title="Task Manager" { + spawn "dms" "ipc" "call" "processlist" "focusOrToggle"; + } + Mod+Backslash { spawn-sh "dms ipc call dash open overview"; } + Mod+Shift+Backslash { spawn-sh "dms ipc call dash open weather"; } + Mod+Ctrl+Backslash { spawn-sh "dms ipc call dash open media"; } + Mod+F2 { spawn-sh "dms ipc call control-center toggle"; } + Mod+F3 hotkey-overlay-title="Settings" { + spawn "dms" "ipc" "call" "settings" "focusOrToggle"; + } + + Mod+Ctrl+Space { spawn "dms" "ipc" "call" "notifications" "dismissAllPopups"; } + Mod+Shift+Ctrl+Space hotkey-overlay-title="Notification Center" { + spawn "dms" "ipc" "call" "notifications" "toggle"; + } + + // === Security === + Mod+X hotkey-overlay-title="Lock Screen" { + spawn "dms" "ipc" "call" "lock" "lock"; + } + + // === Audio Controls === + // XF86AudioRaiseVolume allow-when-locked=true { + // spawn "dms" "ipc" "call" "audio" "increment" "3"; + // } + // XF86AudioLowerVolume allow-when-locked=true { + // spawn "dms" "ipc" "call" "audio" "decrement" "3"; + // } + // XF86AudioMute allow-when-locked=true { + // spawn "dms" "ipc" "call" "audio" "mute"; + // } + // XF86AudioMicMute allow-when-locked=true { + // spawn "dms" "ipc" "call" "audio" "micmute"; + // } + // XF86AudioPause allow-when-locked=true { + // spawn "dms" "ipc" "call" "mpris" "playPause"; + // } + // XF86AudioPlay allow-when-locked=true { + // spawn "dms" "ipc" "call" "mpris" "playPause"; + // } + // XF86AudioPrev allow-when-locked=true { + // spawn "dms" "ipc" "call" "mpris" "previous"; + // } + // XF86AudioNext allow-when-locked=true { + // spawn "dms" "ipc" "call" "mpris" "next"; + // } + // Ctrl+XF86AudioRaiseVolume allow-when-locked=true { + // spawn "dms" "ipc" "call" "mpris" "increment" "3"; + // } + // Ctrl+XF86AudioLowerVolume allow-when-locked=true { + // spawn "dms" "ipc" "call" "mpris" "decrement" "3"; + // } + + // === Brightness Controls === + XF86MonBrightnessUp allow-when-locked=true { + spawn "dms" "ipc" "call" "brightness" "increment" "5" ""; + } + XF86MonBrightnessDown allow-when-locked=true { + spawn "dms" "ipc" "call" "brightness" "decrement" "5" ""; + } + Mod+Alt+Up allow-when-locked=true { + spawn "dms" "ipc" "call" "brightness" "increment" "5" ""; + } + Mod+Alt+Down allow-when-locked=true { + spawn "dms" "ipc" "call" "brightness" "decrement" "5" ""; + } + + // === System Controls === + Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; } +} + +switch-events { + lid-close { spawn "loginctl" "suspend"; } +} diff --git a/dotfiles/.config/niri/dms/colors.kdl b/dotfiles/.config/niri/dms/colors.kdl new file mode 100644 index 0000000..37504be --- /dev/null +++ b/dotfiles/.config/niri/dms/colors.kdl @@ -0,0 +1,39 @@ +// ! 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 "#52d7f0" + inactive-color "#919191" + urgent-color "#ffb4ab" + } + + border { + active-color "#52d7f0" + inactive-color "#919191" + urgent-color "#ffb4ab" + } + + shadow { + color "#00000070" + } + + tab-indicator { + active-color "#52d7f0" + inactive-color "#919191" + urgent-color "#ffb4ab" + } + + insert-hint { + color "#52d7f080" + } +} + +recent-windows { + highlight { + active-color "#004e5a" + urgent-color "#ffb4ab" + } +} diff --git a/dotfiles/.config/niri/dms/cursor.kdl b/dotfiles/.config/niri/dms/cursor.kdl new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/dotfiles/.config/niri/dms/cursor.kdl diff --git a/dotfiles/.config/niri/dms/layout.kdl b/dotfiles/.config/niri/dms/layout.kdl new file mode 100644 index 0000000..224f927 --- /dev/null +++ b/dotfiles/.config/niri/dms/layout.kdl @@ -0,0 +1,22 @@ +// ! DO NOT EDIT ! + // ! AUTO-GENERATED BY DMS ! + // ! CHANGES WILL BE OVERWRITTEN ! + // ! PLACE YOUR CUSTOM CONFIGURATION ELSEWHERE ! + + layout { + gaps 6 + + border { + width 3 + } + + focus-ring { + width 3 + } + } + window-rule { + geometry-corner-radius 1 + clip-to-geometry true + tiled-state true + draw-border-with-background false + } diff --git a/dotfiles/.config/niri/dms/outputs.kdl b/dotfiles/.config/niri/dms/outputs.kdl new file mode 100644 index 0000000..f56685f --- /dev/null +++ b/dotfiles/.config/niri/dms/outputs.kdl @@ -0,0 +1,14 @@ +// Auto-generated by DMS - do not edit manually + +output "HDMI-A-1" { + mode "1920x1080@74.973" + scale 1 + position x=0 y=360 +} + +output "DP-1" { + mode "2560x1440@165.000" + scale 1 + position x=1920 y=0 +} + diff --git a/dotfiles/.config/niri/dms/windowrules.kdl b/dotfiles/.config/niri/dms/windowrules.kdl new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/dotfiles/.config/niri/dms/windowrules.kdl diff --git a/dotfiles/.config/niri/dms/wpblur.kdl b/dotfiles/.config/niri/dms/wpblur.kdl new file mode 100644 index 0000000..3d58802 --- /dev/null +++ b/dotfiles/.config/niri/dms/wpblur.kdl @@ -0,0 +1,9 @@ +// ! 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 +} |
