Igrom / i3-persist

Extends i3 window management with persistent containers
BSD 3-Clause "New" or "Revised" License
28 stars 2 forks source link

feature request - ability to set applications permanently locked without the need for hotkeys #3

Open DoTheEvo opened 6 years ago

DoTheEvo commented 6 years ago

When I reboot the PC, the locked containers are forgotten and I need to play with the hotkeys again.

Can there be a way to set some setting in i3 config, or someplace else, where I define that "deadbeef, thunderbird, qownnotes" to be always locked?

Similarly how I can in i3 config set which applications belong to which workspace by using their wm_class. assign [class="Thunderbird"] $WS0

or assigning which programs are floating

for_window [class="plank"] floating enable

I dont do this things on the fly, I set it once in config and they are done, that should be possible here too.

thanks

ANGkeith commented 5 years ago

@DoTheEvo, not sure if you are still facing this issue.

I believe something like this should work for_window [class="plank"] exec "i3-persist lock", floating enable