Optionally before editing configuration files backup your previous configuration located in:
pikman install noctalia
Open ~/.config/niriconfig.kdl.
Remove or comment out (
//) the following line
spawn-at-startup "pikabar"
spawn-at-startup "swww-daemon"
spawn-at-startup "swww-notifications"
Noctalia V5 comes with its own Idle management and Polkit but is disabled by default.
When you also remove these lines you will have to enable them in the Noctalia settings menu.
spawn-at-startup "/usr/bin/mate-polkit"
spawn-at-startup "systemctl" "--user" "enable" "--now" "hypridle"
To fully disable the Hypridle service you have to run these commands in a terminal:
killall hypridle
systemctl --user disable --now hypridle.service
systemctl --user mask hypridle.service
Add the following line to your startup items in ~/.config/niri/config.kdl
spawn-at-startup "noctalia"
Remove or comment out the old keybind
Mod+D { spawn "pikabar-launcher"; }
Add and adjust the new keybind:
Mod+D { spawn-sh "noctalia msg panel-toggle launcher"; }
You can add and adjust these to your liking
Mod+S { spawn-sh "noctalia msg panel-toggle control-center"; }
Mod+Comma { spawn-sh "noctalia msg settings-toggle"; }
Niri also has a build in window switcher, you can choose which one you prefer.
Alt+Tab { spawn-sh "noctalia msg window-switcher"; }
XF86AudioRaiseVolume { spawn-sh "noctalia msg volume-up"; }
XF86AudioLowerVolume { spawn-sh "noctalia msg volume-down"; }
XF86AudioMute { spawn-sh "noctalia msg volume-mute"; }
XF86MonBrightnessUp { spawn-sh "noctalia msg brightness-up"; }
XF86MonBrightnessDown { spawn-sh "noctalia msg brightness-down"; }
To ensure the wallpaper layer renders correctly, adjust the following layer-rule:
layer-rule {
match namespace="^noctalia-backdrop"
place-within-backdrop true
}
Check out the official Noctalia V5 Wiki for additional background and overview configuration options.
https://docs.noctalia.dev/v5/compositor-settings/niri/
Put this all the way at the bottom of your config.kdl, it allows notification actions and window activation from Noctalia.
debug {
honor-xdg-activation-with-invalid-serial
}
Restart your session to see the changes.