some better eww config

This commit is contained in:
Chris Cochrun 2022-12-06 17:20:39 -06:00
parent 651153719b
commit 972aec6926
2 changed files with 16 additions and 7 deletions

View file

@ -267,19 +267,19 @@
)) ))
(defwindow bar0 (defwindow bar0
:monitor 0 :monitor 0
:exclusive false :exclusive true
:geometry (geometry :geometry (geometry
:x "15px" :x "15px"
:y "0px" :y "10px"
:width "100%" :width "98%"
:height "50px" :height "20px"
:anchor "top center") :anchor "bottom center")
:stacking "fg" :stacking "fg"
:windowtype "dock" :windowtype "dock"
(bar_layout)) (bar_layout))
(defwindow bar1 (defwindow bar1
:monitor 1 :monitor 1
:exclusive false :exclusive true
:geometry (geometry :geometry (geometry
:x "15px" :x "15px"
:y "-50px" :y "-50px"

View file

@ -1,6 +1,15 @@
#!/bin/sh #!/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 & rbw-agent &
systemctl --user restart jellyfin-mpv-shim.service & systemctl --user restart jellyfin-mpv-shim.service &
systemctl --user restart nextcloud-client.service & systemctl --user restart nextcloud-client.service &