Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
9835d00
Install only essential webapps
Kasui92 Sep 13, 2025
6ed12e3
Install only essential apps
Kasui92 Sep 13, 2025
4082e51
Use Omarchy v3 installation flow
Kasui92 Sep 26, 2025
00b026d
No need this anymore
Kasui92 Sep 26, 2025
7bf859c
Use local icon for webapps
Kasui92 Sep 26, 2025
d5cc217
Remove unnecessary comments and improve installation scripts for vari…
Kasui92 Sep 26, 2025
09388af
Added omakub final steps
Kasui92 Sep 26, 2025
c5dcff9
add eza theme and chromium/brave policies
Kasui92 Sep 26, 2025
a44df5f
Add omakub command presence and missing check scripts
Kasui92 Sep 26, 2025
cab3789
Add script to configure Chromium for Google Account login
Kasui92 Sep 26, 2025
137bb0e
Improve icons handling in tui and webapps
Kasui92 Sep 26, 2025
bce4143
Use $EDITOR variable instead of hardcoding nvim in migration script
Kasui92 Sep 26, 2025
fada0ea
Add Omarchy v3 configs & commands
Kasui92 Sep 26, 2025
71160c5
Add eza and vscode theme changer
Kasui92 Sep 26, 2025
e194e6a
Update boot.sh
Kasui92 Sep 27, 2025
5e1a908
Fix typo
Kasui92 Sep 27, 2025
72d8310
Use latest gum version
Kasui92 Sep 27, 2025
0abf8cd
Fix icon path
Kasui92 Sep 27, 2025
a92c9e0
Fix typo
Kasui92 Sep 27, 2025
2a2c3df
Remove window style in tui install
Kasui92 Sep 27, 2025
cded6d1
No need to pause
Kasui92 Sep 27, 2025
ea7ff20
Fix syntax in webapp installer
Kasui92 Sep 27, 2025
5ff54c1
Fix command to add application to WebApps folder
Kasui92 Sep 27, 2025
47497c6
Update omakub-menu
Kasui92 Sep 27, 2025
1a3eefc
Add Kitty app
Kasui92 Sep 27, 2025
5122c78
Add Kitty themes
Kasui92 Sep 27, 2025
61408b2
Update omakub menu and add terminal installation
Kasui92 Sep 27, 2025
df61854
Move pipx installation to a new script
Kasui92 Sep 27, 2025
f43fcb0
Fix pipx script formatting and ensure PATH is set correctly
Kasui92 Sep 28, 2025
0dc309a
Move pipx in helpers
Kasui92 Sep 29, 2025
090779a
Simplify terminal size retrieval
Kasui92 Sep 29, 2025
7fd0f6e
Upgrade to Omarchy v3.0.2
Kasui92 Sep 29, 2025
3993c46
Change name to pipx installer
Kasui92 Sep 29, 2025
66bd331
Improve padding in terminal
Kasui92 Sep 29, 2025
8fcf077
Add confirmation prompt before installing Gnome extensions
Kasui92 Sep 29, 2025
18c9bc1
Fix ensurepath warning
Kasui92 Sep 29, 2025
98f8852
Revert presentation clear
Kasui92 Sep 29, 2025
0359c6d
Improve installation prompts
Kasui92 Sep 29, 2025
278fda5
Enhance progress indication during script execution in logging.sh
Kasui92 Sep 29, 2025
469543a
Better position of request-confirm
Kasui92 Sep 29, 2025
ab01808
Fix spinner
Kasui92 Sep 29, 2025
b83fccd
Error logging
Kasui92 Sep 29, 2025
c4f06bd
Remove duplicate migration script
Kasui92 Sep 29, 2025
0d33b32
Add padding in output
Kasui92 Sep 29, 2025
9096293
Remove unused variables
Kasui92 Sep 29, 2025
a2b0b8a
Missing steps
Kasui92 Oct 4, 2025
01e2592
Better space
Kasui92 Oct 5, 2025
6eafe19
Use a different color for log info
Kasui92 Oct 5, 2025
a69527f
Add vertical padding in begin
Kasui92 Oct 6, 2025
249696b
Move pipx in packaging
Kasui92 Oct 6, 2025
71d9e43
Use correct filename
Kasui92 Oct 6, 2025
629490f
Use a state env for installation
Kasui92 Oct 6, 2025
8a7d9c9
Separate Browsers from services and add Zen Browser
Kasui92 Oct 6, 2025
f932257
Refactor app folder management scripts
Kasui92 Oct 7, 2025
b2db761
Update dock apps
Kasui92 Oct 7, 2025
fd9134a
Fix dock apps
Kasui92 Oct 7, 2025
a513ffa
Fix omakub icon
Kasui92 Oct 7, 2025
714dc1b
Replace terminal command with omakub-launch-about in about menu option
Kasui92 Oct 7, 2025
ac26171
Add cache file option to wofi execution in omakub-wofi script
Kasui92 Oct 7, 2025
31d0bad
Update webapp installing and launching
Kasui92 Oct 7, 2025
e1c14ff
Use custom launcher for terminal and browser
Kasui92 Oct 7, 2025
80b0a81
Align variables
Kasui92 Oct 7, 2025
bb189fb
Add comment
Kasui92 Oct 7, 2025
cd68c16
Add scripts for managing custom keybindings
Kasui92 Oct 7, 2025
9b7c3e7
Update hotkeys configuration for improved terminal and browser shortcuts
Kasui92 Oct 7, 2025
9b19476
Update signal installation
Kasui92 Oct 8, 2025
c1b42eb
Remove Neovim desktop entry during uninstallation
Kasui92 Oct 9, 2025
e4a023e
Remove conditional check for existing nvim
Kasui92 Oct 9, 2025
e12f453
Lock LazyVim to v14.15.1
Kasui92 Oct 9, 2025
63a2eb6
Use proper manual uninstallation
Kasui92 Oct 9, 2025
8388827
Add tldr
Kasui92 Oct 10, 2025
d0b0d95
Use latest gum release in migration
Kasui92 Oct 10, 2025
6d0d7cb
Preparing for migrations
Kasui92 Oct 14, 2025
64d40e3
Align themes with Omarchy v3.1.0
Kasui92 Oct 16, 2025
333f94b
Added flexoki-light as new default theme
Kasui92 Oct 16, 2025
657e841
Add default copy-url extension to chromium
Kasui92 Oct 16, 2025
b43fe57
Added copy to clipboard keymap in alatcritty and kitty
Kasui92 Oct 16, 2025
3fe403b
Enable vim keys mode in btop
Kasui92 Oct 16, 2025
f60decc
Refactor PATH export to use OMAKUB_PATH variable for better clarity
Kasui92 Oct 16, 2025
f651db4
Revert nvim theme changes
Kasui92 Oct 21, 2025
1c7b5b3
Remove eza theme support
Kasui92 Oct 21, 2025
dc9d8a3
Update applications
Kasui92 Oct 21, 2025
05044fa
Add new kitty Keybinding
Kasui92 Oct 21, 2025
3a486a3
Import Omarchy hooks
Kasui92 Oct 21, 2025
9029283
Add confirmation message after removing web app
Kasui92 Oct 21, 2025
72b4f38
Replace git command with direct version file output in omakub-version…
Kasui92 Oct 21, 2025
de623f7
Refactor firmware update script and enhance system package update pro…
Kasui92 Oct 21, 2025
927de60
Add MSSQL option to database installation script
Kasui92 Oct 21, 2025
9928ce2
Add .editorconfig file to enforce coding style guidelines
Kasui92 Oct 21, 2025
2bce226
Add package management scripts for installation, removal, and status …
Kasui92 Oct 21, 2025
728a2c3
Add omakub-reset-sudo script to reset sudo lockout for user
Kasui92 Oct 21, 2025
2089a88
Simplify desktop file copying by removing conditional check for hidde…
Kasui92 Oct 21, 2025
65a02cb
Add script to restart PipeWire audio service
Kasui92 Oct 21, 2025
83796ea
Import Omarchy theme management scripts
Kasui92 Oct 21, 2025
c1516ab
Set font size for Alacritty in terminal launch script
Kasui92 Oct 21, 2025
f426621
Add 'helix' editor option to omakub-launch-editor script
Kasui92 Oct 21, 2025
911fe4f
Fix font setting script to check for Alacritty and Kitty config files…
Kasui92 Oct 21, 2025
717bf69
Add confirmation prompt for system reboot after setting new default t…
Kasui92 Oct 21, 2025
e0d41c5
Bump version to 1.0.0-rc1
Kasui92 Oct 21, 2025
23b62d6
Add omakub-refresh-theme script to create missing theme symlinks
Kasui92 Oct 21, 2025
c530363
Update Omakub menu
Kasui92 Oct 21, 2025
ac5f2e1
Add migration script for rc1
Kasui92 Oct 21, 2025
18874e2
Fix icon paths in migration
Kasui92 Oct 21, 2025
8fb753f
Replace 'apt-get' with 'apt' in installation and removal scripts for …
Kasui92 Oct 21, 2025
7863349
Fix autoremove command to suppress error output
Kasui92 Oct 21, 2025
72fa2e4
Use a more robust migration script
Kasui92 Oct 21, 2025
219215e
Update update menu options and refresh themes before updating
Kasui92 Oct 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
end_of_line = lf
charset = utf-8
11 changes: 0 additions & 11 deletions applications/desktop/Docker.desktop

This file was deleted.

Binary file added applications/desktop/icons/ChatGPT.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added applications/desktop/icons/GitHub.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified applications/desktop/icons/Omakub.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added applications/desktop/icons/WhatsApp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added applications/desktop/icons/X.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added applications/desktop/icons/YouTube.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion applications/install/cursor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sudo bash -c "cat > $DESKTOP_FILE" <<EOL
Name=Cursor
Comment=AI-powered code editor
Exec=/opt/cursor.appimage --no-sandbox
Icon=/home/$USER/.local/share/omakub/applications/icons/cursor.png
Icon=/home/$USER/.local/share/omakub/applications/desktop/icons/cursor.png
Type=Application
Categories=Development;IDE;
EOL
Expand Down
1 change: 0 additions & 1 deletion applications/install/discord.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

# A Communication platform for voice, video, and text messaging https://discord.com/
cd /tmp
wget https://discord.com/api/download?platform=linux -O discord.deb
sudo apt install ./discord.deb -y
Expand Down
5 changes: 5 additions & 0 deletions applications/install/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ sudo tee /etc/docker/daemon.json >/dev/null <<'EOF'
}
EOF

# Expose systemd-resolved to our Docker network
sudo mkdir -p /etc/systemd/resolved.conf.d
echo -e '[Resolve]\nDNSStubListenerExtra=172.17.0.1' | sudo tee /etc/systemd/resolved.conf.d/20-docker-dns.conf >/dev/null
sudo systemctl restart systemd-resolved

# Start Docker automatically
sudo systemctl enable docker

Expand Down
1 change: 0 additions & 1 deletion applications/install/dropbox.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash

# Sync files across machines using https://dropbox.com
sudo apt install -y nautilus-dropbox >/dev/null
5 changes: 3 additions & 2 deletions applications/install/firefox.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/bash

# Install latest version of Firefox https://www.mozilla.org/firefox/
# Check if the Mozilla PPA is already added
if ! grep -q "^deb .*\bmozillateam/ppa\b" /etc/apt/sources.list /etc/apt/sources.list.d/* 2>/dev/null; then
sudo add-apt-repository -y ppa:mozillateam/ppa
fi

# Create or update the APT preferences file to prioritize Mozilla packages
if [ ! -f /etc/apt/preferences.d/mozilla ]; then
sudo tee /etc/apt/preferences.d/mozilla > /dev/null <<EOF
Package: *
Expand All @@ -13,4 +14,4 @@ Pin-Priority: 1001
EOF
fi

sudo apt-get update && sudo apt-get install -y firefox
sudo apt update && sudo apt install -y firefox
1 change: 0 additions & 1 deletion applications/install/flameshot.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash

# Flameshot is a nice step-up over the default Gnome screenshot tool
sudo apt install flameshot -y
2 changes: 1 addition & 1 deletion applications/install/gitlab-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
DEB_FILE=$(basename "$LATEST_URL")
curl -L -o "/tmp/$DEB_FILE" "$LATEST_URL"
sudo dpkg -i "/tmp/$DEB_FILE"
sudo apt-get install -f -y
sudo apt install -f -y
rm "/tmp/$DEB_FILE"
fi
17 changes: 17 additions & 0 deletions applications/install/kitty.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

# Install Kitty terminal emulator
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin

# Create symbolic links to add kitty and kitten to PATH (assuming ~/.local/bin is in
# your system-wide PATH)
ln -sf ~/.local/kitty.app/bin/kitty ~/.local/kitty.app/bin/kitten ~/.local/bin/
# Place the kitty.desktop file somewhere it can be found by the OS
cp ~/.local/kitty.app/share/applications/kitty.desktop ~/.local/share/applications/
# If you want to open text files and images in kitty via your file manager also add the kitty-open.desktop file
cp ~/.local/kitty.app/share/applications/kitty-open.desktop ~/.local/share/applications/
# Update the paths to the kitty and its icon in the kitty desktop file(s)
sed -i "s|Icon=kitty|Icon=$(readlink -f ~)/.local/kitty.app/share/icons/hicolor/256x256/apps/kitty.png|g" ~/.local/share/applications/kitty*.desktop
sed -i "s|Exec=kitty|Exec=$(readlink -f ~)/.local/kitty.app/bin/kitty|g" ~/.local/share/applications/kitty*.desktop
# Make xdg-terminal-exec (and hence desktop environments that support it use kitty)
echo 'kitty.desktop' > ~/.config/xdg-terminals.list
1 change: 0 additions & 1 deletion applications/install/libreoffice.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash

# Work with Word, Excel, Powerpoint files
sudo apt install -y libreoffice
35 changes: 16 additions & 19 deletions applications/install/neovim.sh
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
#!/bin/bash

if ! command -v nvim &>/dev/null; then
# Install Neovim
cd /tmp
wget -O nvim.tar.gz "https://github.com/neovim/neovim/releases/download/stable/nvim-linux-x86_64.tar.gz"
tar -xf nvim.tar.gz
sudo install nvim-linux-x86_64/bin/nvim /usr/local/bin/nvim
sudo cp -R nvim-linux-x86_64/lib /usr/local/
sudo cp -R nvim-linux-x86_64/share /usr/local/
rm -rf nvim-linux-x86_64 nvim.tar.gz
cd -
cd /tmp
wget -O nvim.tar.gz "https://github.com/neovim/neovim/releases/download/stable/nvim-linux-x86_64.tar.gz"
tar -xf nvim.tar.gz
sudo install nvim-linux-x86_64/bin/nvim /usr/local/bin/nvim
sudo cp -R nvim-linux-x86_64/lib /usr/local/
sudo cp -R nvim-linux-x86_64/share /usr/local/
rm -rf nvim-linux-x86_64 nvim.tar.gz
cd -

# Install luarocks and tree-sitter-cli to resolve lazyvim :checkhealth warnings
sudo apt install -y luarocks tree-sitter-cli
# Install luarocks and tree-sitter-cli to resolve lazyvim :checkhealth warnings
sudo apt install -y luarocks tree-sitter-cli

# Use LazyVim
rm -rf ~/.config/nvim
git clone https://github.com/LazyVim/starter ~/.config/nvim
cp -R ~/.local/share/omakub/config/nvim/* ~/.config/nvim/
rm -rf ~/.config/nvim/.git
echo "vim.opt.relativenumber = false" >>~/.config/nvim/lua/config/options.lua
fi
# Use LazyVim
rm -rf ~/.config/nvim
git clone https://github.com/LazyVim/starter ~/.config/nvim
cp -R ~/.local/share/omakub/config/nvim/* ~/.config/nvim/
rm -rf ~/.config/nvim/.git
echo "vim.opt.relativenumber = false" >>~/.config/nvim/lua/config/options.lua
1 change: 0 additions & 1 deletion applications/install/obs-studio.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash

# OBS Studio is a screen recording application that allows you to capture both display and webcam in the same recording
sudo apt install -y obs-studio
1 change: 0 additions & 1 deletion applications/install/obsidian.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash

# Obsidian is a multi-platform note taking application. See https://obsidian.md
gum spin --spinner meter --title "Obsidian installation about to start. It may take up to 20 minutes on some systems!" -- sleep 3
flatpak install -y flathub md.obsidian.Obsidian
9 changes: 5 additions & 4 deletions applications/install/signal.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/bin/bash

wget -qO- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor >signal-desktop-keyring.gpg
cat signal-desktop-keyring.gpg | sudo tee /usr/share/keyrings/signal-desktop-keyring.gpg >/dev/null
echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |
sudo tee /etc/apt/sources.list.d/signal-xenial.list

wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg;
cat signal-desktop-keyring.gpg | sudo tee /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null
wget -O signal-desktop.sources https://updates.signal.org/static/desktop/apt/signal-desktop.sources;
cat signal-desktop.sources | sudo tee /etc/apt/sources.list.d/signal-desktop.sources > /dev/null
rm signal-desktop-keyring.gpg
sudo apt update
sudo apt install -y signal-desktop
1 change: 0 additions & 1 deletion applications/install/spotify.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

# Stream music using https://spotify.com
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] https://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update -y
Expand Down
1 change: 0 additions & 1 deletion applications/install/starship.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash

# Install Starship
curl -sS https://starship.rs/install.sh | sh -s -- -y
1 change: 0 additions & 1 deletion applications/install/steam.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

# Play games from https://store.steampowered.com/
cd /tmp
wget https://cdn.akamai.steamstatic.com/client/installer/steam.deb
sudo apt install -y ./steam.deb
Expand Down
10 changes: 0 additions & 10 deletions applications/install/typora.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
#!/bin/bash

# Temporarily switch away from using Typora repo which is broken.
#
# wget -qO - https://typora.io/linux/public-key.asc | sudo tee /etc/apt/trusted.gpg.d/typora.asc >/dev/null || true
#
# sudo add-apt-repository -y 'deb https://typora.io/linux ./'
# sudo add-apt-repository -y 'deb https://typora.io/linux ./'
# sudo apt update -y
# sudo apt install -y typora

# Install with db
cd /tmp
wget -O typora.deb "https://downloads.typora.io/linux/typora_1.10.8_amd64.deb"
sudo apt install -y /tmp/typora.deb
Expand Down
14 changes: 8 additions & 6 deletions applications/install/visual-studio-code.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/bin/bash

cd /tmp
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor >packages.microsoft.gpg
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" | sudo tee /etc/apt/sources.list.d/vscode.list >/dev/null
rm -f packages.microsoft.gpg
cd -
if [ ! -f /etc/apt/keyrings/packages.microsoft.gpg ] || [ ! -f /usr/share/keyrings/microsoft.gpg ]; then
cd /tmp
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor >packages.microsoft.gpg
sudo install -D -o root -g root -m 644 packages.microsoft.gpg /etc/apt/keyrings/packages.microsoft.gpg
echo "deb [arch=amd64,arm64,armhf signed-by=/etc/apt/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/code stable main" | sudo tee /etc/apt/sources.list.d/vscode.list >/dev/null
rm -f packages.microsoft.gpg
cd -
fi

sudo apt update -y
sudo apt install -y code
3 changes: 0 additions & 3 deletions applications/install/vlc.sh

This file was deleted.

8 changes: 8 additions & 0 deletions applications/install/zen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

cd /tmp
curl -s https://updates.zen-browser.app/install.sh -o zen-install.sh 2>/dev/null
chmod +x zen-install.sh 2>/dev/null
bash zen-install.sh >/dev/null 2>&1
rm -f zen-install.sh 2>/dev/null
cd -
1 change: 0 additions & 1 deletion applications/install/zoom.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash

# Make video calls using https://zoom.us/
cd /tmp
wget https://zoom.us/client/latest/zoom_amd64.deb
sudo apt install -y ./zoom_amd64.deb
Expand Down
2 changes: 1 addition & 1 deletion applications/remove/1password.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ sudo rm /etc/apt/sources.list.d/1password.list
sudo rm /usr/share/keyrings/1password-archive-keyring.gpg
sudo rm /usr/share/debsig/keyrings/AC2D62742012EA22/debsig.gpg
sudo rm -r /etc/debsig/policies/AC2D62742012EA22/
sudo apt-get remove --purge -y 1password 1password-cli
sudo apt remove --purge -y 1password 1password-cli
9 changes: 9 additions & 0 deletions applications/remove/kitty.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

# Kitty terminal installation script removal
rm -rf ~/.local/kitty.app
rm -f ~/.local/bin/kitty
rm -f ~/.local/bin/kitten
rm -f ~/.local/share/applications/kitty.desktop
rm -f ~/.local/share/applications/kitty-open.desktop
rm -f ~/.config/xdg-terminals.list
6 changes: 3 additions & 3 deletions applications/remove/libreoffice.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

sudo apt-get remove --purge -y "libreoffice*"
sudo apt-get -y clean
sudo apt-get -y autoremove
sudo apt remove --purge -y "libreoffice*"
sudo apt -y clean
sudo apt -y autoremove
4 changes: 2 additions & 2 deletions applications/remove/neovim.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

sudo apt purge -y neovim neovim-runtime
rm ~/.local/share/applications/Neovim.desktop
sudo rm /usr/local/bin/nvim
sudo rm -r /usr/local/share/nvim/
rm -rf ~/.config/nvim
rm -rf ~/.local/share/nvim
rm -rf ~/.local/state/nvim
Expand Down
3 changes: 0 additions & 3 deletions applications/remove/vlc.sh

This file was deleted.

3 changes: 3 additions & 0 deletions applications/remove/zen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

sudo apt purge -y zen
54 changes: 41 additions & 13 deletions bin/omakub-app-folder-add
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# omakub-app-folder-add: Move a .desktop file to a specified app folder.
# Usage: omakub-app-folder-add <desktop_file.desktop> <folder_name>

DESKTOP_DIR="$HOME/.local/share/applications"

if [ "$#" -ne 2 ]; then
echo -e "\e[32mLet's add an app to a folder in the app grid!\n\e[0m"
DESKTOP_FILE=$(gum input --prompt "Name> " --placeholder "A desktop file app (e.g., Spotify.desktop, no full path!)")
Expand All @@ -17,18 +19,50 @@ if [[ -z "$DESKTOP_FILE" || -z "$FOLDER_NAME" ]]; then
exit 1
fi

if ! locate "$DESKTOP_FILE" &> /dev/null; then
if [ ! -f "$DESKTOP_DIR/$DESKTOP_FILE" ]; then
echo "Desktop file '$DESKTOP_FILE' not found!"
exit 1
fi

# Convert to lowercase immediately for consistency
FOLDER=$(echo "$FOLDER_NAME" | tr -d ' ' | tr '[:upper:]' '[:lower:]')
SCHEMA="org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/$FOLDER/"
# Get current folders list
CURRENT_FOLDERS=$(gsettings get org.gnome.desktop.app-folders folder-children)

# Check if folder exists using the lowercase version
if [[ "$CURRENT_FOLDERS" != *"'$FOLDER'"* ]]; then
# Convert to different formats for checking
FOLDER_LOWERCASE=$(echo "$FOLDER_NAME" | tr -d ' ' | tr '[:upper:]' '[:lower:]')
FOLDER_CAMELCASE=$(echo "$FOLDER_NAME" | tr -d ' ')

# Check if folder exists (try exact name, camelcase, then lowercase)
EXISTING_FOLDER=""
if [[ "$CURRENT_FOLDERS" == *"'$FOLDER_NAME'"* ]]; then
# Exact name match - use original name for schema
EXISTING_FOLDER="$FOLDER_NAME"
FOLDER="$FOLDER_NAME"
elif [[ "$CURRENT_FOLDERS" == *"'$FOLDER_CAMELCASE'"* ]]; then
# CamelCase match (like "WebApps") - use camelcase for schema
EXISTING_FOLDER="$FOLDER_CAMELCASE"
FOLDER="$FOLDER_CAMELCASE"
elif [[ "$CURRENT_FOLDERS" == *"'$FOLDER_LOWERCASE'"* ]]; then
# Lowercase match - use lowercase for schema
EXISTING_FOLDER="$FOLDER_LOWERCASE"
FOLDER="$FOLDER_LOWERCASE"
else
# No existing folder - will create new one with lowercase schema
FOLDER="$FOLDER_LOWERCASE"
fi

# Set schema and display name based on whether folder exists
if [ -n "$EXISTING_FOLDER" ]; then
# Use existing folder
SCHEMA="org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/$FOLDER/"
FOLDER_DISPLAY_NAME=$(gsettings get "$SCHEMA" name | sed 's/^.\(.*\).$/\1/')
else
# Create new folder
SCHEMA="org.gnome.desktop.app-folders.folder:/org/gnome/desktop/app-folders/folders/$FOLDER/"
FOLDER_DISPLAY_NAME="$FOLDER_NAME"
fi

# Check if we need to create a new folder
if [ -z "$EXISTING_FOLDER" ]; then
# Create new folder
TRIMMED_FOLDERS=$(echo "$CURRENT_FOLDERS" | sed "s/^\[//;s/\]$//")

Expand All @@ -38,10 +72,8 @@ if [[ "$CURRENT_FOLDERS" != *"'$FOLDER'"* ]]; then
gsettings set org.gnome.desktop.app-folders folder-children "['$FOLDER']"
fi

gsettings set "$SCHEMA" name "$FOLDER_NAME"
gsettings set "$SCHEMA" name "$FOLDER_DISPLAY_NAME"
gsettings set "$SCHEMA" apps "['$DESKTOP_FILE']"

echo -e "Created folder '$FOLDER_NAME' and added app '$DESKTOP_FILE' to it\n"
else
# Add app to existing folder
CURRENT_APPS=$(gsettings get "$SCHEMA" apps)
Expand All @@ -53,9 +85,5 @@ else
else
gsettings set "$SCHEMA" apps "['$DESKTOP_FILE']"
fi

echo -e "App '$DESKTOP_FILE' has been added to folder '$FOLDER_NAME'\n"
else
echo -e "App '$DESKTOP_FILE' is already in folder '$FOLDER_NAME'\n"
fi
fi
Loading