diff options
| author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2026-05-02 15:22:24 +0300 |
|---|---|---|
| committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2026-05-02 15:22:24 +0300 |
| commit | b11c84945d02598bcddf9259db8ff92ca9e3cfbf (patch) | |
| tree | bd8e155a28ee9be7914d58ac0271e0bdc522575b /dotfiles/.config/niri/config.kdl | |
| parent | 38e654d20d2ca2857dfb245fd56f7c0bb426fd04 (diff) | |
| download | swayrice-b11c84945d02598bcddf9259db8ff92ca9e3cfbf.tar.gz swayrice-b11c84945d02598bcddf9259db8ff92ca9e3cfbf.zip | |
try out noctalia shell
Diffstat (limited to 'dotfiles/.config/niri/config.kdl')
| -rw-r--r-- | dotfiles/.config/niri/config.kdl | 55 |
1 files changed, 16 insertions, 39 deletions
diff --git a/dotfiles/.config/niri/config.kdl b/dotfiles/.config/niri/config.kdl index a2707ab..0142dab 100644 --- a/dotfiles/.config/niri/config.kdl +++ b/dotfiles/.config/niri/config.kdl @@ -270,6 +270,12 @@ animations { slowdown 0.4 } +blur { + passes 3 + noise 0.1 + saturation 1.5 +} + // Window rules let you adjust behavior for individual windows. // Find more information on the wiki: // https://github.com/YaLTeR/niri/wiki/Configuration:-Window-Rules @@ -281,7 +287,6 @@ layer-rule { } layer-rule { - match namespace="notifications" match namespace="rofi" shadow { on; } @@ -332,7 +337,7 @@ window-rule { window-rule { match app-id="org.pwmt.zathura" - default-column-width { fixed 900; } + default-column-width { fixed 1100; } } window-rule { @@ -361,28 +366,27 @@ window-rule { } spawn-at-startup "pipewire-restart" -spawn-at-startup "waybar_launch" spawn-at-startup "playerctld" "daemon" spawn-at-startup "mpd-restart" spawn-at-startup "blueman-applet" -spawn-at-startup "mako" -spawn-at-startup "setsessionenv" 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" environment { DISPLAY ":0" TERM "alacritty" + QT_QPA_PLATFORM "wayland;xcb" + QT_QPA_PLATFORMTHEME "gtk3" + QT_QPA_PLATFORMTHEME_QT6 "gtk3" } -spawn-at-startup "gsettings" "set" "org.gnome.desktop.interface" "gtk-theme" "Breeze" +// 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" "font-name" "monospace 10" spawn-at-startup "gsettings" "set" "org.gnome.desktop.interface" "color-scheme" "prefer-dark" -spawn-at-startup "swaybg" "-i" "/home/yaroslav/.config/wall1.png" "-m" "fill" - binds { // "Mod" is a special modifier equal to Super when running on a TTY, and to Alt // when running as a winit window. @@ -391,17 +395,10 @@ binds { // `niri msg action do-something`. Mod+Return { spawn "alacritty"; } - Mod+D { - spawn "rofi" "-show" "drun" "-sidebar-mode" "-modi" "window,drun,run"; - } - // this isn't dry but whatever - Menu { - spawn "rofi" "-show" "drun" "-sidebar-mode" "-modi" "window,drun,run"; - } + + // Noctalia Mod+S { toggle-overview; } XF86VoiceCommand { toggle-overview; } // For my remote - Mod+X { spawn "lock-color"; } - Mod+Shift+X { spawn "lock-color" "screenon"; } // Keyboard pointer control Mod+V { spawn "wl-kbptr" "-o" "modes=floating,click" "-o" "mode_floating.source=detect"; } @@ -631,34 +628,16 @@ binds { // rather than stacked on top of each other. Mod+W { toggle-column-tabbed-display; } - // Actions to switch layouts. - // Note: if you uncomment these, make sure you do NOT have - // a matching layout switch hotkey configured in xkb options above. - // Having both at once on the same hotkey will break the switching, - // since it will switch twice upon pressing the hotkey (once by xkb, once by niri). - // Mod+Space { switch-layout "next"; } - // Mod+Shift+Space { switch-layout "prev"; } - Print { screenshot; } Ctrl+Print { screenshot-screen; } Alt+Print { screenshot-window; } - Mod+Print { spawn "swayrecord"; } - - // The quit action will show a confirmation dialog to avoid accidental exits. - Mod+Shift+E { spawn "rofi" "-show" "session" "-matching" "prefix" "-modi" "session:rofisession"; } // Powers off the monitors. To turn them back on, do any input like // moving the mouse or pressing any other key. Mod+Shift+P { power-off-monitors; } - // Mako commands - Mod+Ctrl+Space { spawn "makoctl" "dismiss"; } - Mod+Ctrl+Shift+Space { spawn "makoctl" "restore"; } - // Menus/Quick actions Mod+F1 { spawn "menuman"; } - Mod+F2 { spawn "menumako"; } - 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"; } @@ -682,8 +661,6 @@ binds { Mod+Ctrl+Shift+apostrophe { spawn "menupass" "-s"; } } -switch-events { - lid-close { spawn "swaysession" "suspend"; } -} - include "local.kdl" +include "noctalia.kdl" +include "noctalia-binds.kdl" |
