diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/hypr/hyprland.conf | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index ac03f26..e4d8748 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -94,7 +94,10 @@ Misc { # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -windowrule = workspace 9 silent,^(spotify)$ + +# Spotify does not follow window rules. This is because the client sets its class after the window has opened, thus making it “immune” to windowrules. +windowrulev2=workspace 9,class:^(Spotify)$ +#windowrulev2=workspace 9,class:^(Spotify)$,title:^(Spotify)$ # See https://wiki.hyprland.org/Configuring/Keywords/ for more $MOD = SUPER @@ -112,14 +115,17 @@ bind = $MOD, F, togglefloating, bind = $MOD, Space, togglefloating, bind = $MOD, E, exec, emacs bind = $MOD, R, exec, kitty -e ranger -bind= $MOD, D, exec, tofi-run -bind=,Print,exec,grim +bindr= $MOD, D, exec, pkill tofi || tofi-run +bind = $MOD SHIFT, M, exec, sp +bind =,Print,exec,grim #otherkeyb +bind = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && [[ "$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep MUTE)" ]] && dunstify "Mute" "Volume set to 0%" -i volume-xmark -t 1000 -r 1234 binde = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+ && dunstify "Volume Changed" "Volume set to $(volumecurr)" -i volume-high -t 1500 -r 1235 binde = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%- && dunstify "Volume Changed" "Volume set to $(volumecurr)" -i volume-low -t 1500 -r 1236 -bind = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && [[ "$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep MUTE)" ]] && dunstify "Mute" "Volume set to 0%" -i volume-xmark -t 1000 -r 1234 +binde = ,XF86MonBrightnessUp, exec, brillo -s intel_backlight -A 4 && dunstify -u normal -t 3000 -r 90210 -i brightness "$(printf %.0f%% $( brillo -G) )" +binde = ,XF86MonBrightnessDown, exec, brillo -s intel_backlight -U 4 && dunstify -u normal -t 3000 -r 90210 -i brightness "$(printf %.0f%% $( brillo -G) )" #master-stack layout |