Merge branch 'main' of ssh://git.pogmom.me:10022/pogmommy/dotfiles
This commit is contained in:
commit
9bc95e9a98
3 changed files with 9 additions and 6 deletions
|
@ -2,9 +2,12 @@
|
||||||
'scripts/bar/active-workspace')
|
'scripts/bar/active-workspace')
|
||||||
(deflisten workspacesArray :initial '[{"name": "placeholder","focused":true,"num":0}]'
|
(deflisten workspacesArray :initial '[{"name": "placeholder","focused":true,"num":0}]'
|
||||||
'scripts/bar/workspaces')
|
'scripts/bar/workspaces')
|
||||||
(defvar wsreveal true)
|
(defvar wsreveal false)
|
||||||
|
|
||||||
(defwidget workspaces [array]
|
(defwidget workspaces [array]
|
||||||
|
(eventbox
|
||||||
|
:onhover "${EWW_CMD} update wsreveal=true"
|
||||||
|
:onhoverlost "${EWW_CMD} update wsreveal=false"
|
||||||
(box :class "workspaces"
|
(box :class "workspaces"
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
|
@ -32,7 +35,7 @@
|
||||||
(for entry in array
|
(for entry in array
|
||||||
(literal
|
(literal
|
||||||
:visible {((entry.num >= activeWorkspace) && !entry.focused) ? true : false}
|
: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
|
; (for entry in array
|
||||||
; {entry.focused ? (workspace :ws entry) : ""})))
|
; {entry.focused ? (workspace :ws entry) : ""})))
|
||||||
|
|
|
@ -168,8 +168,8 @@ RunPrefix=
|
||||||
SetEditor=false
|
SetEditor=false
|
||||||
|
|
||||||
[MainWindow]
|
[MainWindow]
|
||||||
1920x1200 screen: Height=1128
|
1920x1200 screen: Height=483
|
||||||
1920x1200 screen: Width=396
|
1920x1200 screen: Width=712
|
||||||
2 screens: Height=467
|
2 screens: Height=467
|
||||||
2 screens: Width=704
|
2 screens: Width=704
|
||||||
2048x1280 screen: Height=713
|
2048x1280 screen: Height=713
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# Spacing between windows and edges
|
# Spacing between windows and edges
|
||||||
gaps inner 10
|
gaps inner 10
|
||||||
#gaps top -10
|
#gaps top -10
|
||||||
gaps left -10
|
#gaps left -10
|
||||||
workspace 0: {
|
workspace 0: {
|
||||||
# gaps left 310
|
# gaps left 310
|
||||||
output $overview_display
|
output $overview_display
|
||||||
|
|
Loading…
Add table
Reference in a new issue