You are not logged in.
Offline
Cross-post from the monthly thread
Great one. Care to share font that you used in bar?
Offline
dnuux wrote:Cross-post from the monthly thread
Great one. Care to share font that you used in bar?
Thanks, it's DejaVu.
Offline
Nice 1 LemonMan!
Offline
using TheLemonBar
I think I may want to find a way to separate the desktop info for each monitor.
Have the appropriate info show on the appropriate monitor somehow.
Last edited by c00kiemon5ter (2012-07-23 18:01:29)
.:[ git me! ] :.
Offline
using TheLemonBar
I think I may want to find a way to separate the desktop info for each monitor.
Have the appropriate info show on the appropriate monitor somehow.
Have you updated the git branch for multimonitor, or is it merged with "master" now? If "multimonitor" is back in production, I'm back on the monsterwm bandwagon! Now that I'm out of summer classes, I can test this out with regularity. I can't stress how much I love this WM.
Offline
2 hours with monster http://ompldr.org/vZXVuaw
WIP
Offline
2 hours with monster http://ompldr.org/vZXVuaw
WIP
This looks good, what is the font in the bar?
Offline
simon.swe wrote:2 hours with monster http://ompldr.org/vZXVuaw
WIPThis looks good, what is the font in the bar?
tnx Its Ohsnap
this one is better http://ompldr.org/vZXVudw
will add the cpu and stuff later
and this one shows the irssi pipe http://ompldr.org/vZXVueA
edit, one more. :D http://ompldr.org/vZXVvMQ
Last edited by simon.swe (2012-07-24 12:39:24)
Offline
Offline
Offline
using TheLemonBar
I think I may want to find a way to separate the desktop info for each monitor.
Have the appropriate info show on the appropriate monitor somehow.
Wait, what the... how did you make green colored boxes around the icons? I'm trying to read your script to copy a line or two
Offline
Shinruu isnt it \b<#> and \f<#> for background and foreground.
edit, and \u<#> for underline.
Last edited by simon.swe (2012-07-25 18:11:14)
Offline
I have uploaded my bar/monster-init script here if anyone is interested. http://ompldr.org/vZXY2MQ
it is a modified version of the baraction.sh script I stole from someone
the amixer doesnt work. I am working on it.
Last edited by simon.swe (2012-07-25 18:22:04)
Offline
Shinruu isnt it \b<#> and \f<#> for background and foreground.
edit, and \u<#> for underline.
It seems so Heh, I figured and tested it out before I saw your post.. I was just curious to know how to apply it in the scripts but oh well. Here's my dirty result:
And of course the script to pipe info:
#!/usr/bin/env bash
wm=monsterwm
ff="/tmp/$RANDOM.monsterwm.fifo"
tags=(' null' ' web' ' foo' '')
layouts=('TILE' 'MONOCLE' 'BSTACK' 'GRID' 'FLOAT')
[[ -p $ff ]] || mkfifo -m 600 "$ff"
function statusbar {
# mpd status
music="$(mpc current -f "%title% #\f8by #\f9%artist%")"
if [ -z "$music" ]; then music="[stopped]" mstat=""
else
mstat="$(mpc | sed -rn '2s/\[([[:alpha:]]+)].*/\1/p')"
[ "$mstat" == "paused" ] && mstat="" || mstat=""
fi
# date and time
date="$(date +"%H:%M")" dstat=""
# Print \f1%s\fr \br %s \\br %s
echo "\r "\\b4 \\f1$mstat\\fr \\br" "$music" "\\b4 \\f1$dstat\\fr \\br" "$date ""
}
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="8" bg="2" lc="\u6 " rc=" \ur" && layout="\f8""${layouts[$m]}" || fg="9" bg="0" lc=" " rc=" "
# Has windows ?
((w)) && ((! c)) && fg="9" lc="\u5 " rc=" \ur"
# Urgent windows ?
((u)) && fg="0" bg="2" 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
Offline
Offline
Real nice, is that done with lemonman's bar?
Offline
2 hours with monster http://ompldr.org/vZXVuaw
WIP
#fitthora? Inte det vackraste namnet på en kanal när man visar ett screenshot ))
I know I'm paranoid, but am I paranoid enought....
Offline