aboutsummaryrefslogtreecommitdiffstats
path: root/notifications/notify-actions.sh
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-27 18:14:14 +0200
committerDanilo M. <danix@danix.xyz>2026-09-27 18:14:14 +0200
commit9b83656e3e3d164fc75bbf679cf32357375660c4 (patch)
treea96a65f53b82141758ff0df38dfb6c7fbfb281fb /notifications/notify-actions.sh
parentf280c8171cfe9c40fabe5aa6ed3fd4f13e5f9b21 (diff)
downloadquickshell-9b83656e3e3d164fc75bbf679cf32357375660c4.tar.gz
quickshell-9b83656e3e3d164fc75bbf679cf32357375660c4.zip
fix(notifications): theme the action picker with udt
notify-actions.sh called rofi with no -theme, so clicking a notification that carries actions opened rofi in its stock theme instead of the udt one every other menu uses. Pass ~/.config/rofi/udt/menu.rasi, the small fixed-options layout the screenshot and notes menus already use. menu.rasi shows only the listview, so the "Notification" prompt and the filter input are not drawn; a notification's actions are few enough that picking from the list is enough. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'notifications/notify-actions.sh')
-rwxr-xr-xnotifications/notify-actions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/notifications/notify-actions.sh b/notifications/notify-actions.sh
index 651275c..0c49c6b 100755
--- a/notifications/notify-actions.sh
+++ b/notifications/notify-actions.sh
@@ -29,7 +29,8 @@ while [[ $# -ge 2 ]]; do
shift 2
done
-choice="$(printf '%s\n' "${labels[@]}" | rofi -dmenu -i -p "Notification")"
+choice="$(printf '%s\n' "${labels[@]}" | rofi -dmenu -i -p "Notification" \
+ -theme "$HOME/.config/rofi/udt/menu.rasi")"
[[ -n "$choice" ]] || exit 0
for i in "${!labels[@]}"; do