You are not logged in.

#226 2012-07-19 21:21:34

donniezazen
Member
From: Salt Lake City
Registered: 2011-06-24
Posts: 671
Website

Re: July 2012 Screenshots

n1x4 wrote:

Added icons to statusbar and systray... Changed things around a bit and made a new WP...

Clean
http://dl.dropbox.com/u/58127896/t-Jul19.png

Fake
http://dl.dropbox.com/u/58127896/t-Jul19-1.png

What patch do you use to get right click menu in dwm?

Offline

#227 2012-07-19 21:34:00

n1x4
Member
From: Chernobyl
Registered: 2012-02-17
Posts: 149
Website

Re: July 2012 Screenshots

donniezazen wrote:
n1x4 wrote:

Added icons to statusbar and systray... Changed things around a bit and made a new WP...

Clean
http://dl.dropbox.com/u/58127896/t-Jul19.png

Fake
http://dl.dropbox.com/u/58127896/t-Jul19-1.png

What patch do you use to get right click menu in dwm?

Wasn't a patch, it's mygtkmenu bound with xbindkeys to the mouse (3rd button/wheel)..

.xbindkeysrc

"mygtkmenu ~/.menu"
    m:0x8 + c:64
    b:2 

xvkbd  -text "mygtkmenu ~/.menu"
       m:0x0 + b:2 | b:3

Last edited by n1x4 (2012-07-19 21:39:25)


||github||

Offline

#228 2012-07-20 02:45:13

lcrzoex1337
Member
Registered: 2012-07-20
Posts: 2

Re: July 2012 Screenshots

caffeinebasedlifeform wrote:

i3wm and dzen
The fonts are boxxy and a modified version of M+ 1m.

http://ompldr.org/tZXM2dA

Registered specially for ask. Amazing!

What the fontname? Can you share ~/.Xdefaults plz (with terminal font-settings and colors)? smile

Offline

#229 2012-07-20 10:58:08

caffeinebasedlifeform
Member
Registered: 2011-03-06
Posts: 25

Re: July 2012 Screenshots

lcrzoex1337 wrote:
caffeinebasedlifeform wrote:

i3wm and dzen
The fonts are boxxy and a modified version of M+ 1m.

http://ompldr.org/tZXM2dA

Registered specially for ask. Amazing!

What the fontname? Can you share ~/.Xdefaults plz (with terminal font-settings and colors)? smile


.Xresources
terminal colors

The font is based off of mplus-1m-medium which is available in the AUR. I had no idea what I was doing while editing it. But here is a copy of it:  http://www.filefactory.com/file/6y2wvj9l0u5h/n/mped_ttf. The licence for Mplus grants modifications. The font name is mped.

Offline

#230 2012-07-20 16:56:36

valytzu01
Member
From: Pitesti,Roumania
Registered: 2011-07-13
Posts: 20

Re: July 2012 Screenshots

Can you please upload your wallpaper somewhere so i can download it ? It's very nice . Thanks a lot !

Offline

#231 2012-07-20 19:16:45

unluckyfool
Member
Registered: 2011-08-29
Posts: 17

Re: July 2012 Screenshots

e17

tZXQzcQ

Offline

#232 2012-07-20 19:38:40

n1x4
Member
From: Chernobyl
Registered: 2012-02-17
Posts: 149
Website

Re: July 2012 Screenshots

valytzu01 wrote:

Can you please upload your wallpaper somewhere so i can download it ? It's very nice . Thanks a lot !

Sure, but that wallpaper has some stuff I've done to it....

Original

Mine


||github||

Offline

#233 2012-07-20 20:06:03

ivoarch
Member
Registered: 2011-03-31
Posts: 436

Re: July 2012 Screenshots

tZXQ0Yw


I love GnuEmacs, GnuScreen, ratpoison, and conkeror.
Github )||( Weblog

Offline

#234 2012-07-21 14:06:52

cai:kua
Member
Registered: 2012-07-19
Posts: 2

Re: July 2012 Screenshots

thumb-scrot.png

Plain Spectrwm.
Made baraction.sh print the workspace indicator to the left and everything else to the right.

Offline

#235 2012-07-21 18:33:24

zcal
Member
Registered: 2010-01-13
Posts: 57

Re: July 2012 Screenshots

cai:kua wrote:

Plain Spectrwm.
Made baraction.sh print the workspace indicator to the left and everything else to the right.

Nice to see a spectrwm shot in here.  Would you mind sharing the entirety of your baraction.sh?

Thanks!

Offline

#236 2012-07-21 18:37:04

CEPfister
Member
Registered: 2011-08-10
Posts: 68

Re: July 2012 Screenshots

cai:kua wrote:

https://github.com/caikua/config/raw/master/thumb-scrot.png

Plain Spectrwm.
Made baraction.sh print the workspace indicator to the left and everything else to the right.

Holy shit !

You have to tell us how you did that black magic thing...

Offline

#237 2012-07-21 20:45:30

Shinryuu
Member
From: /dev/urandom
Registered: 2010-02-27
Posts: 339

Re: July 2012 Screenshots

monsterwm + bar + mygtkmenu with my laptop!

Clean
03_cleanthumb.png

Busy
03_busythumb.png

Offline

#238 2012-07-21 20:50:23

Cloudef
Member
Registered: 2010-10-12
Posts: 636

Re: July 2012 Screenshots

Shinryuu wrote:

monsterwm + bar + mygtkmenu with my laptop!

That looks really nice, maybe I should switch to bar as well.

Offline

#239 2012-07-21 21:18:29

ivoarch
Member
Registered: 2011-03-31
Posts: 436

Re: July 2012 Screenshots

@Shinryuu

Nice bar!


I love GnuEmacs, GnuScreen, ratpoison, and conkeror.
Github )||( Weblog

Offline

#240 2012-07-21 21:29:16

tylerlong
Member
Registered: 2011-07-01
Posts: 17

Re: July 2012 Screenshots

ci2.png

Offline

#241 2012-07-21 21:56:05

skrite
Member
Registered: 2009-09-07
Posts: 160

Re: July 2012 Screenshots

where did the bar come from? and how to you place it in monsterwm?
brilliant, btw

Offline

#242 2012-07-21 22:15:00

Shinryuu
Member
From: /dev/urandom
Registered: 2010-02-27
Posts: 339

Re: July 2012 Screenshots

bar is done by TheLemonMan, click here to see.

Here's my script to launch monsterwm etc. (copied and modified):

#!/usr/bin/env bash

wm=monsterwm
ff="/tmp/$RANDOM.monsterwm.fifo"

tags=('null' 'web' 'foo' 'Ø')
layouts=('T' 'M' 'B' 'G' 'F') 

[[ -p $ff ]] || mkfifo -m 600 "$ff"

function statusbar {
    # mpd status
    music=$(mpc current)
    [ -z "$music" ] && music="Stopped"

    echo "\r\f4$music\fr \f8| \f9$(date +"%H:%M") "
}

while read -t 1 -r wmout || true; do
    if [[ $wmout =~ ^(([[:digit:]]+:)+[[:digit:]]+ ?)+$ ]]; then
        read -ra desktops <<< "$wmout"

        tmp=
        for desktop in "${desktops[@]}"; do
            IFS=':' read -r d w m c u <<< "$desktop"
            # Tags labels
            label=${tags[$d]}
            # Current desktop color and enclosing char (yes/no)
            ((c)) && fg="0" bg="1" lc="\u6 " rc=" \ur" && layout="\f8"["\f5"${layouts[$m]}"\f8"] || fg="9" bg="0" lc=" " rc=" "
            # Has windows ?
            ((w)) && ((! c)) && fg="9" lc="\u5 " rc=" \ur"
            # Urgent windows ?
            ((u)) && fg="0" bg="3" lc="\u4 " rc=" \ur"

            tmp+="\f$fg\b$bg$lc$label$rc\fr\br"
        done
	
        tmp+=" $layout"
    fi
    echo "$tmp $(statusbar)"
done < "$ff" | bar &

$wm > "$ff"

rm $ff

config.def.h for bar

#define BAR_HEIGHT  15
#define BAR_FONT    "-*-ohsnap.icons-medium-r-*-*-12-*-*-*-*-*-*-*"
#define BAR_UNDERLINE_HEIGHT 2

#define COLOR0      0x101112    /* background */
#define COLOR1      0xebebeb    /* foreground */
#define COLOR2      0x262729
#define COLOR3      0xf92671
#define COLOR4      0xa6e22e
#define COLOR5      0xfd971f
#define COLOR6      0x34bdef
#define COLOR7      0x9e6ffe
#define COLOR8      0x5e7175
#define COLOR9      0xccccc6

Last edited by Shinryuu (2012-07-21 22:17:08)

Offline

#243 2012-07-22 03:44:36

stlarch
Member
From: hell
Registered: 2010-12-25
Posts: 1,265

Re: July 2012 Screenshots

That does look nice Shinryuu. I started playing with monster again. Here's what I have so far. The bar is splitter_bar from moetunes and conky.
tZXR0Nw    tZXR0OA
edit: I changed things up a bit

Last edited by stlarch (2012-07-22 14:22:34)

Offline

#244 2012-07-22 06:29:07

F34R
Member
From: /dev/loliland
Registered: 2012-02-05
Posts: 245

Re: July 2012 Screenshots


Most impressive shot ^^
Wallpaper also good.

Offline

#245 2012-07-22 07:08:53

cirnOS
Member
Registered: 2010-03-01
Posts: 107

Re: July 2012 Screenshots


I love it. Would you post your configs by any chance? Also I'm assuming you have a good collection of wallpapers like the one you're using? I want some.

Edit: Derp. You are using Konachan.

Last edited by cirnOS (2012-07-22 07:13:41)

Offline

#246 2012-07-22 08:01:22

Shinryuu
Member
From: /dev/urandom
Registered: 2010-02-27
Posts: 339

Re: July 2012 Screenshots

Oh, okay!

.Xresources colors/fonts (Cloudef's colors, just modified them a bit):

...
*foreground:	#ebebeb
*background:	#121212

!black
*color0:	#1C1C1C
*color8:	#4d4d4d
!red
*color1:	#D81860
*color9:	#F00060
!green
*color2:	#B7CE42
*color10:	#BDE077
!yellow
*color3:	#FEA63C
*color11:	#FFE863
!blue
*color4:	#66AABB
*color12:	#AACCBB
!magenta
*color5:	#B7416E
*color13:	#BB4466
!cyan
*color6:	#5E7175
*color14:	#A3BABF
!white
*color7:	#DDEEDD
*color15:	#6C887A
...
URxvt.font:		   -*-terminusmodx-medium-r-*-*-12-*-*-*-*-*-*-*

mygtkmenu entries:

item = Dwb
cmd = dwb
icon = null

item = Terminal
cmd = urxvtc
icon = null

SEPARATOR

submenu = Accessories
	icon = null

	item = Thunar
	cmd = thunar
	icon = null
	
	item = Ranger
	cmd = urxvtc -e ranger
	icon = null

	item = Xcalc
	cmd = xcalc
	icon = null

	item = file-roller
	cmd = file-roller
	icon = null
	
	item = 7zip
	cmd = 7zFM
	icon = null

submenu = Graphics
	icon = null

	item = GIMP
	cmd = gimp
	icon = null

submenu = Internet
	icon = null

	item = Dwb
	cmd = dwb
	icon = null

	item = Firefox
	cmd = firefox
	icon = null
	
	item = WeeChat
	cmd = urxvtc -e weechat-curses
	icon = null

submenu = Multimedia
	icon = null

	item = DeaDBeeF
	cmd = deadbeef
	icon = null

	item = ncmpcpp
	cmd = urxvtc -e ncmpcpp
	icon = null
	
	SEPARATOR

	submenu = MPD
		icon = null

		item = MPD (On)
		cmd = mpd
		icon = null

		item = MPD (Off)
		cmd = sudo mpd -kill
		icon = null
		
submenu = Tools
	icon = null

	submenu = Screenshot
		icon = null
	
		item = In .png format
		cmd = scrot /home/shn/shot.png
		icon = null
	
		item = In .jpg format
		cmd = scrot -q 99 /home/shn/shot.jpg
		icon = null

		item = Select area
		cmd = import /home/shn/area.png
		icon = null
	
	item = Color Selection
	cmd = zenity --color-selection
	icon = null
	
	SEPARATOR

	item=Edit menu
	cmd=urxvtc -e vim /home/shn/.menu
	icon=null
	
SEPARATOR
	
item = Shutdown
cmd = sudo poweroff
icon = null

item = Reboot
cmd = sudo reboot
icon = null

Last edited by Shinryuu (2012-07-22 08:01:41)

Offline

#247 2012-07-22 08:03:33

Shinryuu
Member
From: /dev/urandom
Registered: 2010-02-27
Posts: 339

Re: July 2012 Screenshots

stlarch wrote:

That does look nice Shinryuu. I started playing with monster again. Here's what I have so far. The bar is splitter_bar from moetunes and conky.
http://ompldr.org/tZXRvMA

Nice, I was reading about the splitter_bar a day or two ago. If I remember correctly it was made because there was some problems with Some_sorta_bar and monsterwm. I'm pretty sure I'm going to give it a shot anytime soon cool

Offline

#248 2012-07-22 09:53:05

unclemike
Member
From: it_IT
Registered: 2011-06-01
Posts: 12

Re: July 2012 Screenshots

tZXRwdg
little changes from last time smile

Offline

#249 2012-07-22 09:56:51

cai:kua
Member
Registered: 2012-07-19
Posts: 2

Re: July 2012 Screenshots

@zcal @CEPfister

spectrwm.conf:

...
bar_font    = -*-tamsynmod-medium-r-*-*-14-*-*-*-*-*-*-*

bar_justify		= left
bar_format		= +2I +S +85<+83A | %a,%d.%b. | %H:%M # Total space left on my screen by the clock etc.: 83+85 characters 
...

baraction.sh:

#!/bin/bash
# baraction.sh script for spectrwm status bar

print_battery() {
bat="$(acpi -b | awk 'sub(/,/,"") {print $4}'| sed 's/\,//')"
cable=`acpi -b | awk '{print $3}'`
if [ $cable == "Discharging," ]
then
	stat="ð"
else
	stat="Â"
fi
echo -ne "$stat $bat"
}

print_volume() {
volume="$(amixer get Master | tail -n1 | sed -r 's/.*\[(.*)%\].*/\1/')"
mute=`amixer get Master | grep "Mono:" | awk '{print $6}'`
if [ $mute == "[on]" ]
then
	status="í"
else
	status="ë"
fi
	echo -ne "${status} ${volume}%"
}

print_song_info() {
song_info="$(ncmpcpp --now-playing '{{{{%a: }%t}}|{%f}}' | head -c 50)"
if [[ ! $song_info ]]
then
song_info="Not playing"
fi
echo -ne "ê ${song_info}"
}

SLEEP_SEC=1  # set bar_delay = 1 in /etc/spectrwm.conf
COUNT=0
#loops forever outputting a line every SLEEP_SEC secs
while :; do
	bar="$(print_song_info) | $(print_volume) | $(print_battery)"
	len="`echo $bar | wc -m`"
	fill="`for i in $(seq $[80 - $len]); do echo -n ' '; done`"
	echo -e "$fill $bar"
sleep $SLEEP_SEC
done

The main idea behind this script is that I know how many characters wide the entire bar is using a given font and how much space each command output uses.

The workspace number + tiling layout get adjusted to the left automatically, the clock has a fixed width, so the main thing I need to care about is the output width from print_volume() + print_battery()  [8 chars each] and print_song_info(), which varies with every song played. So this required scripting intervention:
    I noticed that for an overall baraction output lenght of 80 characters, the clock aligns with the right edge of the screen. So I calculate the current output lenght using wc -m and fill the bar with spaces until t reaches 80.

Since I adjustet the numbers to my laptop screen [1366x768] this is very likely not to work elsewhere without manual intervention.

Not an elegant solution at all, but it works. I'd be glad to hear any improvement suggestions.

Offline

#250 2012-07-22 10:58:13

TheLemonMan
Member
From: Italy
Registered: 2011-09-04
Posts: 214
Website

Re: July 2012 Screenshots

monsterwm + bar

Clean
vZXRxaA
Busy
vZXRxag

Offline

Board footer

Powered by FluxBB