From f74c06901836e571d12ca004c69fb2e078b3f91f Mon Sep 17 00:00:00 2001 From: Salt Date: Sun, 21 Jan 2018 19:14:48 -0600 Subject: [PATCH] bspwm: Add Tungsten screen layout Not too happy with the directory heirarchy in ~/.local/bin. May change that soon. --- .config/bspwm/bspwmrc | 1 + .local/bin/layout/tungsten.sh | 2 ++ 2 files changed, 3 insertions(+) create mode 100755 .local/bin/layout/tungsten.sh diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index e0518b14..05a20ce0 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -50,6 +50,7 @@ for host in $hosts_single; do fi done if [ $hostname = tungsten ]; then + $HOME/.local/bin/layout/tungsten.sh bspc monitor DisplayPort-0 -d 1 2 3 4 bspc monitor HDMI-0 -d 5 6 7 8 fi diff --git a/.local/bin/layout/tungsten.sh b/.local/bin/layout/tungsten.sh new file mode 100755 index 00000000..627029ab --- /dev/null +++ b/.local/bin/layout/tungsten.sh @@ -0,0 +1,2 @@ +#!/bin/sh +xrandr --output HDMI-0 --mode 1920x1080 --pos 0x360 --rotate normal --output DisplayPort-0 --primary --mode 2560x1440 --rate 143.86 --pos 1920x0 --rotate normal