diff --git a/dot_config/hypr/hypridle.conf b/dot_config/hypr/hypridle.conf index ffafaeb..8bf72ac 100644 --- a/dot_config/hypr/hypridle.conf +++ b/dot_config/hypr/hypridle.conf @@ -12,13 +12,13 @@ general { } listener { - timeout = 300 # in seconds + timeout = 600 # in seconds on-timeout = hyprctl dispatch dpms off # command to run on timeout on-resume = hyprctl dispatch dpms on # command to run on resume } listener { - timeout = 310 # in seconds + timeout = 610 # in seconds on-timeout = ~/.config/hypr/lights.sh off on-resume = ~/.config/hypr/lights.sh on } diff --git a/dot_config/paru/paru.conf b/dot_config/paru/paru.conf index 4bf5af7..bb39d71 100644 --- a/dot_config/paru/paru.conf +++ b/dot_config/paru/paru.conf @@ -35,7 +35,7 @@ BatchInstall # [bin] Pager = /home/misti/.config/paru/ai_check.sh -GitFlags = --depth 1 +#GitFlags = --depth 1 #FileManager = vifm #MFlags = --skippgpcheck #Sudo = doas diff --git a/dot_config/waybar/config.jsonc b/dot_config/waybar/config.jsonc index 390c635..c420697 100644 --- a/dot_config/waybar/config.jsonc +++ b/dot_config/waybar/config.jsonc @@ -47,6 +47,7 @@ "custom/gpu", "cpu", "memory", + "custom/weight", "custom/sleep", "custom/garage-longhorn", "custom/garage-velero", diff --git a/dot_config/waybar/shared_modules.jsonc b/dot_config/waybar/shared_modules.jsonc index 1d2414c..b998291 100644 --- a/dot_config/waybar/shared_modules.jsonc +++ b/dot_config/waybar/shared_modules.jsonc @@ -234,6 +234,14 @@ "interval": 5, }, + "custom/weight": { + "return-type": "json", + "exec": "/home/misti/opencode/weight-unlock/show_weight_waybar.py", + "on-click": "/home/misti/opencode/weight-unlock/show_weight_waybar.py --toggle; pkill -RTMIN+11 waybar", + "interval": 300, + "signal": 11, + }, + "custom/claude": { "format": "{} 󰭻", "return-type": "json", diff --git a/dot_config/waybar/style.css b/dot_config/waybar/style.css index d7dabb3..cee387c 100644 --- a/dot_config/waybar/style.css +++ b/dot_config/waybar/style.css @@ -109,6 +109,7 @@ box.#workspaces { #custom-scrcpy-active, #custom-systemd-failed-units, #custom-hypridle, +#custom-weight, #custom-sleep, #tray, #wireplumber, @@ -131,6 +132,7 @@ box.#workspaces { #custom-sleep:hover, #custom-scrcpy-active:hover, #custom-hypridle:hover, +#custom-weight:hover, #wireplumber:hover, #gamemode:hover, #cpu:hover, @@ -172,6 +174,18 @@ box.#workspaces { box-shadow: inset 0px -4px @rosewater; } +#custom-weight { + color: @mauve; +} + +#custom-weight.hidden { + color: @overlay1; +} + +#custom-weight.met { + color: @green; +} + #clock { color: @lavender; }