update script

This commit is contained in:
Frost-Phoenix 2024-04-13 14:24:21 +02:00
parent 3ac491502a
commit fff7ef1d9a

View file

@ -3,4 +3,4 @@
config_file=~/.config/hypr/hyprland.conf
keybinds=$(grep -oP '(?<=bind=).*' $config_file)
keybinds=$(echo "$keybinds" | sed 's/,\([^,]*\)$/ = \1/' | sed 's/, exec//g' | sed 's/^,//g')
wofi -dmenu -p "Keybinds" <<< "$keybinds"
wofi -W 750 -dmenu -p "Keybinds" <<< "$keybinds"