Add claude notifications

This commit is contained in:
2026-05-28 09:49:25 +02:00
parent fb8fda864f
commit 09b08492ba
2 changed files with 28 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
{
"theme": "dark",
"hooks": {
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "notify-send 'Claude' 'Task complete' --icon=dialog-information 2>/dev/null || true"
}
]
}
],
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "msg=$(jq -r '.message // \"Needs your input\"' 2>/dev/null || echo 'Needs your input'); notify-send 'Claude needs input' \"$msg\" --icon=dialog-question 2>/dev/null || true"
}
]
}
]
}
}
+3
View File
@@ -29,3 +29,6 @@ configlink polybar
configlink picom.conf
configlink niri
configlink noctalia
checkdir ~/.claude
link ~/.claude/settings.json ~/.dotfiles/claude/settings.json