danix
's git repository
home
/
my projects
/
danixland-rofi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated all my files for rofi
[danixland-rofi.git]
/
scripts
/
darknix-scrotmenu.sh
diff --git
a/scripts/danixland-scrotmenu.sh
b/scripts/darknix-scrotmenu.sh
old mode 100644
(file)
new mode 100755
(executable)
similarity index 57%
rename from
scripts/danixland-scrotmenu.sh
rename to
scripts/darknix-scrotmenu.sh
index
e35f92a
..
dbafcb7
--- a/
scripts/danixland-scrotmenu.sh
+++ b/
scripts/darknix-scrotmenu.sh
@@
-1,24
+1,19
@@
#!/bin/bash
#!/bin/bash
-rofi_command="rofi -theme da
nixland
/scrotmenu.rasi"
+rofi_command="rofi -theme da
rknix
/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
-