aboutsummaryrefslogtreecommitdiffstats
path: root/bin/qar-scrotmenu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/qar-scrotmenu.sh')
-rwxr-xr-xbin/qar-scrotmenu.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/bin/qar-scrotmenu.sh b/bin/qar-scrotmenu.sh
deleted file mode 100755
index 0f1da97..0000000
--- a/bin/qar-scrotmenu.sh
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-# Screenshot menu, rofi themed by udt.
-# Copyright (C) 2026 Danilo M. <danix@danix.xyz>
-# Licensed under the GNU General Public License v2 only.
-
-rofi_command=(rofi -theme ~/.config/rofi/udt/screenshot.rasi)
-
-### Options ###
-screen=""
-area=""
-# Variable passed to rofi
-options="$screen\n$area"
-
-chosen="$(echo -e "$options" | "${rofi_command[@]}" -dmenu -selected-row 1 -p '󰄀 Screenshot:')"
-case $chosen in
- $screen)
- grimblast -w 3 -n -t png copysave active
- ;;
- $area)
- grimblast -n -t png copysave area
- ;;
-esac