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"