diff --git a/eww.yuck b/eww.yuck index 5d75399..f2a6534 100644 --- a/eww.yuck +++ b/eww.yuck @@ -15,7 +15,6 @@ (defpoll time :interval "1s" :initial `date +%H:%M:%S` `date +%H:%M:%S`) (defpoll date :interval "1m" "date +%m/%d/%y") -(defpoll ip_addr :interval "1h" 'ip -j a show enp0s3') (defpoll volume :interval "250ms" 'wpctl get-volume @DEFAULT_SINK@') ;;turn this into a script or smth (defpoll active_workspaces :interval "250ms" "hyprctl workspaces -j") (defpoll active_window :interval "500ms" 'hyprctl activewindow -j') @@ -25,7 +24,6 @@ (defvar reveal_sound false) (defvar reveal_sound_menu false) (defvar network_interface "enp5s0") ;;the interface to listen to -(defvar reveal_apps 0) (defvar browser "microsoft-edge-stable") (defvar filemanager "dolphin") @@ -36,9 +34,15 @@ ;; DONE volume ;; make the sound icon do smth ;; power menu -;; remove app tray +;; DONE remove app tray ;; limit width of cava visualizer -;; handle second monitor +;; DONE handle second monitor +;; remove cpu graph +;; add more temp sensors +;; make the cpu two colums somehow +;; fix widgets and whatnot not showing up +;; show ram percentage on hover +;; make the storage pie icon look better (defwidget workspaces [] (box @@ -99,27 +103,14 @@ :class "monitor" :orientation "v" "${network_interface}" - (label :limit_width 25 :wrap true :text "ip: ${ip_addr[0].addr_info[0].local}") (label :text "󰕒:${round(EWW_NET.enp5s0.NET_UP / 1000000 * 8, 1)} / 󰇚:${round(EWW_NET.enp5s0.NET_DOWN / 1000000 * 8, 1)} mbps") ) ) (defwidget center [] - (eventbox - :onhover "eww update reveal_apps=1" - :onhoverlost "eww update reveal_apps=0" - (stack - :selected reveal_apps - :transition "slidedown" - :samesize true - (label :class "center island" :text "${active_window.title ?: splash}") - (box - :orientation "h" - :space-evenly true - (button :onclick {browser} "") - (button :onclick {filemanager} "îȘƒ")) -))) + (label :class "center island" :text "${active_window.title ?: splash}") +) (defwidget right []