From dab588e9f29c7b37a7dde05bb4dcd281f9c02092 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Wed, 10 Apr 2024 18:00:03 -0600 Subject: [PATCH] New backup 2024-04-10 18:00:03 --- de/home/.config/sway/scripts/browser.sh | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/de/home/.config/sway/scripts/browser.sh b/de/home/.config/sway/scripts/browser.sh index 07720cf..4a5af2a 100755 --- a/de/home/.config/sway/scripts/browser.sh +++ b/de/home/.config/sway/scripts/browser.sh @@ -6,17 +6,6 @@ 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=${current_ws:0:1} -echo ${current_ws} -exit -if [[ -z "${current_ws}" ]];then current_ws="Penelope";fi +current_wsprofile="${profiles[${current_ws}]}" -gtk-launch "Floorp-${current_ws}.desktop" - -#MOZ_ENABLE_WAYLAND=1 flatpak run one.ablaze.floorp -P "$current_ws" - -#options=$( ls "$HOME/.config/sway/scripts/shortcuts/${current_ws}" ) - -#op=$( echo -e "${options}" | wofi -i --dmenu | awk '{print}' ) - - -#"$HOME/.config/sway/scripts/shortcuts/${current_ws}"/"${op}" +gtk-launch "Floorp-${current_wsprofile}.desktop"