i3situation - alternative to i3status

Forum rules
General talk about software - if the program is not in the repos, please links to the developer's page or github.
User avatar
wei2912
runs Stable
Posts: 36
Joined: Wed Jun 18, 2014 7:59 pm
Location: Singapore

i3situation - alternative to i3status

Unread post by wei2912 » Sat Jun 21, 2014 8:50 am

I recently found i3situation at https://github.com/HarveyHunt/i3situation which seems like a pretty good alternative to i3status.

I currently have the following config file:

Code: Select all

[general]
interval = 1
logging_level = ERROR
log_file = ~/.config/i3situation/log.txt

[reddit]
plugin = reddit
mode = front
username = wei2912
password = <HIDDEN>
interval = 60

[time]
plugin = date_time
time_zone = Singapore
Attached a screenshot of what this config looks like.

I think this has potential if people are willing to help code up plugins. The plugins are in Python and really easy to work with. Also, configuration is almost painless.

Some ideas:
  • the reddit plugin could launch a browser with the specified URL on click
  • weather plugin
I'm curious to see what people here might come up with. :)
Attachments
2014-06-21-154537_1360x768_scrot.png
Last edited by wei2912 on Sat Jun 21, 2014 9:16 am, edited 1 time in total.
GitHub || Blog

"Don't blindly believe what I say. Don't believe me because others convince you of my words. Don't believe anything you see, read, or hear from others, whether of authority, religious teachers or texts." - Buddha

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

Re: i3situation - alternative to i3status

Unread post by wuxmedia » Sat Jun 21, 2014 9:05 am

hmm, interesting.... Thanks for the post!
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
wei2912
runs Stable
Posts: 36
Joined: Wed Jun 18, 2014 7:59 pm
Location: Singapore

Re: i3situation - alternative to i3status

Unread post by wei2912 » Sat Jun 21, 2014 9:14 am

I went further to take a look at what the Reddit plugin can go, and now I have a nice news feed.

Code: Select all

[general]
interval = 1
logging_level = ERROR
log_file = ~/.config/i3situation/log.txt

[worldnews]
plugin = reddit
username = wei2912
password = <HIDDEN>

mode = subreddit
subreddits = worldnews
format = title

[time]
plugin = date_time
time_zone = Singapore
Screenshot attached, as always.
Attachments
2014-06-21-161431_1360x768_scrot.png
GitHub || Blog

"Don't blindly believe what I say. Don't believe me because others convince you of my words. Don't believe anything you see, read, or hear from others, whether of authority, religious teachers or texts." - Buddha

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: i3situation - alternative to i3status

Unread post by rhowaldt » Sun Jun 22, 2014 4:01 pm

cool. how about an avatar Mr Meadow?
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

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

Re: i3situation - alternative to i3status

Unread post by dkeg » Sun Jun 22, 2014 5:07 pm

let's give him one.

Thanks for sharing.

Work hard; Complain less

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

Re: i3situation - alternative to i3status

Unread post by machinebacon » Sun Jun 22, 2014 5:16 pm

^ done :D
..gnutella..

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

Re: i3situation - alternative to i3status

Unread post by dkeg » Sun Jun 22, 2014 5:49 pm

Perfect!

Work hard; Complain less

User avatar
wei2912
runs Stable
Posts: 36
Joined: Wed Jun 18, 2014 7:59 pm
Location: Singapore

Re: i3situation - alternative to i3status

Unread post by wei2912 » Mon Jun 23, 2014 7:18 am

Thanks for the avatar :D
GitHub || Blog

"Don't blindly believe what I say. Don't believe me because others convince you of my words. Don't believe anything you see, read, or hear from others, whether of authority, religious teachers or texts." - Buddha

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: i3situation - alternative to i3status

Unread post by rhowaldt » Mon Jun 23, 2014 8:49 am

^ looks good on you! :D
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
kiiroitori
dpkg-reconfigure
Posts: 72
Joined: Tue Aug 27, 2013 12:22 pm

Re: i3situation - alternative to i3status

Unread post by kiiroitori » Thu Jun 26, 2014 11:24 pm

Thanks for this wei2912 (great avatar by the way!),
I thought I'd bloat a bit my i3 set-up so I gave it a try. I couldn't change the time format without getting an error though so I am back to a bar-free i3 but I might give this another try later. I followed the instructions on the source page so I guess it is a bug rather than a mistake on my side but I am not sure. Anyway, thanks for your post!

User avatar
wei2912
runs Stable
Posts: 36
Joined: Wed Jun 18, 2014 7:59 pm
Location: Singapore

Re: i3situation - alternative to i3status

Unread post by wei2912 » Fri Jun 27, 2014 2:45 pm

kiiroitori wrote:Thanks for this wei2912 (great avatar by the way!),
I thought I'd bloat a bit my i3 set-up so I gave it a try. I couldn't change the time format without getting an error though so I am back to a bar-free i3 but I might give this another try later. I followed the instructions on the source page so I guess it is a bug rather than a mistake on my side but I am not sure. Anyway, thanks for your post!
What's the time format you used?
GitHub || Blog

"Don't blindly believe what I say. Don't believe me because others convince you of my words. Don't believe anything you see, read, or hear from others, whether of authority, religious teachers or texts." - Buddha

User avatar
kiiroitori
dpkg-reconfigure
Posts: 72
Joined: Tue Aug 27, 2013 12:22 pm

Re: i3situation - alternative to i3status

Unread post by kiiroitori » Wed Jul 02, 2014 12:48 pm

I tried short_format=%H%M and some other variations with no luck. Did you manage to use a different format than the default one?

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

Re: i3situation - alternative to i3status

Unread post by Alad » Fri Jul 04, 2014 10:57 pm

[topic derail]

Here's a similar alternative; not as extensible, but it's in C! ;)

https://github.com/lynix/mi3stat

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

User avatar
harveyhunt
Haxxor
Posts: 125
Joined: Mon Jul 07, 2014 3:06 am
Contact:

Re: i3situation - alternative to i3status

Unread post by harveyhunt » Mon Jul 07, 2014 3:12 am

Hello everyone, I am glad to see that you're interested in i3situation- I am the developer of it and would love to hear some ideas that you have.

Wei2912 has already helped out with some code (I responded to your issue the other day with a new commit- try it out).

kiiroitori I am sorry that it didn't work out for you first time- could you send me the error message etc? Might be a good idea to file an issue on github so that we can make sure we get it sorted. :)

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

Re: i3situation - alternative to i3status

Unread post by machinebacon » Mon Jul 07, 2014 4:37 am

Hello Harvey, welcome to the grill and thank you for i3situation :)
..gnutella..

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: i3situation - alternative to i3status

Unread post by rhowaldt » Mon Jul 07, 2014 1:28 pm

welcome tot he BBQ, and thanks for devving so nicely with all the support and whatnot :)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
harveyhunt
Haxxor
Posts: 125
Joined: Mon Jul 07, 2014 3:06 am
Contact:

Re: i3situation - alternative to i3status

Unread post by harveyhunt » Mon Jul 07, 2014 8:33 pm

Thanks guy, what a nice welcome. :)
I will be honest, I hadn't heard of LinuxBBQ before but it seems awesome- I will definitely post on here when I finish up some more projects.

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

Re: i3situation - alternative to i3status

Unread post by dkeg » Mon Jul 07, 2014 10:58 pm

Right on Harvey, and welcome.

Work hard; Complain less

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: i3situation - alternative to i3status

Unread post by rhowaldt » Tue Jul 08, 2014 9:08 am

^^ we try to keep low-key. popularity attracts idiots ;)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

User avatar
kiiroitori
dpkg-reconfigure
Posts: 72
Joined: Tue Aug 27, 2013 12:22 pm

Re: i3situation - alternative to i3status

Unread post by kiiroitori » Tue Jul 08, 2014 1:39 pm

harveyhunt wrote: kiiroitori I am sorry that it didn't work out for you first time- could you send me the error message etc? Might be a good idea to file an issue on github so that we can make sure we get it sorted. :)
No worries! I found out that most of the bugs in softwares come actually from me not reading properly the man page/documentation...

It stops working when I added the short_format line:

Code: Select all

[general]
interval = 1
logging_level = ERROR
log_file = ~/.config/i3situation/log.txt

[time]
plugin = date_time
short_format=%H:%M:%S
color = #FFFFFF
About the error message, I get a "Error: status_command process exited unexpectedly (exit 1)", which doesn't tell you nothing so I attached the log file.
log.txt
Here's the log.txt!
(3.75 KiB) Downloaded 127 times
I guess I should write on github but before that, I thought I'd check with you here as it is likely to be something trivial...and Rhowaldt is right, I can do a great job at being idiot so I am not sure we need more!

Post Reply