update script
This commit is contained in:
parent
3ac491502a
commit
fff7ef1d9a
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
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')
|
||||
wofi -dmenu -p "Keybinds" <<< "$keybinds"
|
||||
wofi -W 750 -dmenu -p "Keybinds" <<< "$keybinds"
|
||||
|
|
Loading…
Reference in a new issue