From 8b80a065fc9cf60457f24c2b9d6ccd619813245b Mon Sep 17 00:00:00 2001 From: Joe Ipson Date: Mon, 22 Jan 2024 13:33:57 -0700 Subject: [PATCH] Some changes --- config/common_modules/rpm-ostree.yml | 7 +++-- config/common_modules/scripts.yml | 1 + .../etc/dconf/db/local.d/01-gnome-settings | 14 +++++++++- config/scripts/extensions.sh | 26 +++++++++++++++++++ 4 files changed, 45 insertions(+), 3 deletions(-) create mode 100755 config/scripts/extensions.sh diff --git a/config/common_modules/rpm-ostree.yml b/config/common_modules/rpm-ostree.yml index 0f7319f..37468ec 100644 --- a/config/common_modules/rpm-ostree.yml +++ b/config/common_modules/rpm-ostree.yml @@ -6,8 +6,12 @@ repos: install: - gnome-shell-extension-caffeine - - system76-scheduler - gnome-shell-extension-system76-scheduler + - gnome-shell-extension-gsconnect + - gnome-shell-extension-dash-to-panel + - gnome-shell-extension-blur-my-shell + - gnome-shell-extension-appindicator + - system76-scheduler - system76-power - android-tools - nerd-fonts @@ -27,7 +31,6 @@ install: - podmansh - playerctl - nautilus-gsconnect - - gnome-shell-extension-gsconnect - python3-pip - samba - samba-dcerpc diff --git a/config/common_modules/scripts.yml b/config/common_modules/scripts.yml index ee4a678..6019418 100644 --- a/config/common_modules/scripts.yml +++ b/config/common_modules/scripts.yml @@ -1,4 +1,5 @@ type: script scripts: - system76-scheduler.sh + - extensions.sh - signing.sh \ No newline at end of file diff --git a/config/files/usr/etc/dconf/db/local.d/01-gnome-settings b/config/files/usr/etc/dconf/db/local.d/01-gnome-settings index 75a4d87..e411f6f 100644 --- a/config/files/usr/etc/dconf/db/local.d/01-gnome-settings +++ b/config/files/usr/etc/dconf/db/local.d/01-gnome-settings @@ -1,5 +1,6 @@ [org/gnome/shell] favorite-apps = ['org.mozilla.firefox.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop', 'code.desktop'] +enabled-extensions=['dash-to-panel@jderose9.github.com', 'blur-my-shell@aunetx', 'gsconnect@andyholmes.github.io', 'appindicatorsupport@rgcjonas.gmail.com', 's76-scheduler@mattjakeman.com', 'caffeine@patapon.info', 'arcmenu@arcmenu.com', 'workspace-switch-wraparound@theychx.org', 'disable-workspace-animation@ethnarque', 'disable-workspace-switcher-overlay@cleardevice'] [org/gnome/mutter] workspaces-only-on-primary = false @@ -39,4 +40,15 @@ night-light-enabled = true text-scaling-factor = 1.25 [org/gnome/mutter] -experimental-features=['scale-monitor-framebuffer'] \ No newline at end of file +experimental-features=['scale-monitor-framebuffer'] + +[org/gnome/shell/extensions/arcmenu] +arc-menu-icon = 29 +custom-menu-icon-button-size = 30 +menu-layout = 'Eleven' +power-options = [(0, true), (1, true), (2, true), (4, true), (6, true), (3, true), (5, false), (7, false)] + +[org/gnome/shell/extensions/dash-to-panel] +hide-overview-on-startup = true +isolate-workspaces = true +panel-element-positions = {"0":[{"element":"showAppsButton","visible":false,"position":"stackedTL"},{"element":"activitiesButton","visible":false,"position":"stackedTL"},{"element":"leftBox","visible":true,"position":"stackedTL"},{"element":"taskbar","visible":true,"position":"stackedTL"},{"element":"centerBox","visible":true,"position":"stackedBR"},{"element":"rightBox","visible":true,"position":"stackedBR"},{"element":"dateMenu","visible":true,"position":"stackedBR"},{"element":"systemMenu","visible":true,"position":"stackedBR"},{"element":"desktopButton","visible":true,"position":"stackedBR"}]} \ No newline at end of file diff --git a/config/scripts/extensions.sh b/config/scripts/extensions.sh new file mode 100755 index 0000000..8707117 --- /dev/null +++ b/config/scripts/extensions.sh @@ -0,0 +1,26 @@ +#!/usr/bin/env bash + +# Tell this script to exit if there are any errors. +# You should have this in every custom script, to ensure that your completed +# builds actually ran successfully without any errors! +set -oue pipefail + +# Your code goes here. +echo 'Installing extensions' + +cd /tmp + +git clone https://gitlab.com/arcmenu/ArcMenu.git +cd ArcMenu +make DESTDIR=/ install +cd .. + +git clone https://github.com/theychx/WorkspaceSwitcherWrapAround.git +mkdir /usr/share/gnome-shell/extensions/WorkspaceSwitcherWrapAround +cp WorkspaceSwitcherWrapAround/src* /usr/share/gnome-shell/extensions/WorkspaceSwitcherWrapAround + +git clone https://github.com/ethnarque/gnome-disable-workspace-animation.git +cp -r gnome-disable-workspace-animation/disable-workspace-animation@ethnarque /usr/share/gnome-shell/extensions + +git clone https://github.com/cleardevice/gnome-disable-workspace-switcher.git +cp -r gnome-disable-workspace-switcher/disable-workspace-switcher-overlay@cleardevice /usr/share/gnome-shell/extensions