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

View File

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