This commit is contained in:
fro
2025-12-28 12:46:30 -05:00
parent 75510effaa
commit fadd0b0a86

View File

@@ -15,7 +15,7 @@ ds-t470p-2() {
echo "${info}" echo "${info}"
xrandr --output eDP-1 --mode 1920x1080 --pos 0x1080 --rotate normal --output DP-1 --off --output HDMI-1 --primary --mode 3840x2160 --pos 1920x0 --rotate normal --output DP-2 --off --output HDMI-2 --off --output DP-3 --off --output HDMI-3 --off > /dev/null 2>&1 xrandr --output eDP-1 --mode 1920x1080 --pos 0x1080 --rotate normal --output DP-1 --off --output HDMI-1 --primary --mode 3840x2160 --pos 1920x0 --rotate normal --output DP-2 --off --output HDMI-2 --off --output DP-3 --off --output HDMI-3 --off > /dev/null 2>&1
xrdb ~/.Xresources xrdb ~/.Xresources
nr > /dev/null 2>&1 #nr > /dev/null 2>&1
} }
ds-tuxwarrior-1() { ds-tuxwarrior-1() {
@@ -23,7 +23,7 @@ ds-tuxwarrior-1() {
echo "${info}" echo "${info}"
xrandr --output DP-0 --off --output DP-1 --off --output HDMI-0 --off --output DP-2 --primary --mode 3840x2160 --pos 0x0 --rotate normal --output DP-3 --off --output DP-4 --off --output DP-5 --off --output DP-6 --off xrandr --output DP-0 --off --output DP-1 --off --output HDMI-0 --off --output DP-2 --primary --mode 3840x2160 --pos 0x0 --rotate normal --output DP-3 --off --output DP-4 --off --output DP-5 --off --output DP-6 --off
xrdb ~/.Xresources xrdb ~/.Xresources
nr > /dev/null 2>&1 #nr > /dev/null 2>&1
} }
ds-tuxwarrior-2() { ds-tuxwarrior-2() {
@@ -33,7 +33,7 @@ ds-tuxwarrior-2() {
xrdb ~/.Xresources xrdb ~/.Xresources
i3-msg "rename workspace 1 to 10" i3-msg "rename workspace 1 to 10"
i3-msg "rename workspace 2 to 1" i3-msg "rename workspace 2 to 1"
nr > /dev/null 2>&1 #nr > /dev/null 2>&1
} }
ds-tuxwarrior-3() { ds-tuxwarrior-3() {
@@ -54,7 +54,7 @@ ds-tuxwarrior-3() {
xrdb ~/.Xresources xrdb ~/.Xresources
i3-msg "rename workspace 2 to 10" i3-msg "rename workspace 2 to 10"
nr > /dev/null 2>&1 #nr > /dev/null 2>&1
} }
ds-tuxwarrior-4() { ds-tuxwarrior-4() {
@@ -69,7 +69,7 @@ ds-tuxwarrior-4() {
i3-msg "rename workspace 2 to 1" i3-msg "rename workspace 2 to 1"
i3-msg "rename workspace 4 to 2" i3-msg "rename workspace 4 to 2"
nr > /dev/null 2>&1 #nr > /dev/null 2>&1
} }
# do the choka choka # do the choka choka
@@ -100,13 +100,17 @@ elif [[ "${XWM}" == "i3" ]]; then
xautolock -time 20 -locker i3lock_fk.sh # lock after X minutes xautolock -time 20 -locker i3lock_fk.sh # lock after X minutes
# start miscellanous programs # start miscellanous programs
megasync & # mega sync service #megasync & # mega sync service
nextcloud & # nextcloud file sync #nextcloud & # nextcloud file sync
#pcloud & # pcloud service | unable to start this from startup.sh, so moved to i3wm cfg (strange, as it worked here before) #pcloud & # pcloud service | unable to start pcloud from startup.sh, so moved exec to i3wm cfg instead (strange, as it used to work starting it here)
#protonvpn-app & # vpn #protonvpn-app & # vpn
/usr/bin/pcloud &
/usr/bin/nextcloud &
/usr/bin/megasync &
if [[ "${HOSTNAME}" == "tuxwarrior" ]] ; then if [[ "${HOSTNAME}" == "tuxwarrior" ]] ; then
synology-drive & #synology-drive &
/usr/bin/synology-drive &
fi fi
fi fi