Skip to content

Commit

Permalink
Fix new violations
Browse files Browse the repository at this point in the history
  • Loading branch information
anavarre committed Jun 14, 2024
1 parent c93ae81 commit 2fb955c
Show file tree
Hide file tree
Showing 14 changed files with 45 additions and 18 deletions.
2 changes: 2 additions & 0 deletions applications/Omakub.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

cat <<EOF >~/.local/share/applications/Omakub.desktop
[Desktop Entry]
Version=1.0
Expand Down
2 changes: 1 addition & 1 deletion install/app-neovim.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

cd /tmp
cd /tmp || exit
wget -O nvim.tar.gz "https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz"
tar -xf nvim.tar.gz
sudo install nvim-linux64/bin/nvim /usr/local/bin/nvim
Expand Down
5 changes: 4 additions & 1 deletion install/apps-desktop.sh
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
for script in ~/.local/share/omakub/applications/*.sh; do source $script; done
#!/usr/bin/env bash

# shellcheck disable=SC1090
for script in ~/.local/share/omakub/applications/*.sh; do source "$script"; done
6 changes: 4 additions & 2 deletions install/optional/app-steam.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
cd /tmp
#!/usr/bin/env bash

cd /tmp || exit
wget https://cdn.akamai.steamstatic.com/client/installer/steam.deb
sudo apt install -y ./steam.deb
sudo apt-get install --no-remove -oAPT::Get::AutomaticRemove=false libc6:amd64 libc6:i386 libegl1:amd64 libegl1:i386 libgbm1:amd64 libgbm1:i386 libgl1-mesa-dri:amd64 libgl1-mesa-dri:i386 libgl1:amd64 libgl1:i386 steam-libs-amd64:amd64
rm steam.deb
cd -
cd - || exit
6 changes: 4 additions & 2 deletions themes/chrome/catppuccin.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
cd ~/.config/google-chrome/Default
#!/usr/bin/env bash

cd "$HOME/.config/google-chrome/Default" || exit
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 1 | .browser.theme.user_color = 1579044' Preferences >tmp.json && mv tmp.json Preferences
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/catppuccintotoro.png?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
cd ~
cd "$HOME" || exit
6 changes: 4 additions & 2 deletions themes/chrome/everforest.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
cd ~/.config/google-chrome/Default
#!/usr/bin/env bash

cd "$HOME/.config/google-chrome/Default" || exit
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 2 | .browser.theme.user_color = -7829368' Preferences >tmp.json && mv tmp.json Preferences
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/fog_forest_2.jpg?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
cd ~
cd "$HOME" || exit
6 changes: 4 additions & 2 deletions themes/chrome/gruvbox.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
cd ~/.config/google-chrome/Default
#!/usr/bin/env bash

cd "$HOME/.config/google-chrome/Default" || exit
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 2 | .browser.theme.user_color = -8847616' Preferences >tmp.json && mv tmp.json Preferences
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/ferns-green.jpg?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
cd ~
cd "$HOME" || exit
6 changes: 4 additions & 2 deletions themes/chrome/kanagawa.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
cd ~/.config/google-chrome/Default
#!/usr/bin/env bash

cd "$HOME/.config/google-chrome/Default" || exit
jq '.browser.theme.color_scheme = 1 | .browser.theme.color_variant = 1 | .browser.theme.user_color = 6632704' Preferences >tmp.json && mv tmp.json Preferences
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/kanagawa.jpg?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
cd ~
cd "$HOME" || exit
6 changes: 4 additions & 2 deletions themes/chrome/nord.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
cd ~/.config/google-chrome/Default
#!/usr/bin/env bash

cd "$HOME/.config/google-chrome/Default" || exit
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 2 | .browser.theme.user_color = 5002858' Preferences >tmp.json && mv tmp.json Preferences
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/nord_scenary.png?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
cd ~
cd "$HOME" || exit
6 changes: 4 additions & 2 deletions themes/chrome/rose-pine.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
cd ~/.config/google-chrome/Default
#!/usr/bin/env bash

cd "$HOME/.config/google-chrome/Default" || exit
jq '.browser.theme.color_scheme = 1 | .browser.theme.color_variant = 1 | .browser.theme.user_color = -65281' Preferences >tmp.json && mv tmp.json Preferences
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/simple-pastel-by-triarts-from-freepik.jpg?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
cd ~
cd "$HOME" || exit
6 changes: 4 additions & 2 deletions themes/chrome/tokyo-night.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
cd ~/.config/google-chrome/Default
#!/usr/bin/env bash

cd "$HOME/.config/google-chrome/Default" || exit
jq '.browser.theme.color_scheme = 2 | .browser.theme.color_variant = 1 | .browser.theme.user_color = 3094106' Preferences >tmp.json && mv tmp.json Preferences
jq '.ntp += {"custom_background_dict":{"background_url": "https://github.com/basecamp/omakub/blob/master/backgrounds/80s-retro-tropical-sunset-by-freepik.jpg?raw=true"}}' Preferences >tmp.json && mv tmp.json Preferences
cd ~
cd "$HOME" || exit
2 changes: 2 additions & 0 deletions uninstall/app-signal.sh
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/usr/bin/env bash

sudo apt remove --purge -y signal-desktop
2 changes: 2 additions & 0 deletions uninstall/app-steam.sh
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/usr/bin/env bash

sudo apt remove -y steam steam-launcher
2 changes: 2 additions & 0 deletions uninstall/php.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

sudo apt -y purge "php8.3*"
sudo add-apt-repository -y --remove ppa:ondrej/php

Expand Down

0 comments on commit 2fb955c

Please sign in to comment.