feat: Add a ton of hyprland config

This commit is contained in:
2025-04-04 14:47:56 +11:00
parent 958770c548
commit 1cf3d139a5
14 changed files with 417 additions and 100 deletions

10
.config/hypr/scripts/volume.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
hyprctl dismissnotify
# Check if muted
if wpctl get-volume @DEFAULT_AUDIO_SINK@ | grep -q "[MUTED]"; then
# If muted, show notification
hyprctl notify -1 5000 0 "Volume muted"
exit 0
fi
hyprctl notify -1 5000 0 "Volume $(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print $2 * 100}' | sed 's/\.0*$//g')%"