modify startup apps strategy
This commit is contained in:
parent
8d0b34e3b3
commit
cf0e3b8941
@ -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
|
||||
|
||||
|
||||
|
15
i3/.config/i3/startup_apps.sh
Executable file
15
i3/.config/i3/startup_apps.sh
Executable file
@ -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'
|
Loading…
Reference in New Issue
Block a user