diff --git a/modules/wm/niri/config/config.kdl b/modules/wm/niri/config/config.kdl index 15e6570..0322d43 100644 --- a/modules/wm/niri/config/config.kdl +++ b/modules/wm/niri/config/config.kdl @@ -265,10 +265,15 @@ window-rule { // Example: enable rounded corners for all windows. // (This example rule is commented out with a "/-" in front.) window-rule { - geometry-corner-radius 8 + geometry-corner-radius 20 clip-to-geometry true } +debug { + // Allows notification actions and window activation from Noctalia. + honor-xdg-activation-with-invalid-serial +} + binds { // Keys consist of modifiers separated by + signs, followed by an XKB key name // in the end. To find an XKB name for a particular key, you may use a program @@ -286,14 +291,14 @@ binds { // Suggested binds for running programs: terminal, app launcher, screen locker. Mod+Return hotkey-overlay-title="Open a terminal" { spawn "ghostty"; } - Mod+Space hotkey-overlay-title="Launcher" { spawn "noctalia-shell ipc call launcher toggle"; } + Mod+Space hotkey-overlay-title="Launcher" { spawn-sh "noctalia-shell ipc call launcher toggle"; } Mod+B hotkey-overlay-title="Browser" { spawn "zen-beta"; } Mod+M hotkey-overlay-title="System Monitor" { spawn-sh "noctalia-shell ipc call systemMonitor toggle"; } Mod+N hotkey-overlay-title="File Manager" { spawn "nautilus"; } Mod+Shift+V hotkey-overlay-title="Clipboard" { spawn-sh "noctalia-shell ipc call launcher clipboard"; } Mod+Shift+M hotkey-overlay-title="Emoji" { spawn-sh "noctalia-shell ipc call launcher emoji"; } - Mod+Alt+L hotkey-overlay-title="Open session menu" { spawn "noctalia-shell ipc call sessionMenu toggle"; } - Mod+Comma hotkey-overlay-title="Open system settings" { spawn "noctalia-shell ipc call settings toggle"; } + Mod+Alt+L hotkey-overlay-title="Open session menu" { spawn-sh "noctalia-shell ipc call sessionMenu toggle"; } + Mod+Comma hotkey-overlay-title="Open system settings" { spawn-sh "noctalia-shell ipc call settings toggle"; } // Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc. // Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`. diff --git a/modules/wm/noctalia/default.nix b/modules/wm/noctalia/default.nix index 34e822c..bdd6549 100644 --- a/modules/wm/noctalia/default.nix +++ b/modules/wm/noctalia/default.nix @@ -5,8 +5,8 @@ enable = true; systemd.enable = true; colors = { - mError = "#67182f"; - mOnError = "#ff6a7a"; + mError = "#ff6a7a"; + mOnError = "#ffffff"; mOnPrimary = "#0f0b15"; mOnSecondary = "#331531"; mOnSurface = "#ffffff"; @@ -39,6 +39,9 @@ useMonospacedFont = true; usePrimaryColor = true; } + { + id = "SystemMonitor"; + } { id = "ControlCenter"; useDistroLogo = false; @@ -62,9 +65,6 @@ { id = "Tray"; } - { - id = "SystemMonitor"; - } ]; }; }; @@ -89,7 +89,8 @@ enableClipboardHistory = true; autoPasteClipboard = true; terminalCommand = "ghostty -e"; - iconMode = "native"; + iconMode = "tabler"; + showIconBackground = true; }; systemMonitor = { enableDgpuMonitoring = true;