danix
's git repository
home
/
my projects
/
my-dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mass update.
[my-dotfiles.git]
/
bin
/
blackpearl-scrotmenu.sh
diff --git
a/bin/blackpearl-scrotmenu.sh
b/bin/blackpearl-scrotmenu.sh
old mode 100755
(executable)
new mode 100644
(file)
index
18bec3d
..
dbafcb7
--- a/
bin/blackpearl-scrotmenu.sh
+++ b/
bin/blackpearl-scrotmenu.sh
@@
-1,24
+1,19
@@
#!/bin/bash
#!/bin/bash
-rofi_command="rofi -theme
blackpearl
/scrotmenu.rasi"
+rofi_command="rofi -theme
darknix
/scrotmenu.rasi"
### Options ###
screen=""
area=""
### Options ###
screen=""
area=""
-window=""
# Variable passed to rofi
# Variable passed to rofi
-options="$screen\n$area
\n$window
"
+options="$screen\n$area"
chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 1)"
case $chosen in
$screen)
chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 1)"
case $chosen in
$screen)
- sleep 1; i3-scrot
+ i3-scrot -d 3
;;
$area)
i3-scrot -s
;;
;;
$area)
i3-scrot -s
;;
- $window)
- sleep 1; i3-scrot -u
- ;;
esac
esac
-