2018-04-18 15:51:14 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-04-18 17:37:06 +02:00
|
|
|
if [[ $(iwgetid -r) = *adazio* ]];
|
|
|
|
then
|
2018-04-22 18:44:43 +02:00
|
|
|
~/.i3/scripts/work-monitors.sh &
|
|
|
|
~/.i3/scripts/work-layout.sh &
|
2018-04-18 17:37:06 +02:00
|
|
|
fi
|
|
|
|
if [[ $(iwgetid -r) = *moerks.dk* ]];
|
|
|
|
then
|
2018-04-22 18:44:43 +02:00
|
|
|
~/.i3/scripts/home-monitors.sh &
|
|
|
|
~/.i3/scripts/home-layout.sh &
|
2018-04-18 17:37:06 +02:00
|
|
|
fi
|
|
|
|
|
2018-04-22 18:44:43 +02:00
|
|
|
sleep 1
|
|
|
|
. ~/.i3/env
|
|
|
|
|
2018-04-18 17:37:06 +02:00
|
|
|
sleep 1
|
2018-07-05 13:46:57 +02:00
|
|
|
i3-msg "workspace 1:Comms; move workspace to output $LAPTOP"
|
2018-04-22 18:44:43 +02:00
|
|
|
i3-msg "workspace 2:Web; move workspace to output $PRIMARY"
|
|
|
|
i3-msg "workspace 3:IDE; move workspace to output $PRIMARY"
|
|
|
|
i3-msg "workspace 4:Work; move workspace to output $PRIMARY"
|
|
|
|
i3-msg "workspace 5:OC; move workspace to output $PRIMARY"
|
|
|
|
i3-msg "workspace 6:Logs; move workspace to output $SECONDARY"
|
|
|
|
i3-msg "workspace 7:Term; move workspace to output $PRIMARY"
|
2018-07-05 13:46:57 +02:00
|
|
|
i3-msg "workspace 8:Media; move workspace to output $SECONDARY"
|
2018-04-22 18:44:43 +02:00
|
|
|
|
2018-07-05 13:46:57 +02:00
|
|
|
exit
|