Window Color Converter

+reallylastfix: One more comment; that's all.
This commit is contained in:
Que Quotion 2014-01-06 23:46:55 +09:00
parent 1bc543e5d2
commit 9b9fa2c95f
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ elif [ "$1" = "focused" ]; then
${compton_dbus}opts_set string:track_focus boolean:true &
window=$(${compton_dbus}find_win string:focused | $SED -n 's/^[[:space:]]*'${type_win}'[[:space:]]*\([[:digit:]]*\).*/\1/p') # Query compton for the active window
elif [ -n "$(${compton_dbus}list_win | grep -w "$1")" ]; then
window="$1"
window="$1" # Accept user-specified window-id if compton managed
else
echo "$0" "[ selected | focused | window-id ]"
fi