Format EWW config
This commit is contained in:
parent
d9fc032749
commit
1db9f88179
1 changed files with 22 additions and 21 deletions
43
eww/eww.yuck
43
eww/eww.yuck
|
@ -63,11 +63,11 @@
|
|||
(network_speed :label "" :interface "enp6s0"))
|
||||
(defwidget wlan []
|
||||
(network_speed :label ""
|
||||
{% if host.name == "chonk" %}
|
||||
{% if host.name == "chonk" %}
|
||||
:interface "wlo1"
|
||||
{% else %}
|
||||
{% else %}
|
||||
:interface "wlp1s0"
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
))
|
||||
|
||||
(defwidget date []
|
||||
|
@ -94,8 +94,8 @@
|
|||
(label :text "" :class "lock"))
|
||||
(eventbox :onclick "systemctl suspend" :cursor "pointer"
|
||||
(label :text "鈴" :class "sleep"))
|
||||
; (eventbox :onclick "systemctl hibernate" :cursor "pointer"
|
||||
; (label :text "" :class "hibernate"))
|
||||
;(eventbox :onclick "systemctl hibernate" :cursor "pointer"
|
||||
;(label :text "" :class "hibernate"))
|
||||
(eventbox :onclick "reboot" :cursor "pointer"
|
||||
(label :text "ﰇ" :class "reboot"))
|
||||
(eventbox :onclick "shutdown now" :cursor "pointer"
|
||||
|
@ -118,7 +118,7 @@
|
|||
(eventbox :onclick command :cursor "pointer" :timeout "3600s"
|
||||
(label :text text :class "primary")))
|
||||
;(defwidget colour_selector []
|
||||
; (clicker :text "" :command "uwsm-app -- hyprpicker -a"))
|
||||
;(clicker :text "" :command "uwsm-app -- hyprpicker -a"))
|
||||
(defwidget wallpaper []
|
||||
(clicker :text "" :command "~/scripts/swww_change.py"))
|
||||
(defwidget sunset []
|
||||
|
@ -167,7 +167,7 @@
|
|||
(systray :pack_direction "ltr" :icon-size 20)
|
||||
(box :class "right" :orientation "h" :space-evenly false :halign "end"
|
||||
(gametime)(space)
|
||||
; (colour_selector)(space)
|
||||
;(colour_selector)(space)
|
||||
(sunset)(space)
|
||||
(wallpaper)(sep)
|
||||
(mountpoint :label "/" :mount "/")(space)
|
||||
|
@ -186,7 +186,7 @@
|
|||
(systray :pack_direction "ltr" :icon-size 20)
|
||||
(box :class "right" :orientation "h" :space-evenly false :halign "end"
|
||||
(weather)(sep)
|
||||
; (colour_selector)(space)
|
||||
;(colour_selector)(space)
|
||||
(sunset)(space)
|
||||
(wallpaper)(sep)
|
||||
(ram)(space)
|
||||
|
@ -201,11 +201,12 @@
|
|||
|
||||
(defwindow left
|
||||
:monitor 1
|
||||
:geometry (geometry :x "0px"
|
||||
:y "4px"
|
||||
:width "1912px"
|
||||
:height "24px"
|
||||
:anchor "top center")
|
||||
:geometry (geometry
|
||||
:x "0px"
|
||||
:y "4px"
|
||||
:width "1912px"
|
||||
:height "24px"
|
||||
:anchor "top center")
|
||||
:stacking "bg"
|
||||
:exclusive true
|
||||
:focusable false
|
||||
|
@ -213,10 +214,10 @@
|
|||
(defwindow right
|
||||
:monitor 0
|
||||
:geometry (geometry :x "0px"
|
||||
:y "4px"
|
||||
:width "1912px"
|
||||
:height "24px"
|
||||
:anchor "top center")
|
||||
:y "4px"
|
||||
:width "1912px"
|
||||
:height "24px"
|
||||
:anchor "top center")
|
||||
:stacking "fg"
|
||||
:exclusive true
|
||||
:focusable false
|
||||
|
@ -225,10 +226,10 @@
|
|||
(defwindow laptop
|
||||
:monitor 0
|
||||
:geometry (geometry :x "0px"
|
||||
:y "4px"
|
||||
:width "1912px"
|
||||
:height "24px"
|
||||
:anchor "top center")
|
||||
:y "4px"
|
||||
:width "1912px"
|
||||
:height "24px"
|
||||
:anchor "top center")
|
||||
:stacking "fg"
|
||||
:exclusive true
|
||||
:focusable false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue