Define imv keys, switch to btop, put stateful data in per-system config

This commit is contained in:
Jimbo 2024-12-06 04:03:03 -05:00
parent 0d212ce643
commit a589e07a6c
29 changed files with 121 additions and 114 deletions

View file

@ -10,10 +10,10 @@
# Scratchpads
{
criteria = { con_mark = "scratchpad"; };
command = ''floating enable, sticky enable, move scratchpad, mark borderless'';
command = ''floating enable, sticky enable, move scratchpad, mark giveborder'';
}
{
criteria = { app_id = "gotop"; };
criteria = { app_id = "btop"; };
command = ''mark scratchpad'';
}
{
@ -27,35 +27,31 @@
# Give apps that don't have them borders
{
criteria = { con_mark = "borderless"; };
criteria = { con_mark = "giveborder"; };
command = ''border pixel ${config.look.border.string}'';
}
{
criteria = { app_id = "com.github.wwmm.easyeffects"; };
command = ''mark borderless'';
command = ''mark giveborder'';
}
{
criteria = { class = "steam"; };
command = ''mark borderless'';
command = ''mark giveborder'';
}
{
criteria = { app_id = "swappy"; };
command = ''mark borderless'';
command = ''mark giveborder'';
}
{
criteria = { app_id = "virt-manager"; };
command = ''mark borderless'';
command = ''mark giveborder'';
}
{
criteria = { window_role = "pop-up"; };
command = ''mark borderless'';
command = ''mark giveborder'';
}
# Floating or fullscreen rules
{
criteria = { app_id = "float"; };
command = ''floating enable'';
}
# Misc
{
criteria = { title = "^GlobalShot"; };
command = ''floating enable, fullscreen enable global'';