Updates
This commit is contained in:
@@ -8,7 +8,13 @@ if [[ ! `pidof eww` ]]; then
|
||||
sleep 0.5
|
||||
fi
|
||||
|
||||
sc=$($HOME/dotfiles/.settings/eww-monitor.sh)
|
||||
if [ -f $HOME/dotfiles/.settings/eww-monitor.sh ] && [ $(cat $HOME/dotfiles/.settings/eww-monitor.sh) != "auto" ] ;then
|
||||
echo ":: Using monitor id from $HOME/dotfiles/.settings/eww-monitor.sh"
|
||||
sc=$(cat $HOME/dotfiles/.settings/eww-monitor.sh)
|
||||
else
|
||||
echo ":: Autodetect current focused monitor."
|
||||
sc=$(python $HOME/dotfiles/hypr/scripts/active-monitor.py)
|
||||
fi
|
||||
if [[ ! -f "$FILE" ]]; then
|
||||
touch "$FILE"
|
||||
echo ":: Opening on Monitor $sc"
|
||||
|
||||
Reference in New Issue
Block a user