added notification history

This commit is contained in:
2026-06-01 19:51:43 +01:00
parent 488d02b971
commit 2fb46b4bb9

View File

@@ -93,6 +93,15 @@ with_argument = true
url_encode = true url_encode = true
unbind_proc = true unbind_proc = true
[[modules]]
description = "notify"
prefix = "dunst"
cmd = """
hyprctl dispatch 'hl.dsp.window.resize({x = 800, y = 500, window = activewindow})' &&
hyprctl dispatch 'hl.dsp.window.center({window = activewindow})'&&
dunstctl history | jq -r '.data[][] | [.appname.data, .summary.data, .body.data] | join(" ")' | fzf
"""
[[modules]] [[modules]]
description = "open folder" description = "open folder"
prefix = "path" prefix = "path"