Compare commits

..

3 commits

Author SHA1 Message Date
7905caf694
update general eww config 2024-05-28 13:22:10 -05:00
82d04d65a4
more words 2024-05-28 13:14:43 -05:00
87494c3c66
add another global git ignore convention 2024-05-28 13:14:42 -05:00
5 changed files with 19 additions and 17 deletions

View file

@ -1,6 +1,6 @@
(defvar rofi-bin "~/.config/rofi/bin")
(deflisten workspaces "hyprman workspace")
(deflisten workspaces "hyprman workspaces")
(defpoll clocktext :interval "10s" "date '+%d %b %I:%M %p'")
(defpoll bluetooth-icon :interval "5s" "bin/bluetooth.sh")

View file

@ -36,10 +36,15 @@
:text clocktext
:limit-width 40 )))
(defwidget battery []
(box :orientation "h"
(label :text '${EWW_BATTERY["BAT0"].status == "Discharging" ? "󰄌" : "󰚥"} ${EWW_BATTERY["BAT0"].capacity}%')
))
:space-evenly false
:spacing 5
(label
:text '${EWW_BATTERY["BAT0"].status == "Discharging" ? "󰄌" : "󰚥"} ${EWW_BATTERY["BAT0"].capacity}%')
(label
:text '${EWW_BATTERY["BAT0"].capacity < 20 ? "low battery!!!": ""}')))
(defwidget ram []
(box :orientation "h"
@ -61,30 +66,22 @@
(button :onclick "${rofi-bin}/bluetooth.sh &"
bluetooth-icon)))
;(defwidget chord []
; (box :class "sysinfo"
; :visible "${wmstate.chord!=''}"
; (label :text " 󰌌 ${wmstate.chord}"
; ))
; )
; Composite Widgets
(defwidget sysinfo []
(box :class "sysinfo"
:orientation "h"
:spacing 10
:space-evenly false
(ram)
(cpu)
(battery)
))
(battery)))
(defwidget workspaces [screen]
(box :class "workspaces panel"
:orientation "h"
:halign "start"
(workspaces-icons :screen screen)
))
(workspaces-icons :screen screen)))
(defwidget workspaces-icons [screen]

View file

@ -8,3 +8,5 @@ _TODO.md
.direnv
.envrc
daylin-local*

View file

@ -58,3 +58,6 @@ Roc
todo
daylinmorgan
VirtualBox
Lua
NextFlow
webserver