mirror of
https://github.com/aljazceru/omakub.git
synced 2026-02-02 02:44:24 +01:00
Merge branch 'master' into stable
* master: Update Spotify GPG public key Bump version to 1.1.4 Show all uninstallers Revert "Cursor AI Editor" Avoid confirm when uninstalling Fix tabs Add Cursor The AI Code Editor Drop customization for LazyVim starter config checker Switch ulauncher to wayland from xorg Remove the .git folder, so a user can add it to their own repo later Fix typo Fix ellipsis Fix typo Fix: mise architecture remove unnecessary package from prerequisites installation step Update README.md Check for VS Code before setting theme
This commit is contained in:
@@ -14,6 +14,6 @@ Omakub is released under the [MIT License](https://opensource.org/licenses/MIT).
|
||||
|
||||
## Extras
|
||||
|
||||
While omakub is purposed to be an opiniated take, the open source community offers alternative customization, add-ons, extras, that you can use to adjust, replace or enrich your experience.
|
||||
While omakub is purposed to be an opinionated take, the open source community offers alternative customization, add-ons, extras, that you can use to adjust, replace or enrich your experience.
|
||||
|
||||
[⇒ Browse the omakub extensions.](EXTENSIONS.md)
|
||||
[⇒ Browse the omakub extensions.](EXTENSIONS.md)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
UNINSTALLER=$(gum file $OMAKUB_PATH/uninstall)
|
||||
UNINSTALLER=$(gum file $OMAKUB_PATH/uninstall --height 26)
|
||||
[ -n "$UNINSTALLER" ] && gum confirm "Run uninstaller?" && source $UNINSTALLER && gum spin --spinner globe --title "Uninstall completed!" -- sleep 3
|
||||
clear
|
||||
source $OMAKUB_PATH/bin/omakub
|
||||
|
||||
@@ -4,7 +4,7 @@ Comment=Application launcher for Linux
|
||||
GenericName=Launcher
|
||||
Categories=GNOME;GTK;Utility;
|
||||
TryExec=/usr/bin/ulauncher
|
||||
Exec=env GDK_BACKEND=x11 /usr/bin/ulauncher --hide-window --hide-window
|
||||
Exec=env GDK_BACKEND=wayland /usr/bin/ulauncher --hide-window --hide-window
|
||||
Icon=ulauncher
|
||||
Terminal=false
|
||||
Type=Application
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
force_color_prompt=yes
|
||||
color_prompt=yes
|
||||
|
||||
# Simple prompt with path in the window/pane title and carat for typing line
|
||||
# Simple prompt with path in the window/pane title and caret for typing line
|
||||
PS1=$'\uf0a9 '
|
||||
PS1="\[\e]0;\w\a\]$PS1"
|
||||
|
||||
@@ -16,7 +16,7 @@ if $RUNNING_GNOME; then
|
||||
source ~/.local/share/omakub/install/terminal/required/app-gum.sh >/dev/null
|
||||
source ~/.local/share/omakub/install/first-run-choices.sh
|
||||
|
||||
echo "Installing terminal and desktop tools.."
|
||||
echo "Installing terminal and desktop tools..."
|
||||
else
|
||||
echo "Only installing terminal tools..."
|
||||
fi
|
||||
|
||||
@@ -12,7 +12,7 @@ fi
|
||||
if [ "$ID" != "ubuntu" ] || [ $(echo "$VERSION_ID >= 24.04" | bc) != 1 ]; then
|
||||
echo "$(tput setaf 1)Error: OS requirement not met"
|
||||
echo "You are currently running: $ID $VERSION_ID"
|
||||
echo "OS required: ubuntu 24.04 or higher"
|
||||
echo "OS required: Ubuntu 24.04 or higher"
|
||||
echo "Installation stopped."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Stream music using https://spotify.com
|
||||
curl -sS https://download.spotify.com/debian/pubkey_6224F9941A8AA6D1.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
|
||||
curl -sS https://download.spotify.com/debian/pubkey_C85668DF69375001.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
|
||||
echo "deb [signed-by=/etc/apt/trusted.gpg.d/spotify.gpg] http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
|
||||
sudo apt update -y
|
||||
sudo apt install -y spotify-client
|
||||
|
||||
@@ -11,9 +11,8 @@ cd -
|
||||
if [ ! -d "$HOME/.config/nvim" ]; then
|
||||
# Use LazyVim
|
||||
git clone https://github.com/LazyVim/starter ~/.config/nvim
|
||||
|
||||
# Disable update notification popup in starter config
|
||||
sed -i 's/checker = { enabled = true }/checker = { enabled = true, notify = false }/g' ~/.config/nvim/lua/config/lazy.lua
|
||||
# Remove the .git folder, so you can add it to your own repo later
|
||||
rm -rf ~/.config/nvim/.git
|
||||
|
||||
# Make everything match the terminal transparency
|
||||
mkdir -p ~/.config/nvim/plugin/after
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Install mise for managing multiple versions of languages. See https://mise.jdx.dev/
|
||||
sudo apt update -y && sudo apt install -y gpg sudo wget curl
|
||||
sudo apt update -y && sudo apt install -y gpg wget curl
|
||||
sudo install -dm 755 /etc/apt/keyrings
|
||||
wget -qO - https://mise.jdx.dev/gpg-key.pub | gpg --dearmor | sudo tee /etc/apt/keyrings/mise-archive-keyring.gpg 1>/dev/null
|
||||
echo "deb [signed-by=/etc/apt/keyrings/mise-archive-keyring.gpg arch=amd64] https://mise.jdx.dev/deb stable main" | sudo tee /etc/apt/sources.list.d/mise.list
|
||||
echo "deb [signed-by=/etc/apt/keyrings/mise-archive-keyring.gpg arch=$(dpkg --print-architecture)] https://mise.jdx.dev/deb stable main" | sudo tee /etc/apt/sources.list.d/mise.list
|
||||
sudo apt update
|
||||
sudo apt install -y mise
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
code --install-extension $VSC_EXTENSION >/dev/null
|
||||
sed -i "s/\"workbench.colorTheme\": \".*\"/\"workbench.colorTheme\": \"$VSC_THEME\"/g" ~/.config/Code/User/settings.json
|
||||
if command -v code &>/dev/null; then
|
||||
code --install-extension $VSC_EXTENSION >/dev/null
|
||||
sed -i "s/\"workbench.colorTheme\": \".*\"/\"workbench.colorTheme\": \"$VSC_THEME\"/g" ~/.config/Code/User/settings.json
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user