Giter Site home page Giter Site logo

weed's Introduction

weed - XChat based theme for irssi

Irssi GitHub contributors Twitter Follow

Designed to be the most beautiful irssi theme in the world.

Weed is a very unique irssi theme for those who just don't like the default blue or the themes available.

README in other languages

Table of contents

  1. Screenshots
  2. History
  3. Requirements
  4. Installation
    1. Please note after installing
    2. Optional tweaks
  5. Old changelog
  6. Contributing and troubleshooting

Screenshots

weed.theme on OS X Mavericks

weed.theme on tmux weed on tmux

weed.theme solarized weed solarized (thanks to @her)

History

Weed? Yeah, I have no idea where I got that name from (no, I am not smoking). I guess I was watching the grass grow. Around 2006 or 2007 I was frustrated with all the irssi themes I had tried and decided to start designing my own.

Weed was maybe fifth or sixth theme I did. When nothing pleased me, not even my own previous themes, finally the gem was born. I have not used any other irssi theme ever since. For me and many other users weed.theme is the best irssi theme there is.

Feel free to edit to your needs but I would be pleased if you credited or thanked me in some way! (for example /msg rolle at quakenet or rolle_ at IRCnet, remember to /whois if not sure!)

If you like it, follow me in twitter to know more about my projects (some of them IRC related).

Requirements

  • Linux or Unix shell
  • irssi (not tested on irssi for Windows)
  • wget
  • screen or tmux
  • git (optional)
  • solarized (optional)
  • nano/pico (you can also use vim, but the tutorial below is for nano)
  • Mac OS X Terminal, ExtraPuTTY for Windows or any command line interface with SSH or SSH tunneling
  • Perl >= 5.1.4

Installation

I am not responsible if you break your irssi setup, but the theme should be rather safe to install when following the instructions carefully.

  1. Make backup of your current irssi setup, if you have one, by cp -Rv ~/.irssi ~/.irssi-backup. If something goes wrong, you can easily restore it by quitting irssi and running rm -rf ~/.irssi && mv ~/.irssi-backup ~/.irssi and running irssi again.
  2. Make sure you are in your home directory by typing cd ~ and start irssi for the first time (assuming this is clean installation): screen irssi or if you prefer tmux, run tmux and then irssi
  3. In irssi, type /save
  4. You'll see default irssi theme (blue), but get back by pressing the key combination CTRL + A + D (CTRL + B, then D in tmux), for now
  5. Clone this repository by using command git clone https://github.com/ronilaukkarinen/weed.git weed-master or if you don't have permissions to run/install git, run following: wget --no-check-certificate https://github.com/ronilaukkarinen/weed/archive/master.tar.gz and unpack it using tar -xvf master.tar.gz
  6. Copy your theme of choice to .irssi folder by running cp ~/weed-master/weed.theme ~/.irssi/ or cp ~/weed-master/solarizedweed.theme ~/.irssi/
  7. Copy custom irssi scripts by running mkdir -p ~/.irssi/scripts && cp ~/weed-master/scripts/* ~/.irssi/scripts/
  8. Copy the custom config by running cp ~/weed-master/config ~/.irssi/
  9. Go back to irssi with screen -dr (tmux a in tmux) and type /reload.
  10. Run advanced windowlist by typing /script load adv_windowlist.
  11. You will need to edit your colors to get the final touch (in Linux it looks like in the picture below)

Color settings in Linux

In Putty only ANSI BLACK is required to be changed to 25 25 25.

Basically you are now done! You can connect to servers and do whatever you like. However...

Please note after installing

Because this is a modified config, your nick and name are yourname by default.

  1. Please change your nick by using /nick something and /set user_name something
  2. Set your real name with /set real_name Real Name.
  3. Remember to /save and /quit and start screen irssi / tmux again to the settings to come in effect.

Optional tweaks

Overall theme can be tweaked with useful scripts.

User count on channels

You can /script load usercount and /sbar awl_0 add -before awl_0 -alignment left usercount and get a nice usercount on the left. You can add alias for this by /alias usercount /sbar awl_0 add -before awl_0 -alignment left usercount so next time usercount is missing, just type /usercount.

Usercount

Track last read conversation with trackbar

/script load trackbar gets you nice bar to separate old and new conversations. If you like it to fit feed more instead of that default grey, run /set trackbar_string _ and /set trackbar_style %r to set it red.

Trackbar

Away state in status bar

If you'd like a weed awaybar (big red block in the right), you can add it by /script load awaybar and /sbar statusbar add -after erotin -alignment right awaybar commands.

Awaybar

Nicklist on the right side of the screen

If you prefer seeing nicks on the right side like in mIRC or other GUI clients, do this:

For screen

/script load nicklist and /nicklist screen (enables nicklist).

For tmux

/script load tmux-nicklist-portable. Currently tmux version of nicklist doesn't have any configuration and is by default 20% width of the window.

Each nick in different colors

To make nicks to distinct more from each other, nickcolor comes pretty handy.

/script load nickcolor. For screen and non-xterm-256color, run /set neat_colors X30rRX61X6CX3CyX1DcCBX3HX2AbMX3AX42X6M. For tmux and xterm-256color you are good to go and you can see colors with /neatcolor colors and add or remove them with /neatcolor colors add X30 (adds orangish). If you are interested more in 256 colors in irssi, please read the docs.

Nickcolor

Contributing and troubleshooting

If you have ideas about the theme or spot an issue, please let us know. If you have trouble setting the theme up, read this readme carefully again or open an issue.

weed's People

Contributors

her avatar kaneda avatar mizlan avatar ronilaukkarinen avatar steve-jokes avatar x70b1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

weed's Issues

Typo in README

trackbar22 in the README should just be trackbar. Just tried today and was curious why trackbar22 wasn't working. Not sure why that's there.

Display longer usernames

Currently the username that is displayed before the | is not long enough for "spacekookie" (which annoys me)

Is there a way to conveniently change that without manually digging through the entire theme and finding out?

Thanks

Improve repository

Tried this but my irssi got destroyed. is this still maintaind? or Should it still work?

Error in nicklist script

/script load nicklist

and got

Can't use 'defined(%hash)' (Maybe you should just omit the defined()?) at /home/user/.irssi/scripts/nicklist.pl line 487.

Versions:

$ pacman -Q perl irssi
perl 5.22.0-1
irssi 0.8.17-3

Nicks not right-aligned; nick not displayed

Using your theme, and everything seems to work except nicks aren't aligning to the right, which makes things look a lot more chaotic, and my own nick isn't being displayed at all.

I guess an image would be easier to see:
irssi woes

Statusbar

How do I get the statusbar to look like the one in your examples?

Mine currently is:

Also it's showing the topic from a slack chat instead of a channel name. Any ideas?

Change channel name color

I have changed the hilighting of the nick from red with white letters to magenta with white letters. Could you point me in the right place to change the channel name that's in red with white letters? Thank you

Solarized Weed

Hey Roni & irssi weed community, love the theme, it is the most beautiful one in the world. However I'm running into to some configuration issues.

Here's the theme currently:

screen shot 2015-08-01 at 12 27 09 pm

But you can see I'm missing a few elements as they blend with my background Solarized color. Notably the name breaks ( | ), timestamps, and channelserv. This is observable by highlighting the window:

screen shot 2015-08-01 at 12 27 47 pm

Following the advice on your blog Roni, adjusting terminal colors also fails to correct this issue as it unfortunately breaks other things, like vim, and shell colors. :(

I've tried modifying weed.theme which only resulted in me breaking everything, and having to restore from backup.

Any advice here? How can I go about editing the weed.theme for my solarized colors? I don't know any perl, but maybe if I can get pointed in the right direction, I can start slowly modifying the weed.theme to accommodate for solarized users, and maybe help contribute to a weed.theme in solarized.

Thoughts?

Thanks everyone

OS X 10.10.13 iTerm2

OP status etc

Hi there,

Just wondering how I can make the theme, which is awesome by the way, display the little symbols related with OP, voice etc (@, +) as I'm unable to distinguish who is who currently.

Cheers.

doesn't save script settings

I followed the readme for screen, but if I exit and restart a new screen session I have to rerun all scripts (optionals listed on readme) even if I /save often.

nickcolor not using all available colors

Hi,

I'm using one of Chris Kempson's Base16 themes, using this Xresources.

colors

/color preview output:
/color preview

As you can see, only the only colors being used by the theme or nicklist.pl (I'm not sure exactly where this takes place) are the bold/bright colors. It should be possible to use the entire range of my colorscheme for nickcolors.

Loving the theme otherwise.

Missing channel title

Suddenly the titles for my irc channels just disappeared: (in red)

I've got no idea what caused this - it was working fine, then i noticed it wasn't

The status window works as expected though.

/set trackbar_style %r gives error

When I set the trackbar_style to red, I get the following error:

-!- Irssi: Theme weed not found

I believe something is referencing "weed" rather than "weedsolarized" but I would have no idea where to find that to fix it myself.

No output for commands like /whois or /help

when I am in a channel I don't get output for commands like /help or /whois. /help works as long as I am not in a chanel (status).

Maybe it's me since I am still new to irc and irssi, but in the default theme both commands work

Can't get nickcolor.pl to work

I tried to get nickcolor.pl to work as per the steps given. I am using screen for irssi (v 0.8.17)

/script load nickcolor_expando is the step under https://github.com/ronilaukkarinen/weed#each-nick-in-different-colors but script is called nickcolor.pl. Did we miss something here ?

I tried running it with "/set nickcolor_colors rRyYbBmMcC" as in the perl script comments and it would show as value assigned. But colors for nicklist doesn't change. $TERM inside screen is screen-256color.

Not getting the boxes in the statusbar

I'm getting numbers instead of the boxes for the other channels, any idea on what I'm doing wrong?

$ irssi -v
irssi 0.8.15 (20100403 1617)
$ uname -a
Linux <snip> 3.15.4-x86_64-linode45 #1 SMP Mon Jul 7 08:42:36 EDT 2014 x86_64 GNU/Linux

irssi screenshot

How to get statusbar in README screenshot

image

In the image above, which code is responsible for making the row of neatly separated numbers and the channel name (#pulina)

I understand the leftmost user count number is usercount.pl but where is the rest? Using weed theme itself doesn't seem to provide this bar.

Any way to distinguish windows?

Lovely theme, thank you for your work!

Preface: new irssi user.

Is there an easy modification I could make which would show the different windows more clearly?
I like to have 2 channels open simultaneously, but there is no clear difference between them visually.
Not sure if I've messed something up in config or if this is intended behaviour.

image
☝️ as you see, those are two windows between lines at 00:25 and 00:14

Thanks for your time!

Anno Domini

00:00:00 * | Day changed! Still up? Today is 15. Apr, Anno Domino 2016.

I believe it's Anno Domini, not Anno Domino...

Add option to show channel names instead of numbers

Thanks for making this neat theme available. I would like to show the channel names instead of numbers, because I don't want to cycle through all windows just to find the one I'm looking for. Is there an option that switches from numeric style to one that shows the channel names instead?

Script Load Fails

Trying to load any scripts I receive the following errors -- not sure where to investigate:

/script load trackbar22 irssi: symbol lookup error: irssi: undefined symbol: Perl_Tstack_sp_ptr

Update outdated scripts

From Nei via irc.quakenet.org:

      I wanted to congrat on your weed theme for irssi + just raise 
      awareness that your copy of adv_windowlist is heavily outdated, and for 
      trackbar22 that can be found on google and nickcolor_expando script as an 
      alternative if 256 colour nick colours are desired, or tmux-nicklist-portable 
      for tmux users instead of screen users

How to enable window titles instead of numbers?

Which configuration variable controls what the title of the window are? I was hoping to have the names be present all of the time instead of the window number:

screen shot 2017-08-25 at 10 27 58 am

I poked through the irssi docs, but didn't see anything obvious that controls this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.