diff --git a/host/desktop/hyprland.d.conf b/host/desktop/hyprland.d.conf index ce26dfe..9ec8cd7 100644 --- a/host/desktop/hyprland.d.conf +++ b/host/desktop/hyprland.d.conf @@ -1,4 +1,4 @@ -source ~/.config/hypr/hyprland.conf +source = ~/.config/hypr/hyprland.conf monitor=DP-1,3840x2160@60,0x0,1.5,transform,3 monitor=DP-2,3840x2160@60,5280x0,1.5,transform,3 diff --git a/os/linux/eww/eww.yuck b/os/linux/eww/eww.yuck index dc92aba..46ec928 100644 --- a/os/linux/eww/eww.yuck +++ b/os/linux/eww/eww.yuck @@ -23,11 +23,11 @@ ; TODO: idle inhibitor? ; TODO: get these to align properly? (box :class "mic" (box :class {micMuted == "false" ? "live" : "muted"} {micMuted == "false" ? " " : " "})) - {"󰕾 " + volume} + {"󰕾 " + volume + "%"} {" " + round(EWW_CPU["avg"], 0) + "%"} {" " + round(EWW_RAM["used_mem_perc"], 0) + "%"} - {" " + brightness + "%"} - {"󱊣 " + EWW_BATTERY["BAT0"]["capacity"] + "%"} + {isDesktop == "true" ? "" : " " + brightness + "%"} + {isDesktop == "true" ? "" : "󱊣 " + EWW_BATTERY["BAT0"]["capacity"] + "%"} )) (defwidget music [] @@ -49,5 +49,8 @@ (defpoll time :interval "1s" "date '+%a %b %d %H:%M:%S'") +(defpoll isDesktop :interval "24h" + "if [ -d \"$HOME/.config/lytedev-env/host-desktop\" ]; then echo true; else echo false; fi") + (defpoll brightness :interval "10s" "echo $(((100 * $(brightnessctl get)) / $(brightnessctl max)))") diff --git a/os/linux/hypr/hyprland.conf b/os/linux/hypr/hyprland.conf index 6c9345b..4595174 100644 --- a/os/linux/hypr/hyprland.conf +++ b/os/linux/hypr/hyprland.conf @@ -93,7 +93,7 @@ dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below pseudotile = yes - preserve_split = yes + preserve_split = 1 no_gaps_when_only = true }