New backup 2025-07-25 14:14:55

This commit is contained in:
Penelope Gwen 2025-07-25 14:14:55 -07:00
parent 8c2d1cae4d
commit 683e29fed7
3 changed files with 9 additions and 6 deletions

View file

@ -2,10 +2,13 @@
'scripts/bar/active-workspace')
(deflisten workspacesArray :initial '[{"name": "placeholder","focused":true,"num":0}]'
'scripts/bar/workspaces')
(defvar wsreveal true)
(defvar wsreveal false)
(defwidget workspaces [array]
(box :class "workspaces"
(eventbox
:onhover "${EWW_CMD} update wsreveal=true"
:onhoverlost "${EWW_CMD} update wsreveal=false"
(box :class "workspaces"
:orientation "h"
:space-evenly false
:halign "start"
@ -32,7 +35,7 @@
(for entry in array
(literal
:visible {((entry.num >= activeWorkspace) && !entry.focused) ? true : false}
:content {((entry.num >= activeWorkspace) && !entry.focused) ? "(workspace :ws entry :side 'right')" : "(box :visible false)"}))))))
:content {((entry.num >= activeWorkspace) && !entry.focused) ? "(workspace :ws entry :side 'right')" : "(box :visible false)"})))))))
; (for entry in array
; {entry.focused ? (workspace :ws entry) : ""})))

View file

@ -168,8 +168,8 @@ RunPrefix=
SetEditor=false
[MainWindow]
1920x1200 screen: Height=1128
1920x1200 screen: Width=396
1920x1200 screen: Height=483
1920x1200 screen: Width=712
2 screens: Height=467
2 screens: Width=704
2048x1280 screen: Height=592

View file

@ -2,7 +2,7 @@
# Spacing between windows and edges
gaps inner 10
#gaps top -10
gaps left -10
#gaps left -10
workspace 0: {
# gaps left 310
output $overview_display