2024-04-30 21:26:27 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
2024-11-17 08:31:43 -05:00
|
|
|
# : klevstul : start miscellanous application : 24.11.17
|
|
|
|
|
# -----
|
2024-11-17 06:49:42 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
# display setup functions
|
|
|
|
|
|
|
|
|
|
ds-t470p-11() {
|
|
|
|
|
info="1 laptop + 1 monitor for t470p"
|
|
|
|
|
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
|
|
|
|
|
nr > /dev/null 2>&1
|
|
|
|
|
xrdb ~/.Xresources
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ds-tuxwarrior-11() {
|
|
|
|
|
info="1 laptop + 1 monitor for tuxwarrior"
|
|
|
|
|
echo "${info}"
|
|
|
|
|
xrandr --output DP-0 --off --output DP-1 --off --output HDMI-0 --primary --mode 3840x2160 --pos 3840x0 --rotate normal --output DP-2 --mode 3840x2160 --pos 0x0 --rotate normal --output DP-3 --off --output DP-4 --off --output DP-5 --off --output DP-6 --off > /dev/null 2>&1
|
|
|
|
|
nr > /dev/null 2>&1
|
|
|
|
|
xrdb ~/.Xresources
|
|
|
|
|
i3-msg "rename workspace 1 to 10"
|
|
|
|
|
i3-msg "rename workspace 2 to 1"
|
|
|
|
|
}
|
2024-04-30 21:26:27 -05:00
|
|
|
|
2024-11-17 08:31:43 -05:00
|
|
|
|
|
|
|
|
# do the choka choka
|
|
|
|
|
|
2024-11-16 22:46:58 -05:00
|
|
|
if [[ "${XWM}" == "hyprland" ]]; then
|
2024-05-11 20:47:15 -05:00
|
|
|
|
2024-11-16 22:49:00 -05:00
|
|
|
echo "<< hyprland >>"
|
2024-11-16 22:46:58 -05:00
|
|
|
#hyprpaper &
|
|
|
|
|
#waybar &
|
|
|
|
|
#hypridle &
|
|
|
|
|
#hyprdim --strength 0.1 --dialog-dim 0.1 --duration 500 --no-dim-when-only &
|
2024-05-01 11:15:00 -05:00
|
|
|
|
2024-11-16 22:46:58 -05:00
|
|
|
elif [[ "${XWM}" == "i3" ]]; then
|
|
|
|
|
|
2024-11-16 22:49:00 -05:00
|
|
|
echo "<< i3wm >>"
|
2024-11-17 06:49:42 -05:00
|
|
|
|
|
|
|
|
# display setup
|
2024-11-16 22:56:05 -05:00
|
|
|
display_setup=ds-${HOSTNAME}-11
|
2024-11-17 06:49:42 -05:00
|
|
|
${display_setup}
|
|
|
|
|
|
2024-11-17 08:28:41 -05:00
|
|
|
# populate keyring, and sleep to make sure it takes effect before apps start
|
2025-04-08 09:11:45 -05:00
|
|
|
#/home/poq/syncDir/secrets/keyring/add_keyring_secrets.sh
|
2025-02-11 13:28:41 -05:00
|
|
|
sleep 3.5
|
2024-11-17 06:49:42 -05:00
|
|
|
|
2024-11-17 08:28:41 -05:00
|
|
|
# start miscellanous programs
|
2025-03-17 18:03:47 -05:00
|
|
|
megasync & # mega sync service
|
2024-11-17 08:28:41 -05:00
|
|
|
nextcloud & # nextcloud file sync
|
|
|
|
|
pcloud & # pcloud service
|
|
|
|
|
protonvpn-app & # vpn
|
2024-11-16 22:46:58 -05:00
|
|
|
|
2024-11-16 22:49:35 -05:00
|
|
|
fi
|