replace the old dotfiles with the sakura line rice
The bare $HOME repo is gone. This is now the rice: install.sh, rice-* scripts in bin/, configs in home/ linked into $HOME, theme templates, st and the particle wallpaper. Clone to ~/rice and run install.sh. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BLLuuQfeDiqFHHSgd2VWrQ
This commit is contained in:
commit
4b203d06bd
104 changed files with 8077 additions and 0 deletions
31
home/.config/eww/panels/power.yuck
Normal file
31
home/.config/eww/panels/power.yuck
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
;; Power: what the machine is doing, the power profile, and session actions.
|
||||
(defwindow power
|
||||
:monitor 0
|
||||
:geometry (geometry :x "-10px" :y "47px" :width "380px" :anchor "top right")
|
||||
:stacking "fg"
|
||||
:wm-ignore true
|
||||
:resizable false
|
||||
(box :class "panel" :orientation "v" :space-evenly false
|
||||
(head :title "Power"
|
||||
(head-action :glyph "" :tip "Activity monitor" :onclick "rice-panel close; setsid -f st -c rice-float -e btop"))
|
||||
|
||||
(row :glyph "" :title "CPU"
|
||||
:value "${power?.cpu?.load ?: 0}%${power?.cpu?.temp != 'null' && power?.cpu?.temp != '' ? ' ' + power.cpu.temp + '°' : ''}")
|
||||
(row :glyph "" :title "GPU" :sub {power?.gpu?.vram ?: ""}
|
||||
:value "${power?.gpu?.load ?: 0}%${power?.gpu?.temp != 'null' && power?.gpu?.temp != '' ? ' ' + power.gpu.temp + '°' : ''}")
|
||||
(row :glyph "" :title "Memory" :value "${power?.memory?.used ?: '-'} / ${power?.memory?.total ?: '-'}")
|
||||
(row :glyph "" :title "Uptime" :value {power?.uptime ?: ""})
|
||||
|
||||
(box :orientation "v" :space-evenly false :visible {arraylength(power?.profiles ?: []) > 0}
|
||||
(section :text "Power profile")
|
||||
(box :class "row" :space-evenly true
|
||||
(for p in {power?.profiles ?: []}
|
||||
(button :class "pill ${p.active ? 'active' : ''}" :onclick "rice-power profile ${p.name}" {p.label}))))
|
||||
|
||||
(sep)
|
||||
(box :space-evenly true :class "row"
|
||||
(button :class "media-btn" :tooltip "Lock" :onclick "rice-power lock" "")
|
||||
(button :class "media-btn" :tooltip "Suspend" :onclick "rice-power suspend" "")
|
||||
(button :class "media-btn" :tooltip "Log out" :onclick "rice-power logout" "")
|
||||
(button :class "media-btn" :tooltip "Reboot" :onclick "rice-power reboot" "")
|
||||
(button :class "media-btn urgent" :tooltip "Shut down" :onclick "rice-power shutdown" ""))))
|
||||
Loading…
Add table
Add a link
Reference in a new issue