diff options
| author | Akshay Nair <phenax5@gmail.com> | 2021-04-11 14:06:02 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2021-04-11 14:06:02 +0530 |
| commit | 460484c51abd35388be154b65450227153474ba8 (patch) | |
| tree | e9ce4e6346f1c08c03d743b2dfa6228543db1240 /scripts/commands/:break | |
| parent | 5d40bd31a395507fccafcc6ef9526b4649993c68 (diff) | |
| download | nixos-config-460484c51abd35388be154b65450227153474ba8.tar.gz nixos-config-460484c51abd35388be154b65450227153474ba8.zip | |
changes commands menu items
Diffstat (limited to 'scripts/commands/:break')
| -rwxr-xr-x | scripts/commands/:break | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/commands/:break b/scripts/commands/:break deleted file mode 100755 index e6bde66..0000000 --- a/scripts/commands/:break +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash - -reason=`echo -n "" | dmenu -p "Reason for break ::"`; - -operation=`[[ "$reason" =~ ^- ]] && echo "stop" || echo "start"`; - -reason=`echo $reason | sed 's/^-//g'`; -([[ -z "$reason" ]]) && exit 1; - -if (ponos "$operation" "$reason"); then - notify-send "Break ${operation}ed"; -else - notify-send -u critical "Something went wrong"; -fi; |
