This commit is contained in:
Chris Cochrun 2022-12-28 10:01:12 -06:00
parent ad58a6fcb9
commit 53c4cee0a5
14 changed files with 3234 additions and 1691 deletions

View file

@ -3,18 +3,19 @@
(include "sidebar.yuck")
(include "notifications.yuck")
(include "battery.yuck")
(include "volume.yuck")
(defpoll clock_time :interval "5s" "date '+\%l:\%M \%p'")
(defpoll clock_date :interval "1h" "date '+%b %d, %Y'")
(defpoll calendar_day :interval "2h" "date '+%d'")
(defpoll calendar_year :interval "2h" "date '+%Y'")
(defpoll volume_percent :interval "1s" "~/bin/getvol | cut -c 1-2")
(defpoll mic_percent :interval "3s" "pamixer --get-volume --default-source")
(defpoll brightness_percent :interval "5s" "scripts/bright")
(defpoll COL_WLAN :interval "1m" "scripts/wifi --COL")
(defpoll ESSID_WLAN :interval "1m" "scripts/wifi --ESSID")
(defpoll WLAN_ICON :interval "1m" "scripts/wifi --ICON")
(defpoll HOST :interval "1h" "hostname")
(deflisten volume_percent :interval "0.5s" "tail -F /tmp/vol")
(deflisten workspace "scripts/workspace")
(deflisten appname "scripts/appname")
@ -99,7 +100,7 @@
:value volume_percent
:orientation "h"
:tooltip "${volume_percent}%"
:max 100
:max 150
:min 0
:onchange "pamixer --set-volume {}" )
(button