Fix hrunorraise

Apparently window IDs can also be 6 characters long instead of 7.
This commit is contained in:
Tom Willemse 2015-11-21 23:38:33 +01:00
parent 311bbce4bf
commit 5f82d1e5dc

View file

@ -3,7 +3,7 @@
!#
(define client-regexp
(rx " " (submatch "0x" (= 7 hex))))
(rx " " (submatch "0x" (** 6 7 hex))))
(define current-client
(run/string (herbstclient -n attr clients.focus.winid)))