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
: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"

View file

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