Hey, I searched on the forum, but didn,'t find, sorry if that’s a dumb question but it seems weird to me.
Explain : I go in the i3 config file (~/.config/i3/config) and add
assign [class=“program(name with xprop)”] $bindtospecificWS
exec --no-startup-id sleep “number” && program
from there, everything works, programs are starting at startup and goes to the chosen WS. Except for program “vscodium” which launch but on the wrong WS ?!
here is my config :
# bind program to workspace and focus to them on startup: assign [class="vscodium"]$ws2 assign [class="Xfce4-terminal"] $ws4 assign [class="(?i)firefox"] $ws1 assign [class="Evince"] $ws3 #assign [class="VirtualBox Manager"] $ws6 # automatic set focus new window if it opens on another workspace than the current: #for_window [class=Xfce4-terminal] focus #for_window [class=(?i)firefox] focus #for_window [class=evince] focus #for_window [class=vscodium] focus #for_window [class=] focus
# Autostart apps as you like exec --no-startup-id sleep 3 && vscodium exec --no-startup-id sleep 1 && xfce4-terminal exec --no-startup-id sleep 5 && firefox exec --no-startup-id sleep 2 && evince
Once again, everything goes well except “vscodium” which launchs on $ws1 with firefox instead on $ws2, why ?
Another less important question, I did this bind for screen light power :
# Backlight control bindsym XF86MonBrightnessUp exec --no-startup-id light -A 3 bindsym XF86MonBrightnessDown exec --no-startup-id light -U 3 && notify-send "Brightness -"
The && notify-send “Brightness -” does not print