mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2025-07-04 19:19:41 +03:00
Remove unused files
This commit is contained in:
@ -1,11 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
menu="$1"
|
||||
|
||||
if [ "$menu" = "music" ]; then
|
||||
rofi -modi 'Music:~/scripts/rofi/music.sh' -show Music -theme music-launcher
|
||||
elif [ "$menu" = "appmenu" ]; then
|
||||
rofi -show drun -theme clean
|
||||
elif [ "$menu" = "powermenu" ]; then
|
||||
rofi -modi 'Powermenu:~/scripts/rofi/powermenu.sh' -show Powermenu -theme powermenu -location 3 -xoffset -24 -yoffset 70
|
||||
fi
|
@ -1,24 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
MUSIC="$HOME/music"
|
||||
|
||||
|
||||
function get_music() {
|
||||
IFS=$'\n'
|
||||
for i in $(ls "$MUSIC" | grep -v 'thumbs'); do
|
||||
name="${i%.*}"
|
||||
echo -en "${i}\0icon\x1f${MUSIC}/thumbs/${name}.png\n"
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
if [ -z "$@" ]; then
|
||||
echo -en "Shuffle\0icon\x1fmedia-playlist-shuffle\n"
|
||||
get_music
|
||||
else
|
||||
if [ "$1" = "Shuffle" ]; then
|
||||
$HOME/scripts/music/mpv-controller.sh start shuffle &
|
||||
else
|
||||
$HOME/scripts/music/mpv-controller.sh start "${MUSIC}/$1" &
|
||||
fi
|
||||
fi
|
@ -1,19 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
if [ -z "$@" ]; then
|
||||
echo -en "Shutdown\0icon\x1fsystem-shutdown\n"
|
||||
echo -en "Logout\0icon\x1fsystem-log-out\n"
|
||||
echo -en "Suspend\0icon\x1fsystem-suspend\n"
|
||||
echo -en "Reboot\0icon\x1fsystem-restart\n"
|
||||
else
|
||||
if [ "$1" = "Shutdown" ]; then
|
||||
shutdown now
|
||||
elif [ "$1" = "Logout" ]; then
|
||||
i3-msg exit
|
||||
elif [ "$1" = "Reboot" ]; then
|
||||
reboot
|
||||
elif [ "$1" = "Suspend" ]; then
|
||||
systemctl suspend
|
||||
fi
|
||||
fi
|
Reference in New Issue
Block a user