This commit is contained in:
Never Gude 2026-03-21 19:32:08 +01:00
parent 32af24f141
commit 7f859b3305
4 changed files with 19 additions and 5 deletions

View file

@ -132,9 +132,15 @@ function color_scheme
end
end
function restore_notifications
for i in (seq (count (string match -r 'Notification [0-9]' (makoctl history))))
makoctl restore
end
end
# Select sub menu
set options "󱂵 Open Location" "󰑴 Open WueCampus Course" "󰍬 Select Audio Source" "󰕾 Select Audio Sink" "󰂯 Select Bluetooth" "󰛳 Select Network" "󰔎 Color Scheme"
set options "󱂵 Open Location" "󰑴 Open WueCampus Course" "󰍬 Select Audio Source" "󰕾 Select Audio Sink" "󰂯 Select Bluetooth" "󰛳 Select Network" "󰔎 Color Scheme" "󰂚 Restore Notifications"
set input (menu $options)
switch $input
@ -162,4 +168,7 @@ switch $input
case $options[7]
color_scheme
case $options[8]
restore_notifications
end