From a1a1af1012e99defc226a8bdabcf1a5f6224fc34 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Sat, 9 Dec 2023 17:02:17 +0100 Subject: [PATCH] add way to adjust brightness --- modules/graphical/hyprland.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/graphical/hyprland.nix b/modules/graphical/hyprland.nix index e39cc50..d66f664 100644 --- a/modules/graphical/hyprland.nix +++ b/modules/graphical/hyprland.nix @@ -181,6 +181,7 @@ in slurp = "${pkgs.slurp}/bin/slurp"; swww = "${pkgs.swww}/bin/swww"; pdfgrep = "${pkgs.pdfgrep}/bin/pdfgrep"; + brightnessctl = "${brightnessctl}/bin/brightnessctl"; in [ "$mainMod, Q, exec, ${konsole}" "$mainMod, C, killactive" @@ -192,8 +193,8 @@ in "$mainMod, R, exec, ${swww} img $(ls -d ~/Nextcloud/dinge/Bg/* | shuf -n 1)" " , Print, exec, ${grim} -g \"$(${slurp} -d)\" - | ${wl-copy}" "ALT, SPACE, exec, ${rofi} -show combi" - - #"$mainMod, G, exec, ${wl-paste} | grep -C 10 -f - ~/Nextcloud/old_gdrive/fh/risikomanagement/crisam.txt | sed 's/^[ \\t]*//' | sed 's/[ \\t]*$//' | ${wl-copy}" + " , XF86MonBrightnessUp, exec, ${brightnessctl} -s +5%" + " , XF86MonBrightnessDown, exec, ${brightnessctl} -s 5%-" "$mainMod, P, pseudo" # dwindle "$mainMod, J, togglesplit" # dwindle # Move focus with mainMod + arrow keys