1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-21 11:42:28 +00:00

Dual monitor for sputnik

This commit is contained in:
J.Fernando Sánchez 2013-06-20 17:10:06 +02:00
parent c3343937de
commit 405a3e196b
6 changed files with 17 additions and 2 deletions

1
dual-monitor Symbolic link
View File

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

1
dual-monitor.sputnik Executable file
View File

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

View File

@ -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

11
i3-one-tmux Executable file
View File

@ -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

1
single-monitor Symbolic link
View File

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

1
single-monitor.sputnik Executable file
View File

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