You are not logged in.
nope, that's part of monsterwm
? How? I don't see it in the config file and my borders don't overlap..
Offline
Hmm, is this ruined by the useless gaps branch? As in, even if the gap width is zero there is no overlap?
Offline
edit: wrong thread, sorry
Last edited by artel (2013-01-16 07:47:57)
Offline
While i wait for RPi, i will share my latest desktop (featuring new monitor):
http://i.imgur.com/RZFrCDCs.pngIt looks very spacey and clean and i like it a lot.
Nice, what's your font?
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
@Unia
Thank you. Font that i'm using on that sshot is "Tamsyn".
Offline
Ah, that's why it looks familiar. Thanks!
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
How would I go about using a top AND a bottom panel in monsterwm?
(github)
Offline
Offline
Hey guys,
yesterday I swiched from dwm to monsterwm for testing at first. It is simply awesome!
Love it so much, I also guess I will staying at
Edit: Bad Image service. Will reupload.
Edit.2: Well, here is it - Sorry for that
Last edited by Neuromatic (2013-06-07 19:58:09)
/* No Comment */
Offline
@Neuromatic
Neat screen. Care to share what text browser are you using (and configs for them)?
Offline
x-post from monthly
Offline
Care to share what text browser are you using (and configs for them)?
Alright then. Its w3m; config is default exept this line
extbrowser sh -c 'printf %s "$0" | xclip'
Effect is, that current url will be copied to clipboard. I use it to watch YouTube Videos in Mplayer.
/* No Comment */
Offline
Can anyone give me example how to get that colored underline under title, e.g. that yellow underline under www in above screenshot?
Thanks.
rm -rf /
Offline
Can anyone give me example how to get that colored underline under title
Take a look at Bar
But I'am intressted too, 'cause I have tryed to create a Bar, but it still not work, so I swichted back to dzen2.
/* No Comment */
Offline
I copied and changed some script I found here
It looks like this:
#!/usr/bin/env bash
wm=monsterwm
ff="/tmp/$RANDOM.monsterwm.fifo"
tags=('www' 'dev' 'irc' 'media')
layouts=('[T]' '[M]' '[B]' '[G]' '[F]')
[[ -p $ff ]] || mkfifo -m 600 "$ff"
function statusbar {
function clock() {
time="$(date "+%R")"
echo $time
}
function ssid() {
AP=$(iwconfig wlp2s0 | grep 'ESSID:' | awk '{print $4}' | sed 's/ESSID://g' | sed 's/"//g')
echo $AP
}
function mem(){
mem="$(awk '/^-/ {print $3}' <(free -m))"
echo $mem
}
echo "\c $(clock) \r\f6\Mem:\fr\ $(mem) MB \f7\*\fr\ \f6\WiFi:\fr\ $(ssid) "
}
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="4" bg="2" lc="\u4 " rc=" \ur" && layout=${layouts[$m]} || fg="1" bg="0" lc=" " rc=" "
# Has windows ?
((w)) && ((! c)) && fg="6" lc="\u6 " rc=" \ur"
# Urgent windows ?
((u)) && fg="9" bg="3" lc="\u4 " rc=" \ur"
tmp+="\f$fg\b$bg$lc$label$rc\fr\br"
done
# Merge the clients indications and the tile mode
tmp+=" $layout"
fi
echo "$tmp $(statusbar)"
done < "$ff" | bar &
#while :; do "$wm" || break; done | tee -a "$ff"
$wm > "$ff"
rm $ff
Last edited by toringe (2013-06-07 14:38:24)
Offline
Thanks, I will figure it out.
rm -rf /
Offline
Can anyone give me example how to get that colored underline under title, e.g. that yellow underline under www in above screenshot?
Thanks.
This is how I get the titles underlined in my bar. Hope it helps.
# desktop status
for desk; do
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" # has urgent hint
# desktop id
case "$d" in
0) d="null" ;; 1) d="web" ;;
2) d="dev" ;; 3) d="misc" ;;
*) d=""
esac
# current desktop on active monitor
if [ $c -ne 0 ]
then bg="\b2" un="\u2" fg="\f1"
case "$l" in
0) s="T" ;; 1) s="M" ;; 2) s="B" ;;
3) s="G" ;; 4) s="F" ;;
esac && s="\u0\u0$s\br\ur"
fi
# This underlines desktops with open windows
[ $w -ne 0 ] && un="\u1"
# or urgent hints
[ $u -ne 0 ] && un="\u4"
mr="$mr$bg$fg$un $d \ur\br\fr"
unset bg fg un
done
Offline