From 5e08507e2c095ab58d089b2349fc94c752e5b3d0 Mon Sep 17 00:00:00 2001 From: Tio TROM Date: Wed, 2 Aug 2023 21:56:27 +0200 Subject: [PATCH] fix a bug that made HUD use 100% of the CPU --- layout-switcher | 1 + 1 file changed, 1 insertion(+) diff --git a/layout-switcher b/layout-switcher index 085fc4d..5cb9fc1 100644 --- a/layout-switcher +++ b/layout-switcher @@ -54,5 +54,6 @@ esac # Apply the XFCE panel profiles for the chosen layout xfce4-panel-profiles load "$profiles/$choice.tar.bz2" +killall mate-hud && setsid -f /usr/lib/mate-hud/mate-hud sleep 2.5 && notify-send "$choice layout was enabled"