Override gnome-terminal
This commit is contained in:
parent
10cccb4b18
commit
7238616607
|
@ -2,7 +2,7 @@
|
||||||
services.gpg-agent.pinentryFlavor = "gnome3";
|
services.gpg-agent.pinentryFlavor = "gnome3";
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
"org/gnome/desktop/input-sources" = {
|
"org/gnome/desktop/input-sources" = {
|
||||||
sources = [(lib.hm.gvariant.mkTuple ["xkb" "de+neo"])]; # use neo
|
sources = [ (lib.hm.gvariant.mkTuple [ "xkb" "de+neo" ]) ]; # use neo
|
||||||
xkb-options = [
|
xkb-options = [
|
||||||
"altwin:swap_lalt_lwin" # swap alt and win
|
"altwin:swap_lalt_lwin" # swap alt and win
|
||||||
"lv3:menu_switch" # So that gnome-settings does not set it to ralt
|
"lv3:menu_switch" # So that gnome-settings does not set it to ralt
|
||||||
|
|
|
@ -4,6 +4,12 @@ let
|
||||||
inherit (my-lib) colors;
|
inherit (my-lib) colors;
|
||||||
in {
|
in {
|
||||||
home.sessionVariables.TERMINAL = "${pkgs.kitty}/bin/kitty";
|
home.sessionVariables.TERMINAL = "${pkgs.kitty}/bin/kitty";
|
||||||
|
home.packages = [
|
||||||
|
(pkgs.runCommandLocal "fake-gnome-terminal" {} ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
ln -s ${pkgs.kitty}/bin/kitty $out/bin/gnome-terminal
|
||||||
|
'')
|
||||||
|
];
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
keybindings = {
|
keybindings = {
|
||||||
|
|
Loading…
Reference in a new issue