Make some hyprland changes

- switch from wofi to rofi-wayland
- enable polkit kde agent
- add brightnessctl to env
This commit is contained in:
NullBite 2024-02-02 15:32:40 +01:00
parent 3b8eec4491
commit 752a145bb5
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
2 changed files with 8 additions and 3 deletions

View File

@ -3,16 +3,19 @@ let
mkd = lib.mkDefault;
terminal = "${pkgs.kitty}/bin/kitty";
files = "${pkgs.dolphin}/bin/dolphin";
rofi = "${pkgs.wofi}/bin/wofi";
rofi = "${pkgs.rofi-wayland}/bin/rofi";
notifydaemon = "${pkgs.dunst}/bin/dunst";
brightnessctl = "${pkgs.brightnessctl}/bin/brightnessctl";
polkit-agent = "${pkgs.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1";
in
{
home.packages = with pkgs; [
kitty
dolphin
wofi
rofi-wayland
wev
dunst
brightnessctl
];
wayland.windowManager.hyprland = {
@ -32,6 +35,7 @@ in
exec-once = [
notifydaemon
polkit-agent
];
# Source a file (multi-file configs)
@ -141,7 +145,7 @@ in
"$mod, M, exit, "
"$mod, E, exec, ${files}"
"$mod, V, togglefloating, "
"$mod, R, exec, ${rofi} --show drun"
"$mod, R, exec, ${rofi} -show drun"
"$mod, P, pseudo," # dwindle"
"$mod, O, togglesplit," # dwindle"

View File

@ -19,5 +19,6 @@
rofi
hyprpicker
udiskie
polkit-kde-agent
];
}