add script to toggle last notification
This commit is contained in:
@@ -64,3 +64,6 @@ bindd = SUPER, KP_Home, Switch to workspace 7, workspace, 7
|
||||
bindd = SUPER, KP_Up, Switch to workspace 8, workspace, 8
|
||||
bindd = SUPER, KP_Prior, Switch to workspace 9, workspace, 9
|
||||
|
||||
# I miss notifications a lot
|
||||
bindd = SUPER ALT, N, Toggle latest notification, exec, ~/.local/bin/toggle-last-notification
|
||||
|
||||
|
||||
8
dot_local/bin/executable_toggle-last-notification
Normal file
8
dot_local/bin/executable_toggle-last-notification
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ $(makoctl list) == '' ]]; then
|
||||
makoctl restore
|
||||
else
|
||||
makoctl dismiss
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user