aboutsummaryrefslogtreecommitdiffstats
path: root/bin/qar-scrotmenu.sh
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-18 11:44:56 +0200
committerDanilo M. <danix@danix.xyz>2026-10-18 11:44:56 +0200
commit97a5fc27e011c024393c3b1610f044f3c751bd91 (patch)
treeb4167224de53db10c2d44abcffbc48c303e42171 /bin/qar-scrotmenu.sh
parent140e0f906a9e8566b26267d84eb0aa1a7e2f0d94 (diff)
downloadunified-desktop-theme-97a5fc27e011c024393c3b1610f044f3c751bd91.tar.gz
unified-desktop-theme-97a5fc27e011c024393c3b1610f044f3c751bd91.zip
feat(rofi): shared wallpaper header for the searchable layouts
The ssh menu's banner, title plate and plated search bar move into header.rasi, which ssh.rasi, list.rasi and grid.rasi import, so every searchable menu gets the same header with its -p as the title. The banner's @WPAPER@ now lives in header.rasi, so that file is generated and ssh.rasi is linked again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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