#!/bin/bash
-rofi_command="rofi -theme blackpearl/scrotmenu.rasi"
+rofi_command="rofi -theme darknix/scrotmenu.rasi"
### Options ###
screen=""
area=""
-window=""
# 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)
- sleep 1; i3-scrot
+ i3-scrot -d 3
;;
$area)
i3-scrot -s
;;
- $window)
- sleep 1; i3-scrot -u
- ;;
esac
-