aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/qar-scrotmenu.sh2
-rw-r--r--rofi/udt/screenshot.rasi9
2 files changed, 9 insertions, 2 deletions
diff --git a/bin/qar-scrotmenu.sh b/bin/qar-scrotmenu.sh
index 90aae41..0f1da97 100755
--- a/bin/qar-scrotmenu.sh
+++ b/bin/qar-scrotmenu.sh
@@ -11,7 +11,7 @@ area=""
# Variable passed to rofi
options="$screen\n$area"
-chosen="$(echo -e "$options" | "${rofi_command[@]}" -dmenu -selected-row 1)"
+chosen="$(echo -e "$options" | "${rofi_command[@]}" -dmenu -selected-row 1 -p '󰄀 Screenshot:')"
case $chosen in
$screen)
grimblast -w 3 -n -t png copysave active
diff --git a/rofi/udt/screenshot.rasi b/rofi/udt/screenshot.rasi
index 8748628..f3f8c4f 100644
--- a/rofi/udt/screenshot.rasi
+++ b/rofi/udt/screenshot.rasi
@@ -39,7 +39,7 @@ column {
card {
expand: false;
orientation: vertical;
- children: [ listview ];
+ children: [ prompt, listview ];
spacing: 20px;
padding: 24px;
background-color: @base;
@@ -48,6 +48,13 @@ card {
border-radius: 18px;
}
+/* The header, as in ssh.rasi: the prompt lifted out of the inputbar. */
+prompt {
+ font: "Noto Sans Bold 15";
+ text-color: @text;
+ padding: 0 4px;
+}
+
dummy {
expand: true;
}