feat(scripts): Removed Scripts which I don't use.
This commit is contained in:
1 parent
72b6efc817
commit
a05fbd8b2d
8 files changed
+303
-361
No files matched your search
@@ -1,5 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
######################################
|
||||
# #
|
||||
# Music #
|
||||
# #
|
||||
######################################
|
||||
|
||||
music(){
|
||||
# Directory for icons
|
||||
iDIR="$HOME/.config/swaync/icons"
|
||||
@@ -42,7 +48,12 @@ play_music() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Function for music controls
|
||||
######################################
|
||||
# #
|
||||
# Music Control #
|
||||
# #
|
||||
######################################
|
||||
|
||||
music_controls() {
|
||||
local choice="$1"
|
||||
|
||||
@@ -78,7 +89,6 @@ play_pause() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Main function
|
||||
# Main function
|
||||
main() {
|
||||
local is_music_playing=$(playerctl --player=mpv status 2>/dev/null)
|
||||
@@ -93,6 +103,11 @@ main() {
|
||||
fi
|
||||
}
|
||||
|
||||
######################################
|
||||
# #
|
||||
# Usage #
|
||||
# #
|
||||
######################################
|
||||
|
||||
while getopts "midnpks" flag; do
|
||||
case "${flag}" in
|
||||
|
||||
Reference in new issue
Block a user