mirror of
https://github.com/ksyasuda/rice.git
synced 2024-10-28 09:04:10 -07:00
35 lines
859 B
Plaintext
35 lines
859 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
## Open Applications
|
||
|
FILE="$HOME/.cache/eww_launch.xyz"
|
||
|
EWW="$HOME/.bin/eww"
|
||
|
|
||
|
if [[ "$1" == "--ff" ]]; then
|
||
|
${EWW} close-all && rm -rf "$FILE" && firefox &
|
||
|
|
||
|
elif [[ "$1" == "--tg" ]]; then
|
||
|
${EWW} close-all && rm -rf "$FILE" && telegram-desktop &
|
||
|
|
||
|
elif [[ "$1" == "--dc" ]]; then
|
||
|
${EWW} close-all && rm -rf "$FILE" && discord &
|
||
|
|
||
|
elif [[ "$1" == "--tr" ]]; then
|
||
|
${EWW} close-all && rm -rf "$FILE" && alacritty --working-directory ~ &
|
||
|
|
||
|
elif [[ "$1" == "--fm" ]]; then
|
||
|
${EWW} close-all && rm -rf "$FILE" && thunar ~ &
|
||
|
|
||
|
elif [[ "$1" == "--ge" ]]; then
|
||
|
${EWW} close-all && rm -rf "$FILE" && geany &
|
||
|
|
||
|
elif [[ "$1" == "--cd" ]]; then
|
||
|
${EWW} close-all && rm -rf "$FILE" && code &
|
||
|
|
||
|
elif [[ "$1" == "--gp" ]]; then
|
||
|
${EWW} close-all && rm -rf "$FILE" && gimp &
|
||
|
|
||
|
elif [[ "$1" == "--vb" ]]; then
|
||
|
${EWW} close-all && rm -rf "$FILE" && virtualbox &
|
||
|
|
||
|
fi
|