2022-10-29 18:25:42 +00:00
|
|
|
(defvar terminal "alacritty -e")
|
|
|
|
|
2023-01-29 16:25:48 +00:00
|
|
|
(include "./modules/variables.yuck")
|
|
|
|
|
2022-10-29 18:25:42 +00:00
|
|
|
(include "./modules/clock.yuck")
|
|
|
|
(include "./modules/volume.yuck")
|
|
|
|
(include "./modules/bitcoin.yuck")
|
|
|
|
(include "./modules/cpu.yuck")
|
|
|
|
(include "./modules/memory.yuck")
|
|
|
|
(include "./modules/uptime.yuck")
|
|
|
|
; (include "./modules/kernel.yuck")
|
2023-10-10 19:27:19 +00:00
|
|
|
(include "./modules/battery.yuck")
|
2022-10-29 18:25:42 +00:00
|
|
|
(include "./modules/window_name.yuck")
|
|
|
|
(include "./modules/workspaces.yuck")
|
2023-01-26 00:31:19 +00:00
|
|
|
(include "./modules/gammarelay.yuck")
|
2022-10-29 18:25:42 +00:00
|
|
|
|
|
|
|
(include "./windows/calendar.yuck")
|
2023-01-29 21:44:47 +00:00
|
|
|
(include "./windows/radio-menu.yuck")
|
2022-10-29 18:25:42 +00:00
|
|
|
|
|
|
|
(defwidget sep []
|
|
|
|
(label :class "separ module" :text "|"))
|
|
|
|
|
|
|
|
(defwidget left []
|
|
|
|
(box
|
|
|
|
:space-evenly false
|
|
|
|
:halign "start"
|
2023-01-26 00:31:19 +00:00
|
|
|
(gammarelay_module)
|
|
|
|
(sep)
|
2022-10-29 18:25:42 +00:00
|
|
|
(window_name_module)
|
|
|
|
))
|
|
|
|
|
|
|
|
(defwidget right []
|
|
|
|
(box
|
|
|
|
:space-evenly false
|
|
|
|
:halign "end"
|
|
|
|
; (kernel_module)
|
|
|
|
; (sep)
|
|
|
|
(volume_module)
|
|
|
|
(sep)
|
2023-10-10 19:27:19 +00:00
|
|
|
(battery_module)
|
|
|
|
(sep)
|
2022-10-29 18:25:42 +00:00
|
|
|
(bitcoin_module)
|
|
|
|
(sep)
|
|
|
|
(cpu_module)
|
|
|
|
(sep)
|
|
|
|
(memory_module)
|
|
|
|
(sep)
|
2023-02-02 12:33:04 +00:00
|
|
|
; (uptime_module)
|
|
|
|
; (sep)
|
2022-10-29 18:25:42 +00:00
|
|
|
(clock_module)
|
|
|
|
(sep)
|
2023-06-26 12:16:27 +00:00
|
|
|
(systray
|
2023-01-29 16:26:31 +00:00
|
|
|
:pack-direction "left"
|
2023-01-29 14:39:37 +00:00
|
|
|
:class "module tray"
|
|
|
|
)
|
2022-10-29 18:25:42 +00:00
|
|
|
))
|
|
|
|
|
|
|
|
(defwidget center []
|
|
|
|
(box
|
|
|
|
:space-evenly false
|
|
|
|
:halign "center"
|
|
|
|
(workspaces_module)
|
|
|
|
))
|
|
|
|
|
|
|
|
(defwidget bar []
|
|
|
|
(centerbox
|
|
|
|
:class "bar"
|
|
|
|
:orientation "horizontal"
|
|
|
|
(left)
|
|
|
|
(center)
|
|
|
|
(right)))
|
|
|
|
|
2022-11-07 22:01:30 +00:00
|
|
|
(defwindow bar0
|
2022-10-29 18:25:42 +00:00
|
|
|
:monitor 0
|
|
|
|
:geometry (geometry :x "0%"
|
|
|
|
:y "0%"
|
|
|
|
:width: "100%"
|
|
|
|
:height "32px"
|
|
|
|
:anchor "top center")
|
|
|
|
:stacking "fg"
|
|
|
|
:exclusive true
|
|
|
|
(bar))
|
2022-11-07 22:01:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
(defwindow bar1
|
|
|
|
:monitor 1
|
|
|
|
:geometry (geometry :x "0%"
|
|
|
|
:y "0%"
|
|
|
|
:width: "100%"
|
|
|
|
:height "32px"
|
|
|
|
:anchor "top center")
|
|
|
|
:stacking "fg"
|
|
|
|
:exclusive true
|
|
|
|
(bar))
|