Skip to content

Commit

Permalink
Create startup
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkmmr69420 authored May 30, 2024
1 parent ef4633e commit b5d9652
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions bin/startup
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#!/bin/bash

GUMREADVAR=$(gum choose "brave stable" "brave beta" "brave nightly" "update system" "shell" "exit to host")

if test [ "$GUMREADVAR" = "brave stable" ];
then
/usr/bin/brave-browser-stable
fi


if test [ "$GUMREADVAR" = "brave beta" ];
then
/usr/bin/brave-browser-beta
fi

if test [ "$GUMREADVAR" = "brave nightly" ];
then
/usr/bin/brave-browser-nightly
fi

if test [ "$GUMREADVAR" = "update system" ];
then
sudo dnf upgrade -y
fi


if test [ "$GUMREADVAR" = "shell" ];
then
/bin/bash
fi

if test [ "$GUMREADVAR" = "exit to host" ];
then
exit
fi

0 comments on commit b5d9652

Please sign in to comment.