OSDN Git Service

add arandr support
authorpaperbenni <paperbenni@gmail.com>
Wed, 8 Apr 2020 18:43:46 +0000 (20:43 +0200)
committerpaperbenni <paperbenni@gmail.com>
Wed, 8 Apr 2020 18:43:46 +0000 (20:43 +0200)
autostart.sh

index a5acd42..a51ca07 100755 (executable)
@@ -91,8 +91,11 @@ if [ -z "$ISLIVE" ]; then
                instantmonitor
        fi
 
-       [ -e ~/instantos/monitor.sh ] &&
+       if [ -e ~/instantos/monitor.sh ]; then
                bash ~/instantos/monitor.sh &
+       elif [ -e ~/.config/autorandr/instantos/config ]; then
+               autorandr instantos &
+       fi
 
        if ping google.com -c 2; then
                onlinetrigger