Compare commits

..

No commits in common. "3c191ef7a69a01d378e000c43823007325385e80" and "edf168c7dcf7b8b38ccb8be197ebd7aa536dbfcb" have entirely different histories.

2 changed files with 15 additions and 15 deletions

View file

@ -1,6 +1,6 @@
(deflisten batterystatus
:initial "unknown"
"listen/battery BAT0"
"listen/battery BAT1"
)
(deflisten workspaces
@ -63,7 +63,7 @@
"absent": "󰕿",
"moderate": "󰖀",
"loud": "󰕾",
"muted": "󰝟"
"muted": "󰖁"
}')
(defwidget workspaces []
@ -90,10 +90,9 @@
(box "${windowtitle ?: ''}")
)
(defwidget tray [] (box (systray
:icon-size 15
:spacing 10
)))
(defwidget tray [] (box
(systray :icon-size 15 :spacing 10)
))
(defwidget time []
(box (eventbox
@ -123,7 +122,7 @@
(defwidget sound []
(box (eventbox
:onscroll 'action/volume "{}"'
:onclick 'hyprctl dispatch exec pavucontrol'
:onclick 'pavucontrol & disown'
"${
sound.output-muted == true ? sound-icon["muted"] :
@ -140,15 +139,17 @@
? network-icon["wifi-${network.wifi.signal}"]
: network-icon[network.state]
} ${
network.state == "disconnected" ? "No network" :
network.state == "ethernet" ? "Ethernet" :
network.state == "wireless" ? network.wifi.ssid :
network.state == "tethering" ? "USB tethering" : ''
network.state == "disconnected"
? "no network" :
network.state == "ethernet"
? "wired" :
network.state == "wireless"
? network.wifi.ssid : ''
}"
)
(defwidget battery []
"${battery-icon[batterystatus]}${EWW_BATTERY.BAT0.status == "Charging" ? " " : ""} ${EWW_BATTERY.BAT0.capacity} %"
"${battery-icon[batterystatus]}${EWW_BATTERY.BAT1.status == "Charging" ? " " : ""} ${EWW_BATTERY.BAT1.capacity} %"
)
(defwindow bar

View file

@ -51,8 +51,7 @@ print_network_status() {
"$(print_infos "$device")"
}
print_network_status
tail -f -n 0 /run/dhcpcd/log /var/log/iwd/current | \
while read -r _unused; do
while :; do
print_network_status
sleep 5
done