Window Color Converter
+reallylastfix: One more comment; that's all.
This commit is contained in:
parent
1bc543e5d2
commit
9b9fa2c95f
|
@ -46,7 +46,7 @@ elif [ "$1" = "focused" ]; then
|
||||||
${compton_dbus}opts_set string:track_focus boolean:true &
|
${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
|
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
|
elif [ -n "$(${compton_dbus}list_win | grep -w "$1")" ]; then
|
||||||
window="$1"
|
window="$1" # Accept user-specified window-id if compton managed
|
||||||
else
|
else
|
||||||
echo "$0" "[ selected | focused | window-id ]"
|
echo "$0" "[ selected | focused | window-id ]"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue