mirror of
https://github.com/balkian/dotfiles.git
synced 2024-12-22 08:38:12 +00:00
Dual monitor for sputnik
This commit is contained in:
parent
c3343937de
commit
405a3e196b
1
dual-monitor
Symbolic link
1
dual-monitor
Symbolic link
@ -0,0 +1 @@
|
||||
dual-monitor.sputnik
|
1
dual-monitor.sputnik
Executable file
1
dual-monitor.sputnik
Executable file
@ -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
|
||||
|
11
i3-one-tmux
Executable file
11
i3-one-tmux
Executable 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
1
single-monitor
Symbolic link
@ -0,0 +1 @@
|
||||
single-monitor.sputnik
|
1
single-monitor.sputnik
Executable file
1
single-monitor.sputnik
Executable file
@ -0,0 +1 @@
|
||||
xrandr --auto --output eDP1 --primary --output DP1 --off
|
Loading…
Reference in New Issue
Block a user