mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-25 20:58:37 -06:00
Added hibernate-replacekde.sh
This commit is contained in:
parent
77428d55eb
commit
668eb798db
1 changed files with 11 additions and 0 deletions
11
hibernate-replacekde.sh
Normal file
11
hibernate-replacekde.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue