format dconf
This commit is contained in:
parent
d2f990d335
commit
efacba3c5f
|
@ -6,8 +6,16 @@ with lib.hm.gvariant;
|
||||||
{
|
{
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
"org/gnome/desktop/input-sources" = {
|
"org/gnome/desktop/input-sources" = {
|
||||||
sources = [ (mkTuple [ "xkb" "no" ]) ];
|
sources = [
|
||||||
xkb-options = [ "terminate:ctrl_alt_bksp" "caps:none" ];
|
(mkTuple [
|
||||||
|
"xkb"
|
||||||
|
"no"
|
||||||
|
])
|
||||||
|
];
|
||||||
|
xkb-options = [
|
||||||
|
"terminate:ctrl_alt_bksp"
|
||||||
|
"caps:none"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
"org/gnome/desktop/peripherals/touchpad" = {
|
"org/gnome/desktop/peripherals/touchpad" = {
|
||||||
|
@ -22,21 +30,45 @@ with lib.hm.gvariant;
|
||||||
maximize = [ "<Super>Up" ];
|
maximize = [ "<Super>Up" ];
|
||||||
move-to-monitor-down = [ "<Shift><Super>Down" ];
|
move-to-monitor-down = [ "<Shift><Super>Down" ];
|
||||||
move-to-monitor-up = [ "<Shift><Super>Up" ];
|
move-to-monitor-up = [ "<Shift><Super>Up" ];
|
||||||
move-to-workspace-1 = [];
|
move-to-workspace-1 = [ ];
|
||||||
move-to-workspace-down = [ "<Super><Shift>Page_Down" "<Control><Shift><Alt>Down" ];
|
move-to-workspace-down = [
|
||||||
move-to-workspace-last = [];
|
"<Super><Shift>Page_Down"
|
||||||
move-to-workspace-left = [ "<Super><Shift><Alt>Left" "<Control><Shift><Alt>Left" ];
|
"<Control><Shift><Alt>Down"
|
||||||
move-to-workspace-right = [ "<Super><Shift><Alt>Right" "<Control><Shift><Alt>Right" ];
|
];
|
||||||
move-to-workspace-up = [ "<Super><Shift>Page_Up" "<Control><Shift><Alt>Up" ];
|
move-to-workspace-last = [ ];
|
||||||
|
move-to-workspace-left = [
|
||||||
|
"<Super><Shift><Alt>Left"
|
||||||
|
"<Control><Shift><Alt>Left"
|
||||||
|
];
|
||||||
|
move-to-workspace-right = [
|
||||||
|
"<Super><Shift><Alt>Right"
|
||||||
|
"<Control><Shift><Alt>Right"
|
||||||
|
];
|
||||||
|
move-to-workspace-up = [
|
||||||
|
"<Super><Shift>Page_Up"
|
||||||
|
"<Control><Shift><Alt>Up"
|
||||||
|
];
|
||||||
panel-main-menu = [ "<Alt>F1" ];
|
panel-main-menu = [ "<Alt>F1" ];
|
||||||
switch-applications = [];
|
switch-applications = [ ];
|
||||||
switch-applications-backward = [];
|
switch-applications-backward = [ ];
|
||||||
switch-to-workspace-1 = [];
|
switch-to-workspace-1 = [ ];
|
||||||
switch-to-workspace-down = [ "<Super>Page_Down" "<Control><Alt>Down" ];
|
switch-to-workspace-down = [
|
||||||
switch-to-workspace-last = [];
|
"<Super>Page_Down"
|
||||||
switch-to-workspace-left = [ "<Super><Alt>Left" "<Control><Alt>Left" ];
|
"<Control><Alt>Down"
|
||||||
switch-to-workspace-right = [ "<Super><Alt>Right" "<Control><Alt>Right" ];
|
];
|
||||||
switch-to-workspace-up = [ "<Super>Page_Up" "<Control><Alt>Up" ];
|
switch-to-workspace-last = [ ];
|
||||||
|
switch-to-workspace-left = [
|
||||||
|
"<Super><Alt>Left"
|
||||||
|
"<Control><Alt>Left"
|
||||||
|
];
|
||||||
|
switch-to-workspace-right = [
|
||||||
|
"<Super><Alt>Right"
|
||||||
|
"<Control><Alt>Right"
|
||||||
|
];
|
||||||
|
switch-to-workspace-up = [
|
||||||
|
"<Super>Page_Up"
|
||||||
|
"<Control><Alt>Up"
|
||||||
|
];
|
||||||
switch-windows = [ "<Alt>Tab" ];
|
switch-windows = [ "<Alt>Tab" ];
|
||||||
switch-windows-backward = [ "<Shift><Alt>Tab" ];
|
switch-windows-backward = [ "<Shift><Alt>Tab" ];
|
||||||
unmaximize = [ "<Super>Down" ];
|
unmaximize = [ "<Super>Down" ];
|
||||||
|
@ -56,7 +88,21 @@ with lib.hm.gvariant;
|
||||||
"org/gnome/settings-daemon/plugins/media-keys" = {
|
"org/gnome/settings-daemon/plugins/media-keys" = {
|
||||||
area-screenshot = [ "<Primary><Shift>Print" ];
|
area-screenshot = [ "<Primary><Shift>Print" ];
|
||||||
area-screenshot-clip = [ "<Primary>Print" ];
|
area-screenshot-clip = [ "<Primary>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 = [ "<Super>e" ];
|
home = [ "<Super>e" ];
|
||||||
magnifier = [ "<Super>Escape" ];
|
magnifier = [ "<Super>Escape" ];
|
||||||
magnifier-zoom-in = [ "<Super>plus" ];
|
magnifier-zoom-in = [ "<Super>plus" ];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env nix-shell
|
#!/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
|
set -euo pipefail
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")"
|
cd "$(dirname "${BASH_SOURCE[0]}")"
|
||||||
|
|
||||||
|
@ -45,3 +45,7 @@ dump1() {
|
||||||
'"/org/gnome/desktop/interface" = {' \
|
'"/org/gnome/desktop/interface" = {' \
|
||||||
'"/org/gnome/desktop/interface" = lib.mkDefault {' \
|
'"/org/gnome/desktop/interface" = lib.mkDefault {' \
|
||||||
> dconf-gnome-theme.nix
|
> dconf-gnome-theme.nix
|
||||||
|
|
||||||
|
nixfmt dconf-gnome-bindings.nix
|
||||||
|
nixfmt dconf-gnome-extensions.nix
|
||||||
|
nixfmt dconf-gnome-theme.nix
|
||||||
|
|
Loading…
Reference in New Issue