This commit is contained in:
Daniel Flanagan 2023-05-12 11:11:53 -05:00
parent 82ce480c1b
commit efd1be2d74
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
3 changed files with 8 additions and 5 deletions

View file

@ -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

View file

@ -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)))")

View file

@ -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
}