blob: 57d3718ecfae5206a054aadb2d6b5db0506503f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#!/bin/bash
## Open Applications
FILE="$HOME/.cache/eww_launch.dashboard"
CFG="$HOME/.config/eww/dashboard"
EWW=`which eww`
close_dash() {
${EWW} --config "$CFG" close \
background profile system clock uptime music github \
reddit twitter youtube weather apps mail logout sleep reboot poweroff folders
rm -rf "$FILE"
}
if [[ "$1" == "--ff" ]]; then
close_dash && firefox &
elif [[ "$1" == "--tg" ]]; then
close_dash && telegram-desktop &
elif [[ "$1" == "--dc" ]]; then
close_dash && discord &
elif [[ "$1" == "--tr" ]]; then
close_dash && alacritty --working-directory ~ &
elif [[ "$1" == "--fm" ]]; then
close_dash && thunar ~ &
elif [[ "$1" == "--ge" ]]; then
close_dash && geany &
elif [[ "$1" == "--cd" ]]; then
close_dash && code &
elif [[ "$1" == "--gp" ]]; then
close_dash && gimp &
elif [[ "$1" == "--vb" ]]; then
close_dash && virtualbox &
fi
|