From f0107603d1ade095de01008c5c230a3bbdfd3951 Mon Sep 17 00:00:00 2001 From: RGBCube Date: Wed, 8 Nov 2023 20:32:18 +0300 Subject: [PATCH] Run wpaperd on startup and add more audio controls --- machines/enka/hyprland/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/machines/enka/hyprland/default.nix b/machines/enka/hyprland/default.nix index f5f778e..f2dfb1d 100644 --- a/machines/enka/hyprland/default.nix +++ b/machines/enka/hyprland/default.nix @@ -13,6 +13,8 @@ extraConfig = '' monitor = , preferred, auto, 1 + exec-once = wpaperd + bind = SUPER, TAB, workspace, e+1 bind = SUPER, 1, workspace, 1 @@ -73,6 +75,8 @@ binde = , XF86AudioRaiseVolume, exec, wpctl set-volume --limit 1.5 @DEFAULT_AUDIO_SINK@ 5%+; /home/nixos/.config/hypr/volume.sh binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-; /home/nixos/.config/hypr/volume.sh + binde = , XF86AudioMute, exec, wpctl set-sink-mute @DEFAULT_AUDIO_SINK@ toggle; dunstify --timeout 1000 Speakers Muted + binde = , XF86AudioMicMute, exec, wpctl set-source-mute @DEFAULT_AUDIO_SINK@ toggle; dunstify --timeout 1000 Microphone Muted binde = , XF86MonBrightnessUp, exec, brightnessctl set 5%+; dunstctl close-all; dunstify --timeout 1000 $(brightnessctl -m | cut -d, -f4) binde = , XF86MonBrightnessDown, exec, brightnessctl set --min-value=0 5%-; dunstctl close-all; dunstify --timeout 1000 $(brightnessctl -m | cut -d, -f4)