diff --git a/users/pbsds/home/profiles/gnome/dconf-gnome-bindings.nix b/users/pbsds/home/profiles/gnome/dconf-gnome-bindings.nix index 81cc8f1..e0379df 100644 --- a/users/pbsds/home/profiles/gnome/dconf-gnome-bindings.nix +++ b/users/pbsds/home/profiles/gnome/dconf-gnome-bindings.nix @@ -6,8 +6,16 @@ with lib.hm.gvariant; { dconf.settings = { "org/gnome/desktop/input-sources" = { - sources = [ (mkTuple [ "xkb" "no" ]) ]; - xkb-options = [ "terminate:ctrl_alt_bksp" "caps:none" ]; + sources = [ + (mkTuple [ + "xkb" + "no" + ]) + ]; + xkb-options = [ + "terminate:ctrl_alt_bksp" + "caps:none" + ]; }; "org/gnome/desktop/peripherals/touchpad" = { @@ -22,21 +30,45 @@ with lib.hm.gvariant; maximize = [ "Up" ]; move-to-monitor-down = [ "Down" ]; move-to-monitor-up = [ "Up" ]; - move-to-workspace-1 = []; - move-to-workspace-down = [ "Page_Down" "Down" ]; - move-to-workspace-last = []; - move-to-workspace-left = [ "Left" "Left" ]; - move-to-workspace-right = [ "Right" "Right" ]; - move-to-workspace-up = [ "Page_Up" "Up" ]; + move-to-workspace-1 = [ ]; + move-to-workspace-down = [ + "Page_Down" + "Down" + ]; + move-to-workspace-last = [ ]; + move-to-workspace-left = [ + "Left" + "Left" + ]; + move-to-workspace-right = [ + "Right" + "Right" + ]; + move-to-workspace-up = [ + "Page_Up" + "Up" + ]; panel-main-menu = [ "F1" ]; - switch-applications = []; - switch-applications-backward = []; - switch-to-workspace-1 = []; - switch-to-workspace-down = [ "Page_Down" "Down" ]; - switch-to-workspace-last = []; - switch-to-workspace-left = [ "Left" "Left" ]; - switch-to-workspace-right = [ "Right" "Right" ]; - switch-to-workspace-up = [ "Page_Up" "Up" ]; + switch-applications = [ ]; + switch-applications-backward = [ ]; + switch-to-workspace-1 = [ ]; + switch-to-workspace-down = [ + "Page_Down" + "Down" + ]; + switch-to-workspace-last = [ ]; + switch-to-workspace-left = [ + "Left" + "Left" + ]; + switch-to-workspace-right = [ + "Right" + "Right" + ]; + switch-to-workspace-up = [ + "Page_Up" + "Up" + ]; switch-windows = [ "Tab" ]; switch-windows-backward = [ "Tab" ]; unmaximize = [ "Down" ]; @@ -56,7 +88,21 @@ with lib.hm.gvariant; "org/gnome/settings-daemon/plugins/media-keys" = { area-screenshot = [ "Print" ]; area-screenshot-clip = [ "Print" ]; - custom-keybindings = [ "/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/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom6/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom7/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom8/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom9/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom10/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom12/" "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom11/" ]; + custom-keybindings = [ + "/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/" + "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom6/" + "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom7/" + "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom8/" + "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom9/" + "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom10/" + "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/" + "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom12/" + "/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom11/" + ]; home = [ "e" ]; magnifier = [ "Escape" ]; magnifier-zoom-in = [ "plus" ]; diff --git a/users/pbsds/home/profiles/gnome/dconf-pull.sh b/users/pbsds/home/profiles/gnome/dconf-pull.sh index c174460..b84c41f 100755 --- a/users/pbsds/home/profiles/gnome/dconf-pull.sh +++ b/users/pbsds/home/profiles/gnome/dconf-pull.sh @@ -1,5 +1,5 @@ #!/usr/bin/env nix-shell -#!nix-shell -i bash -p dconf2nix sd +#!nix-shell -i bash -p dconf2nix sd nixfmt-rfc-style set -euo pipefail cd "$(dirname "${BASH_SOURCE[0]}")" @@ -45,3 +45,7 @@ dump1() { '"/org/gnome/desktop/interface" = {' \ '"/org/gnome/desktop/interface" = lib.mkDefault {' \ > dconf-gnome-theme.nix + +nixfmt dconf-gnome-bindings.nix +nixfmt dconf-gnome-extensions.nix +nixfmt dconf-gnome-theme.nix