[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue with keybind in autostart file.



I'm having an issue with my keybind for dmenu2, the following line in my autostart appears
to set up the keybind (it's listed in hc list_keybinds) but hitting Super+d has no effect.

hc keybind $Mod-d spawn dmenu_run -q -h 16 -fn "Ubuntu Mono-9" -nb black -nf white

The funny thing is if I run that exact command from a terminal (replacing $Mod with Mod4)
the keybind then works correctly. Any ideas?

My full autostart file can be found here[1] if needed, but it's pretty standard.

Comparing the output of hc list_keybinds | grep dme there's a difference in results between
the command run in my autostart and the command run in a terminal. First result is for the
non-functioning autostart, second is for the working terminal command. Note the extra space
added in the font declaration.

Mod4+d	spawn	dmenu_run	-q	-h	16	-fn	Ubuntu  Mono-10	-nb	black	-nf	white

Mod4+d	spawn	dmenu_run	-q	-h	16	-fn	Ubuntu Mono-10	-nb	black	-nf	white

[1] http://hastebin.com/pizobugebo.bash