From 24819bf8902298ccc275d8c5bd8d126bd362cac4 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 24 Nov 2010 12:13:46 +0100 Subject: add remote irssi over screen support --- .config/awesome/awesome.lua | 3 ++- .config/rxvt-unicode/rxvt-unicode.xdefaults | 1 + .scripts/start_remote_irssi.sh | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 .scripts/start_remote_irssi.sh diff --git a/.config/awesome/awesome.lua b/.config/awesome/awesome.lua index 247f35d..f29dd91 100644 --- a/.config/awesome/awesome.lua +++ b/.config/awesome/awesome.lua @@ -218,7 +218,8 @@ globalkeys = awful.util.table.join( awful.key({ modkey, }, "a", function () awful.util.spawn(terminal .. " -e pa-sink-ctl" ) end), awful.key({ modkey, }, "w", function () awful.util.spawn("firefox") end), awful.key({ modkey, }, "p", function () awful.util.spawn("pidgin") end), - awful.key({ modkey, }, "n", function () awful.util.spawn(terminal .." -e wicd-curses") end), + awful.key({ modkey, }, "n", function () awful.util.spawn(terminal .. " -e wicd-curses") end), + awful.key({ modkey, }, "i", function () awful.util.spawn(terminal .. " -e " .. os.getenv("HOME") .. "/.scripts/start_remote_irssi.sh") end), awful.key({ }, "Print", function () awful.util.spawn("scrot") end), awful.key({ modkey, }, "Print", function () awful.util.spawn("scrot -s") end), diff --git a/.config/rxvt-unicode/rxvt-unicode.xdefaults b/.config/rxvt-unicode/rxvt-unicode.xdefaults index 20952b5..3b38b75 100644 --- a/.config/rxvt-unicode/rxvt-unicode.xdefaults +++ b/.config/rxvt-unicode/rxvt-unicode.xdefaults @@ -86,6 +86,7 @@ urxvt*urlLauncher: firefox urxvt*underlineUrls: true urxvt*matcher.button: 2 urxvt*cutchars: `'",;@&*=|?()<>[]{} +URxvt.urgentOnBell: true URxvt.tabbed.tabbar-fg: 15 URxvt.tabbed.tabbar-bg: 0 diff --git a/.scripts/start_remote_irssi.sh b/.scripts/start_remote_irssi.sh new file mode 100755 index 0000000..dd072d0 --- /dev/null +++ b/.scripts/start_remote_irssi.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +ssh netdirekt -t 'screen -xr irssi' +clear -- cgit