Skip to content

Commit

Permalink
refactor: manage extensions with CLI
Browse files Browse the repository at this point in the history
Closes #8
  • Loading branch information
tmeijn committed Oct 31, 2024
1 parent b9d9302 commit c6cc94d
Show file tree
Hide file tree
Showing 941 changed files with 81 additions and 114,025 deletions.
1 change: 1 addition & 0 deletions chezmoi/.chezmoiignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ bootstrap.sh
ansible

dconf.ini
installed-extensions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
echo ""
echo "==============================================================="
echo ""
echo "Loading dconf settings"
echo "Installing extensions and loading dconf settings"
echo ""
echo "==============================================================="
echo ""

cat {{ joinPath .chezmoi.sourceDir "installed-extensions.txt" | quote }} | xargs -I {} gext install {}

dconf load / < {{ joinPath .chezmoi.sourceDir "dconf.ini" | quote }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

echo ""
echo "==============================================================="
echo ""
echo "Reconfiguring Gnome Extensions due to change detected"
echo ""
echo "==============================================================="
echo ""

# dconf.ini hash: {{ include "installed-extensions.txt" | sha256sum }}
cat {{ joinPath .chezmoi.sourceDir "installed-extensions.txt" | quote }} | xargs -I {} gext install {}
50 changes: 29 additions & 21 deletions chezmoi/dconf.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ width=1254

[apps/update-manager]
first-run=false
launch-count=250
launch-time=int64 1728482895
launch-count=252
launch-time=int64 1729751055
show-details=true
window-height=574
window-width=534
Expand All @@ -26,7 +26,7 @@ window-width=1254
show-percentage=true

[com/ubuntu/update-notifier]
release-check-time=uint32 1728288080
release-check-time=uint32 1729503240

[desktop/ibus/general]
preload-engines=['xkb:us::eng']
Expand All @@ -36,12 +36,12 @@ version='1.5.22'
favorites=['🎤', '🛡', '🔓', '🏗', '⚒️', '🕵️', '🗃️', '👥', '📊', '🔑', '🏡', '🧡', '', '⚠️']

[org/gnome/Characters]
recent-characters=['🤮', '🏎️', '🚩', '👴🏻', '🐸', '', '✍🏾', '🗝️', '🔑', '🗃️', '🔓', '💡', '🔒']
recent-characters=['👋🏾', '🤮', '🏎️', '🚩', '👴🏻', '🐸', '', '✍🏾', '🗝️', '🔑', '🗃️', '🔓', '💡', '🔒']

[org/gnome/Extensions]
window-height=1346
window-maximized=false
window-width=1254
window-height=331
window-maximized=true
window-width=304

[org/gnome/TextEditor]
highlight-current-line=true
Expand Down Expand Up @@ -79,7 +79,7 @@ target-currency='DZD'
target-units='radian'
window-maximized=false
window-position=(3526, 189)
window-size=(2560, 1376)
window-size=(1254, 1360)
word-size=64

[org/gnome/calendar]
Expand All @@ -96,8 +96,8 @@ panel-id='world'
size=(870, 690)

[org/gnome/control-center]
last-panel='network'
window-state=(1254, 1346, false)
last-panel='background'
window-state=(1254, 1360, false)

[org/gnome/deja-dup]
backend='local'
Expand Down Expand Up @@ -146,8 +146,8 @@ translate=true
[org/gnome/desktop/background]
color-shading-type='solid'
picture-options='zoom'
picture-uri='file:///home/tmeijn/.local/share/backgrounds/2024-10-08-17-25-05-darkskin-headphone-ai.jpg'
picture-uri-dark='file:///home/tmeijn/.local/share/backgrounds/2024-10-08-17-25-05-darkskin-headphone-ai.jpg'
picture-uri='file:///home/tmeijn/.local/share/backgrounds/2024-10-31-12-23-14-purple-aesthetic-5120x2880-18775.jpg'
picture-uri-dark='file:///home/tmeijn/.local/share/backgrounds/2024-10-31-12-23-14-purple-aesthetic-5120x2880-18775.jpg'
primary-color='#000000000000'
secondary-color='#000000000000'

Expand Down Expand Up @@ -179,7 +179,7 @@ show-battery-percentage=true
text-scaling-factor=0.89999999999999991

[org/gnome/desktop/notifications]
application-children=['update-manager', 'org-gnome-software', 'google-chrome', 'gnome-shell-extension-prefs', 'slack-slack', 'org-gnome-gedit', 'gnome-power-panel', 'gnome-network-panel', 'apport-gtk', 'redis-desktop-manager-rdm', 'chrome-jjphmlaoffndcnecccgemfdaaoighkel-default', 'org-gnome-nautilus', 'chrome-macmgoeeggnlnmpiojbcniblabkdjphe-default', 'phpstorm-phpstorm', 'code-code', 'gnome-control-center', 'skype-skypeforlinux', 'org-gnome-chromegnomeshell', 'kazam', 'org-gnome-terminal', 'gitkraken-gitkraken', 'org-gnome-eog', 'gnome-printers-panel', 'org-gnome-extensions-desktop', 'nm-connection-editor', 'org-gnome-shell-extensions', 'org-gnome-screenshot', 'flameshot', 'org-gnome-dejadup', 'teams', 'snap-store-ubuntu-software', 'vlc', 'gnome-datetime-panel', 'chrome-fbddfdjileihpefdciilbgplolpcpmgd-default', 'org-gnome-fileroller', 'keybase', 'org-flameshot-flameshot', 'io-snapcraft-sessionagent', 'firefox-firefox', 'teams-for-linux-teams-for-linux', 'nomachine-status', 'terminator', 'slack', 'veracrypt', 'firefox', 'gnome-system-monitor', 'gitdock', 'ca-desrt-dconf-editor', 'org-gnome-baobab', 'io-podman-desktop-podmandesktop', 'xdg-desktop-portal-gnome', 'teams-for-linux', 'org-gnome-texteditor', 'org-wezfurlong-wezterm', 'org-gnome-settings', 'io-github-seadve-kooha', 'org-gnome-calendar', 'org-gnome-shell-portalhelper', 'com-visualstudio-code', 'yelp', 'org-gnome-extensions', 'org-gnome-totem', 'org-gnome-meld', 'app-getclipboard-clipboard', 'kitty', 'code', 'org-gnome-characters', 'snapd-desktop-integration-snapd-desktop-integration']
application-children=['update-manager', 'org-gnome-software', 'google-chrome', 'gnome-shell-extension-prefs', 'slack-slack', 'org-gnome-gedit', 'gnome-power-panel', 'gnome-network-panel', 'apport-gtk', 'redis-desktop-manager-rdm', 'chrome-jjphmlaoffndcnecccgemfdaaoighkel-default', 'org-gnome-nautilus', 'chrome-macmgoeeggnlnmpiojbcniblabkdjphe-default', 'phpstorm-phpstorm', 'code-code', 'gnome-control-center', 'skype-skypeforlinux', 'org-gnome-chromegnomeshell', 'kazam', 'org-gnome-terminal', 'gitkraken-gitkraken', 'org-gnome-eog', 'gnome-printers-panel', 'org-gnome-extensions-desktop', 'nm-connection-editor', 'org-gnome-shell-extensions', 'org-gnome-screenshot', 'flameshot', 'org-gnome-dejadup', 'teams', 'snap-store-ubuntu-software', 'vlc', 'gnome-datetime-panel', 'chrome-fbddfdjileihpefdciilbgplolpcpmgd-default', 'org-gnome-fileroller', 'keybase', 'org-flameshot-flameshot', 'io-snapcraft-sessionagent', 'firefox-firefox', 'teams-for-linux-teams-for-linux', 'nomachine-status', 'terminator', 'slack', 'veracrypt', 'firefox', 'gnome-system-monitor', 'gitdock', 'ca-desrt-dconf-editor', 'org-gnome-baobab', 'io-podman-desktop-podmandesktop', 'xdg-desktop-portal-gnome', 'teams-for-linux', 'org-gnome-texteditor', 'org-wezfurlong-wezterm', 'org-gnome-settings', 'io-github-seadve-kooha', 'org-gnome-calendar', 'org-gnome-shell-portalhelper', 'com-visualstudio-code', 'yelp', 'org-gnome-extensions', 'org-gnome-totem', 'org-gnome-meld', 'app-getclipboard-clipboard', 'kitty', 'code', 'org-gnome-characters', 'snapd-desktop-integration-snapd-desktop-integration', 'org-gnome-shell-extensions-gsconnect', 'thunderbird-thunderbird']
show-banners=true
show-in-lock-screen=false

Expand Down Expand Up @@ -381,6 +381,9 @@ application-id='teams.desktop'
[org/gnome/desktop/notifications/application/terminator]
application-id='terminator.desktop'

[org/gnome/desktop/notifications/application/thunderbird-thunderbird]
application-id='thunderbird_thunderbird.desktop'

[org/gnome/desktop/notifications/application/update-manager]
application-id='update-manager.desktop'

Expand All @@ -403,6 +406,8 @@ numlock-state=false
speed=0.34558823529411775

[org/gnome/desktop/peripherals/touchpad]
disable-while-typing=true
tap-to-click=false
two-finger-scrolling-enabled=true

[org/gnome/desktop/privacy]
Expand All @@ -414,7 +419,7 @@ report-technical-problems=true
[org/gnome/desktop/screensaver]
color-shading-type='solid'
picture-options='zoom'
picture-uri='file:///home/tmeijn/.local/share/backgrounds/2024-10-08-17-25-05-darkskin-headphone-ai.jpg'
picture-uri='file:///home/tmeijn/.local/share/backgrounds/2024-10-31-12-23-14-purple-aesthetic-5120x2880-18775.jpg'
primary-color='#000000000000'
secondary-color='#000000000000'

Expand Down Expand Up @@ -603,7 +608,7 @@ search-view='list-view'
show-image-thumbnails='always'

[org/gnome/nautilus/window-state]
initial-size=(1254, 674)
initial-size=(2560, 1400)
maximized=false
sidebar-width=210

Expand Down Expand Up @@ -676,6 +681,9 @@ last-folder-path='/home/tmeijn/workspace/el-capitano/tutorials-and-courses/go-le
[org/gnome/portal/filechooser/gnome-background-panel]
last-folder-path='/home/tmeijn/Pictures/Wallpapers'

[org/gnome/portal/filechooser/gnome-control-center]
last-folder-path='/home/tmeijn/Pictures/Wallpapers'

[org/gnome/portal/filechooser/gnome-display-panel]
last-folder-path='/home/tmeijn/Pictures/Wallpapers'

Expand All @@ -686,7 +694,7 @@ last-folder-path='/home/tmeijn/Downloads'
last-folder-path='/home/tmeijn/OneDrive/personal'

[org/gnome/portal/filechooser/snap.firefox]
last-folder-path='/home/tmeijn/Videos/Screencasts'
last-folder-path='/home/tmeijn/Pictures/Wallpapers'

[org/gnome/portal/filechooser/teams-for-linux]
last-folder-path='/home/tmeijn/Videos/Kooha'
Expand Down Expand Up @@ -719,8 +727,8 @@ app-picker-layout=[{'org.gnome.Calculator.desktop': <{'position': <0>}>, 'simple
command-history=['r']
disable-extension-version-validation=false
disable-user-extensions=false
disabled-extensions=['places-menu@gnome-shell-extensions.gcampax.github.com', 'workspace-indicator@gnome-shell-extensions.gcampax.github.com', 'tiling-assistant@ubuntu.com', 'ding@rastersoft.com', 'CoverflowAltTab@palatis.blogspot.com', 'netspeedsimplified@prateekmedia.extension', 'apps-menu@gnome-shell-extensions.gcampax.github.com', 'freon@UshakovVasilii_Github.yahoo.com', 'rounded-window-corners@fxgn', 'gsconnect@andyholmes.github.io']
enabled-extensions=['ubuntu-appindicators@ubuntu.com', 'openweather-extension@jenslody.de', 'update-extensions@franglais125.gmail.com', 'clipboard-indicator@tudmotu.com', 'launch-new-instance@gnome-shell-extensions.gcampax.github.com', 'batterypercentageandtime@copong.gmail.com', 'ShellTile@emasab.it', 'putWindow@clemens.lab21.org', 'impatience@gfxmonk.net', 'space-bar@luchrioh', 'auto-move-windows@gnome-shell-extensions.gcampax.github.com', 'user-theme@gnome-shell-extensions.gcampax.github.com', 'workspace-indicator@gnome-shell-extensions.gcampax.github.com', 'just-perfection-desktop@just-perfection', 'gtktitlebar@velitasali.github.io', 'mediacontrols@cliffniff.github.com', 'ubuntu-dock@ubuntu.com', 'openweather-extension@penguin-teal.github.io', 'native-window-placement@gnome-shell-extensions.gcampax.github.com', 'blur-my-shell@aunetx', 'pop-shell@system76.com', 'openbar@neuromorph', 'day-progress@arcaege.github.io', 'dash-to-panel@jderose9.github.com']
disabled-extensions=['places-menu@gnome-shell-extensions.gcampax.github.com', 'workspace-indicator@gnome-shell-extensions.gcampax.github.com', 'tiling-assistant@ubuntu.com', 'ding@rastersoft.com', 'CoverflowAltTab@palatis.blogspot.com', 'netspeedsimplified@prateekmedia.extension', 'apps-menu@gnome-shell-extensions.gcampax.github.com', 'freon@UshakovVasilii_Github.yahoo.com', 'rounded-window-corners@fxgn', 'gsconnect@andyholmes.github.io', 'ubuntu-dock@ubuntu.com']
enabled-extensions=['ubuntu-appindicators@ubuntu.com', 'openweather-extension@jenslody.de', 'update-extensions@franglais125.gmail.com', 'clipboard-indicator@tudmotu.com', 'launch-new-instance@gnome-shell-extensions.gcampax.github.com', 'batterypercentageandtime@copong.gmail.com', 'ShellTile@emasab.it', 'putWindow@clemens.lab21.org', 'impatience@gfxmonk.net', 'auto-move-windows@gnome-shell-extensions.gcampax.github.com', 'user-theme@gnome-shell-extensions.gcampax.github.com', 'workspace-indicator@gnome-shell-extensions.gcampax.github.com', 'just-perfection-desktop@just-perfection', 'gtktitlebar@velitasali.github.io', 'mediacontrols@cliffniff.github.com', 'openweather-extension@penguin-teal.github.io', 'native-window-placement@gnome-shell-extensions.gcampax.github.com', 'blur-my-shell@aunetx', 'pop-shell@system76.com', 'openbar@neuromorph', 'day-progress@arcaege.github.io', 'dash-to-panel@jderose9.github.com', 'space-bar@luchrioh']
favorite-apps=['firefox_firefox.desktop']
had-bluetooth-devices-setup=true
last-selected-power-profile='power-saver'
Expand Down Expand Up @@ -1114,8 +1122,8 @@ save-format='application/pdf'
selected-device='escl:http://192.168.178.19:8080'

[org/gnome/software]
check-timestamp=int64 1728976393
flatpak-purge-timestamp=int64 1728986764
check-timestamp=int64 1730361294
flatpak-purge-timestamp=int64 1730368106
install-timestamp=int64 1680257960
packagekit-historical-updates-timestamp=uint64 1680257960
update-notification-timestamp=int64 1705750277
Expand Down Expand Up @@ -1176,5 +1184,5 @@ sort-column='name'
sort-directories-first=true
sort-order='ascending'
type-format='category'
window-position=(26, 23)
window-position=(193, 337)
window-size=(908, 680)
7 changes: 7 additions & 0 deletions chezmoi/dot_config/mise/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pipx = "latest"
"pipx:ansible" = "latest"
"pipx:ansible-lint" = "latest"
"pipx:aws-gate" = "latest"
"pipx:gnome-extensions-cli" = "0.10.3"
"pipx:harlequin" = { version = "latest", extras = "postgres" }
"pipx:pgcli" = "latest"
"pipx:readmeai" = "latest"
Expand All @@ -29,6 +30,7 @@ pipx = "latest"
##################
# Cargo Packages #
##################
"cargo:ag" = "latest"
"cargo:bandwhich" = "latest"
"cargo:crates-tui" = "latest"
"cargo:gitnr" = "latest"
Expand Down Expand Up @@ -57,5 +59,10 @@ pipx = "latest"
################
"npm:gitlab-ci-local" = "latest"

################
# UBI Packages #
################
"ubi:darkhz/bluetuith" = "latest"

[settings]
pipx_uvx = true
15 changes: 15 additions & 0 deletions chezmoi/installed-extensions.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
auto-move-windows@gnome-shell-extensions.gcampax.github.com
blur-my-shell@aunetx
clipboard-indicator@tudmotu.com
dash-to-panel@jderose9.github.com
day-progress@arcaege.github.io
impatience@gfxmonk.net
just-perfection-desktop@just-perfection
launch-new-instance@gnome-shell-extensions.gcampax.github.com
mediacontrols@cliffniff.github.com
native-window-placement@gnome-shell-extensions.gcampax.github.com
openweather-extension@penguin-teal.github.io
space-bar@luchrioh
ubuntu-appindicators@ubuntu.com
user-theme@gnome-shell-extensions.gcampax.github.com
workspace-indicator@gnome-shell-extensions.gcampax.github.com
Loading

0 comments on commit c6cc94d

Please sign in to comment.