.xbindkeysrc.scm

This commit is contained in:
Tom Willemsen 2012-03-11 11:08:03 +01:00
parent 4852b29ca7
commit 978613be50

View file

@ -90,9 +90,11 @@ the command."
(string-append "dmenu_pick -p 'Run:' " dmenu-args))) (string-append "dmenu_pick -p 'Run:' " dmenu-args)))
(prog (read-line file))) (prog (read-line file)))
(close-port file) (close-port file)
(if (string? prog)
(begin
(switch-to-tag prog) (switch-to-tag prog)
(run-command prog)) (run-command prog)))
(reset-main-binding)) (reset-main-binding)))
(define (kill-tag) (define (kill-tag)
"Kill a selected tag" "Kill a selected tag"