Skip to content

Commit

Permalink
Issue with extensions again?
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ngr31 committed Jan 23, 2024
1 parent 7f19694 commit 5cd571b
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 24 deletions.
1 change: 1 addition & 0 deletions config/common_modules/rpm-ostree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ remove:
- gnome-shell-extension-launch-new-instance
- gnome-shell-extension-places-menu
- gnome-shell-extension-window-list
- gnome-extensions-app
- gnome-classic-session
33 changes: 19 additions & 14 deletions config/files/usr/bin/dx-user-gsettings
Original file line number Diff line number Diff line change
Expand Up @@ -7,32 +7,23 @@ USER_SETUP_VER_RAN=$(cat "$USER_SETUP_VER_FILE")

mkdir -p "$(dirname "$USER_SETUP_VER_FILE")" || exit 1

## Backup incase local.d config doesn't take for whatever reason
## Backup in case local.d config doesn't take for whatever reason

# Run script if updated
if [[ -f $USER_SETUP_VER_FILE && "$USER_SETUP_VER" = "$USER_SETUP_VER_RAN" ]]; then
echo "GSettings setup v$VER has already run. Exiting..."
echo "GSettings setup v$USER_SETUP_VER has already run. Exiting..."
exit 0
fi

gsettings set org.gnome.shell favorite-apps "['org.mozilla.firefox.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop', 'org.gnome.Terminal.desktop', 'code.desktop']"
gsettings set org.gnome.shell enabled-extensions "['hide-universal-access@akiirui.github.io', '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', 'background-logo@fedorahosted.org']"

gsettings set org.gnome.shell.extensions.arcmenu arc-menu-icon 71
gsettings set org.gnome.shell.extensions.arcmenu custom-menu-button-icon-size 30
gsettings set org.gnome.shell.extensions.arcmenu menu-layout Eleven
gsettings set org.gnome.shell.extensions.arcmenu pinned-apps "[{'id': 'org.mozilla.firefox.desktop'}, {'id': 'org.gnome.Nautilus.desktop'}, {'id': 'org.gnome.Terminal.desktop'}, {'id': 'code.desktop'}]"
gsettings set org.gnome.shell.extensions.arcmenu power-options "[(0, true), (1, true), (2, true), (4, true), (6, true), (3, true), (5, false), (7, false)]"

gsettings set org.gnome.shell.extensions.dash-to-panel hide-overview-on-startup true
gsettings set org.gnome.shell.extensions.dash-to-panel isolate-workspaces true
gsettings set org.gnome.shell.extensions.dash-to-panel 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"}]}'

gsettings set org.gnome.shell.app-switcher current-workspace-only false

gsettings set org.gnome.mutter workspaces-only-on-primary false
gsettings set org.gnome.mutter dynamic-workspaces false

gsettings set org.gnome.desktop.interface gtk-enable-primary-paste false
gsettings set org.gnome.desktop.interface enable-hot-corners false

gsettings set org.gnome.desktop.wm.preferences button-layout ":minimize,maximize,close"
gsettings set org.gnome.desktop.wm.preferences num-workspaces 4

Expand Down Expand Up @@ -64,6 +55,20 @@ gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled true

gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"

gsettings set org.gnome.shell.extensions.arcmenu arc-menu-icon 71
gsettings set org.gnome.shell.extensions.arcmenu custom-menu-button-icon-size 30
gsettings set org.gnome.shell.extensions.arcmenu menu-layout Eleven
gsettings set org.gnome.shell.extensions.arcmenu pinned-apps "[{'id': 'org.mozilla.firefox.desktop'}, {'id': 'org.gnome.Nautilus.desktop'}, {'id': 'org.gnome.Terminal.desktop'}, {'id': 'code.desktop'}]"
gsettings set org.gnome.shell.extensions.arcmenu power-options "[(0, true), (1, true), (2, true), (4, true), (6, true), (3, true), (5, false), (7, false)]"

gsettings set org.gnome.shell.extensions.gsconnect enabled false

gsettings set org.gnome.shell.extensions.dash-to-panel hide-overview-on-startup true
gsettings set org.gnome.shell.extensions.dash-to-panel isolate-workspaces true
gsettings set org.gnome.shell.extensions.dash-to-panel 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"}]}'

gsettings set org.gnome.shell.app-switcher current-workspace-only true

# Prevent future executions
echo "Writing state file"
echo "$USER_SETUP_VER" > "$USER_SETUP_VER_FILE"
27 changes: 17 additions & 10 deletions config/files/usr/etc/dconf/db/local.d/99-cabos
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ workspaces-only-on-primary = false
dynamic-workspaces = false

[org/gnome/shell/app-switcher]
current-workspace-only = false
current-workspace-only = true

[org/gnome/desktop/interface]
gtk-enable-primary-paste = false
enable-hot-corners = false

[org/gnome/desktop/wm/preferences]
button-layout = ":minimize,maximize,close"
Expand Down Expand Up @@ -49,13 +53,16 @@ packaging-format-preference = ['flatpak:flathub-user']
[org/gnome/mutter]
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/arcmenu]
// arc-menu-icon = 71
// 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"}]}

[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"}]}
// [org/gnome/shell/extensions/gsconnect]
// enabled = false

0 comments on commit 5cd571b

Please sign in to comment.