From 879bff5f273b062f60918742f82fc61cb2efcfd2 Mon Sep 17 00:00:00 2001 From: Niklas Date: Mon, 22 Jun 2020 21:07:12 +0200 Subject: [PATCH] added comment to killscript --- .config/i3/killScript.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/i3/killScript.sh b/.config/i3/killScript.sh index 46cabf0..39ff598 100755 --- a/.config/i3/killScript.sh +++ b/.config/i3/killScript.sh @@ -1,5 +1,8 @@ #!/usr/bin/env bash # based on https://github.com/pastapojken/i3SteamOrKill +# required packages: +# - xdotool + winID=$(xdotool getactivewindow) winClass=$(xprop -id $winID WM_CLASS)