summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.config/openbox/autostart7
-rwxr-xr-x.local/bin/startsoon2
2 files changed, 8 insertions, 1 deletions
diff --git a/.config/openbox/autostart b/.config/openbox/autostart
index fb22d15..b2c1dcd 100755
--- a/.config/openbox/autostart
+++ b/.config/openbox/autostart
@@ -50,6 +50,13 @@ startif() {
}
export LANG='en_US.UTF-8'
+[ "$(hostname -s)" = "mother" ] && xrandr --output HDMI-0 --off \
+ --output DP-0 --mode 1440x900 --pos 0x0 --rotate normal \
+ --output DP-2 --mode 1440x900 --pos 3120x0 --rotate normal \
+ --output DP-4 --primary --mode 1680x1050 --pos 1440x0 --rotate normal \
+ --output DP-1 --off \
+ --output DP-3 --off \
+ --output DP-5 --off
[ "$(hostname -s)" = "po-rbo" ] && xrandr \
--output eDP-1 --mode 1920x1200 --pos 5120x0 --rotate normal \
--output DP-1 --mode 2560x1440 --pos 0x0 --rotate normal \
diff --git a/.local/bin/startsoon b/.local/bin/startsoon
index 3f33ff6..01bb32e 100755
--- a/.local/bin/startsoon
+++ b/.local/bin/startsoon
@@ -1,4 +1,4 @@
-#!/usr/local/bin/dash
+#!/bin/sh
randcol() {
col=$(shuf -i 1-9 -n1)