Added mini-sidebar for laptop screens
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
:start-at 0
|
||||
:clockwise true
|
||||
:width 16
|
||||
:height 16
|
||||
:thickness 1
|
||||
(box :class 'fill' ))))
|
||||
|
||||
@@ -68,6 +69,17 @@
|
||||
(for workspace in {sway--data.ws[sway--data.context ?: "personal"][group]}
|
||||
(sway--workspace :ws workspace))))
|
||||
|
||||
(defwidget sway-workspaces-vertical [group]
|
||||
(box :orientation "v"
|
||||
:valign "start"
|
||||
:halign "center"
|
||||
:visible {sway--data != ''}
|
||||
:space-evenly false
|
||||
:spacing 5
|
||||
:class "sway--root sway--vertical"
|
||||
(for workspace in {sway--data.ws[sway--data.context ?: "personal"][group]}
|
||||
(sway--workspace :ws workspace))))
|
||||
|
||||
(defwidget hypr-workspaces [group]
|
||||
(box :orientation "h"
|
||||
:halign "start"
|
||||
|
||||
Reference in New Issue
Block a user