From: martin f. krafft Date: Wed, 27 Mar 2013 09:32:14 +0000 (+0100) Subject: use mosh for irc session X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/7b424d353216fb6ed7eda3a0653c12de1003679a?ds=inline use mosh for irc session --- diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 2f556b1..99cc970 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -472,7 +472,7 @@ globalkeys = awful.util.table.join(globalkeys, awful.key({ cmdmodkey }, "g", function () awful.util.spawn("gscan2pdf") end), awful.key({ cmdmodkey }, "o", function () awful.util.spawn("okular") end), awful.key({ cmdmodkey }, "l", function () awful.util.spawn("libreoffice") end), - awful.key({ cmdmodkey }, "i", function () awful.util.spawn(terminal .. " -title irc -name irc -e ssh -Snone -t irc screen -dr irc") end), + awful.key({ cmdmodkey }, "i", function () awful.util.spawn(terminal .. " -title irc -name irc -e mosh --ssh='ssh -t' irc -- screen -dr irc") end), awful.key({ cmdmodkey }, "x", function () awful.util.spawn_with_shell("/sbin/start-stop-daemon --start --background --exec /usr/bin/xscreensaver; xscreensaver-command -lock") end), awful.key({ cmdmodkey, "Shift" }, "x", function () awful.util.spawn("xscreensaver-command -exit") end), awful.key(nil, "XF86ScreenSaver", function () awful.util.spawn("xset dpms force off") end)