Added mini-sidebar for laptop screens

This commit is contained in:
2025-03-13 09:32:37 -06:00
parent 66d886c4e6
commit 9320af98a3
6 changed files with 182 additions and 23 deletions

View File

@@ -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"