Skip to content

Commit

Permalink
Some other changes
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ngr31 committed Jan 22, 2024
1 parent 6226164 commit 4f330b9
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 28 deletions.
17 changes: 16 additions & 1 deletion config/common_modules/rpm-ostree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,19 @@ install:
- samba-ldb-ldap-modules
- samba-winbind-clients
- samba-winbind-modules
- libvirt
- libvirt

remove:
- firefox
- firefox-langpacks
- htop
- nvtop
- gnome-software-rpm-ostree
- gnome-tour
- gnome-initial-setup
- gnome-system-monitor
- gnome-shell-extension-apps-menu
- gnome-shell-extension-launch-new-instance
- gnome-shell-extension-places-menu
- gnome-shell-extension-window-list
- gnome-classic-session
2 changes: 2 additions & 0 deletions config/common_modules/systemd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ system:
- com.system76.PowerDaemon.service
- system76-power-wake.service
- com.system76.Scheduler.service
- dx-groups.service
masked:
- power-profiles-daemon.service
user:
enabled:
- podman.socket
- dx-user-vscode.service
26 changes: 8 additions & 18 deletions config/files/usr/bin/dx-user-vscode
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,11 @@

# SCRIPT VERSION
USER_SETUP_VER=2
USER_SETUP_VER_FILE="${XDG_DATA_HOME:-$HOME/.local/share}/ublue/vscode-configured"
USER_SETUP_VER_FILE="${XDG_DATA_HOME:-$HOME/.local/share}/cabos/vscode-configured"
USER_SETUP_VER_RAN=$(cat "$USER_SETUP_VER_FILE")

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

USER_SETUP_VER_FILE_V1="$HOME/.bluefin-vscode-configured"
# Upgrade from v1 to v2 changes only the location of the USER_SETUP_VER.
# Exit if v1 file is present.
if [[ -f $USER_SETUP_VER_FILE_V1 ]]; then
echo "User setup v1 has already run. Exiting..."
rm $USER_SETUP_VER_FILE_V1
echo "$USER_SETUP_VER" > "$USER_SETUP_VER_FILE"
exit 0
fi

# Run script if updated
if [[ -f $USER_SETUP_VER_FILE && "$USER_SETUP_VER" = "$USER_SETUP_VER_RAN" ]]; then
echo "User setup v$VER has already run. Exiting..."
Expand All @@ -27,13 +17,13 @@ fi
# Pre-install preferred VSCode Extensions
code --install-extension ms-vscode-remote.remote-containers
code --install-extension ms-azuretools.vscode-docker
code --install-extention trongthanh.theme-boxythemekit
code --install-extention EditorConfig.EditorConfig
code --install-extention dbaeumer.vscode-eslint
code --install-extention drKnoxy.eslint-disable-snippets
code --install-extention eamodio.gitlens
code --install-extention esbenp.prettier-vscode
code --install-extention ms-vscode-remote.remote-ssh
code --install-extension trongthanh.theme-boxythemekit
code --install-extension EditorConfig.EditorConfig
code --install-extension dbaeumer.vscode-eslint
code --install-extension drKnoxy.eslint-disable-snippets
code --install-extension eamodio.gitlens
code --install-extension esbenp.prettier-vscode
code --install-extension ms-vscode-remote.remote-ssh

# Prevent future executions
echo "Writing state file"
Expand Down
3 changes: 2 additions & 1 deletion config/files/usr/etc/skel.d/.config/Code/User/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,6 @@
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"diffEditor.codeLens": true
"diffEditor.codeLens": true,
"window.titleBarStyle": "custom"
}
15 changes: 7 additions & 8 deletions config/scripts/extensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@ 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/theychx/WorkspaceSwitcherWrapAround.git /usr/share/gnome-shell/extensions/workspace-switch-wraparound@theychx.org

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

git clone https://gitlab.com/arcmenu/ArcMenu.git
cd ArcMenu
make DESTDIR=/ install

dconf update

0 comments on commit 4f330b9

Please sign in to comment.