diff options
author | Mateja <mail@matejamaric.com> | 2020-11-25 23:06:42 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-25 23:06:42 +0100 |
commit | b95adef425e3dab8abd0f9cff73dca1eb049b075 (patch) | |
tree | 2efea2d8878cea4ffbce2871586958012aea6a21 /stuff/scripts | |
parent | 10cabf9065964bfe6a3c163f5b45a7ec12f11b9e (diff) | |
download | dotfiles-b95adef425e3dab8abd0f9cff73dca1eb049b075.tar.gz dotfiles-b95adef425e3dab8abd0f9cff73dca1eb049b075.zip |
programs now managed by debian-setup
Diffstat (limited to 'stuff/scripts')
-rwxr-xr-x | stuff/scripts/mpd_show | 6 | ||||
-rwxr-xr-x | stuff/scripts/unmount-usb | 11 |
2 files changed, 0 insertions, 17 deletions
diff --git a/stuff/scripts/mpd_show b/stuff/scripts/mpd_show deleted file mode 100755 index 8d14a1d..0000000 --- a/stuff/scripts/mpd_show +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -raw="$(mpc)" -song=$(echo "$raw" | sed -n '1p') -time=$(echo "$raw" | sed -n '2p') -notify-send "$song" "$time" diff --git a/stuff/scripts/unmount-usb b/stuff/scripts/unmount-usb deleted file mode 100755 index c90dde4..0000000 --- a/stuff/scripts/unmount-usb +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -options=$(lsblk | grep /media/$USER | rev | cut -d ' ' -f 1 | rev) -[ -n "$options" ] && opt_num=$(echo "$options" | wc -l) || opt_num=0 -if [ $opt_num == 0 ]; then - notify-send "Nothing mounted!" -elif [ $opt_num == 1 ]; then - udiskie-umount "$options" -else - unmount_device=$(echo "$options" | dmenu -p "What device you want to unmount?") - [[ ! -z "$unmount_device" ]] && udiskie-umount "$unmount_device" -fi |