Add dynamic workspaces

This commit is contained in:
Peder Bergebakken Sundt 2023-06-18 22:26:03 +02:00
parent 389fe5ed48
commit 492e8b44ae
2 changed files with 9 additions and 0 deletions

View File

@ -48,6 +48,11 @@ with lib.hm.gvariant;
show-extensions-notice = false; show-extensions-notice = false;
}; };
"org/gnome/mutter" = {
dynamic-workspaces = true;
workspaces-only-on-primary = true;
};
"org/gnome/desktop/calendar" = { "org/gnome/desktop/calendar" = {
show-weekdate = true; show-weekdate = true;
}; };

View File

@ -10,6 +10,9 @@ dump() {
| sd '^\[([^/])' "[$ROOT/\$1" \ | sd '^\[([^/])' "[$ROOT/\$1" \
| sd '^\[/\]$' "[$ROOT]" | sd '^\[/\]$' "[$ROOT]"
} }
dump1() {
dump "$@" | sed -e '/^$/,$d'
}
{ {
dump "org/gnome/desktop/wm/keybindings" dump "org/gnome/desktop/wm/keybindings"
@ -33,6 +36,7 @@ dump() {
dump "org/gnome/desktop/wm/preferences" dump "org/gnome/desktop/wm/preferences"
dump "org/gnome/shell/overrides" dump "org/gnome/shell/overrides"
dump "org/gnome/tweaks" dump "org/gnome/tweaks"
dump1 "org/gnome/mutter"
dump "org/gnome/desktop/calendar" dump "org/gnome/desktop/calendar"
dump "org/gnome/desktop/privacy" dump "org/gnome/desktop/privacy"
} | dconf2nix | sd --string-mode \ } | dconf2nix | sd --string-mode \