some better eww config
This commit is contained in:
parent
651153719b
commit
972aec6926
12
eww/eww.yuck
12
eww/eww.yuck
|
@ -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"
|
||||||
|
|
|
@ -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 &
|
||||||
|
|
Loading…
Reference in a new issue