aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.scripts/menugrim
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2019-11-16 22:43:49 +0300
committerYaroslav <contact@yaroslavps.com>2019-11-16 22:43:49 +0300
commit6e63a198dc322091c1e55ebdf5e110ea06814fd1 (patch)
treee222e810349b00ffda395a5937711717900e3ed3 /dotfiles/.scripts/menugrim
parentfd219d720d260bbb4e8947b9255f8573e9447991 (diff)
downloadswayrice-6e63a198dc322091c1e55ebdf5e110ea06814fd1.tar.gz
swayrice-6e63a198dc322091c1e55ebdf5e110ea06814fd1.zip
bemenu scripts updated for new look
Diffstat (limited to 'dotfiles/.scripts/menugrim')
-rwxr-xr-xdotfiles/.scripts/menugrim2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.scripts/menugrim b/dotfiles/.scripts/menugrim
index 6575487..bc77c11 100755
--- a/dotfiles/.scripts/menugrim
+++ b/dotfiles/.scripts/menugrim
@@ -19,7 +19,7 @@ case "$1" in
--quick|-q)
grim $SCROT_DIR/fullscreen-"$(date '+%y%m%d-%H%M-%S').png"; notify_saved ;;
*)
- case "$(printf "a selected area\ncurrent window\nfull screen\na selected area (copy)\ncurrent window (copy)\nfull screen (copy)\n" | bemenu -l 6 -i -p "Screenshot which area?" $BEMENU_OPTIONS)" in
+ case "$(printf "a selected area\ncurrent window\nfull screen\na selected area (copy)\ncurrent window (copy)\nfull screen (copy)\n" | bemenu -l 6 -i -p "Screenshot which area?" --tf="$BEMENU_TF" --tb="$BEMENU_NB" --fb="$BEMENU_NB" --fn="$BEMENU_FN" --nb="$BEMENU_NB" --nf="$BEMENU_NF" --hf="$BEMENU_HF" --hb="$BEMENU_HB")" in
"a selected area") grim -g "$(slurp)" $SCROT_DIR/selected-"$(date '+%y%m%d-%H%M-%S').png"; notify_saved ;;
"current window") grim -g "$(swaygetcurrentwindow)" $SCROT_DIR/window-"$(date '+%y%m%d-%H%M-%S').png"; notify_saved ;;
"full screen") grim $SCROT_DIR/fullscreen-"$(date '+%y%m%d-%H%M-%S').png"; notify_saved ;;