cwm

Forum rules
Post your scrot in the appropriate section. If the section does not exist yet - open a new thread ;)
User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: cwm

Unread post by GekkoP » Sun Sep 14, 2014 7:34 am

Great stuff as always, Drew. Thanks for sharing the font, mind sharing the wallpaper as well?

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

Re: cwm

Unread post by dkeg » Sun Sep 14, 2014 1:18 pm

sure GP, it is actually

Code: Select all

xsetroot -bg \#181513 -mod 3 3  
or whatever color.

Unfortunately compton and xsetroot does not play nice, so I took a screen shot and use as

Code: Select all

hsetroot -fill /data/walls/sqtiles.png -blur 1 & 
with just a slight touch of cool hsetroot effects

The font is a bit small, but readable. I like it so far.

Work hard; Complain less

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: cwm

Unread post by GekkoP » Sun Sep 14, 2014 3:09 pm

^ Ah, nice trick, thanks.

User avatar
ivanovnegro
Minister of Truth
Posts: 5449
Joined: Wed Oct 17, 2012 11:12 pm

Re: cwm

Unread post by ivanovnegro » Sun Sep 14, 2014 3:09 pm

Ok, I will also stop to post scrots. Damn you Drew. :P I noticed that I already did not post anything new. Just cannot keep the high level of quality here.

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

Re: cwm

Unread post by dkeg » Sat Sep 20, 2014 1:53 pm

just like to share my current config, only a different wall though. Actually saw MB posted on munch, so I posted this up there too. Just a little reminder we are still around. Let's guess why the title is as such.
Attachments
celebONe.png

Work hard; Complain less

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: cwm

Unread post by GekkoP » Sat Sep 20, 2014 2:15 pm

^ I see they noticed MB's post and actually asked him something. Never happens when I post my scrots there, so I probably should stop posting them.

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

Re: cwm

Unread post by dkeg » Sat Sep 20, 2014 2:32 pm

Bacons a celebrity. Of course he is noticed. We are squids and fly quietly under the radar

Work hard; Complain less

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

Re: cwm

Unread post by machinebacon » Sat Sep 20, 2014 2:35 pm

celebacon? nah, the only ones who noticed me are s11 and dgz (who is also a user here, IIRC) :)

anyway drew scrots are fucking beautiful, and that's what counts (nice scheme there!)
..gnutella..

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

Re: cwm

Unread post by DebianJoe » Sun Sep 28, 2014 5:23 am

In the process of my Constantine cwm layout, pretty sure I've broken env-info.
2014-09-27-231916_1366x768_scrot.png
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

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

Re: cwm

Unread post by machinebacon » Sun Sep 28, 2014 8:23 am

You haven't broken it. The 'free' changed in recent upgrades (package procps):

Code: Select all

procps (1:3.3.10-1) unstable; urgency=medium

  * New upstream source
    - sysctl --system loads default config file Closes: #732920
    - free considers slabs in displayed totals Closes: #565518
simply change to:

Code: Select all

 mem=$(free -m | awk 'NR==2 {total=$2} NR==2 {used=$3; print used"M / "total"M"}')
..gnutella..

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

Re: cwm

Unread post by rhowaldt » Sun Sep 28, 2014 9:32 am

beautiful wall!
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
DebianJoe
Frame Buffer
Posts: 1915
Joined: Mon Jul 01, 2013 5:41 am
Location: emacs.d

Re: cwm

Unread post by DebianJoe » Sun Sep 28, 2014 10:38 am

Well, more than one way to skin a cat :). Here was my sed-based "fuck what output 'free -m' gives me" answer to the same problem.

Code: Select all

print-mem() {
    # field 2 on line 2 is total, field 3 on line 3 is used
    # use "free -m" because slackware doesn't have "free -h"
    # mem=$(free -m | awk 'NR==2 {total=$2} NR==3 {used=$3; print used"M / "total"M"}')
	memfree=$(sed -n -e '/^MemFree/p' /proc/meminfo | sed -e 's/[^0-9]//g')
	memtotal=$(sed -n -e '/^MemTotal/p' /proc/meminfo | sed -e 's/[^0-9]//g')
	membuffer=$(sed -n -e '/^Buffers/p' /proc/meminfo | sed -e 's/[^0-9]//g')
	memcached=$(sed -n -e '/^Cached/p' /proc/meminfo | sed -e 's/[^0-9]//g')
	usedmem="$(((($memtotal - $memfree) - $membuffer - $memcached) / 1024))"
	totalmem="$(($memtotal / 1024))"
	mem="$usedmem / $totalmem"
    color-echo 'Mem' "$mem"
}
Probably could have been written in less steps, but it made me mad that the changes to free borked a very clean script, so I say let's not use free at all.

Edit: Damn, getting off the topic of pretty scrots. Dkeg! Save us!!! (Also, thanks Rho)
|>>BBQ Roaster, Alpha Branch<< | >> clinky << | >> X11 must die << |
Thanks BASIC

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

Re: cwm

Unread post by machinebacon » Sun Sep 28, 2014 12:15 pm

Or awk it:

Code: Select all

cat /proc/meminfo | awk '/MemTotal/ {print "Total:" $2/1024}'
cat /proc/meminfo | awk '/MemFree/ {print "Free:" $2/1024}'
Talking of trimming a pussy :D
..gnutella..

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

Re: cwm

Unread post by dkeg » Sun Sep 28, 2014 12:36 pm

that is an interesting wall DJ. wonder what he's thinking

Work hard; Complain less

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

Re: cwm

Unread post by pidsley » Sun Sep 28, 2014 2:30 pm

env-info is fixed on git (pidsley/codemangler). Fixed version is 3.3 (use "env-info -v" to check the version, or just look at the code ;)

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

Re: cwm

Unread post by dkeg » Sun Sep 28, 2014 4:39 pm

same, different wrapping paper
wallpaper -blur 15
colors still browntown3, brown is so rich actually goes with this wall
showme.png

Work hard; Complain less

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

Re: cwm

Unread post by machinebacon » Sun Sep 28, 2014 6:09 pm

eye chocolate. You know that I feature your cwm scrots on our Google+ page? ;)
..gnutella..

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

Re: cwm

Unread post by dkeg » Sun Sep 28, 2014 7:37 pm

How rude of me. I did see that. Saw it on the train one day. I thought it was cool. Thanks for sharing them out. Was going to +1 it, but thought +1'ing my own stuff was lame, even though I'd just be +'ing the fact you shared it.

Anyway, yeah, thanks brother.

Work hard; Complain less

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

Re: cwm

Unread post by machinebacon » Sun Sep 28, 2014 7:54 pm

+1 and share it, boss! I wouldn't put these things there if they were ugly :)
..gnutella..

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: cwm

Unread post by GekkoP » Mon Sep 29, 2014 10:29 am

pidsley wrote:env-info is fixed on git (pidsley/codemangler). Fixed version is 3.3 (use "env-info -v" to check the version, or just look at the code ;)
Thanks for this.

Also, enough with these great scrots everybody! :)

Post Reply