From 3a5268cd023f47e9d53a2498f4086b006c4efd30 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Wed, 5 Jun 2024 22:33:25 +0200 Subject: [PATCH] Add launch-menu applications --- bash/bin/launch-menu-apps.d/base.sh | 10 +++++++ bash/bin/launch-menu-apps.d/bottles.sh | 6 ++++ bash/bin/launch-menu-apps.d/development.sh | 12 ++++++++ bash/bin/launch-menu-apps.d/games.sh | 16 ++++++++++ bash/bin/launch-menu-apps.d/hyprland.sh | 6 ++++ bash/bin/launch-menu-apps.d/info.sh | 7 +++++ bash/bin/launch-menu-apps.d/internet.sh | 14 +++++++++ bash/bin/launch-menu-apps.d/multimedia.sh | 15 ++++++++++ bash/bin/launch-menu-apps.d/programs.sh | 29 +++++++++++++++++++ .../launch-menu-apps.d/template.sh.disabled | 7 +++++ bash/bin/launch-menu-apps.d/tools.sh | 20 +++++++++++++ install.sh | 1 + uninstall.sh | 1 + 13 files changed, 144 insertions(+) create mode 100644 bash/bin/launch-menu-apps.d/base.sh create mode 100644 bash/bin/launch-menu-apps.d/bottles.sh create mode 100644 bash/bin/launch-menu-apps.d/development.sh create mode 100644 bash/bin/launch-menu-apps.d/games.sh create mode 100644 bash/bin/launch-menu-apps.d/hyprland.sh create mode 100644 bash/bin/launch-menu-apps.d/info.sh create mode 100644 bash/bin/launch-menu-apps.d/internet.sh create mode 100644 bash/bin/launch-menu-apps.d/multimedia.sh create mode 100644 bash/bin/launch-menu-apps.d/programs.sh create mode 100644 bash/bin/launch-menu-apps.d/template.sh.disabled create mode 100644 bash/bin/launch-menu-apps.d/tools.sh diff --git a/bash/bin/launch-menu-apps.d/base.sh b/bash/bin/launch-menu-apps.d/base.sh new file mode 100644 index 00000000..3f2c7569 --- /dev/null +++ b/bash/bin/launch-menu-apps.d/base.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash +set -euo pipefail + +apps+=( + ["LibreWolf"]="librewolf" + ["Epiphany"]="epiphany" + ["Dolphin"]="dolphin" + ["Gwenview"]="gwenview" + ["Konsole"]="konsole" +) diff --git a/bash/bin/launch-menu-apps.d/bottles.sh b/bash/bin/launch-menu-apps.d/bottles.sh new file mode 100644 index 00000000..afa64fc6 --- /dev/null +++ b/bash/bin/launch-menu-apps.d/bottles.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail + +apps+=( + ["UltraISO"]="flatpak run --command=bottles-cli com.usebottles.bottles run -p UltraISO -b 'UltraISO'" +) diff --git a/bash/bin/launch-menu-apps.d/development.sh b/bash/bin/launch-menu-apps.d/development.sh new file mode 100644 index 00000000..84969819 --- /dev/null +++ b/bash/bin/launch-menu-apps.d/development.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +set -euo pipefail + +apps+=( + ["Android Studio"]="android-studio" + ["Bytecode Viewer"]="bytecodeviewer" + ["IntelliJ IDEA"]="idea" + ["Godot Engine (native)"]="godot" + ["Godot Engine 4"]="flatpak run org.godotengine.Godot" + ["Godot Engine 3"]="flatpak run org.godotengine.Godot3" + ["VSCodium"]="codium --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland" +) diff --git a/bash/bin/launch-menu-apps.d/games.sh b/bash/bin/launch-menu-apps.d/games.sh new file mode 100644 index 00000000..d75a0da6 --- /dev/null +++ b/bash/bin/launch-menu-apps.d/games.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash +set -euo pipefail + +apps+=( + ["ClassiCube"]="~/.apps/ClassiCube/ClassiCube" + ["Minetest"]="flatpak run net.minetest.Minetest" + ["osu!lazer"]="ls /tmp/osuboot-repo || git clone https://git.staropensource.de/JeremyStarTM/osuboot.git /tmp/osuboot-repo; /tmp/osuboot-repo/osuboot.sh" + ["osu!lazer (direct)"]="${HOME}/.cache/osu.AppImage" + ["Prism Launcher"]="prismlauncher" + ["Rosalie's Mupen GUI"]="flatpak run com.github.Rosalie241.RMG" + ["Sonic Robo Blast 2"]="flatpak run org.srb2.SRB2" + ["Steam"]="steam-runtime" + ["Heroic"]="flatpak run com.heroicgameslauncher.hgl" + ["Veloren (Airshipper)"]="konsole -e \"flatpak run net.veloren.airshipper update\";flatpak run net.veloren.airshipper start" + ["itch"]="flatpak run io.itch.itch" +) diff --git a/bash/bin/launch-menu-apps.d/hyprland.sh b/bash/bin/launch-menu-apps.d/hyprland.sh new file mode 100644 index 00000000..bb759d46 --- /dev/null +++ b/bash/bin/launch-menu-apps.d/hyprland.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail + +apps+=( + ["Reload Hyprland"]="hyprctl reload" +) diff --git a/bash/bin/launch-menu-apps.d/info.sh b/bash/bin/launch-menu-apps.d/info.sh new file mode 100644 index 00000000..0fd5627a --- /dev/null +++ b/bash/bin/launch-menu-apps.d/info.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -euo pipefail + +apps+=( + ["Waycheck"]="flatpak run dev.serebit.Waycheck" + ["CPU-X"]="flatpak run io.github.thetumultuousunicornofdarkness.cpu-x" +) diff --git a/bash/bin/launch-menu-apps.d/internet.sh b/bash/bin/launch-menu-apps.d/internet.sh new file mode 100644 index 00000000..a8b498bf --- /dev/null +++ b/bash/bin/launch-menu-apps.d/internet.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +set -euo pipefail + +apps+=( + ["Kaiteki"]="flatpak run app.kaiteki.Kaiteki" + ["Revolt"]="flatpak run chat.revolt.RevoltDesktop" + ["WhatSie"]="flatpak run com.ktechpit.whatsie" + ["Vesktop"]="flatpak run dev.vencord.Vesktop" + ["Media Downloader"]="media-downloader" + ["FileZilla"]="flatpak run org.filezillaproject.Filezilla" + ["Thunderbird"]="flatpak run org.mozilla.Thunderbird" + ["qBittorrent"]="flatpak run org.qbittorrent.qBittorrent" + ["Signal"]="flatpak run org.signal.Signal" +) diff --git a/bash/bin/launch-menu-apps.d/multimedia.sh b/bash/bin/launch-menu-apps.d/multimedia.sh new file mode 100644 index 00000000..f4977a06 --- /dev/null +++ b/bash/bin/launch-menu-apps.d/multimedia.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +set -euo pipefail + +apps+=( + ["LibreSprite"]="flatpak run com.github.libresprite.LibreSprite" + ["OBS Studio"]="obs" + ["GIMP"]="gimp" + ["mpv"]="mpv --player-operation-mode=pseudo-gui" + ["MystiQ"]="mystiq" + ["Blender"]="flatpak run org.blender.Blender" + ["Inkscape"]="flatpak run org.inkscape.Inkscape" + ["Kdenlive"]="flatpak run org.kde.kdenlive" + ["Krita"]="flatpak run org.kde.krita" + ["VLC"]="flatpak run org.videolan.VLC" +) diff --git a/bash/bin/launch-menu-apps.d/programs.sh b/bash/bin/launch-menu-apps.d/programs.sh new file mode 100644 index 00000000..253eeeb9 --- /dev/null +++ b/bash/bin/launch-menu-apps.d/programs.sh @@ -0,0 +1,29 @@ +#!/usr/bin/env bash +set -euo pipefail + +apps+=( + ["OpenRGB"]="openrgb" + ["Companion"]="pkill companion node;sleep 5s;pkill -9 companion node;companion" + ["Cubiomes Viewer"]="flatpak run com.github.cubitect.cubiomes-viewer" + ["QR Scanner"]="flatpak run dev.lasheen.qr" + ["Cavasik"]="flatpak run io.github.TheWisker.Cavasik" + ["Mousai"]="flatpak run io.github.seadve.Mousai" + ["ISOMaster"]="isomaster" + ["Font Viewer"]="flatpak run org.gnome.font-viewer" + ["Seahorse"]="flatpak run org.gnome.seahorse.Application" + ["LibreOffice"]="flatpak run org.libreoffice.LibreOffice" + ["qBittorrent"]="flatpak run org.qbittorrent.qBittorrent" + ["Stellarium"]="flatpak run org.stellarium.Stellarium" + ["jdNBTExplorer"]="flatpak run page.codeberg.JakobDev.jdNBTExplorer" + ["Universal Android Debloater"]="uad_gui" + ["Speedtest"]="flatpak run xyz.ketok.Speedtest" + ["CraftOS PC"]="craftos-luajit" + ["Charmap"]="gucharmap" + ["Ark"]="ark" + ["Ghostwriter"]="flatpak run org.kde.ghostwriter" + ["Kalzium"]="flatpak run org.kde.kalzium" + ["KCalc"]="flatpak run org.kde.kcalc" + ["Okteta"]="flatpak run org.kde.okteta" + ["virt-manager"]="virt-manager" + ["CUPS"]="xdg-open http://localhost:631/" +) diff --git a/bash/bin/launch-menu-apps.d/template.sh.disabled b/bash/bin/launch-menu-apps.d/template.sh.disabled new file mode 100644 index 00000000..827f7d40 --- /dev/null +++ b/bash/bin/launch-menu-apps.d/template.sh.disabled @@ -0,0 +1,7 @@ +#!/usr/bin/env bash +set -euo pipefail + +apps+=( + ["Example application"]="example-application" + ["Test script"]="/home/jeremystartm/.local/bin/test-script" +) diff --git a/bash/bin/launch-menu-apps.d/tools.sh b/bash/bin/launch-menu-apps.d/tools.sh new file mode 100644 index 00000000..4ee45050 --- /dev/null +++ b/bash/bin/launch-menu-apps.d/tools.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +set -euo pipefail + +apps+=( + ["OpenRGB"]="openrgb" + ["Flatseal"]="flatpak run com.github.tchx84.Flatseal" + ["Bottles"]="flatpak run com.usebottles.bottles" + ["GParted"]="gparted" + ["GSmartControl"]="gsmartcontrol" + ["Heimdall"]="heimdall-frontend" + ["Flatsweep"]="flatpak run io.github.giantpinkrobots.flatsweep" + ["ProtonUp-Qt"]="flatpak run net.davidotek.pupgui2" + ["BleachBit"]="flatpak run org.bleachbit.BleachBit" + ["Filelight"]="flatpak run org.kde.filelight" + ["Imager"]="flatpak run org.raspberrypi.rpi-imager" + ["jdNBTExplorer"]="flatpak run page.codeberg.JakobDev.jdNBTExplorer" + ["Ventoy"]="ventoygui" + ["Cubiomes Viewer"]="flatpak run com.github.cubitect.cubiomes-viewer" + ["Winetricks"]="winetricks --gui" +) diff --git a/install.sh b/install.sh index 1a754bfa..11ee2b1f 100755 --- a/install.sh +++ b/install.sh @@ -47,6 +47,7 @@ link "bash/bashrc" ".bashrc" link "repositories/punktdateien-bashrc" ".bashrc.d" link "bash/bin/launch-menu" ".local/bin/launch-menu" link "bash/bin/launch-menu-apps" ".local/bin/launch-menu-apps" +link "bash/bin/launch-menu-apps.d" ".config/launch-menu-apps.d" link "bash/jobrunner/daemon.sh" ".local/bin/jobrunner" link "bash/jobrunner/runjob.sh" ".local/bin/jobrunner-runjob" link "bash/starship.toml" ".config/starship.toml" diff --git a/uninstall.sh b/uninstall.sh index 7c067798..b651eef0 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -104,6 +104,7 @@ unlink ".local/share/mc/skins/dracula256.ini" unlink ".bashrc" unlink ".local/bin/launch-menu" unlink ".local/bin/launch-menu-apps" +unlink ".config/launch-menu-apps.d" unlink ".local/bin/jobrunner" unlink ".local/bin/jobrunner-runjob" unlink ".config/jstmbash.env"