config etc working on bindings and kanata

This commit is contained in:
Matt Nish-Lapidus 2025-05-20 18:25:42 -04:00
parent 55b21eb33f
commit 3dad064b3d
4 changed files with 40 additions and 43 deletions

View file

@ -186,6 +186,8 @@ in
{ app-id = "Configure Krita"; }
{ app-id = "Create new document Krita"; }
{ app-id = "polkit-kde-authentication-agent-1"; }
{ app-id = "Zoom Workdplace"; title = ".*menu.*"; }
{ app-id = "r#\"librewolf$\"# title=\"^Picture-in-Picture$\""; }
];
open-floating = true;
}
@ -214,15 +216,6 @@ in
};
}
{
# Open the Firefox picture-in-picture player as floating by default.
# This app-id regular expression will work for both:
# host Firefox (app-id is "firefox")
# Flatpak Firefox (app-id is "org.mozilla.firefox")
matches = [ { app-id = "r#\"librewolf$\"# title=\"^Picture-in-Picture$\""; } ];
open-floating = true;
}
{
matches = [
{ app-id = "Renoise"; }
@ -253,6 +246,9 @@ in
softness = 10;
spread = 8;
};
min-width = 250;
min-height = 250;
open-focused = true;
}
];

View file

@ -4,11 +4,11 @@ let
k-vars = ''
(defvar
tap-timeout 150
hold-timeout 150)
hold-timeout 200)
'';
shared-alias = ''
(defalias
spcnav (tap-hold-press $tap-timeout $hold-timeout spc (layer-while-held navigation))
spcnav (tap-hold-release $tap-timeout $hold-timeout spc (layer-while-held navigation))
supesc (tap-hold-press $tap-timeout $hold-timeout esc lmet)
sp-lsft (tap-hold-press $tap-timeout $hold-timeout S-9 lsft)
sp-rsft (tap-hold-press $tap-timeout $hold-timeout S-0 lsft))
@ -104,7 +104,7 @@ allow-hardware-repeat false
${k-vars}
(defalias
spcnav (tap-hold-press $tap-timeout $hold-timeout spc (layer-while-held navigation))
spcnav (tap-hold $tap-timeout 300 spc (layer-while-held navigation))
supesc (tap-hold-press $tap-timeout $hold-timeout esc lmet)
sp-lsft (tap-hold-press $tap-timeout $hold-timeout S-9 lsft)
sp-rsft (tap-hold-press $tap-timeout $hold-timeout S-0 lsft))
@ -119,7 +119,7 @@ ${k-vars}
(deflayer navigation
grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w e r t y u i o p [ ] \
@supesc a s d f g left down up right ; ' ret
caps a s d f g left down up right ; ' ret
@sp-lsft z x c v b n m , . / @sp-rsft
lmet lalt lctrl _ rctrl ralt)
'';