summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2023-07-09 18:18:13 +0200
committerJoe <bousset.rudy@gmail.com>2023-07-09 18:18:13 +0200
commit21f6d91516de0e63f6c8075d71853512a6e3965f (patch)
treee92af4b303fc4968f1e506ddd7bc0ff8f2ba5fd7
parentup (diff)
downloaddotfiles-bsd-21f6d91516de0e63f6c8075d71853512a6e3965f.tar.gz
dotfiles-bsd-21f6d91516de0e63f6c8075d71853512a6e3965f.tar.bz2
dotfiles-bsd-21f6d91516de0e63f6c8075d71853512a6e3965f.tar.xz
dotfiles-bsd-21f6d91516de0e63f6c8075d71853512a6e3965f.tar.zst
dotfiles-bsd-21f6d91516de0e63f6c8075d71853512a6e3965f.zip
up
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)