feat: change Caps Lock behaviour on Pop!_OS
This commit is contained in:
parent
07bc20fc81
commit
cc7aaa2144
|
@ -14,6 +14,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
|
# Make Caps Lock behave like Ctrl.
|
||||||
|
setxkbmap -option ctrl:nocaps
|
||||||
|
|
||||||
|
# Make short-pressed Ctrl behave like Escape.
|
||||||
|
xcape -e 'Control_L=Escape'
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
source "''${ZPLUG_REPOS}/robbyrussell/oh-my-zsh/plugins/git/git.plugin.zsh"
|
source "''${ZPLUG_REPOS}/robbyrussell/oh-my-zsh/plugins/git/git.plugin.zsh"
|
||||||
|
|
|
@ -17,6 +17,8 @@ in
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
gnome.gnome-tweaks
|
||||||
jetbrains-mono
|
jetbrains-mono
|
||||||
|
xcape
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue