Dual monitor for sputnik

tmux
J.Fernando Sánchez 11 years ago
parent c3343937de
commit 405a3e196b

@ -0,0 +1 @@
dual-monitor.sputnik

@ -0,0 +1 @@
xrandr --auto --output eDP1 --primary --right-of DP1

@ -1,5 +1,5 @@
#!/bin/sh
python2 $HOME/.bin/i3-wm-scripts/nextmatch.py $1
python2 $HOME/.bin/i3-wm-scripts/nextmatch.py $*
if [ $? -gt 0 ]; then
$* & sleep 0.1 && python2 $HOME/.bin/i3-wm-scripts/nextmatch.py $1
$* & sleep 0.1 && python2 $HOME/.bin/i3-wm-scripts/nextmatch.py $*
fi

@ -0,0 +1,11 @@
#!/bin/zsh
python2 $HOME/.bin/i3-wm-scripts/nextmatch.py urxvt
if [ $? -gt 0 ]; then
urxvt & sleep 0.1 && python2 $HOME/.bin/i3-wm-scripts/nextmatch.py urxvt
fi
if [ "$#" -gt 0 ]; then
eval "tmux neww"
sleep 0.2
xdotool type "$*"
xdotool key Return
fi

@ -0,0 +1 @@
single-monitor.sputnik

@ -0,0 +1 @@
xrandr --auto --output eDP1 --primary --output DP1 --off
Loading…
Cancel
Save