Skip to content

Instantly share code, notes, and snippets.

View vadimhite's full-sized avatar

Vadim vadimhite

View GitHub Profile
@vadimhite
vadimhite / kwin.sh
Created May 13, 2021 05:28 — forked from bodziek666/kwin.sh
systemd-sleep kwin hook
#!/bin/bash
#
# Restart kwin on resume after suspend
case "${1}" in
post)
KWIN_PID=$(pidof kwin)
KWIN_X11_PID=$(pidof kwin_x11)