Define imv keys, switch to btop, put stateful data in per-system config
This commit is contained in:
parent
0d212ce643
commit
a589e07a6c
29 changed files with 121 additions and 114 deletions
|
@ -143,10 +143,15 @@
|
|||
${primeMod}+f { maximize-column; }
|
||||
${primeMod}+Shift+f { fullscreen-window; }
|
||||
|
||||
// Niri specific
|
||||
// Column functions
|
||||
${primeMod}+r { switch-preset-column-width; }
|
||||
${primeMod}+Shift+r { reset-window-height; }
|
||||
${primeMod}+Shift+c { center-column; }
|
||||
|
||||
// Move these into scratchpads if or when they get supported
|
||||
${primeMod}+Shift+Backslash { spawn "sh" "-c" "foot btop"; }
|
||||
${primeMod}+Shift+m { spawn "sh" "-c" "foot ncmpcpp"; }
|
||||
${primeMod}+Shift+v { spawn "sh" "-c" "foot pulsemixer"; }
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
startup = [
|
||||
# Scratchpads
|
||||
{ command = "foot -a gotop -T Gotop gotop"; }
|
||||
{ command = "foot -a btop -T Gotop btop"; }
|
||||
{ command = "foot -a music -T Music ncmpcpp"; }
|
||||
{ command = "foot -a sound -T Sound pulsemixer"; }
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@
|
|||
"${primeMod}+shift+a" = ''focus child'';
|
||||
|
||||
# Scratchpads
|
||||
"Shift+Ctrl+Backslash" = ''[app_id="gotop"] scratchpad show, move position center, resize set 1216 888'';
|
||||
"${primeMod}+Shift+Backslash" = ''[app_id="btop"] scratchpad show, move position center, resize set 1216 888'';
|
||||
"${primeMod}+Shift+m" = ''[app_id="music"] scratchpad show, move position center, resize set 1006 657'';
|
||||
"${primeMod}+Shift+v" = ''[app_id="sound"] scratchpad show, move position center, resize set 1000 800'';
|
||||
};
|
||||
|
|
|
@ -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'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue