i3

Forum rules
Post your scrot in the appropriate section. If the section does not exist yet - open a new thread ;)
machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: i3

Unread post by machinebacon » Tue Apr 15, 2014 7:32 pm

nice :) homework for wux: pipe ICY-META into i3's bar ,)
..gnutella..

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

Re: i3

Unread post by wuxmedia » Tue Apr 15, 2014 8:17 pm

heh, you mind reader you, I did think about that.
notifications would be nice too, in the bar.
"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: i3

Unread post by dkeg » Wed Apr 16, 2014 12:45 am

wux, one of your better setups. Nice!

good luck with getting it into i3bar. I'd say just use bar, but I don't remember that i3 has the ability to pad to leave space for non-conky/i3bar.

Work hard; Complain less

User avatar
bones
Clooney
Posts: 2385
Joined: Fri Jun 28, 2013 11:47 pm
Location: Cascadia

Re: i3

Unread post by bones » Wed Apr 16, 2014 2:32 am

wux, looks good to me.

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

Re: i3

Unread post by machinebacon » Wed Apr 16, 2014 10:15 am

let us know if you get it to work with dunst or so, i've just done it for conky, though a bit shakey.
..gnutella..

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

Re: i3

Unread post by wuxmedia » Wed Apr 16, 2014 1:21 pm

hmm dunst might be a bit tricky yet.
only took all day and is a bit shaky also:

Code: Select all

mpg123  -b 2048 http://air.radiolla.com/equalyza192k 2>&1 | grep --line-buffered -Po "'.*?'" > ~/icy.txt

Code: Select all

#!/bin/sh
# shell script to prepend i3status with more stuff

 i3status | while :
  do
  read line
  echo "`tail -n1 ~/icy.txt` | $line" || exit 1
 done
then

Code: Select all

status_command ~/script.sh
in .i3/config

forgot, also need to edit ~/.i3status.conf too

Code: Select all

 output_format = none
Otherwise it looks silly.

Could do with a nicer looking and method of starting mpg123, preferably with a choice of stations.
Not too bothered as i only really listen to 2 stations...
can't work out why the '>' redirect seems to append to the file. thats why there is a tail -n1 to display - the bar only pull the last one out anyway, but to be sure.
works though. 8)
2014-04-16-133551_498x18_scrot.png
2014-04-16-133551_498x18_scrot.png (2.72 KiB) Viewed 5835 times
"Seek, and Ye shall find"
"Github | Chooons | Site"

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

Re: i3

Unread post by wuxmedia » Wed Apr 16, 2014 1:38 pm

oh for the ESMACs heads - http://www.gentei.org/~yuuji/software/mpg123el/
no idea if it'll work. four years old...
"Seek, and Ye shall find"
"Github | Chooons | Site"

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

Re: i3

Unread post by wuxmedia » Thu Apr 17, 2014 9:16 am

Sort of technically a NoX scrot, but on work's Numixed i3 install, showing off Tmuxed (slob.conf) Alpine linux and a wheezy VM running, yay!
No network on the VM yet, need to steal some unused IP's - or work out NAT 8]
Screenshot - 2014-04-17--%_1920x1080_scrot.png
"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: i3

Unread post by dkeg » Thu Apr 17, 2014 11:16 am

you know wux, you have really nice i3 setups. And probably the best implemented i3status I've seen. Very nice!

Work hard; Complain less

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

Re: i3

Unread post by wuxmedia » Thu Apr 17, 2014 2:19 pm

:blush: aww gee shucks, thanks dkeg 8)
well, learnt most of it from the i3master, or a least happily following in your footfalls.
The i3 config is, basically, still the same as the one supplied by you in honey 8)
I like it simple.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
Launfal
Dirty Laundry
Posts: 141
Joined: Tue Mar 04, 2014 12:50 am
Location: Ohio, USA

Re: i3

Unread post by Launfal » Sat May 03, 2014 1:03 pm

OK, just got done transferring my workflow over to i3. Same basic setup, lots more eyecandy. Still pretty stock, but once I transferred over the colors from the palette script, life was good.

Image

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

Re: i3

Unread post by dkeg » Sat May 03, 2014 1:08 pm

cool man, keep it up

Work hard; Complain less

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

Re: i3

Unread post by wuxmedia » Sat May 03, 2014 1:46 pm

Nice work, Launfal!
looks like a great minimal distraction workspace.
"lots more eyecandy" hehe, excellent!
Hmmm, do I feel the need for some sort of i3 colour theme script, using current .Xresources?
I normally find it needs some tweaking and personal preference as to the border colours etc.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
Launfal
Dirty Laundry
Posts: 141
Joined: Tue Mar 04, 2014 12:50 am
Location: Ohio, USA

Re: i3

Unread post by Launfal » Sat May 03, 2014 2:28 pm

wuxmedia wrote:Nice work, Launfal!
looks like a great minimal distraction workspace.
"lots more eyecandy" hehe, excellent!
Hmmm, do I feel the need for some sort of i3 colour theme script, using current .Xresources?
I normally find it needs some tweaking and personal preference as to the border colours etc.
Thanks. Something to somehow convert the terminal palette to i3 would be sweet, since the palette generated by the script doesn't seem to be meant to transfer over to WM configs, since depending on the wallpaper, there are a lot of dark colors and colors that run in one family or another. Like you said, it makes it kinda hard to get the borders and window titles right. I don't know how you get around that, but it would save some trouble for people who like to change wallpapers a lot. Fortunately, that ain't me.

Since I spend a lot of time working with text, terminal apps work just fine. More keys, less mouse is a winner for me.

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

Re: i3

Unread post by wuxmedia » Sat May 03, 2014 3:02 pm

true, I tend to stick to grey (2a2a2a) wallpapers these days.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
Launfal
Dirty Laundry
Posts: 141
Joined: Tue Mar 04, 2014 12:50 am
Location: Ohio, USA

Re: i3

Unread post by Launfal » Sat May 03, 2014 4:22 pm

wuxmedia wrote:true, I tend to stick to grey (2a2a2a) wallpapers these days.
That gives me an idea. Take a cool wallpaper, mogrify it to grayscale, then generate a palette. Go all monochrome. I'm gonna try it and throw up another scrot when I'm done.

User avatar
Launfal
Dirty Laundry
Posts: 141
Joined: Tue Mar 04, 2014 12:50 am
Location: Ohio, USA

Re: i3

Unread post by Launfal » Sun May 04, 2014 2:39 pm

OK, scratch my last idea, too much work for too little gain. I just grabbed another wallpaper, generated a new palette, and I'm a lot happier with this:

Image

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

Re: i3

Unread post by rhowaldt » Mon May 05, 2014 8:21 am

@Launfal: you've discovered the biggest flaw in the Paletter-script: it just grabs the colours, nothing more :)
indeed, you either get lucky with a wallpaper where it just happens to work, or you have to manually shift things around to make it perfect for your setup. i don't think there is (or can be..?) an easier method.
the greyscale/monochrome idea sounds cool :)
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
Launfal
Dirty Laundry
Posts: 141
Joined: Tue Mar 04, 2014 12:50 am
Location: Ohio, USA

Re: i3

Unread post by Launfal » Mon May 05, 2014 12:57 pm

rhowaldt wrote:@Launfal: you've discovered the biggest flaw in the Paletter-script: it just grabs the colours, nothing more :)
indeed, you either get lucky with a wallpaper where it just happens to work, or you have to manually shift things around to make it perfect for your setup. i don't think there is (or can be..?) an easier method.
the greyscale/monochrome idea sounds cool :)
yeah, paletter is a neat idea, and for the most part works pretty well, but like you say, there's a lot of tinkering.

I'll go back to the monochrome idea at some point when I've got more time. The problem is that paletter only gives 8 colors for a grayscale image, so you'd have to double up somehow to make everything work. Might as well just do a grayscale palette manually. I'll come up with something.

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

Re: i3

Unread post by rhowaldt » Mon May 05, 2014 9:48 pm

^ or you could look at Paletter's code and find the line that makes the magic happen and see if you can change it to use more than 8 colors?
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.

Post Reply