aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-03-18 19:46:52 +0100
committerWolfgang Müller2021-04-27 12:28:35 +0200
commit26a8c6ced076b6a49b130deb4fe35d6707bebbae (patch)
tree171ed0f661c87273c629f413b64513f2e9d4e625 /conf.c
parenta0387a0fd66954e024c926655c866a3ab80e460f (diff)
downloadcwm-26a8c6ced076b6a49b130deb4fe35d6707bebbae.tar.gz
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.
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c4
1 files changed, 0 insertions, 4 deletions
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);
}