IRC RICing

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

IRC RICing

Unread post by dkeg » Fri Jul 04, 2014 6:13 pm

Because we can. Most of us here use either irssi or weechat. Both can be themed out with looks and scripts.

Irssi easily can be themed by adding .theme files and using either while inside a session with /load [theme.py] (use your tab completion), or have your theme load automatically with /SET theme [theme.py]. Look for a suitable theme here. Of course you can create your very own theme from scratch.

Weechat does allow for themes, but still in alpha stage, and there are limited available, but fwiw, you can find them here. You can also make your way through the ~/.weechat/weechat.conf file and make some changes piecemeal like. Caution though, weechat will re-write your new config, so I'd suggest, having weechat open, make some mods in the conf file, then /reload weechat. When you're happy, /save. Some areas to look for in weechat.conf, first and foremost, at least for me ...

Code: Select all

status.hidden
title.hidden
Finding cool pre-made themes is easy with your favorite search engine. Plenty out there and available for use or inspiration.

Lastly, for both clients, there are plenty of scripts available for adding functionality, for instance, notifications. Irssi has a scripts section in their website. You can also bring in a bunch with

Code: Select all

apt-get install irssi-scripts
which iirc, install to /usr/share/irssi/. You can copy over the ones you want, or all, or symlink them to ~/.irssi/scripts. Installing scripts manually, as needed, you would install to ~/.irssi/scripts/ and if you want to load any automatically, you can symlink them to ~/.irssi/autoload/

Code: Select all

ln -s ~/.irssi/scripts/<script> ~/.irssi/autoload/
weechat does it a bit different, as they have scripts in various languages; ruby, perl, lua, python, and subsequently have corresponding directories w/in ~/.weechat/. Each specific directory has an autoload sub-directory, of which you could do the same as described in the irssi section.

Anyway, so I'll leave it there.
Enjoy!
Edit: IRC client in scrot is weechat.
Edit2: IRC client discrimination was not intentional.
ircing.png

Work hard; Complain less

User avatar
Alad
should take a shower
Posts: 447
Joined: Wed May 21, 2014 12:52 am

Re: IRC RICing

Unread post by Alad » Fri Jul 04, 2014 7:29 pm

Good stuff.

HexChat themes here:

http://hexchat.github.io/themes.html

Simply extract them to your config folder, e.g

Code: Select all

$ cd ~/.config/hexchat
$ wget http://dl.hexchat.net/themes/Fedora.hct
$ unzip Fedora.hct
This will overwrite your existing theme. Restart HexChat to apply the changes.
It's funny how we used to be able to do real stuff with rudimentary computers, but now we can't. -- ratcheer

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: IRC RICing

Unread post by machinebacon » Fri Jul 04, 2014 11:29 pm

Just dropping in a few IRC clients we have in the repos, apart from hexchat, irssi and weechat:

epic4/5 *
ircii
sic
tinyirc *
lostirc
scrollz
bitlbee *%
smuxi *
loqui
f-irc *
ekg2 *%
centerim *%
barnowl %
ayttm %
kvirc
konversation
quassel
xchat *
finch *%
pidgin et al. *%
some emacs IRC clients

Now that's what we can call choice. Those marked with * I tried already without digging into the config. Hope we can fill up that gap :) BTW, some of them are multi-protocol (%) so they could be interesting for those who have jabber/xmpp, MSN or so.
..gnutella..

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: IRC RICing

Unread post by dkeg » Sat Jul 05, 2014 12:14 am

Really is quite amazing how many are available. That's why I edited my OP to mention I did not intend to discriminate.

Work hard; Complain less

User avatar
Dr_Chroot
Alfalfa
Posts: 1100
Joined: Mon Jun 09, 2014 9:49 pm
Location: among the sagebrush
Contact:

Re: IRC RICing

Unread post by Dr_Chroot » Sat Jul 05, 2014 12:52 am

Hmm... it looks like I will have an irc-filled weekend! Perhaps I will break down and open a Jabber account.
Fight internet censorship.
EFF | Tor Project | Bitcoin

"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden

User avatar
DebianJoe
Frame Buffer
Posts: 1915
Joined: Mon Jul 01, 2013 5:41 am
Location: emacs.d

Re: IRC RICing

Unread post by DebianJoe » Sat Jul 05, 2014 5:38 am

Ok, so I'm one of that "numerous emacs clients (erc)" group, but with the fact that you can use python to script for irssi, I'm really tempted to give it a fair chance.

Cool stuff Drew.
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

User avatar
kexolino
Common Boob
Posts: 557
Joined: Sun Jun 16, 2013 1:57 pm

Re: IRC RICing

Unread post by kexolino » Fri Jul 11, 2014 9:15 am

WeeChat here:

Relevant lines from config:

Code: Select all

buffer_time_format = "%H:%M"
prefix_join = ">>>"
prefix_quit = "<<<"
prefix_suffix = "│" 
window_title = "WeeChat"
chat_prefix_suffix = black
separator = black
input.items = ">>,input_text"
nicklist.separator = off 
status.hidden = on
status.separator = off 
title.hidden = on
title.separator = off
Attachments
weechat.png

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: IRC RICing

Unread post by wuxmedia » Fri Jul 11, 2014 10:16 am

thanks Kexolino
If you'd like notifications - dkeg has also posted this gem, with a pointer how to use weechat notifications with dunst:
http://linuxbbq.org/bbs/viewtopic.php?f ... 21&p=18562
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: IRC RICing

Unread post by dkeg » Fri Jul 11, 2014 12:57 pm

Looking good kex, thanks for sharing.

@wux, I actually just changes up my dunstrc the other night. I'll post it up later tonight.

Work hard; Complain less

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: IRC RICing

Unread post by wuxmedia » Fri Jul 11, 2014 1:07 pm

^ cool, i could do with a new one, left it with the default one.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
Alad
should take a shower
Posts: 447
Joined: Wed May 21, 2014 12:52 am

Re: IRC RICing

Unread post by Alad » Sat Jul 12, 2014 3:04 am

It's funny how we used to be able to do real stuff with rudimentary computers, but now we can't. -- ratcheer

pidsley
Hermit
Posts: 2539
Joined: Wed Oct 17, 2012 12:31 pm

Re: IRC RICing

Unread post by pidsley » Sat Jul 12, 2014 3:17 am

^ Does this work with other window managers?

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: IRC RICing

Unread post by dkeg » Sat Jul 12, 2014 3:31 am

Looks to be the same as MB and i discussed elsewhere. Works for MB but for me i have not had luck. I seem to have some issue with perl, or at least according to irssi.

Work hard; Complain less

User avatar
Alad
should take a shower
Posts: 447
Joined: Wed May 21, 2014 12:52 am

Re: IRC RICing

Unread post by Alad » Sat Jul 12, 2014 3:46 am

Didn't know this was mentioned elsewhere (though this isn't a perl extension, I think?); for me it works in i3, at least for "alad:", not "alad" in the middle of a sentence.
It's funny how we used to be able to do real stuff with rudimentary computers, but now we can't. -- ratcheer

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: IRC RICing

Unread post by machinebacon » Sat Jul 12, 2014 5:26 am

drew, for me the notify.pl works in dunst, but nothing else :) had a session with titan in a private convo, it notified me after every message from him, and it worked for him, too. If you want to test, let me know
..gnutella..

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: IRC RICing

Unread post by dkeg » Sat Jul 12, 2014 12:30 pm

cool thanks, but no worries for now, I'm happy with weechat at the moment, especially now that its not so fugly.

Work hard; Complain less

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: IRC RICing

Unread post by dkeg » Sun Aug 03, 2014 3:07 am

changed the notify.rb to use bar instead of dunst. This was in conjunction with changing my battery notification script.

Work hard; Complain less

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: IRC RICing

Unread post by dkeg » Sun Aug 24, 2014 11:24 pm

wow, so seems weechat took a huge leap.

Code: Select all

weechat (0.4.3-4 => 1.0-1)
   weechat-core (0.4.3-4+b1 => 1.0-1)
   weechat-curses (0.4.3-4+b1 => 1.0-1)
   weechat-plugins (0.4.3-4+b1 => 1.0-1)
Took a quick read through some of the new items, nothing seemingly overly special.

Work hard; Complain less

User avatar
dkeg
Configurator
Posts: 3782
Joined: Sun Nov 18, 2012 9:23 pm
Location: Mid-Atlantic Grill

Re: IRC RICing

Unread post by dkeg » Sun Aug 31, 2014 5:56 pm

looking for help to get notify.pl working with irssi
I have perl, libnotify-bin, notify.pl. you know all the easy stuff. Just troubleshooting what I may be missing, for example, do I need libconfig-auto-perl? When I start irssi, says it loads perl, but if I /load perl, the autocomplete does not show perl, I just type it, and it says its already loaded.
no emergency, no rush, weechat notifications work, just curious. I'd like to just get it sorted, you know?

thanks,

Work hard; Complain less

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: IRC RICing

Unread post by machinebacon » Sun Aug 31, 2014 6:34 pm

Did you pull in irssi-scripts and libwww-perl?

(edit: I mentioned irssi-scripts because it does have the notify.pl inside, IIRC)
..gnutella..

Post Reply