commit a26e0fb8366b2fb703acedf78b07fc98b675d004
parent 06392903e53f8b846f9cd438db0fa6927f8d05b8
Author: deurzen <m.deurzen@tum.de>
Date: Sat, 5 Feb 2022 23:05:24 +0100
adds dunstctl commands
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/core/model.cc b/src/core/model.cc
@@ -623,6 +623,15 @@ Model::Model(Connection& conn)
{ { Key::MicMute, {} },
CALL_EXTERNAL(amixer -D pulse sset Capture toggle)
},
+ { { Key::Space, { Ctrl } },
+ CALL_EXTERNAL(dunstctl close)
+ },
+ { { Key::Space, { Ctrl, Shift } },
+ CALL_EXTERNAL(dunstctl close-all)
+ },
+ { { Key::Comma, { Ctrl, Shift } },
+ CALL_EXTERNAL(dunstctl history-pop)
+ },
{ { Key::Return, { Main } },
CALL_EXTERNAL(alacritty)
},