From 08709373d5bb3b6b2df55b36e42b269e89add6c7 Mon Sep 17 00:00:00 2001 From: Andre Date: Sun, 28 Apr 2024 00:24:44 -0400 Subject: [PATCH] Start adding Dash to Panel config to Nix --- modules/users/common/dash-to-panel-settings | 18 +++++ modules/users/common/gnome.nix | 73 +++++++++++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 modules/users/common/dash-to-panel-settings diff --git a/modules/users/common/dash-to-panel-settings b/modules/users/common/dash-to-panel-settings new file mode 100644 index 0000000..b05fe3e --- /dev/null +++ b/modules/users/common/dash-to-panel-settings @@ -0,0 +1,18 @@ +[/org/gnome/shell/extensions/dash-to-panel/] +animate-appicon-hover=false +animate-appicon-hover-animation-extent={'RIPPLE': 4, 'PLANK': 4, 'SIMPLE': 1} +appicon-margin=8 +appicon-padding=8 +available-monitors=[0] +dot-position='BOTTOM' +hotkeys-overlay-combo='TEMPORARILY' +leftbox-padding=-1 +panel-anchors='{"0":"MIDDLE"}' +panel-element-positions='{"0":[{"element":"dateMenu","visible":true,"position":"stackedTL"},{"element":"activitiesButton","visible":true,"position":"stackedTL"},{"element":"showAppsButton","visible":true,"position":"centerMonitor"},{"element":"leftBox","visible":false,"position":"stackedTL"},{"element":"taskbar","visible":true,"position":"centerMonitor"},{"element":"centerBox","visible":false,"position":"stackedBR"},{"element":"rightBox","visible":false,"position":"stackedBR"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":false,"position":"stackedBR"}]}' +panel-lengths='{"0":100}' +panel-positions='{"0":"TOP"}' +panel-sizes='{"0":64}' +primary-monitor=0 +status-icon-padding=-1 +tray-padding=-1 +window-preview-title-position='TOP' diff --git a/modules/users/common/gnome.nix b/modules/users/common/gnome.nix index 2f4d179..78af41d 100644 --- a/modules/users/common/gnome.nix +++ b/modules/users/common/gnome.nix @@ -56,5 +56,78 @@ "org/gnome/shell" = { disable-user-extensions = false; }; + + /* + FIXME: Still needs work + "org/gnome/shell/extensions/dash-to-panel" = { + animate-appicon-hover = false; + animate-appicon-hover-animation-extent = { + RIPPLE = 4; + PLANK = 4; + SIMPLE = 1; + }; + appicon-margin = 8; + appicon-padding = 8; + available-monitors= [0]; + dot-position = "BOTTOM"; + hotkeys-overlay-combo= "TEMPORARILY"; + leftbox-padding = -1; + panel-anchors = {"0" = "MIDDLE"; }; + panel-element-positions={ + "0" = [{ + "element" = "dateMenu"; + "visible" = true; + "position" = "stackedTL"; + } + { + "element" = "activitiesButton"; + "visible" = true; + "position" = "stackedTL"; + } + { + "element" = "showAppsButton"; + "visible" = true; + "position" = "centerMonitor"; + } + { + "element" = "leftBox"; + "visible" = false; + "position" = "stackedTL"; + } + { + "element" = "taskbar"; + "visible" = true; + "position" = "centerMonitor"; + } + { + "element" = "centerBox"; + "visible" = false; + "position" = "stackedBR"; + } + { + "element" = "rightBox"; + "visible" = false; + "position" = "stackedBR"; + } + { + "element" = "systemMenu"; + "visible" = true; + "position"= "stackedBR"; + } + { + "element" = "desktopButton"; + "visible" = false; + "position" = "stackedBR"; + }]; + }; + panel-lengths = { "0" = 100; }; + panel-positions = { "0" = "TOP"; }; + panel-sizes = { "0" = 64; }; + primary-monitor = 0; + status-icon-padding = -1; + tray-padding = -1; + window-preview-title-position = "TOP"; + }; + */ }; }