From b6925a1c94a90a2a182f510674ead53f6235f203 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Wed, 24 Apr 2024 13:00:03 -0600 Subject: [PATCH] New backup 2024-04-24 13:00:03 --- de/home/.config/sway/scripts/global_shortcuts.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/de/home/.config/sway/scripts/global_shortcuts.sh b/de/home/.config/sway/scripts/global_shortcuts.sh index 93711e8..a454365 100755 --- a/de/home/.config/sway/scripts/global_shortcuts.sh +++ b/de/home/.config/sway/scripts/global_shortcuts.sh @@ -1,12 +1,12 @@ #!/bin/bash -current_ws=$(swaymsg -t get_workspaces | jq '.[] | select(.focused==true)|.name') +#current_ws=$(swaymsg -t get_workspaces | jq '.[] | select(.focused==true)|.name') -current_ws=$(printf "%02d\n" $( echo "${current_ws}" | sed 's/:.*//' | tr -d '"')) +#current_ws=$(printf "%02d\n" $( echo "${current_ws}" | sed 's/:.*//' | tr -d '"')) -current_ws=${current_ws:0:1} +#current_ws=${current_ws:0:1} -options=$( ls "$HOME/.config/sway/scripts/shortcuts/${current_ws}" ) +options=$( ls "$HOME/.config/sway/scripts/global_shortcuts/" ) op=$( echo -e "${options}" | wofi -i --dmenu | awk '{print}' )