update script
This commit is contained in:
parent
3ac491502a
commit
fff7ef1d9a
|
@ -3,4 +3,4 @@
|
||||||
config_file=~/.config/hypr/hyprland.conf
|
config_file=~/.config/hypr/hyprland.conf
|
||||||
keybinds=$(grep -oP '(?<=bind=).*' $config_file)
|
keybinds=$(grep -oP '(?<=bind=).*' $config_file)
|
||||||
keybinds=$(echo "$keybinds" | sed 's/,\([^,]*\)$/ = \1/' | sed 's/, exec//g' | sed 's/^,//g')
|
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"
|
||||||
|
|
Loading…
Reference in a new issue