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