From 26a8c6ced076b6a49b130deb4fe35d6707bebbae Mon Sep 17 00:00:00 2001 From: Wynn Wolf Arbor Date: Wed, 18 Mar 2020 19:46:52 +0100 Subject: Remove ssh menu There is no point in keeping this functionality. Saving a few key strokes is not worth the added complexity of the window manager parsing the known_hosts file. --- conf.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index 597dd79..633cc89 100644 --- a/conf.c +++ b/conf.c @@ -179,7 +179,6 @@ static const struct { { FUNC_SC(menu-cmd, menu_cmd, 0) }, { FUNC_SC(menu-group, menu_group, 0) }, - { FUNC_SC(menu-ssh, menu_ssh, 0) }, { FUNC_SC(menu-window, menu_client, CWM_MENU_WINDOW_ALL) }, { FUNC_SC(menu-window-hidden, menu_client, CWM_MENU_WINDOW_HIDDEN) }, { FUNC_SC(menu-exec, menu_exec, 0) }, @@ -211,7 +210,6 @@ static const struct { { "CM-Delete", "lock" }, { "M-question", "menu-exec" }, { "CM-w", "menu-exec-wm" }, - { "M-period", "menu-ssh" }, { "M-Return", "window-hide" }, { "M-Down", "window-lower" }, { "M-Up", "window-raise" }, @@ -319,7 +317,6 @@ conf_init(struct conf *c) home = "/"; } xasprintf(&c->conf_file, "%s/%s", home, ".cwmrc"); - xasprintf(&c->known_hosts, "%s/%s", home, ".ssh/known_hosts"); } void @@ -366,7 +363,6 @@ conf_clear(struct conf *c) free(c->color[i]); free(c->conf_file); - free(c->known_hosts); free(c->font); free(c->wmname); } -- cgit v1.2.3-2-gb3c3