2020-09-28 11:35:45 +00:00
|
|
|
{ pkgs, lib, ... }: {
|
2020-05-21 23:09:19 +00:00
|
|
|
services.gpg-agent.pinentryFlavor = "gnome3";
|
2020-05-16 14:36:59 +00:00
|
|
|
dconf.settings = {
|
2020-09-28 11:35:45 +00:00
|
|
|
"org/gnome/desktop/input-sources" = {
|
2020-10-14 03:32:20 +00:00
|
|
|
sources = [ (lib.hm.gvariant.mkTuple [ "xkb" "de+neo" ]) ]; # use neo
|
2020-09-28 11:35:45 +00:00
|
|
|
xkb-options = [
|
|
|
|
"altwin:swap_lalt_lwin" # swap alt and win
|
|
|
|
"lv3:menu_switch" # So that gnome-settings does not set it to ralt
|
|
|
|
];
|
|
|
|
};
|
2020-05-16 14:36:59 +00:00
|
|
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal" =
|
|
|
|
{
|
|
|
|
binding = "<Super>Return";
|
2020-07-03 16:13:13 +00:00
|
|
|
command = "kitty mytmux";
|
2020-05-16 14:36:59 +00:00
|
|
|
name = "Terminal";
|
|
|
|
};
|
|
|
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/hotkeys" =
|
|
|
|
{
|
|
|
|
binding = "<Super>space";
|
2020-05-19 21:22:20 +00:00
|
|
|
command = "kitty hotkeys";
|
2020-05-16 14:36:59 +00:00
|
|
|
name = "Hotkeys";
|
|
|
|
};
|
2021-03-03 17:29:08 +00:00
|
|
|
"org/gnome/shell/extensions/nothing-to-say" = {
|
2021-03-02 19:06:34 +00:00
|
|
|
keybinding-toggle-mute = [ "<Primary><Shift>U+2113" ]; # Mouse key side middle
|
|
|
|
};
|
2020-05-16 14:36:59 +00:00
|
|
|
"org/gnome/settings-daemon/plugins/media-keys" = {
|
|
|
|
custom-keybindings = [
|
|
|
|
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal/"
|
|
|
|
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/hotkeys/"
|
|
|
|
];
|
|
|
|
next = [ "<Primary><Shift>dollar" ];
|
|
|
|
play = [ "<Primary><Shift>guillemotleft" ];
|
|
|
|
previous = [ "<Primary><Shift>EuroSign" ];
|
|
|
|
screensaver = [ "<Primary>Escape" ];
|
|
|
|
volume-down = [ "<Primary><Shift>section" ];
|
|
|
|
volume-up = [ "<Primary><Shift>degree" ];
|
2020-06-09 08:14:40 +00:00
|
|
|
area-screenshot-clip = [ "Print" ];
|
2021-03-02 19:06:34 +00:00
|
|
|
screenshot = [];
|
2020-05-16 14:36:59 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|