Added font resize keybindings

This commit is contained in:
alejandro-angulo 2024-08-19 21:13:47 -07:00
parent d0c1de47b9
commit 5dda5affec
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6

View file

@ -29,6 +29,18 @@ in {
settings = {
background_opacity = "0.95";
};
keybindings = lib.mkMerge [
(lib.mkIf pkgs.stdenv.hostPlatform.isDarwin {
"cmd+=" = "change_font_size current +2.0";
"cmd+minus" = "change_font_size current -2.0";
"cmd+0" = "change_font_size current 0";
})
(lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
"ctrl+=" = "change_font_size current +2.0";
"ctrl+minus" = "change_font_size current -2.0";
"ctrl+0" = "change_font_size current 0";
})
];
};
};
}