Eww bar workspace functionality doesn't work
BenA0 opened this issue · 3 comments
I'm playing around with an eww bar and I've implemented
:onclick "swaymsg workspace number 1"
Like you but it doesn't work for me.
Scouting around your dotfiles seems like only difference is in your eww.yuck there are documented scripts for workspaces classes
;(defpoll ws1 :interval "100ms" ; "$HOME/.scripts/sway/ws1.sh") ; ;(defpoll ws2 :interval "100ms" ; "$HOME/.scripts/sway/ws2.sh") ; ;(defpoll ws3 :interval "100ms" ; "$HOME/.scripts/sway/ws3.sh") ; ;(defpoll ws4 :interval "100ms" ; "$HOME/.scripts/sway/ws4.sh") ; ;(defpoll ws5 :interval "100ms" ; "$HOME/.scripts/sway/ws5.sh") ; ;(defpoll ws6 :interval "100ms" ; "$HOME/.scripts/sway/ws6.sh")
Can you please include those files also to the dotfiles?
Thanks!
@BenA0 Are you using swaywm ? cause it will work only in swaywm. The scripts i commented out in the eww.yuck file are just for occupied workspace highlight. It should work just fine without them. I'll add those scripts to my dots soon. Also try using swaymsg workspace 1
to see if that works.
@BenA0 Are you using swaywm ? cause it will work only in swaywm. The scripts i commented out in the eww.yuck file are just for occupied workspace highlight. It should work just fine without them. I'll add those scripts to my dots soon. Also try using
swaymsg workspace 1
to see if that works.
Yep using swaywm, all good, seems like the case of doesnt-work-but-somehow-restart-fixed-it
Appreciate the help and adding the occupied workspace highlight script!