From 782f76ba113f47d53af95e991eddb28cd4ea9e3e Mon Sep 17 00:00:00 2001 From: "Frankie B." Date: Fri, 16 Feb 2024 17:36:29 +0000 Subject: [PATCH] Add brightness control binds --- homes/floppydisk/hyprland.nix | 4 ++++ homes/floppydisk/packages.nix | 1 + 2 files changed, 5 insertions(+) diff --git a/homes/floppydisk/hyprland.nix b/homes/floppydisk/hyprland.nix index 70ef928..86ff2cd 100644 --- a/homes/floppydisk/hyprland.nix +++ b/homes/floppydisk/hyprland.nix @@ -94,6 +94,10 @@ # mute key ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" + # brightness controls + ", XF86MonBrightnessUp, exec, brightnessctl s +20%" + ", XF86MonBrightnessDown, exec, brightnessctl s 20%-" + # general shortcuts "$mod, Q, exec, kitty" "$mod, C, killactive, " diff --git a/homes/floppydisk/packages.nix b/homes/floppydisk/packages.nix index 53366be..041a0f1 100644 --- a/homes/floppydisk/packages.nix +++ b/homes/floppydisk/packages.nix @@ -43,6 +43,7 @@ grim wlogout hyprpaper + brightnessctl # fetch neofetch