diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 0d64d29..6cdc301 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -186,6 +186,6 @@ mode "resize" { bindsym $mod+r mode "resize" -exec --no-startup-id i3-msg 'workspace 4; exec firefox; sleep 1; workspace 9; exec thunderbird; sleep 1; workspace 8; exec jellyfinmediaplayer' +exec --no-startup-id ~/.config/i3/startup_apps.sh diff --git a/i3/.config/i3/startup_apps.sh b/i3/.config/i3/startup_apps.sh new file mode 100755 index 0000000..0a948e0 --- /dev/null +++ b/i3/.config/i3/startup_apps.sh @@ -0,0 +1,15 @@ +#!/bin/bash +# Start Firefox and move it to workspace 4 +i3-msg 'workspace 4; exec firefox' + +# Give a delay for Firefox to start and initialize +sleep 2 + +# Start Thunderbird and move it to workspace 9 +i3-msg 'workspace 9; exec thunderbird' + +# Give a delay for Thunderbird to start and initialize +sleep 2 + +# Start Jellyfin Media Player and move it to workspace 8 +i3-msg 'workspace 8; exec jellyfinmediaplayer' \ No newline at end of file