You are not logged in.
Any suggestions parazyd? Since I'm coming from osx It's a little bit confusing with the possibility to modfiy everything
Offline
Offline
DWM
EDIT: Lesson to you all, this is what happens when you drink on a Thursday evening. Apparently I already posted one this month. ¯\(°_o)/¯
what font is that in the top bar? also those xcolors, very nice.
Offline
Nice setup Doug. I also want the colors
BTW guys asking for font.. the top bar is using ohsnap.icons which shows in his screenshot.. as for the terminal i think it's ubuntu mono.
@KieranQuinn, I switched to DWM..using you're setup as my base very nice and clean...I tried to apply patches myself but failed so hard lol.
Awesome was using more CPU that i didn't like plus it kept crashing at times and was sluggish, DWM is a keeper.
Offline
.I tried to apply patches myself but failed so hard lol.
Yeah, patching is a rite of passage for DWM users, but it's not that hard once you get the hang of it.
.diff files are self-explanatory, you have the + and the -
You won't always be able to patch simply with the patch command, you'll have to get your hands dirty and edit manually.
Welcome to DWM.
Offline
Top bar is ohsnap icons and the terminal font is Droid Sans Mono Slashed for powerline. The color scheme is from w0ng's vim hybrid.
Cheers.
Offline
mcwm-beast (mcwm with patches)
icecat
htop with vi-like movement and temperature patch
9menu
some ascii-arts
irssi
mplayer
urxvt
This is just a showcase, I never place my windows like that.
"For even better randomness, let your cat walk on the keyboard." -- From the "Advanced Linux Programming" book
Offline
Nice setup Doug. I also want the colors
@KieranQuinn, I switched to DWM..using you're setup as my base very nice and clean...I tried to apply patches myself but failed so hard lol.Awesome was using more CPU that i didn't like plus it kept crashing at times and was sluggish, DWM is a keeper.
I only tend to patch with .diff's when starting with vanilla DWM. I prefer manually applying the .diff files to the source myself.
Last edited by KieranQuinn (2013-03-30 03:10:08)
Offline
My Arch + DWm
Sorry for my poor english.
Registered Linux User #559855
Offline
I have no idea what I am doing
Finnaly like u back to the urxvt , and get new switches for keyboard ? (red is a game switch)
Offline
Shinryuu wrote:I have no idea what I am doing
Finnaly like u back to the urxvt , and get new switches for keyboard ? (red is a game switch)
I'm testing different things with urxvt. They are just pictures of MX Red switches because I did MX Ergo Clear mod into my poker. Ergo Clear mod is MX Clear with Red/Blue/Brown spring and it feels great but I'm looking for custom Korean springs too
Offline
Arch + Herbstluftwm
http://img703.imageshack.us/img703/1240 … 4x768s.png
Offline
I have no idea what I am doing
Care to share your status bar script with the window name?
Offline
Care to share your status bar script with the window name?
You have to build monsterwm against windowtitles branch.
git clone https://github.com/c00kiemon5ter/monsterwm.git
cd monsterwm
git checkout windowtitles
...
This is the script which starts both bar and monsterwm
wmrun.sh
#!/usr/bin/env sh
: "${wm:=monsterwm}"
: "${ff:="/tmp/${wm}.fifo"}"
[ -p "$ff" ] || mkfifo -m 600 "$ff"
# spawn a statusbar
while read -t 60 -r line || true; do
echo "$line" | grep -qEx "(([[:digit:]]+:){4,6}[[:digit:]]+ ?)+[|]?.*" && prev="$line" || line=
statusinfo.sh ${line:-$prev}
done < "$ff" | bar &
"$wm" > "$ff"
In statusinfo.sh you just add "$t" where you want to see the title.
statusinfo.sh (multi-monitor)
#!/usr/bin/env sh
# expects a line from monsterwm's output as argument ("$1")
# prints formatted output to be used as input for bar
# reference: bar by LemonBoy -- https://github.com/LemonBoy/bar
# desktop status
for desk; do
m="${desk%%:*}" desk="${desk#*:}" # monitor id
n="${desk%%:*}" desk="${desk#*:}" # is current monitor
d="${desk%%:*}" desk="${desk#*:}" # desktop id
w="${desk%%:*}" desk="${desk#*:}" # window count
l="${desk%%:*}" desk="${desk#*:}" # layout mode
c="${desk%%:*}" desk="${desk#*:}" # is current desktop
u="${desk%%|*}" desk="${desk#*|}" # has urgent hint
t="${desk#0}" # finally the title
# desktop id
case "$d" in
0) d=" term" ;; 1) d=" web" ;;
2) d=" img" ;;
esac
# current desktop on active monitor
if [ $n -ne 0 -a $c -ne 0 ]
then bg="\b9" un="\u6"
case "$l" in
0) s="Classic Tiling Mode" ;; 1) s="Monocle Mode" ;; 2) s="Bstack Mode" ;;
3) s="Grid Mode" ;; 4) s="Bloat Mode" ;;
esac && s="\u9\b9 $s \br\ur"
# current desktop on inactive monitor
elif [ $c -ne 0 ]
then bg="\b9" un="\u9"
fi
# has urgent hint or no windows
[ $u -ne 0 ] && un="\u3"
[ $w -eq 0 ] && w="\f5-"
if [ "$m" -eq 0 ]
then mr="$mr$bg$fg$un $d $w \ur\br\fr"
fi
unset bg fg un
done
# music status
music="$(mpc current -f "%artist% - [%title%|%file%]")"
if [ -z "$music" ]; then music="nothing to see here..." mstat=""
else
mstat="$(mpc | sed -rn '2s/\[([[:alpha:]]+)].*/\1/p')"
[ "$mstat" == "paused" ] && mstat="" || mstat=""
fi
# volume status
if [ "$(amixer get Master | sed -nr '$ s:.*\[(.+)]$:\1:p')" == "off" ]
then vol="[m]" vstat=""
else
vol="$(amixer get PCM | sed -nr '$ s:.*\[(.+%)].*:\1:p')"
if [ "${vol%\%}" -le 10 ]; then vstat=""
elif [ "${vol%\%}" -le 20 ]; then vstat=""; else vstat=""; fi
fi
# date and time
date="$(date +"%R")" dstat=""
printf '%s %s %s %s' "$mr" "$s" "\c$t" "\r"
printf ' \\u6\\b9 %s \\br\\ur %s' "$mstat" "$music" "$vstat" "$vol" "$dstat" "$date "
printf '\n'
Offline
suare wrote:Care to share your status bar script with the window name?
You have to build monsterwm against windowtitles branch.
git clone https://github.com/c00kiemon5ter/monsterwm.git cd monsterwm git checkout windowtitles ...
This is the script which starts both bar and monsterwm
wmrun.sh
#!/usr/bin/env sh : "${wm:=monsterwm}" : "${ff:="/tmp/${wm}.fifo"}" [ -p "$ff" ] || mkfifo -m 600 "$ff" # spawn a statusbar while read -t 60 -r line || true; do echo "$line" | grep -qEx "(([[:digit:]]+:){4,6}[[:digit:]]+ ?)+[|]?.*" && prev="$line" || line= statusinfo.sh ${line:-$prev} done < "$ff" | bar & "$wm" > "$ff"
In statusinfo.sh you just add "$t" where you want to see the title.
statusinfo.sh (multi-monitor)
#!/usr/bin/env sh # expects a line from monsterwm's output as argument ("$1") # prints formatted output to be used as input for bar # reference: bar by LemonBoy -- https://github.com/LemonBoy/bar # desktop status for desk; do m="${desk%%:*}" desk="${desk#*:}" # monitor id n="${desk%%:*}" desk="${desk#*:}" # is current monitor d="${desk%%:*}" desk="${desk#*:}" # desktop id w="${desk%%:*}" desk="${desk#*:}" # window count l="${desk%%:*}" desk="${desk#*:}" # layout mode c="${desk%%:*}" desk="${desk#*:}" # is current desktop u="${desk%%|*}" desk="${desk#*|}" # has urgent hint t="${desk#0}" # finally the title # desktop id case "$d" in 0) d=" term" ;; 1) d=" web" ;; 2) d=" img" ;; esac # current desktop on active monitor if [ $n -ne 0 -a $c -ne 0 ] then bg="\b9" un="\u6" case "$l" in 0) s="Classic Tiling Mode" ;; 1) s="Monocle Mode" ;; 2) s="Bstack Mode" ;; 3) s="Grid Mode" ;; 4) s="Bloat Mode" ;; esac && s="\u9\b9 $s \br\ur" # current desktop on inactive monitor elif [ $c -ne 0 ] then bg="\b9" un="\u9" fi # has urgent hint or no windows [ $u -ne 0 ] && un="\u3" [ $w -eq 0 ] && w="\f5-" if [ "$m" -eq 0 ] then mr="$mr$bg$fg$un $d $w \ur\br\fr" fi unset bg fg un done # music status music="$(mpc current -f "%artist% - [%title%|%file%]")" if [ -z "$music" ]; then music="nothing to see here..." mstat="" else mstat="$(mpc | sed -rn '2s/\[([[:alpha:]]+)].*/\1/p')" [ "$mstat" == "paused" ] && mstat="" || mstat="" fi # volume status if [ "$(amixer get Master | sed -nr '$ s:.*\[(.+)]$:\1:p')" == "off" ] then vol="[m]" vstat="" else vol="$(amixer get PCM | sed -nr '$ s:.*\[(.+%)].*:\1:p')" if [ "${vol%\%}" -le 10 ]; then vstat="" elif [ "${vol%\%}" -le 20 ]; then vstat=""; else vstat=""; fi fi # date and time date="$(date +"%R")" dstat="" printf '%s %s %s %s' "$mr" "$s" "\c$t" "\r" printf ' \\u6\\b9 %s \\br\\ur %s' "$mstat" "$music" "$vstat" "$vol" "$dstat" "$date " printf '\n'
u can share with single monitor setup ?
Offline
Offline
@F34R
Check my signature for DotShare link. You can find my old single setup script from there.
Offline
[bold]@Shinryuu[/bold]
Thanks! I need to do some fixes to match my setup, but I think that finally my monsterwm config is complete
Offline
Offline
@F34R
Check my signature for DotShare link. You can find my old single setup script from there.
clone & configure monsterwm from git --ok
clone and install lemonbar from git --ok
started at wm the wmrun.sh --ok
put statusinfo in same folder wmrun script --ok
Issue: the bar is not showed information seem time .
Offline
Already switched back to a darker setup. Also ditched urxvt for st and improved the font rendering in my statusbar:
Please, share the patch which center windows name.
Offline