-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathcodeverse-menu.sh
More file actions
executable file
·82 lines (79 loc) · 2.9 KB
/
codeverse-menu.sh
File metadata and controls
executable file
·82 lines (79 loc) · 2.9 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#!/usr/bin/env bash
SCRIPTS_DIR="$HOME/.config/rofi/scripts"
# // -- If no argument is provided, list the options -- //
if [ -z "$@" ]; then
echo -en "\0prompt\x1fCodeVerse Linux\n"
echo -en " Applications\n"
echo -en " Windows\n"
echo -en " Wallpaper Selector\n"
echo -en " Keybinds\n"
echo -en " Clipboard\n"
echo -en " Emoji Selector\n"
echo -en " Calculator\n"
echo -en " WiFi Manager\n"
echo -en "⚙ Configs\n"
echo -en " Volume Controller\n"
echo -en " Brightness Controller\n"
echo -en "⏻ Power Menu\n"
echo -en " Take Screenshot\n"
echo -en " Screen Recorder\n"
echo -en " SSH/Run\n"
echo -en " Notification Options\n"
echo -n " Battery Options"
else
# // -- Handle the selection -- //
case "$@" in
" Applications")
coproc ( rofi -show drun > /dev/null 2>&1 )
;;
" Windows")
coproc ( rofi -show window > /dev/null 2>&1 )
;;
" Wallpaper Selector")
coproc ( "$SCRIPTS_DIR/rofi-wallpaper-selector.sh" > /dev/null 2>&1 )
;;
" Keybinds")
coproc ( "$SCRIPTS_DIR/rofi-keybind-menu.sh" > /dev/null 2>&1 )
;;
" Clipboard")
coproc ( "$SCRIPTS_DIR/rofi-clipboard.sh" > /dev/null 2>&1 )
;;
" Emoji Selector")
coproc ( "$SCRIPTS_DIR/rofi-emoji-selector.sh" > /dev/null 2>&1 )
;;
" Calculator")
coproc ( "$SCRIPTS_DIR/rofi-calculator.sh" > /dev/null 2>&1 )
;;
" WiFi Manager")
coproc ( "$SCRIPTS_DIR/rofi-wifi-menu.sh" > /dev/null 2>&1 )
;;
"⚙ Configs")
coproc ( "$SCRIPTS_DIR/rofi-configs-menu.sh" > /dev/null 2>&1 )
;;
" Volume Controller")
coproc ( "$SCRIPTS_DIR/rofi-volume-selector.sh" > /dev/null 2>&1 )
;;
" Brightness Controller")
coproc ( "$SCRIPTS_DIR/rofi-brightness-selector.sh" > /dev/null 2>&1 )
;;
"⏻ Power Menu")
coproc ( "$SCRIPTS_DIR/rofi-powermenu.sh" > /dev/null 2>&1 )
;;
" Take Screenshot")
coproc ( "$SCRIPTS_DIR/rofi-screenshot-menu.sh" > /dev/null 2>&1 )
;;
" Screen Recorder")
coproc ( "$SCRIPTS_DIR/rofi-screen-recorder-menu.sh" > /dev/null 2>&1 )
;;
" SSH/Run")
coproc ( rofi -show run > /dev/null 2>&1 )
;;
" Notification Options")
coproc ( "$SCRIPTS_DIR/rofi-notification-menu.sh" > /dev/null 2>&1 )
;;
" Battery Options")
coproc ( "$SCRIPTS_DIR/rofi-battery-power-menu.sh" > /dev/null 2>&1 )
;;
esac
fi
# Made by community manager MHIA(MHashir09)