Compare commits
3 commits
195e3773ac
...
7905caf694
Author | SHA1 | Date | |
---|---|---|---|
7905caf694 | |||
82d04d65a4 | |||
87494c3c66 |
5 changed files with 19 additions and 17 deletions
|
@ -70,7 +70,7 @@ $foreground: $white;
|
||||||
// color each tag bubble from palette
|
// color each tag bubble from palette
|
||||||
@each $color in $tag-palette {
|
@each $color in $tag-palette {
|
||||||
.ws-button-#{index($tag-palette,$color)} {
|
.ws-button-#{index($tag-palette,$color)} {
|
||||||
color:$color;
|
color: $color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
(defvar rofi-bin "~/.config/rofi/bin")
|
(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 clocktext :interval "10s" "date '+%d %b %I:%M %p'")
|
||||||
(defpoll bluetooth-icon :interval "5s" "bin/bluetooth.sh")
|
(defpoll bluetooth-icon :interval "5s" "bin/bluetooth.sh")
|
||||||
|
|
|
@ -36,18 +36,23 @@
|
||||||
:text clocktext
|
:text clocktext
|
||||||
:limit-width 40 )))
|
:limit-width 40 )))
|
||||||
|
|
||||||
|
|
||||||
(defwidget battery []
|
(defwidget battery []
|
||||||
(box :orientation "h"
|
(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 []
|
(defwidget ram []
|
||||||
(box :orientation "h"
|
(box :orientation "h"
|
||||||
(label :text " ${round(EWW_RAM.used_mem_perc, 0)}% ")))
|
(label :text " ${round(EWW_RAM.used_mem_perc, 0)}%")))
|
||||||
|
|
||||||
(defwidget cpu []
|
(defwidget cpu []
|
||||||
(box :orientation "h"
|
(box :orientation "h"
|
||||||
(label :text " ${round(EWW_CPU.avg, 0)}% ")))
|
(label :text " ${round(EWW_CPU.avg, 0)}%")))
|
||||||
|
|
||||||
(defwidget wifi []
|
(defwidget wifi []
|
||||||
(box :class "sysinfo"
|
(box :class "sysinfo"
|
||||||
|
@ -61,30 +66,22 @@
|
||||||
(button :onclick "${rofi-bin}/bluetooth.sh &"
|
(button :onclick "${rofi-bin}/bluetooth.sh &"
|
||||||
bluetooth-icon)))
|
bluetooth-icon)))
|
||||||
|
|
||||||
;(defwidget chord []
|
|
||||||
; (box :class "sysinfo"
|
|
||||||
; :visible "${wmstate.chord!=''}"
|
|
||||||
; (label :text " ${wmstate.chord}"
|
|
||||||
; ))
|
|
||||||
; )
|
|
||||||
|
|
||||||
; Composite Widgets
|
; Composite Widgets
|
||||||
|
|
||||||
(defwidget sysinfo []
|
(defwidget sysinfo []
|
||||||
(box :class "sysinfo"
|
(box :class "sysinfo"
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
|
:spacing 10
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
(ram)
|
(ram)
|
||||||
(cpu)
|
(cpu)
|
||||||
(battery)
|
(battery)))
|
||||||
))
|
|
||||||
|
|
||||||
(defwidget workspaces [screen]
|
(defwidget workspaces [screen]
|
||||||
(box :class "workspaces panel"
|
(box :class "workspaces panel"
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:halign "start"
|
:halign "start"
|
||||||
(workspaces-icons :screen screen)
|
(workspaces-icons :screen screen)))
|
||||||
))
|
|
||||||
|
|
||||||
|
|
||||||
(defwidget workspaces-icons [screen]
|
(defwidget workspaces-icons [screen]
|
||||||
|
|
|
@ -8,3 +8,5 @@ _TODO.md
|
||||||
|
|
||||||
.direnv
|
.direnv
|
||||||
.envrc
|
.envrc
|
||||||
|
|
||||||
|
daylin-local*
|
||||||
|
|
|
@ -58,3 +58,6 @@ Roc
|
||||||
todo
|
todo
|
||||||
daylinmorgan
|
daylinmorgan
|
||||||
VirtualBox
|
VirtualBox
|
||||||
|
Lua
|
||||||
|
NextFlow
|
||||||
|
webserver
|
||||||
|
|
Loading…
Reference in a new issue