mirror of
https://github.com/ksyasuda/rice.git
synced 2025-12-05 14:53:39 -08:00
updates
This commit is contained in:
34
eww/scripts/open_apps
Executable file
34
eww/scripts/open_apps
Executable file
@@ -0,0 +1,34 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user