From fff7ef1d9a5cd788582fdc43b9abba05561ff533 Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Sat, 13 Apr 2024 14:24:21 +0200 Subject: [PATCH] update script --- modules/home/scripts/scripts/keybinds.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/home/scripts/scripts/keybinds.sh b/modules/home/scripts/scripts/keybinds.sh index c1837e1..4381f42 100755 --- a/modules/home/scripts/scripts/keybinds.sh +++ b/modules/home/scripts/scripts/keybinds.sh @@ -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"