Add a toggle command for the stylefile.

The patch adds some better formatting for the manpage too.

Thanks to Nick <suckless-dev@njw.me.uk> for the toggle patch!
This commit is contained in:
Christoph Lohmann
2013-02-16 16:18:05 +01:00
parent 3e972f8e2a
commit bd5bbb7fc3
3 changed files with 40 additions and 8 deletions
+1
View File
@@ -83,5 +83,6 @@ static Key keys[] = {
{ MODKEY|GDK_SHIFT_MASK,GDK_i, toggle, { .v = "auto-load-images" } },
{ MODKEY|GDK_SHIFT_MASK,GDK_s, toggle, { .v = "enable-scripts" } },
{ MODKEY|GDK_SHIFT_MASK,GDK_v, toggle, { .v = "enable-plugins" } },
{ MODKEY|GDK_SHIFT_MASK,GDK_m, togglestyle,{ 0 } },
};