Added colout to pip.txt, added i3 monitor swap
This commit is contained in:
parent
da69b5a933
commit
fbe82d4c46
10
i3/run.sh
10
i3/run.sh
@ -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
|
||||
|
@ -6,3 +6,4 @@ tornado
|
||||
mps-youtube
|
||||
i3-py
|
||||
quickswitch-i3
|
||||
colout
|
||||
|
Loading…
Reference in New Issue
Block a user