feat: change Caps Lock behaviour on Pop!_OS

This commit is contained in:
Oliver Davies 2023-03-23 21:28:52 +00:00
parent 07bc20fc81
commit cc7aaa2144
2 changed files with 7 additions and 0 deletions

View file

@ -14,6 +14,11 @@
};
initExtra = ''
# Make Caps Lock behave like Ctrl.
setxkbmap -option ctrl:nocaps
# Make short-pressed Ctrl behave like Escape.
xcape -e 'Control_L=Escape'
# Plugins
source "''${ZPLUG_REPOS}/robbyrussell/oh-my-zsh/plugins/git/git.plugin.zsh"

View file

@ -17,6 +17,8 @@ in
fonts.fontconfig.enable = true;
home.packages = with pkgs; [
gnome.gnome-tweaks
jetbrains-mono
xcape
];
}