This commit is contained in:
soraefir
2026-06-13 19:21:33 +02:00
parent 6117dca845
commit aace131a0e
12 changed files with 374 additions and 244 deletions

View File

@@ -82,23 +82,15 @@
(defwidget quick-section []
(box :orientation "v" :space-evenly false :class "sys-section"
(section-header :title "Quick Actions" :accent "quick-accent")
(box :orientation "h" :homogeneous true :class "quick-grid"
(quick-btn
:icon "󰸉" :label "Wallpaper"
:onclick "scripts/wallpaper"
:active false)
(quick-btn
:icon "󱐋" :label "Power Save"
:onclick "eww update power-save=$(scripts/power-save)"
:active {power-save})
(quick-btn
:icon "󰌵" :label "Night Light"
:onclick "eww update night-light=$(scripts/nightlight)"
:active {night-light})
(quick-btn
:icon "󰹑" :label "Screenshot"
:onclick "scripts/screenshot"
:active false))))
(box :orientation "v" :space-evenly false :class "quick-grid" :spacing 4
(box :orientation "h" :space-evenly true
(quick-btn :icon "󰸉" :label "Wallpaper" :onclick "scripts/wallpaper" :active false)
(quick-btn :icon "󱐋" :label "Power Save" :onclick "eww update power-save=$(scripts/power-save)" :active {power-save})
(quick-btn :icon "󰌵" :label "Night Light" :onclick "eww update night-light=$(scripts/nightlight)" :active {night-light}))
(box :orientation "h" :space-evenly true
(quick-btn :icon "󰹑" :label "Screenshot" :onclick "scripts/screenshot" :active false)
(quick-btn :icon "󰌾" :label "Lock" :onclick "swaylock" :active false)
(quick-btn :icon "󱉨" :label "Color Pick" :onclick "hyprpicker -a" :active false)))))
; --- Brightness ---