From 0d318db0226549cd918d1d2b97f6bd8b1b47ee74 Mon Sep 17 00:00:00 2001 From: Michael Bradley Date: Tue, 28 Jan 2025 22:28:12 -0500 Subject: [PATCH 1/3] Fix gametime script monitor --- scripts/gametime.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gametime.sh b/scripts/gametime.sh index b4a18dd..6747b68 100755 --- a/scripts/gametime.sh +++ b/scripts/gametime.sh @@ -4,7 +4,7 @@ if [ "$#" -gt "1" ]; then exit 1 fi -MONITOR='DP-3' +MONITOR='DP-2' MOVE_MONITOR="keyword monitor ${MONITOR},1920x1080@165,-1000x1000,1" ROUNDING='keyword decoration:rounding 0' From 9be63b13433dc0dd72e0bc4ec0b9ab58eed82411 Mon Sep 17 00:00:00 2001 From: Michael Bradley Date: Tue, 28 Jan 2025 22:28:49 -0500 Subject: [PATCH 2/3] Don't startup chonk with nonexistant EWW bar --- eww/startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eww/startup.sh b/eww/startup.sh index 57a365c..9706527 100755 --- a/eww/startup.sh +++ b/eww/startup.sh @@ -5,7 +5,7 @@ source ~/scripts/env_vars.sh eww daemon if [ "$(uname -n)" = "chonk" ]; then - eww open-many left right above + eww open-many left right else eww open laptop fi From 9eeb0dcfbcc149dc8f16f0b0e2a3f10f4788b1e6 Mon Sep 17 00:00:00 2001 From: Michael Bradley Date: Tue, 28 Jan 2025 22:29:08 -0500 Subject: [PATCH 3/3] Adjust down to 2 monitors on chonk --- eww/eww.yuck | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/eww/eww.yuck b/eww/eww.yuck index cd11727..7350ff9 100644 --- a/eww/eww.yuck +++ b/eww/eww.yuck @@ -169,29 +169,16 @@ (workspaces :monitor "DP-1")) (systray :pack_direction "ltr" :icon-size 20) (box :class "right" :orientation "h" :space-evenly false :halign "end" + (gametime)(space) + (wallpaper)(space) + (shader)(sep) + (mountpoint :label "/" :mount "/")(space) + (mountpoint :label "󰋊" :mount "/home/mbradley/hdd")(sep) (ram)(space) (cpu)(sep) (eth)(sep) (datetime)(sep) (power)))) -(defwidget above_bar [] - (centerbox :class "bar" :orientation "h" - (box :class "left" :orientation "h" :space-evenly false :halign "begin" - (workspaces :monitor "HDMI-A-1")(sep :class "no-left-pad") - (window)) - (systray :pack_direction "ltr" :icon-size 20) - (box :class "right" :orientation "h" :space-evenly false :halign "end" - (weather)(sep) - (gametime)(space) - (notifications)(space) - (color_selector)(space) - (wallpaper)(space) - (shader)(sep) - (wlan)(sep) - (mountpoint :label "/" :mount "/")(space) - (mountpoint :label "󰋊" :mount "/home/mbradley/hdd")(sep) - (volume)(sep) - (datetime)))) (defwidget laptop_bar [] (centerbox :class "bar" :orientation "h"