From 9fc40da4f03508eac17acc757128972e47974058 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 20 Sep 2022 19:14:09 +0800 Subject: [PATCH] themes/a-happy-gnome: format dconf keyfiles --- .../config/dconf/10-desktop.conf | 61 +++++++------- .../config/dconf/30-applications.conf | 10 +-- .../config/dconf/30-keybindings.conf | 82 +++++++++---------- .../config/dconf/30-shell-extensions.conf | 64 +++++++-------- 4 files changed, 107 insertions(+), 110 deletions(-) diff --git a/modules/nixos/workflows/a-happy-gnome/config/dconf/10-desktop.conf b/modules/nixos/workflows/a-happy-gnome/config/dconf/10-desktop.conf index 4eb6bb67..2ef0e62f 100644 --- a/modules/nixos/workflows/a-happy-gnome/config/dconf/10-desktop.conf +++ b/modules/nixos/workflows/a-happy-gnome/config/dconf/10-desktop.conf @@ -1,76 +1,73 @@ [org/gnome/desktop/interface] -locate-pointer=true -enable-animations=false -enable-hot-corners=false -show-battery-percentage=true -color-scheme='prefer-dark' +locate-pointer = true +enable-animations = false +enable-hot-corners = false +show-battery-percentage = true +color-scheme = 'prefer-dark' # Input sources that are expected to be installed in the theme. [org/gnome/desktop/input-sources/sources] -sources=[('xkb', 'us'), ('ibus', 'mozc-jp'), ('ibus', 'rime'), ('ibus', 'hangul'), ('ibus', 'table:mathwriter-ibus')] +sources = [ ('xkb', 'us'), ('ibus', 'mozc-jp'), ('ibus', 'rime'), ('ibus', 'hangul'), ('ibus', 'table:mathwriter-ibus') ] [org/gnome/desktop/notifications] -show-banners=true +show-banners = true [org/gtk/settings/file-chooser] -clock-format='24h' +clock-format = '24h' [org/gnome/desktop/privacy] -disable-microphone=false +disable-microphone = false [org/gnome/shell] -disable-user-extensions=false +disable-user-extensions = false # Desktop suspension and screensaver settings. [org/gnome/desktop/session] -idle-delay=uint32 720 +idle-delay = uint32 720 [org/gnome/desktop/screensaver] -lock-delay=uint32 120 +lock-delay = uint32 120 # Enable night light. [org/gnome/settings-daemon/plugins/color] -night-light-enabled=true +night-light-enabled = true # Hardware settings. [org/gnome/desktop/peripherals/touchpad] -tap-to-click=true +tap-to-click = true [org/gnome/mutter] -attach-modal-dialogs=true -center-new-windows=true -dynamic-workspaces=true -edge-tiling=true -focus-change-on-pointer-rest=true -overlay-key='Super_L' -workspaces-only-on-primary=true +attach-modal-dialogs = true +center-new-windows = true +dynamic-workspaces = true +edge-tiling = true +focus-change-on-pointer-rest = true +overlay-key = 'Super_L' +workspaces-only-on-primary = true # My preferred world clocks for easier tracking of global events. -[org/gnome/clocks] -world-clocks=[{'location': <(uint32 2, <('New York', 'KNYC', true, [(0.71180344078725644, -1.2909618758762367)], [(0.71059804659265924, -1.2916478949920254)])>)>}, {'location': <(uint32 2, <('Coordinated Universal Time (UTC)', '@UTC', false, @a(dd) [], @a(dd) [])>)>}, {'location': <(uint32 2, <('Cairo', 'HECA', true, [(0.52592587544986047, 0.54803338512621935)], [(0.52447144022429604, 0.54541539124822791)])>)>}] - [org/gnome/shell/world-clocks] -locations=[<(uint32 2, <('New York', 'KNYC', true, [(0.71180344078725644, -1.2909618758762367)], [(0.71059804659265924, -1.2916478949920254)])>)>, <(uint32 2, <('Coordinated Universal Time (UTC)', '@UTC', false, @a(dd) [], @a(dd) [])>)>, <(uint32 2, <('Cairo', 'HECA', true, [(0.52592587544986047, 0.54803338512621935)], [(0.52447144022429604, 0.54541539124822791)])>)>] +locations = [ <(uint32 2, <('New York', 'KNYC', true, [(0.71180344078725644, -1.2909618758762367)], [(0.71059804659265924, -1.2916478949920254)])>)>, <(uint32 2, <('Coordinated Universal Time (UTC)', '@UTC', false, @a(dd) [], @a(dd) [])>)>, <(uint32 2, <('Cairo', 'HECA', true, [(0.52592587544986047, 0.54803338512621935)], [(0.52447144022429604, 0.54541539124822791)])>)> ] [org/gnome/system/location] -enabled=false +enabled = false # Disable notification pop-outs for the common messenger apps. [org/gnome/desktop/notifications/application/re-sonny-tangram] -show-banners=false +show-banners = false [org/gnome/desktop/notifications/application/org-gnome-polari] -show-banners=false +show-banners = false [org/gnome/desktop/notifications/application/thunderbird] -show-banners=false +show-banners = false [org/gnome/desktop/notifications/application/io-github-hexchat] -show-banners=false +show-banners = false [org/gnome/desktop/notifications/application/org-gnome-evolution-alarm-notify] -show-banners=false +show-banners = false # Disable several search providers by default. [org/gnome/desktop/search-providers] -disabled=['org.gnome.seahorse.Application.desktop', 'org.gnome.Photos.desktop', 'org.gnome.Epiphany.desktop', 'app.drey.Dialect.desktop', 'com.belmoussaoui.Authenticator.desktop'] +disabled = [ 'org.gnome.seahorse.Application.desktop', 'org.gnome.Photos.desktop', 'org.gnome.Epiphany.desktop', 'app.drey.Dialect.desktop', 'com.belmoussaoui.Authenticator.desktop' ] diff --git a/modules/nixos/workflows/a-happy-gnome/config/dconf/30-applications.conf b/modules/nixos/workflows/a-happy-gnome/config/dconf/30-applications.conf index 41c918f6..1f14f517 100644 --- a/modules/nixos/workflows/a-happy-gnome/config/dconf/30-applications.conf +++ b/modules/nixos/workflows/a-happy-gnome/config/dconf/30-applications.conf @@ -1,13 +1,13 @@ # Nautilus-related preferences. [org/gnome/nautilus/list-view] -use-tree-view=true +use-tree-view = true [org/gnome/nautilus/preferences] -show-create-link=true +show-create-link = true [org/gtk/settings/file-chooser] -sort-directories-first=true -show-hidden=true +sort-directories-first = true +show-hidden = true [re/sonny/Junction] -show-app-names=true +show-app-names = true diff --git a/modules/nixos/workflows/a-happy-gnome/config/dconf/30-keybindings.conf b/modules/nixos/workflows/a-happy-gnome/config/dconf/30-keybindings.conf index 08d87b7e..b799041c 100644 --- a/modules/nixos/workflows/a-happy-gnome/config/dconf/30-keybindings.conf +++ b/modules/nixos/workflows/a-happy-gnome/config/dconf/30-keybindings.conf @@ -1,51 +1,51 @@ [org/gnome/desktop/wm/keybindings] -begin-resize=['r'] -close=['F4', 'q'] -cycle-group=@as [] -cycle-group-backward=@as [] -cycle-windows=@as [] -cycle-windows-backward=@as [] -maximize=@as [] -minimize=@as [] -move-to-monitor-down=@as [] -move-to-monitor-left=@as [] -move-to-monitor-right=@as [] -move-to-monitor-up=@as [] -move-to-workspace-first=['Home', 'k'] -move-to-workspace-right=['l', 'Right', 'Page_Down'] -move-to-workspace-left=['h', 'Left', 'Page_Up'] -move-to-workspace-last=['End', 'j'] -panel-main-menu=@as [] -switch-group=['grave'] -switch-group-backward=['grave'] -switch-input-source=['i'] -switch-input-source-backward=['i'] -switch-to-workspace-up=@as [] -switch-to-workspace-left=['h', 'Page_Up'] -switch-to-workspace-right=['l', 'Page_Down'] -switch-to-workspace-down=@as [] -toggle-fullscreen=['f'] -toggle-maximized=['f'] -toggle-on-all-workspaces=['y'] -toggle-above=['y'] -toggle-overview=['s'] -toggle-tiled-left=@as [] -toggle-tiled-right=@as [] +begin-resize = ['r'] +close = ['F4', 'q'] +cycle-group = @as [] +cycle-group-backward = @as [] +cycle-windows = @as [] +cycle-windows-backward = @as [] +maximize = @as [] +minimize = @as [] +move-to-monitor-down = @as [] +move-to-monitor-left = @as [] +move-to-monitor-right = @as [] +move-to-monitor-up = @as [] +move-to-workspace-first = ['Home', 'k'] +move-to-workspace-right = ['l', 'Right', 'Page_Down'] +move-to-workspace-left = ['h', 'Left', 'Page_Up'] +move-to-workspace-last = ['End', 'j'] +panel-main-menu = @as [] +switch-group = ['grave'] +switch-group-backward = ['grave'] +switch-input-source = ['i'] +switch-input-source-backward = ['i'] +switch-to-workspace-up = @as [] +switch-to-workspace-left = ['h', 'Page_Up'] +switch-to-workspace-right = ['l', 'Page_Down'] +switch-to-workspace-down = @as [] +toggle-fullscreen = ['f'] +toggle-maximized = ['f'] +toggle-on-all-workspaces = ['y'] +toggle-above = ['y'] +toggle-overview = ['s'] +toggle-tiled-left = @as [] +toggle-tiled-right = @as [] [org/gnome/shell/keybindings] -toggle-message-tray=['v'] +toggle-message-tray = ['v'] # We don't want to restore them shortcuts. [org/gnome/mutter/wayland/keybindings] -restore-shortcuts=@as [] +restore-shortcuts = @as [] [org/gnome/settings-daemon/plugins/media-keys] -help=@as [] -logout=['Escape'] -magnifier-zoom-in=['plus'] -magnifier-zoom-out=['minus'] -magnifier=['equal'] -screensaver=['Escape'] +help = @as [] +logout = ['Escape'] +magnifier-zoom-in = ['plus'] +magnifier-zoom-out = ['minus'] +magnifier = ['equal'] +screensaver = ['Escape'] # Easy resize with the mouse. [org/gnome/desktop/wm/preferences] @@ -53,4 +53,4 @@ resize-with-right-button = true # The default ibus bindings. [desktop/ibus/panel/emoji] -hotkey=['period'] +hotkey = ['period'] diff --git a/modules/nixos/workflows/a-happy-gnome/config/dconf/30-shell-extensions.conf b/modules/nixos/workflows/a-happy-gnome/config/dconf/30-shell-extensions.conf index 219660c7..c7171871 100644 --- a/modules/nixos/workflows/a-happy-gnome/config/dconf/30-shell-extensions.conf +++ b/modules/nixos/workflows/a-happy-gnome/config/dconf/30-shell-extensions.conf @@ -1,53 +1,53 @@ # arcmenu, the extensive and configurable menu [org/gnome/shell/extensions/arcmenu] -arc-menu-icon=64 -arc-menu-placement='Panel' -disable-recently-installed-apps=false -menu-button-icon='Arc_Menu_Icon' -menu-height=550 +arc-menu-icon = 64 +arc-menu-placement = 'Panel' +disable-recently-installed-apps = false +menu-button-icon = 'Arc_Menu_Icon' +menu-height = 550 # Use the non-intrusive runner. -menu-hotkey='Super_L' -menu-layout='Runner' -enable-standlone-runner-menu=true -runner-position='Centered' -runner-menu-hotkey='Super_L' +menu-hotkey = 'Super_L' +menu-layout = 'Runner' +enable-standlone-runner-menu = true +runner-position = 'Centered' +runner-menu-hotkey = 'Super_L' # Making the default runner nicely usable. -runner-show-frequent-apps=true -search-provider-open-windows=true -show-activities-button=false -show-search-result-details=true -apps-show-extra-details=true +runner-show-frequent-apps = true +search-provider-open-windows = true +show-activities-button = false +show-search-result-details = true +apps-show-extra-details = true # Minor tweaks ahoy! [org/gnome/shell/extensions/just-perfection] -activities-button=false -clock-menu-position-offset=9 -clock-menu-position=1 -notification-banner-position=2 -ripple-box=false -window-demands-attention-focus=true -workspace-wrap-around=false +activities-button = false +clock-menu-position-offset = 9 +clock-menu-position = 1 +notification-banner-position = 2 +ripple-box = false +window-demands-attention-focus = true +workspace-wrap-around = false # The lovely tool if you're a mouse handler. [org/gnome/shell/extensions/flypie] -menu-configuration='[{"name":"Global palette","icon":"🐶️","shortcut":"space","centered":false,"id":0,"children":[{"name":"Close window","type":"Shortcut","icon":"window-close-symbolic","data":{"shortcut":"q"},"angle":-1},{"name":"Next workspace","icon":"go-next-symbolic","type":"Shortcut","data":{"shortcut":"l"},"angle":90},{"name":"Favorites","icon":"emblem-favorite-symbolic-#fae","type":"Favorites","data":{},"angle":-1},{"name":"Fly-Pie settings","icon":"applications-system-symbolic","type":"Command","data":"gnome-extensions prefs flypie@schneegans.github.com","angle":-1},{"name":"Previous workspace","icon":"go-previous-symbolic","type":"Shortcut","data":{"shortcut":"h"},"angle":270},{"name":"Running apps","icon":"flypie-menu-running-apps-symbolic-#74a","type":"RunningApps","data":{"activeWorkspaceOnly":false,"appGrouping":true,"hoverPeeking":true,"nameRegex":""},"angle":-1},{"name":"Maximize window","icon":"window-maximize-symbolic","type":"Shortcut","data":{"shortcut":"f"},"angle":-1}],"type":"CustomMenu","data":{},"touchButton":false,"superRMB":false}]' +menu-configuration = '[{"name":"Global palette","icon":"🐶️","shortcut":"space","centered":false,"id":0,"children":[{"name":"Close window","type":"Shortcut","icon":"window-close-symbolic","data":{"shortcut":"q"},"angle":-1},{"name":"Next workspace","icon":"go-next-symbolic","type":"Shortcut","data":{"shortcut":"l"},"angle":90},{"name":"Favorites","icon":"emblem-favorite-symbolic-#fae","type":"Favorites","data":{},"angle":-1},{"name":"Fly-Pie settings","icon":"applications-system-symbolic","type":"Command","data":"gnome-extensions prefs flypie@schneegans.github.com","angle":-1},{"name":"Previous workspace","icon":"go-previous-symbolic","type":"Shortcut","data":{"shortcut":"h"},"angle":270},{"name":"Running apps","icon":"flypie-menu-running-apps-symbolic-#74a","type":"RunningApps","data":{"activeWorkspaceOnly":false,"appGrouping":true,"hoverPeeking":true,"nameRegex":""},"angle":-1},{"name":"Maximize window","icon":"window-maximize-symbolic","type":"Shortcut","data":{"shortcut":"f"},"angle":-1}],"type":"CustomMenu","data":{},"touchButton":false,"superRMB":false}]' # A little novelty couldn't hurt. [org/gnome/shell/extensions/burn-my-windows] -close-animation='tv' -destroy-animation-time=500 -destroy-dialogs=true +close-animation = 'tv' +destroy-animation-time = 500 +destroy-dialogs = true # TV effect is best, don't fight me! >:/ -tv-animation-time=250 -fire-close-effect=false -fire-open-effect=false -tv-close-effect=true -tv-open-effect=true +tv-animation-time = 250 +fire-close-effect = false +fire-open-effect = false +tv-close-effect = true +tv-open-effect = true # Make app grid somewhat usable. [org/gnome/shell/extensions/alphabetical-app-grid] -folder-order-position='start' +folder-order-position = 'start'