summaryrefslogtreecommitdiffstats
path: root/.local
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-06-19 17:53:37 +0200
committerJoe <rrbo@proton.me>2023-06-19 17:53:37 +0200
commita2bafc9308d816fef8ba51866a063842f16b8c6c (patch)
tree04b91b1a02f31c52680a0f799234db1b38075cc1 /.local
parentup (diff)
downloaddotfiles-bsd-a2bafc9308d816fef8ba51866a063842f16b8c6c.tar.gz
dotfiles-bsd-a2bafc9308d816fef8ba51866a063842f16b8c6c.tar.bz2
dotfiles-bsd-a2bafc9308d816fef8ba51866a063842f16b8c6c.tar.xz
dotfiles-bsd-a2bafc9308d816fef8ba51866a063842f16b8c6c.tar.zst
dotfiles-bsd-a2bafc9308d816fef8ba51866a063842f16b8c6c.zip
up
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/dmapps144
1 files changed, 115 insertions, 29 deletions
diff --git a/.local/bin/dmapps b/.local/bin/dmapps
index d97d0bc..087ab37 100755
--- a/.local/bin/dmapps
+++ b/.local/bin/dmapps
@@ -7,34 +7,47 @@ use POSIX qw(setsid);
use Sys::Hostname qw(hostname);
use constant PROG_LIST => "" .
-"Terminal" . "\n" .
-"File manager" . "\n" .
-"Web browser" . "\n" .
-"Mail client" . "\n" .
-"--- Accessories ---" . "\n" .
-"Qalculate!" . "\n" .
-"Kleopatra" . "\n" .
-"Transmission" . "\n" .
-"Wireshark" . "\n" .
-"MKVToolNix" . "\n" .
-"Stellarium" . "\n" .
-"Google Earth" . "\n" .
-"--- Editors ---" . "\n" .
-"NeoVim" . "\n" .
-"Emacs" . "\n" .
-"Emacs-NoX" . "\n" .
-"--- Graphics ---" . "\n" .
-"GIMP" . "\n" .
-"Inkscape" . "\n" .
-"--- Internet ---" . "\n" .
-"LibreWolf" . "\n" .
-"Firefox" . "\n" .
-"Iridium" . "\n" .
-"Chromium" . "\n" .
-"Discord" . "\n" .
-"Signal" . "\n" .
-"Liferea" . "\n" .
-"HexChat" . "\n" .
+"Terminal" . "\n" .
+"File manager" . "\n" .
+"Web browser" . "\n" .
+"Mail client" . "\n" .
+"--- Accessories ---" . "\n" .
+"Qalculate!" . "\n" .
+"Kleopatra" . "\n" .
+"Transmission" . "\n" .
+"Wireshark" . "\n" .
+"MKVToolNix" . "\n" .
+"Stellarium" . "\n" .
+"Google Earth" . "\n" .
+"--- Editors ---" . "\n" .
+"NeoVim" . "\n" .
+"Emacs" . "\n" .
+"Emacs-NoX" . "\n" .
+"--- Graphics ---" . "\n" .
+"GIMP" . "\n" .
+"Inkscape" . "\n" .
+"--- Internet ---" . "\n" .
+"LibreWolf" . "\n" .
+"Firefox" . "\n" .
+"Iridium" . "\n" .
+"Chromium" . "\n" .
+"Discord" . "\n" .
+"Signal" . "\n" .
+"Liferea" . "\n" .
+"HexChat" . "\n" .
+"--- Audio ---" . "\n" .
+"REAPER" . "\n" .
+"Audacity" . "\n" .
+"Pulse Control Panel" . "\n" .
+"JACK Audio Connection Kit" . "\n" .
+"--- Multimedia ---" . "\n" .
+"Ario" . "\n" .
+"Kdenlive" . "\n" .
+"--- Games ---" . "\n" .
+"Steam" . "\n" .
+"Lutris" . "\n" .
+"GZDoom" . "\n" .
+"DOSBox" . "\n" .
"" ;
use constant WORK_LIST => "" .
"--- Work ---" . "\n" .
@@ -43,7 +56,7 @@ use constant WORK_LIST => "" .
"Insomnia" . "\n" .
"VMware" . "\n" .
"DBeaver" . "\n" .
-"Miro" . "\n";
+"Miro";
sub run
{
@@ -266,6 +279,79 @@ sub run
setsid();
exec("miro");
}
+ # --- Audio ---
+ # REAPER
+ elsif ($action eq "REAPER") {
+ $pid = fork();
+ exit if $pid;
+ setsid();
+ exec("reaper");
+ }
+ # Audacity
+ elsif ($action eq "Audacity") {
+ $pid = fork();
+ exit if $pid;
+ setsid();
+ exec("audacity");
+ }
+ # Pulse Control Panel
+ elsif ($action eq "Pulse Control Panel") {
+ $pid = fork();
+ exit if $pid;
+ setsid();
+ exec("pavucontrol");
+ }
+ # JACK Audio Connection Kit
+ elsif ($action eq "JACK Audio Connection Kit") {
+ $pid = fork();
+ exit if $pid;
+ setsid();
+ exec("qjackctl");
+ }
+ # --- Multimedia ---
+ # Ario
+ elsif ($action eq "Ario") {
+ $pid = fork();
+ exit if $pid;
+ setsid();
+ exec("ario");
+ }
+ # Kdenlive
+ elsif ($action eq "Kdenlive") {
+ $pid = fork();
+ exit if $pid;
+ setsid();
+ exec("kdenlive");
+ }
+ # --- Multimedia ---
+ # Steam
+ elsif ($action eq "Steam") {
+ $pid = fork();
+ exit if $pid;
+ setsid();
+ exec("steam");
+ }
+ # Lutris
+ elsif ($action eq "Lutris") {
+ $pid = fork();
+ exit if $pid;
+ setsid();
+ exec("lutris");
+ }
+ # GZDoom
+ elsif ($action eq "GZDoom") {
+ $pid = fork();
+ exit if $pid;
+ setsid();
+ exec("gzdoom");
+ }
+ # DOSBox
+ elsif ($action eq "DOSBox") {
+ $pid = fork();
+ exit if $pid;
+ setsid();
+ exec("dosbox");
+ }
return;
}