fx hyprland.conf shadow vars and add some keybinds to hyprland.conf

This commit is contained in:
2024-11-18 09:50:21 +01:00
parent 927f241374
commit 3f57ab2e88
2 changed files with 14 additions and 6 deletions

View File

@@ -103,11 +103,12 @@ decoration {
size = 3
passes = 1
}
drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
shadow {
enabled = true
range = 4
render_power = 3
color = rgba(1a1a1aee)
}
}
animations {
@@ -203,7 +204,10 @@ bind = $mainMod, P, exec, rofi-rbw
bind = $mainMod, J, togglesplit, # dwindle
bind = ,XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
bind = ,XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
bind = ,XF86MonBrightnessUp, exec, brightnessctl set +10% && bash ~/.dots/scripts/dunstifyBrightness.sh
bind = ,XF86MonBrightnessDown, exec, brightnessctl set 10%- && bash ~/.dots/scripts/dunstifyBrightness.sh
bind = ,XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
bind = ,XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle && bash ~/.dots/scripts/getSourceMute.sh
# Binds with alternate Mod key
$altMod = ALT

4
scripts/dunstifyBrightness.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
Brightness=$(brightnessctl -m | cut -d "," -f 4)
notify-send -t 600 "Brightness at $Brightness"