feat: switch DM & use Kanata
This commit is contained in:
parent
a1d890f504
commit
a6531caa7f
2 changed files with 30 additions and 1 deletions
|
@ -279,7 +279,6 @@
|
||||||
for_window [window_role="task_dialog"] floating enable
|
for_window [window_role="task_dialog"] floating enable
|
||||||
|
|
||||||
# apps
|
# apps
|
||||||
for_window [class="Lightdm-settings"] floating enable
|
|
||||||
for_window [class="Pavucontrol"] floating enable
|
for_window [class="Pavucontrol"] floating enable
|
||||||
for_window [class="Yad" title="Authentication"] floating enable
|
for_window [class="Yad" title="Authentication"] floating enable
|
||||||
for_window [class="jetbrains*" title="Welcome*"] floating enable
|
for_window [class="jetbrains*" title="Welcome*"] floating enable
|
||||||
|
@ -468,6 +467,9 @@ in {
|
||||||
config =
|
config =
|
||||||
commonConfig {wayland = true;}
|
commonConfig {wayland = true;}
|
||||||
// {
|
// {
|
||||||
|
input."type:keyboard" = {
|
||||||
|
xkb_options = "ctrl:nocaps";
|
||||||
|
};
|
||||||
output = {"*" = {scale = "2";};};
|
output = {"*" = {scale = "2";};};
|
||||||
startup = [
|
startup = [
|
||||||
{
|
{
|
||||||
|
|
|
@ -32,6 +32,33 @@
|
||||||
tumbler.enable = true;
|
tumbler.enable = true;
|
||||||
|
|
||||||
gnome.gnome-keyring.enable = true;
|
gnome.gnome-keyring.enable = true;
|
||||||
|
|
||||||
|
kanata = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.master.kanata;
|
||||||
|
keyboards.keychron-k6 = {
|
||||||
|
devices = ["/dev/input/by-id/usb-Keychron_Keychron_K6-event-kbd"];
|
||||||
|
config = ''
|
||||||
|
(defsrc
|
||||||
|
esc 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
|
tab q w e r t y u i o p [ ] \
|
||||||
|
caps a s d f g h j k l ; ' ret
|
||||||
|
lsft z x c v b n m , . / rsft
|
||||||
|
lctl lmet lalt spc ralt rmet rctl)
|
||||||
|
(deflayer qwerty
|
||||||
|
@sesc 1 2 3 4 5 6 7 8 9 0 - = bspc
|
||||||
|
tab q w e r t y u i o p [ ] \
|
||||||
|
caps a s d f g h j k l ; ' ret
|
||||||
|
lsft z x c v b n m , . / rsft
|
||||||
|
lctl lmet lalt spc ralt rmet rctl)
|
||||||
|
|
||||||
|
(defalias
|
||||||
|
sesc (fork esc grv (lsft rsft))
|
||||||
|
)
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
desktopManager.xterm.enable = false;
|
desktopManager.xterm.enable = false;
|
||||||
|
|
Loading…
Reference in a new issue