You are not logged in.

#1 2012-09-23 17:21:32

lunamystry
Member
From: South Africa
Registered: 2011-04-14
Posts: 23

[SOLVED]Help reproduce xmonad desktop from screenshot

Hi

I am configuring my xmonad and I came across this link: http://www.haskell.org/wikiupload/6/63/And1_xmonad.png
I can't figure out how they got the slanted background for the different components (cpu, date, time etc.)

Can anyone tell me how I can do this?

Last edited by lunamystry (2012-09-24 09:43:17)

Offline

#2 2012-09-24 06:44:50

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: [SOLVED]Help reproduce xmonad desktop from screenshot

lunamystry wrote:

Hi

I am configuring my xmonad and I came across this link: http://www.haskell.org/wikiupload/6/63/And1_xmonad.png
I can't figure out how they got the slanted background for the different components (cpu, date, time etc.)

Can anyone tell me how I can do this?

Smells like dzen to me. You should look through the screenshot threads; there are tons of various configurations for dzen, e.g. I have also seen configs emulating vim's powerbar (or was it called powerline?), from which you could take some hints.

Offline

#3 2012-09-24 07:56:21

lunamystry
Member
From: South Africa
Registered: 2011-04-14
Posts: 23

Re: [SOLVED]Help reproduce xmonad desktop from screenshot

I think you are right Stalafin, I looked in the xmonad.hs file found here:  http://www.haskell.org/haskellwiki/inde … _xmonad.hs and he is using corner_{left,right}.xbm which are images which I can't find.

Thanks I was suspecting conky and looking there.

Offline

#4 2012-09-24 09:42:49

lunamystry
Member
From: South Africa
Registered: 2011-04-14
Posts: 23

Re: [SOLVED]Help reproduce xmonad desktop from screenshot

lunamystry wrote:

I think you are right Stalafin, I looked in the xmonad.hs file found here:  http://www.haskell.org/haskellwiki/inde … _xmonad.hs and he is using corner_{left,right}.xbm which are images which I can't find.

Thanks I was suspecting conky and looking there.

SUCCESS!

Stalafin was right, it was a dzen config which is available in And1's config linked above. What is not available is the
conkytop, conkympd and conkyhdd files and the two images: corner_{left,right}.xbm.
I created my own images using gimp and this is what they have:

#define corner_right_width 10
#define corner_right_height 12
static unsigned char corner_right_bits[] = {
   0x03, 0x00, 0x07, 0x00, 0x0f, 0x00, 0x1f, 0x00, 0x3f, 0x00, 0x7f, 0x00,
   0xff, 0x00, 0xff, 0x01, 0xff, 0x03, 0xff, 0x03, 0xff, 0x03, 0xff, 0x01 };
#define corner_left_width 10
#define corner_left_height 12
static unsigned char corner_left_bits[] = {
   0xfe, 0x03, 0xff, 0x03, 0xff, 0x03, 0xff, 0x03, 0xfe, 0x03, 0xfc, 0x03,
   0xf8, 0x03, 0xf0, 0x03, 0xe0, 0x03, 0xc0, 0x03, 0x80, 0x03, 0x00, 0x03 };

This is down my .dzen looks now:

.dzen
├── [4.0K]  bitmaps/
├── [ 233]  layout-tall-right.xbm
├── [ 236]  layout-mirror-bottom.xbm
├── [ 233]  layout-full.xbm
├── [ 258]  corner_right.xbm
└── [ 255]  corner_left.xbm

I will be moving the *.xbm files into bitmaps though

I then created a new ~/.conkytop file which follows the dzen In-text formating
and commented out the code calling ~/.conkympd (Im using clementine) and ~/.conkyhdd
I am busy playing around with the config now.

Kudos And1

Offline

#5 2012-09-24 10:13:27

Prezioso
Member
Registered: 2011-01-17
Posts: 83

Re: [SOLVED]Help reproduce xmonad desktop from screenshot

post a pic wink

Offline

#6 2012-09-24 20:02:21

lunamystry
Member
From: South Africa
Registered: 2011-04-14
Posts: 23

Re: [SOLVED]Help reproduce xmonad desktop from screenshot

Prezioso wrote:

post a pic wink

May as well show of my favorite features. I copied most of these from the xmonad config archive.

I want KDE with proper tiling, I heard Kwin is loosing its tiling capabilities but has gained scripting.
That may mean it will have tiling soon but I think it will be a while till then so choose between
Awesome and Xmonad. Last I tried, Awesome was easy out of the box but I couldn't get it to a point
where I was happy with how it played with KDE and plasma. Xmonad's doIgnore worked well enough
for me and I would like to learn some functional coding so Xmonad won. I use doFloat for "Plasma-desktop"
now though and its a work in-progress.

Prompt to allow me to quickly connect to the Internet. Got it from xmonad config archive.
cleanwithconnecttonmcli.th.png

I like aimlessly browsing the menu when I am procrastinating. The bottom plasma panel
is set to autohide.
cleanwithkdemenu.th.png

I have to use Netbeans for some Java work I do, which at this point is more of a debugger
with vim replacing it. setWMName makes Netbeans and Matlab (and other Java app I
assume) work.
dirtyg.th.png

I am using one of the default KDE wallpapers with a binary clock. I will be putting my config files
on github sometime this week. I still have a few things to sort out such as gtk looking ugly,
kde dialogs not appearing, feedback when network is connected, showing network in top bar
and a whole lot of other things.

Offline

Board footer

Powered by FluxBB