Added colout to pip.txt, added i3 monitor swap

This commit is contained in:
Austen Adler 2015-04-27 08:21:16 -04:00
parent da69b5a933
commit fbe82d4c46
2 changed files with 11 additions and 0 deletions

View File

@ -21,3 +21,13 @@ if [ "$1" = "wall" ];then
feh --bg-scale "$(shuf -n1 -e ~/.i3/wallOM/*)"
#feh --bg-scale ~/.i3/wall/fbfKNDk.png
fi
if [ "$1" = "swap" ];then
python << EOF
import i3
swap = [output for output in i3.get_outputs() if output['active']]
if len(swap) == 2:
for output in swap:
i3.workspace(output['current_workspace'])
i3.command('move', 'workspace to output right')
EOF
fi

View File

@ -6,3 +6,4 @@ tornado
mps-youtube
i3-py
quickswitch-i3
colout