From 972aec6926353f25eede331d4ccc851a1d60d9be Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Tue, 6 Dec 2022 17:20:39 -0600 Subject: [PATCH] some better eww config --- eww/eww.yuck | 12 ++++++------ scripts/startup.sh | 11 ++++++++++- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/eww/eww.yuck b/eww/eww.yuck index 3fc1dc7..39f3b37 100644 --- a/eww/eww.yuck +++ b/eww/eww.yuck @@ -267,19 +267,19 @@ )) (defwindow bar0 :monitor 0 - :exclusive false + :exclusive true :geometry (geometry :x "15px" - :y "0px" - :width "100%" - :height "50px" - :anchor "top center") + :y "10px" + :width "98%" + :height "20px" + :anchor "bottom center") :stacking "fg" :windowtype "dock" (bar_layout)) (defwindow bar1 :monitor 1 - :exclusive false + :exclusive true :geometry (geometry :x "15px" :y "-50px" diff --git a/scripts/startup.sh b/scripts/startup.sh index 116ed04..7ebcc07 100755 --- a/scripts/startup.sh +++ b/scripts/startup.sh @@ -1,6 +1,15 @@ #!/bin/sh -eww open bar1 & +if [ $(hostname) = "syl" ]; then + style="laptop" + eww open bar0 & + #echo "this is hidpi" +else + style="desktop" + eww open bar1 & + #echo "this is not hidpi" +fi + rbw-agent & systemctl --user restart jellyfin-mpv-shim.service & systemctl --user restart nextcloud-client.service &