diff --git a/dual-monitor b/dual-monitor new file mode 120000 index 0000000..0029e18 --- /dev/null +++ b/dual-monitor @@ -0,0 +1 @@ +dual-monitor.sputnik \ No newline at end of file diff --git a/dual-monitor.sputnik b/dual-monitor.sputnik new file mode 100755 index 0000000..9c22065 --- /dev/null +++ b/dual-monitor.sputnik @@ -0,0 +1 @@ + xrandr --auto --output eDP1 --primary --right-of DP1 diff --git a/i3-one-instance b/i3-one-instance index 4a9f92a..e23aa77 100755 --- a/i3-one-instance +++ b/i3-one-instance @@ -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 diff --git a/i3-one-tmux b/i3-one-tmux new file mode 100755 index 0000000..1b3f9ce --- /dev/null +++ b/i3-one-tmux @@ -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 diff --git a/single-monitor b/single-monitor new file mode 120000 index 0000000..0b0e919 --- /dev/null +++ b/single-monitor @@ -0,0 +1 @@ +single-monitor.sputnik \ No newline at end of file diff --git a/single-monitor.sputnik b/single-monitor.sputnik new file mode 100755 index 0000000..e24550b --- /dev/null +++ b/single-monitor.sputnik @@ -0,0 +1 @@ + xrandr --auto --output eDP1 --primary --output DP1 --off