summaryrefslogtreecommitdiff
path: root/.config/eww/eww.yuck
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-14 22:56:05 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-14 22:56:05 +0200
commitc18c3c1df4c7b3ca721f7ee6278ffddff93dc95a (patch)
tree3010ff74f755f94f00d88bb4b04a7d0c8a9003ed /.config/eww/eww.yuck
parent15a7c2d8e005391d4aaac919b5776b5fa2822a41 (diff)
eww: Reformat yuck code
Diffstat (limited to '.config/eww/eww.yuck')
-rw-r--r--.config/eww/eww.yuck44
1 files changed, 22 insertions, 22 deletions
diff --git a/.config/eww/eww.yuck b/.config/eww/eww.yuck
index df4495b..667c717 100644
--- a/.config/eww/eww.yuck
+++ b/.config/eww/eww.yuck
@@ -26,26 +26,26 @@
;; Windows
(defwindow bar
- :monitor 0
- :stacking "fg"
- :exclusive true
- :geometry (geometry :width "100%" :height "40px" :anchor "top center")
+ :monitor 0
+ :stacking "fg"
+ :exclusive true
+ :geometry (geometry :width "100%" :height "40px" :anchor "top center")
(bar))
(defwindow calendar-1
- :monitor 0
- :geometry (geometry :x "10%" :width "20%" :anchor "center left")
+ :monitor 0
+ :geometry (geometry :x "10%" :width "20%" :anchor "center left")
(calendar :class "cal"
:month {datetime.month - 1}))
(defwindow calendar-2
- :monitor 0
- :geometry (geometry :width "20%" :anchor "center")
+ :monitor 0
+ :geometry (geometry :width "20%" :anchor "center")
(calendar :class "cal"))
(defwindow calendar-3
- :monitor 0
- :geometry (geometry :x "10%" :width "20%" :anchor "center right")
+ :monitor 0
+ :geometry (geometry :x "10%" :width "20%" :anchor "center right")
(calendar :class "cal"
:month {datetime.month + 1}))
@@ -65,23 +65,23 @@
(box :halign "end"
:class "end"
:space-evenly false
- (keymap)
- (wireless)
- (brightness)
- (volume)
- (battery)))
+ (keymap)
+ (wireless)
+ (brightness)
+ (volume)
+ (battery)))
(defwidget workspaces []
(box :class "workspaces"
:space-evenly false
- (for id in workspace-list
- (button :class {active-workspace == id ? "active" : ""}
- :onclick `hyprctl dispatch workspace ${id}`
- id))))
+ (for id in workspace-list
+ (button :class {active-workspace == id ? "active" : ""}
+ :onclick `hyprctl dispatch workspace ${id}`
+ id))))
(defwidget clock []
(box (button :onclick `scripts/toggle calendar-1 calendar-2 calendar-3`
- {datetime.pretty})))
+ {datetime.pretty})))
(defwidget wireless []
(pair :icon "" :text wireless))
@@ -101,5 +101,5 @@
(defwidget pair [icon text]
(box :width 70
:space-evenly false
- (label :text icon)
- (label :text text)))
+ (label :text icon)
+ (label :text text)))