nix/home/config/dconf/Key.nix

133 lines
4.6 KiB
Nix
Raw Normal View History

{ config, ... }: let
2024-06-23 04:55:57 +03:00
mod = "<Super>";
2024-05-12 02:40:37 +03:00
in {
"org/gnome/desktop/wm/keybindings" = {
activate-window-menu = [ "" ];
begin-move = [ "" ];
2024-06-23 04:55:57 +03:00
begin-resize = [ "${mod}r" ];
close = [ "${mod}x" ];
2024-05-12 02:40:37 +03:00
cycle-group = [ "" ];
cycle-group-backward = [ "" ];
cycle-panels = [ "" ];
cycle-panels-backward = [ "" ];
cycle-windows = [ "" ];
cycle-windows-backward = [ "" ];
maximize = [ "" ];
maximize-horizontally = [ "" ];
2024-06-23 04:55:57 +03:00
minimize = [ "${mod}s" ];
2024-05-12 02:40:37 +03:00
move-to-monitor-down = [ "" ];
move-to-monitor-left = [ "" ];
move-to-monitor-right = [ "" ];
move-to-monitor-up = [ "" ];
move-to-workspace-1 = [ "" ];
move-to-workspace-2 = [ "" ];
move-to-workspace-3 = [ "" ];
move-to-workspace-4 = [ "" ];
move-to-workspace-last = [ "" ];
2024-06-23 04:55:57 +03:00
move-to-workspace-left = [ "<Shift>${mod}q" ];
move-to-workspace-right = [ "<Shift>${mod}e" ];
panel-run-dialog = [ "${mod}space" ];
show-desktop = [ "${mod}c" ];
switch-applications = [ "${mod}Tab" ];
switch-applications-backward = [ "<Shift>${mod}Tab" ];
switch-group = [ "<Alt>Tab" ];
switch-group-backward = [ "<Shift><Alt>Tab" ];
2024-05-12 02:40:37 +03:00
switch-input-source = [ "" ];
switch-input-source-backward = [ "" ];
switch-panels = [ "" ];
switch-panels-backward = [ "" ];
switch-to-workspace-1 = [ "" ];
switch-to-workspace-2 = [ "" ];
switch-to-workspace-3 = [ "" ];
switch-to-workspace-4 = [ "" ];
switch-to-workspace-last = [ "" ];
2024-06-23 04:55:57 +03:00
switch-to-workspace-left = [ "${mod}q" ];
switch-to-workspace-right = [ "${mod}e" ];
2024-05-12 02:40:37 +03:00
switch-windows = [ "" ];
switch-windows-backward = [ "" ];
2024-06-23 04:55:57 +03:00
toggle-fullscreen = [ "${mod}f" ];
toggle-maximized = [ "${mod}w" ];
2024-05-12 02:40:37 +03:00
unmaximize = [ "" ];
};
"org/gnome/mutter/keybindings" = {
2024-06-23 04:55:57 +03:00
toggle-tiled-left = [ "${mod}a" ];
toggle-tiled-right = [ "${mod}d" ];
2024-05-12 02:40:37 +03:00
};
"org/gnome/mutter/wayland/keybindings" = {
restore-shortcuts = [ "" ];
};
"org/gnome/settings-daemon/plugins/media-keys" = {
custom-keybindings = [
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
2024-06-23 18:49:50 +03:00
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5/"
2024-05-12 02:40:37 +03:00
];
magnifier = [ "" ];
magnifier-zoom-in = [ "" ];
magnifier-zoom-out = [ "" ];
screenreader = [ "" ];
2024-06-23 04:55:57 +03:00
screensaver = [ "${mod}z" ];
2024-05-12 02:40:37 +03:00
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
2024-06-23 04:55:57 +03:00
binding = "${mod}Escape";
2024-05-12 02:40:37 +03:00
command = "kgx -e bash -c 'tmux new-session -A -s main; bash'";
name = "gnome-terminal";
};
2024-06-23 18:49:50 +03:00
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
2024-08-20 20:24:43 +03:00
binding = "printz";
2024-06-23 18:49:50 +03:00
command = "systemctl suspend -i";
name = "System Sleep";
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2" = {
2024-08-20 20:24:43 +03:00
binding = "printx";
2024-06-23 18:49:50 +03:00
command = "systemctl poweroff -i";
name = "System Poweroff";
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3" = {
2024-08-20 20:24:43 +03:00
binding = "printc";
2024-06-23 18:49:50 +03:00
command = "systemctl reboot -i";
name = "System Reboot";
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4" = {
2024-08-20 20:24:43 +03:00
binding = "printp";
2024-06-23 18:49:50 +03:00
command = "powersave toggle";
name = "Toggle Powersave";
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5" = {
2024-08-20 20:24:43 +03:00
binding = "printl";
2024-06-23 18:49:50 +03:00
command = "powerlimit toggle";
name = "Toggle Powerlimit";
};
2024-05-12 02:40:37 +03:00
"org/gnome/shell/keybindings" = {
focus-active-notification = [ "" ];
open-application-menu = [ "" ];
2024-06-23 04:55:57 +03:00
show-screenshot-ui = [ "${mod}v" ];
2024-05-12 02:40:37 +03:00
switch-to-application-1 = [ "" ];
switch-to-application-2 = [ "" ];
switch-to-application-3 = [ "" ];
switch-to-application-4 = [ "" ];
switch-to-application-5 = [ "" ];
switch-to-application-6 = [ "" ];
switch-to-application-7 = [ "" ];
switch-to-application-8 = [ "" ];
switch-to-application-9 = [ "" ];
toggle-application-view = [ "" ];
toggle-message-tray = [ "" ];
toggle-overview = [ "" ];
toggle-quick-settings = [ "" ];
};
}