From 668eb798db6b3e8d21f633459563489bf5719076 Mon Sep 17 00:00:00 2001 From: SinTan1729 Date: Sun, 27 Feb 2022 18:19:40 -0600 Subject: [PATCH] Added hibernate-replacekde.sh --- hibernate-replacekde.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 hibernate-replacekde.sh diff --git a/hibernate-replacekde.sh b/hibernate-replacekde.sh new file mode 100644 index 0000000..0d26b58 --- /dev/null +++ b/hibernate-replacekde.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +# This script replaces the Plasma sessions after waking up from hibernation. +# It's a temporary fix for the app menu breaking after waking up from hibernation. +# Have to place this script inside `/lib/systemd/system-sleep` and make it executable for it to work. + +case $1/$2 in + post/hibernate) + kwin_x11 --replace + ;; +esac