2

rc.xml keybindings for conky

view story
linux-howto

http://crunchbanglinux.org – I know people had asked for some automated way to get all of their keybindings into conky. Well I'm taking an xml class now and learning xquery, so I figured I'd whip something up:declare default element namespace "http://openbox.org/3.4/rc"; declare option saxon:output "method=text"; for $keybind in doc("rc.xml")/openbox_config/keyboard/keybind return concat("key: ", $keybind/@key/data(.), "		name: ", string-join($keybind/action/@name/data(.), ",&q (HowTos)