More workspace and docking changes
This commit is contained in:
parent
6479e61ec5
commit
1564e8b0d0
|
@ -1,29 +1,33 @@
|
|||
#!/bin/bash
|
||||
. ~/.config/i3/env
|
||||
|
||||
if [[ $(iwgetid -r) = *adazio* ]];
|
||||
then
|
||||
echo "@Work"
|
||||
~/.config/i3/scripts/work-layout.sh &
|
||||
~/.i3/scripts/work-monitors.sh &
|
||||
~/.i3/scripts/work-layout.sh &
|
||||
fi
|
||||
if [[ $(iwgetid -r) = *moerks.dk* ]];
|
||||
then
|
||||
echo "@Home"
|
||||
~/.config/i3/scripts/home-layout.sh &
|
||||
~/.i3/scripts/home-monitors.sh &
|
||||
~/.i3/scripts/home-layout.sh &
|
||||
fi
|
||||
|
||||
sleep 1
|
||||
. ~/.i3/env
|
||||
|
||||
echo $PRIMARY
|
||||
echo $SECONDARY
|
||||
echo $LAPTOP
|
||||
|
||||
sleep 1
|
||||
i3-msg "workspace 1: Comms; move workspace to output $SECONDARY"
|
||||
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: Media; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 6: REST; move workspace to output $SECONDARY"
|
||||
i3-msg "workspace 7: OC; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 8: Logs; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 9: Terminals; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 10: Terminals; move workspace to output $PRIMARY"
|
||||
i3-msg "workspace 1:Comms; move workspace to output $SECONDARY"
|
||||
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"
|
||||
i3-msg "workspace 8:Media; move workspace to output $LAPTOP"
|
||||
|
||||
exit
|
|
@ -1,15 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
ENV_FILE="/home/jfm/.config/i3/env"
|
||||
ENV_FILE="/home/jfm/.i3/env"
|
||||
|
||||
/bin/cat <<EOM >$ENV_FILE
|
||||
export LAPTOP="eDP-1"
|
||||
export PRIMARY="DP-2-1"
|
||||
export SECONDARY="DP-2-2"
|
||||
export LAPTOP="eDP1"
|
||||
export PRIMARY="DP2-1"
|
||||
export SECONDARY="DP2-2"
|
||||
|
||||
export LDPI_PROFILE="default"
|
||||
export HDPI_PROFILE="laptop"
|
||||
EOM
|
||||
|
||||
~/.config/polybar/home-polybar.sh
|
||||
feh --bg-scale --zoom fill ~/.config/i3/wallpaper/fedora_simple.jpg
|
||||
#~/.config/polybar/home-polybar.sh
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
xrandr --output DP-2-1 --mode 1920x1200 --pos 1920x0 --rotate normal --output DP-2-2 --primary --mode 1920x1200 --pos 0x0 --rotate normal --output DP-2-3 --off --output eDP-1 --off --output HDMI-2 --off --output HDMI-1 --off --output DP-2 --off --output DP-1 --off
|
||||
xrandr --output DP2-1 --mode 1920x1200 --pos 1920x0 --rotate normal --output DP2-2 --primary --mode 1920x1200 --pos 0x0 --rotate normal --output DP2-3 --off --output eDP1 --off --output HDMI2 --off --output HDMI1 --off --output DP2 --off --output DP1 --off
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
ENV_FILE="/home/jfm/.i3/env"
|
||||
|
||||
/bin/cat <<EOM >$ENV_FILE
|
||||
export LAPTOP="eDP-1"
|
||||
export PRIMARY="eDP-1"
|
||||
export SECONDARY="eDP-1"
|
||||
export LAPTOP="eDP1"
|
||||
export PRIMARY="eDP1"
|
||||
export SECONDARY="eDP1"
|
||||
|
||||
export LDPI_PROFILE="laptop"
|
||||
export HDPI_PROFILE="laptop"
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
xrandr --output HDMI-2 --off --output HDMI-1 --off --output DP-1 --off --output eDP-1 --primary --mode 2560x1440 --pos 0x0 --rotate normal --output DP-2 --off
|
||||
xrandr --output HDMI2 --off --output HDMI1 --off --output DP1 --off --output eDP1 --primary --mode 2560x1440 --pos 0x0 --rotate normal --output DP2 --off
|
||||
|
|
|
@ -1,15 +1,22 @@
|
|||
#!/bin/bash
|
||||
. ~/.config/i3/env
|
||||
|
||||
~/.config/i3/scripts/laptop-layout.sh &
|
||||
~/.i3/scripts/laptop-monitors.sh &
|
||||
~/.i3/scripts/laptop-layout.sh &
|
||||
|
||||
i3-msg "workspace 1: Comms; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 2: Web; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 3: IDE; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 4: Work; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 5: Media; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 6: REST; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 7: OC; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 8: Logs; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 9: Terminals; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 10: Terminals; move workspace to output $LAPTOP"
|
||||
sleep 1
|
||||
. ~/.i3/env
|
||||
|
||||
echo $PRIMARY
|
||||
echo $SECONDARY
|
||||
echo $LAPTOP
|
||||
|
||||
i3-msg "workspace 1:Comms; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 2:Web; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 3:IDE; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 4:Work; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 5:OC; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 6:Logs; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 7:Term; move workspace to output $LAPTOP"
|
||||
i3-msg "workspace 8:Media; move workspace to output $LAPTOP"
|
||||
|
||||
exit
|
|
@ -1,15 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
ENV_FILE="/home/jfm/.config/i3/env"
|
||||
ENV_FILE="/home/jfm/.i3/env"
|
||||
|
||||
/bin/cat <<EOM >$ENV_FILE
|
||||
export LAPTOP="eDP-1"
|
||||
export PRIMARY="DP-2-2"
|
||||
export SECONDARY="DP-2-1"
|
||||
export LAPTOP="eDP1"
|
||||
export PRIMARY="DP2-2"
|
||||
export SECONDARY="DP2-1"
|
||||
|
||||
export LDPI_PROFILE="default"
|
||||
export HDPI_PROFILE="laptop"
|
||||
EOM
|
||||
|
||||
~/.config/polybar/work-polybar.sh
|
||||
feh --bg-scale --zoom fill ~/.config/i3/wallpaper/fedora_simple.jpg
|
||||
#~/.config/polybar/work-polybar.sh
|
||||
#feh --bg-scale --zoom fill ~/.config/i3/wallpaper/fedora_simple.jpg
|
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
xrandr --output DP-2-1 --mode 1280x1024 --pos 0x0 --rotate normal --output DP-2-2 --mode 1920x1080 --pos 1280x0 --rotate normal --output DP-2-3 --off --output eDP-1 --primary --mode 2560x1440 --pos 3200x0 --rotate normal --output HDMI-2 --off --output HDMI-1 --off --output DP-2 --off --output DP-1 --off
|
||||
xrandr --output DP2-1 --mode 1280x1024 --pos 0x0 --rotate normal --output DP2-2 --mode 1920x1080 --pos 1280x0 --rotate normal --output DP2-3 --off --output eDP1 --primary --mode 2560x1440 --pos 3200x0 --rotate normal --output HDMI-2 --off --output HDMI-1 --off --output DP2 --off --output DP1 --off
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
. ~/.i3/env
|
||||
|
||||
i3-msg "workspace 1:Comms; append_layout ~/.i3/layouts/workspace1-comms.json"
|
||||
i3-msg "workspace 1:Comms; exec google-chrome-stable --new-window https://chat.google.com https://mattermost.yousee.dk https://tdcgroup.slack.com"
|
||||
i3-msg "workspace 1:Comms; exec google-chrome-stable --new-window https://chat.google.com https://mattermost.yousee.dk https://tdcgroup.slack.com --no-default-browser-check"
|
||||
i3-msg "workspace 1:Comms; move workspace to output $SECONDARY"
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
. ~/.i3/env
|
||||
|
||||
i3-msg "workspace 2:Web; append_layout ~/.i3/layouts/workspace2-web.json"
|
||||
i3-msg "workspace 2: Web; exec google-chrome-stable --new-window https://www.toggl.com/app/timer https://inbox.google.com/"
|
||||
i3-msg "workspace 2: Web; exec google-chrome-stable --new-window https://www.toggl.com/app/timer https://inbox.google.com/ --no-default-browser-check"
|
||||
i3-msg "workspace 2: Web; move workspace to output $PRIMARY"
|
||||
|
||||
|
|
Loading…
Reference in New Issue