18 lines
511 B
Bash
Executable file
18 lines
511 B
Bash
Executable file
#!/bin/bash
|
|
|
|
current_ws=$(swaymsg -t get_workspaces | jq '.[] | select(.focused==true)|.name')
|
|
|
|
current_ws="${current_ws//[[:digit:]\"]/}"
|
|
|
|
if [[ -z "${current_ws}" ]];then current_ws="Penelope";fi
|
|
|
|
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}"
|