You are not logged in.

#226 2008-03-16 13:46:48

upsidaisium
Member
From: Vietnam
Registered: 2006-09-16
Posts: 263
Website

Re: The wmii thread

leo2501 wrote:

Thanks jbromley! but it seems that my ~/.wmii-3.5/wmiirc file is not being read... i quit and reload x to reload my config, but with no change...

i see "nil" in the status bar as tag 1 when wmii loads, dont know what it means... i think that there's an error in my wmiirc and it goes to default config...

have you installed plan9port?  wmii can be configured with either an rc script, or a shell script.  i'm pretty sure that when wmii starts it tests for p9p, and if it's there it uses the rc.wmii file (which is written in rc), rather than the wmiirc shell script.  so if you've installed plan9port, you should use the rc file (or remove plan9port and continue to use wmiirc).

and i don't think the "nil" tag has anything to do with an error; it's just there by default when wmii fires up.


I've seen young people waste their time reading books about sensitive vampires. It's kinda sad. But you say it's not the end of the world... Well, maybe it is!

Offline

#227 2008-03-16 13:55:26

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: The wmii thread

no i dont have plan9port installed, so i have a ~/.wmii-3.5/wmiirc file, but i change the file but it's not being read... i think it only reads the /etc/wmii-3.5/wmiirc file...


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#228 2008-03-16 13:58:41

upsidaisium
Member
From: Vietnam
Registered: 2006-09-16
Posts: 263
Website

Re: The wmii thread

have you checked the wmii mailing list?  read through the archives and if that doesn't help, you can send a message and i'm sure somebody will be able to provide some insight.


I've seen young people waste their time reading books about sensitive vampires. It's kinda sad. But you say it's not the end of the world... Well, maybe it is!

Offline

#229 2008-03-16 14:16:54

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: The wmii thread

i just send a mail to the mailing list asking why my ~/.wmii-3.5/wmiirc file is not being read smile tnks!


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#230 2008-03-16 15:40:53

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: The wmii thread

i have just realized that my ~/.wmii-3.5/wmiirc file has not the proper permissions, i chmod +x it, but now i have wmii to not load properly, and in VT1 it says there's in line 63 near unespected esac...

the portion of ~/.wmii-3.5/wmiirc that gives the error:

# Event processing
#  Processed later by `wmiiloop' and evaled.
#  Duplicate the eval line and replace 'eval' with 'echo' for details.
eventstuff() {
    cat <<'!'
    # Events
    Event Start
        case "$1" in
        wmiirc)
            exit;
        esac  # <---- error in vt1

my ~/.wmii-3.5/wmiirc:

#!/bin/sh -f
# Configure wmii

# Configuration Variables
MODKEY=Mod1
UP=k
DOWN=j
LEFT=h
RIGHT=l

# Colors tuples: "<text> <background> <border>"

### Set 1 Colors :: (Gloom Theme) ###
#WMII_FOCUSCOLORS=('#ffffff' '#282828' '#cccccc')
#WMII_BACKGROUND='#333333'
#WMII_NORMCOLORS=('#e0e0e0' '#0a0a0a' '#606060') 
### End Set 1 Colors ###

### Set 2 Colors ###
WMII_NORMCOLORS='#888888 #000000 #000000'
WMII_FOCUSCOLORS='#ffffff #222222 #333333'
WMII_BACKGROUND='#000000'
### End Set 2 Colors ###

WMII_FONT='-*-arial-medium-r-*-*-12-*-*-*-*-*-*-*'
### Default Font ###
#-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*

set -- $(echo $WMII_NORMCOLORS $WMII_FOCUSCOLORS)
WMII_MENU="dmenu -b -fn '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5'"
WMII_9MENU="wmii9menu -font '$WMII_FONT' -nf '$1' -nb '$2' -sf '$4' -sb '$5' -br '$6'"
WMII_TERM="urxvt"

# Column Rules
wmiir write /colrules <<!
/.*/ -> 58+42
!

# Tagging Rules
wmiir write /tagrules <<!
/XMMS.*/ -> ~
/MPlayer.*/ -> ~
/.*/ -> sel
/.*/ -> 1
!

# Status Bar Info

status() {
    echo -n $(uptime | awk '{ print "Uptime: "$3" days "$1" "} '|' PCM: $(get_volume) '|' $(date +'%R %d/%m/%Y')'
}

# Event processing
#  Processed later by `wmiiloop' and evaled.
#  Duplicate the eval line and replace 'eval' with 'echo' for details.
eventstuff() {
    cat <<'!'
    # Events
    Event Start
        case "$1" in
        wmiirc)
            exit;
        esac  # <---- error in vt1
    Event Key
        fn=$(echo "$@" | sed 's/[^a-zA-Z_0-9]/_/g')
        Key_$fn "$@"
    Event CreateTag
        echo "$WMII_NORMCOLORS" "$@" | wmiir create "/lbar/$@"
    Event DestroyTag
        wmiir remove "/lbar/$@"
    Event FocusTag
        wmiir xwrite "/lbar/$@" "$WMII_FOCUSCOLORS" "$@"
    Event UnfocusTag
        wmiir xwrite "/lbar/$@" "$WMII_NORMCOLORS" "$@"
    Event UrgentTag
        shift
        wmiir xwrite "/lbar/$@" "*$@"
    Event NotUrgentTag
        shift
        wmiir xwrite "/lbar/$@" "$@"
    Event LeftBarClick
        shift
        wmiir xwrite /ctl view "$@"
    # Actions
    Action quit
        wmiir xwrite /ctl quit
    Action exec
        wmiir xwrite /ctl exec "$@"
    Action rehash
        proglist $PATH >$progsfile
    Action status
        set +xv
        if wmiir remove /rbar/status 2>/dev/null; then
            sleep 2
        fi
        echo "$WMII_NORMCOLORS" | wmiir create /rbar/status
        while status | wmiir write /rbar/status; do
            sleep 1
        done
    Event ClientMouseDown
        client=$1; button=$2
        case "$button" in
        3)
            do=$(eval $WMII_9MENU -initial "${menulast:-SomeRandomName}" Nop Delete Fullscreen)
            case "$do" in
            Delete)
                wmiir xwrite /client/$client/ctl kill;;
            Fullscreen)
                wmiir xwrite /client/$client/ctl Fullscreen on;;
            esac
            menulast=${do:-"$menulast"}
        esac
    # Key Bindings
    Key $MODKEY-Control-t
        case $(wmiir read /keys | wc -l | tr -d ' \t\n') in
        0|1)
            echo -n $Keys | tr ' ' '\012' | wmiir write /keys
            wmiir xwrite /ctl grabmod $MODKEY;;
        *)
            wmiir xwrite /keys $MODKEY-Control-t
            wmiir xwrite /ctl grabmod Mod3;;
        esac
    Key $MODKEY-space
        wmiir xwrite /tag/sel/ctl select toggle
    Key $MODKEY-d
        wmiir xwrite /tag/sel/ctl colmode sel default
    Key $MODKEY-s
        wmiir xwrite /tag/sel/ctl colmode sel stack
    Key $MODKEY-m
        wmiir xwrite /tag/sel/ctl colmode sel max
    Key $MODKEY-a
        Action $(actionlist | eval $WMII_MENU) &
    Key $MODKEY-p
        sh -c "$(eval $WMII_MENU <$progsfile)" &
    Key $MODKEY-t
        wmiir xwrite /ctl "view $(tagsmenu)" &
    Key $MODKEY-Return
        eval $WMII_TERM &
    Key $MODKEY-Shift-space
        wmiir xwrite /tag/sel/ctl send sel toggle
    Key $MODKEY-f
        wmiir xwrite /client/sel/ctl Fullscreen toggle
    Key $MODKEY-Shift-c
        wmiir xwrite /client/sel/ctl kill
    Key $MODKEY-Shift-t
        wmiir xwrite "/client/$(wmiir read /client/sel/ctl)/tags" "$(tagsmenu)" &
    Key $MODKEY-$LEFT
        wmiir xwrite /tag/sel/ctl select left
    Key $MODKEY-$RIGHT
        wmiir xwrite /tag/sel/ctl select right
    Key $MODKEY-$DOWN
        wmiir xwrite /tag/sel/ctl select down
    Key $MODKEY-$UP
        wmiir xwrite /tag/sel/ctl select up
    Key $MODKEY-Shift-$LEFT
        wmiir xwrite /tag/sel/ctl send sel left
    Key $MODKEY-Shift-$RIGHT
        wmiir xwrite /tag/sel/ctl send sel right
    Key $MODKEY-Shift-$DOWN
        wmiir xwrite /tag/sel/ctl send sel down
    Key $MODKEY-Shift-$UP
        wmiir xwrite /tag/sel/ctl send sel up
    Key $MODKEY-Mouse4
        sh -c "$(amixer -q set PCM 20+)" &
    Key $MODKEY-Mouse5
        sh -c "$(amixer -q set PCM 20-)" &
!
    for i in 0 1 2 3 4 5 6 7 8 9; do
        cat <<!
    Key $MODKEY-$i
        wmiir xwrite /ctl view "$i"
    Key $MODKEY-Shift-$i
        wmiir xwrite /client/sel/tags "$i"
!
    done
}

# WM Configuration
wmiir write /ctl << EOF
font $WMII_FONT
focuscolors $WMII_FOCUSCOLORS
normcolors $WMII_NORMCOLORS
grabmod $MODKEY
border 0
EOF

export WMII_MENU WMII_9MENU WMII_FONT WMII_TERM
export WMII_FOCUSCOLORS WMII_SELCOLORS WMII_NORMCOLORS

# Feed events to `wmiiloop' for processing
eval "$(eventstuff | sed 's/^[    ]//' | { . wmiiloop; })"

echo "$Keys" | tr ' ' '\n' | wmiir write /keys

# Functions
Action() {
    action=$1; shift
    if [ -n "$action" ]; then
        Action_$action "$@" \
        || conf_which $action "$@"
    fi
}

proglist() {
    paths=$(echo "$@" | sed 'y/:/ /')
    ls -lL $paths 2>/dev/null \
        | awk '$1 ~ /^[^d].*x/ && NF > 2 { print $NF }' \
        | sort | uniq
}

# Misc
progsfile="$WMII_NS_DIR/.proglist"
Action status &
proglist $PATH >$progsfile &

xsetroot -solid "$WMII_BACKGROUND" &

# Setup Tag Bar
seltag="$(wmiir read /tag/sel/ctl 2>/dev/null)"
wmiir ls /lbar |
while read bar; do
    wmiir remove "/lbar/$bar"
done
wmiir ls /tag | sed -e 's|/||; /^sel$/d' |
while read tag; do
    if [ "X$tag" = "X$seltag" ]; then
        echo "$WMII_FOCUSCOLORS" "$tag" | wmiir create "/lbar/$tag" 
    else
        echo "$WMII_NORMCOLORS" "$tag" | wmiir create "/lbar/$tag"
    fi
done

# More functions
tagsmenu() {
        wmiir ls /tag | sed 's|/||; /^sel$/d' | eval $WMII_MENU
}

actionlist() {
    {    proglist $WMII_CONFPATH
        echo -n $Actions | tr ' ' '\012'
    } | sort | uniq
}

conf_which() {
    which=$(which which)
    prog=$(PATH="$WMII_CONFPATH" $which $1); shift
    [ -n "$prog" ] && $prog "$@"
}

# Stop any running instances of wmiirc
echo Start wmiirc | wmiir write /event || exit 1

wmiir read /event |
while read event; do
    set -- $event
    event=$1; shift
    Event_$event $@
done 2>/dev/null

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#231 2008-03-16 20:53:54

jbromley
Member
From: Pasadena, CA
Registered: 2007-02-04
Posts: 268

Re: The wmii thread

leo2501 wrote:

... i chmod +x it, but now i have wmii to not load properly, and in VT1 it says there's in line 63 near unespected esac...

the portion of ~/.wmii-3.5/wmiirc that gives the error:

# Event processing
#  Processed later by `wmiiloop' and evaled.
#  Duplicate the eval line and replace 'eval' with 'echo' for details.
eventstuff() {
    cat <<'!'
    # Events
    Event Start
        case "$1" in
        wmiirc)
            exit;
        esac  # <---- error in vt1

Yes, the case statement is not properly formed, I would put the semicolon from the 'exit' command on the following line and add a second semicolon right after the first one. The whole case statement should look like:

case "$1" in
wmiirc)
    exit
    ;;
esac

Now, how your wmiirc got like this is another question. I haven't used the default script for some time, so it could be that there was a bug in the script. Perhaps an inadvertent key strike while editing the file? I do this often enough: my thumb grazes my laptop's touch pad as I'm typing and I insert or delete some characters where I shouldn't and don't clean it up properly.

I also think your status function has some unmatched parentheses. I think you need a single quote and a closing parenthesis after your awk statement and you need to remove the final single quote like the following:

# Status Bar Info
status() {
    echo -n $(uptime | awk '{ print "Uptime: "$3" days "$1" "}') '|' Volume: $(get_volume) '|' $(date +'%R %d/%m/%Y')
}

Good luck,
j

Offline

#232 2008-03-16 22:57:05

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: The wmii thread

Thanks! jbromley big_smile:D:D those were the errors! tongue what is strange is that the default wmiirc in /etc/wmii-3.5 dir has the case statement not properly formed, because i didnt touch that tongue

Very grateful!


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#233 2008-03-17 04:50:28

jbromley
Member
From: Pasadena, CA
Registered: 2007-02-04
Posts: 268

Re: The wmii thread

leo2501 wrote:

those were the errors! tongue what is strange is that the default wmiirc in /etc/wmii-3.5 dir has the case statement not properly formed, because i didnt touch that tongue

How very odd. I checked my version (from when I updated wmii on 2/14) and it has the same error. Though I usually use ruby-wmii, I'm pretty sure that some time in the last month I used the default config files to test things and I don't recall any problems having wmii start.

Anyway, I'm glad you've got things working.

Regards,
j

Offline

#234 2008-03-28 16:43:15

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: The wmii thread

hi! so far im using wmii for near a month and i dont think i come back to the "floating world" tongue

but i find that when i open a program it opens in tilin mode (perfect) but every time i sart a terminal with
ALT+(Return) every urxvt i open, opens in float mode instead of in tiling mode, how can i set it to open everytime in tiling mode?

TNX

another one: is possible to have two lines of info in the status bar instead of one?


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#235 2008-03-28 17:49:11

jbromley
Member
From: Pasadena, CA
Registered: 2007-02-04
Posts: 268

Re: The wmii thread

I've had occasional problems with urxvt coming up in floating mode. Usually I just put it back tiled and the next time it works fine. I don't know why this happens, but it is infrequent enough to not bother me. If you've made any rules, make sure

/URxvt.*/ -> ~

is not one of them, as this will make urxvt be floating every time.

Anyway, I've made a couple of plugins for ruby-wmii (CPU info and Network interface info). You can see them in my screen shot below. If anyone is interested I can provide you the code. The code also includes tweaked versions of the standard plugins and a Ruby extension to get network info (there's a bug reading the /sys filesystem from Ruby.) Without further adieu:

200803281032351920x1200sk1.th.png

Regards,
j

Offline

#236 2008-03-29 10:18:17

Gigamo
Member
Registered: 2008-01-19
Posts: 394

Re: The wmii thread

jbromley wrote:

I've had occasional problems with urxvt coming up in floating mode. Usually I just put it back tiled and the next time it works fine. I don't know why this happens, but it is infrequent enough to not bother me. If you've made any rules, make sure

/URxvt.*/ -> ~

is not one of them, as this will make urxvt be floating every time.

Anyway, I've made a couple of plugins for ruby-wmii (CPU info and Network interface info). You can see them in my screen shot below. If anyone is interested I can provide you the code. The code also includes tweaked versions of the standard plugins and a Ruby extension to get network info (there's a bug reading the /sys filesystem from Ruby.) Without further adieu:

http://img220.imageshack.us/img220/9047 … sk1.th.png

Regards,
j

I really like those Xdefaults colors and vim colorscheme (if that's even vim!). Could you post them? smile

Offline

#237 2008-03-29 12:39:52

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: The wmii thread

Here are my tagging rules:

# Tagging Rules
wmiir write /tagrules <<!
/XMMS.*/ -> ~
/MPlayer.*/ -> ~
/.*/ -> sel
/.*/ -> 1
!

i think i can actually add /URxvt.*/ -> 1 / sel but dont know what they do...

anyway jbromley i wanna know what font you use in those terminals! smile


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#238 2008-03-29 21:18:06

jbromley
Member
From: Pasadena, CA
Registered: 2007-02-04
Posts: 268

Re: The wmii thread

My color scheme is loosely based on the original zenburn theme. I've used this scheme for a long time and have never seen a theme that was quite as satisfying for me. That is emacs that I am using. The color theme is color-theme-comidia from the emacs color-theme 6.6 package. I believe there are tools to convert the emacs color scheme to other formats (Xresources, maybe vim), but you'd have to look for these tools. If it's interesting for you I could post the elisp code for the color theme. I am using the terminus font (community/terminus-font in the pacman database) for my terminal. It is very clean and easy to look at. Proggy opti (aur/proggyfonts) is also good, but a bit smaller than terminus. You can see my configuration files at dotfiles.org. You can find everything there you need to replicate my setup.

Leo - the tag rules send windows (matched by their window class, try xprop in a terminal and then click on a window) to either a tag (like 1 or web) or to the floating layer (if you use ~ as the target of the rule). You shouldn't need any special rule for URxvt. If you are still having urxvt floating problems perhaps make sure urxvt isn't an alias or a symlink to something unexpected. Other than that I don't know why wmii insists on floating your terminals.

By the way, I noticed my network connection was down when I took the screenshot. The net monitor in the status bar shows wifi signal strength (if applicable) and upload/download speeds for each routed interface.

Regards,
j

Offline

#239 2008-04-07 23:18:58

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: The wmii thread

hi again! i notice this (i think) strange amount of wmiir &  wmiirc processes with htop... is this normal?

 4101 aleyscha  20   0  2948 1268  996 S    0  0.1   0:00.00 wmiirc                 
 4103 aleyscha  20   0  3132  588  388 S    0  0.1   0:00.00 wmii                   
 4138 aleyscha  20   0  3076  788  444 S    0  0.1   0:00.56 wmiirc                 
 4164 aleyscha  20   0   796  172  124 S    0  0.0   0:00.00 wmiir                  
 4165 aleyscha  20   0  2948  648  376 S    0  0.1   0:00.06 wmiirc                 
 5960 root      20   0  4820 1432 1148 S    0  0.1   0:00.13 qingy                  
 6198 aleyscha  20   0  2948  640  368 S    0  0.1   0:00.00 wmiirc                 
 6199 aleyscha  20   0  9416 6280 4204 S    0  0.6   0:00.20 urxvt                  
 6234 aleyscha  20   0  3784 2428 1300 S    0  0.2   0:00.07 bash                   
 6464 aleyscha  20   0  2948  640  368 S    0  0.1   0:00.00 wmiirc                 
 6465 aleyscha  20   0  9536 6244 4192 S    0  0.6   0:00.28 urxvt                  
 6466 aleyscha  20   0  3784 2432 1300 S    0  0.2   0:00.07 bash                   
 6733 aleyscha  20   0  2948  640  368 S    0  0.1   0:00.00 wmiirc                 
 6734 aleyscha  20   0 11236 7968 4204 S    0  0.8   0:01.14 urxvt                  
 6749 aleyscha  20   0  3784 2432 1300 S    0  0.2   0:00.07 bash                   
 7576 aleyscha  20   0  2948  640  368 S    0  0.1   0:00.00 wmiirc                 
 7577 aleyscha  20   0  9544 6212 4204 S    0  0.6   0:00.38 urxvt                  
 7578 aleyscha  20   0  3784 2432 1300 S    0  0.2   0:00.07 bash                   
 8885 aleyscha  20   0  2700  900  716 S    0  0.1   0:00.00 screen

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#240 2008-04-08 08:35:17

jbromley
Member
From: Pasadena, CA
Registered: 2007-02-04
Posts: 268

Re: The wmii thread

This happens when you restart wmii (run the wmiirc action.) I've seen this with ruby-wmii as well as the default rc and bash script configurations. It appears that when you restart wmii, the old running wmiirc and wmii are not shut down or killed. I don't know if this has bad effects. All the instances may be using the same memory, and in this case I don't think it would ever be a big deal.

Regards,
j

Offline

#241 2008-04-14 18:41:11

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: The wmii thread

Has anyone succeded in using trayer with wmii? I can't figure out how to make it display on top of the bar (can't remember if the default wmii bar is dzen), it just sits on top of it.


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#242 2008-04-21 20:06:52

dziq
Member
From: Olsztyn, Poland
Registered: 2008-03-26
Posts: 65
Website

Re: The wmii thread

I have problem with ruby-wmii. Everything seems ok, but I can't set my urxt transparent. When I use Gnome urxvt is transparent, so .Xdefaults is ok.  I like this screenshot http://people.cs.vt.edu/~codemac/shots/ … _00.54.png and I want to make my urxvt similar to that. Please help me

Offline

#243 2008-04-21 20:58:05

jbromley
Member
From: Pasadena, CA
Registered: 2007-02-04
Posts: 268

Re: The wmii thread

Can you run a transparent urxvt from a terminal? Try

urxvt -tr

from a terminal and see if it comes up transparent. If it does, then probably your X resources are not being read in. Wmii does not automatically read them, while GNOME probably does. For wmii you've got to read the X resources in your .xinitrc or .xsession.

If the above urxvt command doesn't bring up a transparent terminal, it could be that you need to set your wallpaper using another method. How are you currently setting the wallpaper? I've used feh, esetroot, and nitrogen successfully.

By the way, I used transparent urxvt in ruby-wmii without any problems.

Regards and good luck,
j

Offline

#244 2008-04-22 07:35:49

dziq
Member
From: Olsztyn, Poland
Registered: 2008-03-26
Posts: 65
Website

Re: The wmii thread

Thanks for replay. But I used feh and habak to set the wallpaper but wallpaper is under my urxvt . I also try this command

urxvt -tr

but nothing happened. Maybe there is something wrong in .wmii-3.5/wmiirc-config.rb, but I don't change original one except xterm -> urxvt

Ok my fault. I change some entries in .Xdeafaults, and urxvt is transparent now.

Last edited by dziq (2008-04-22 18:06:08)

Offline

#245 2008-08-02 14:59:28

Mimi
Member
From: Germany
Registered: 2008-06-06
Posts: 39

Re: The wmii thread

Is there something similar to:

wmiir write /bar/ctl 'display 0'

in the current filesystem layout to hide the bar?


It is what you make it. Even if you don't know what to make it.

Offline

#246 2008-08-02 21:11:22

N30N
Member
Registered: 2007-04-08
Posts: 273

Re: The wmii thread

Mimi wrote:

Is there something similar to:

wmiir write /bar/ctl 'display 0'

in the current filesystem layout to hide the bar?

Not that I'm aware of. While not ideal, I just tested and you can squish it down by setting the font extremely small. This of course also affects the panel titles.

wmiir xwrite /ctl "focuscolors #000000 #000000 #000000
normcolors #000000 #000000 #000000
font -*-*-*-*-*-*-2-*-*-*-*-*-*-*"

Offline

#247 2008-08-02 23:47:05

Mimi
Member
From: Germany
Registered: 2008-06-06
Posts: 39

Re: The wmii thread

Thanks. I'd like to have something like dwm's MOD+b.

  
  on_key("MODKEY2-b") { write "/ctl" , "focuscolors #9191FF #18185A #4c7899  
                                        normcolors #888888 #000000 #333333 
                                        font -*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*"
  }

  on_key("MODKEY2-n") { write "/ctl", "focuscolors #000000 #000000 #000000
                                       normcolors #000000 #000000 #000000                                       
                                       font -*-*-*-*-*-*-2-*-*-*-*-*-*-*"
  }

A little workaround... smile


It is what you make it. Even if you don't know what to make it.

Offline

#248 2008-08-12 07:11:45

TjPhysicist
Member
From: Waterloo, Canada
Registered: 2008-04-12
Posts: 126
Website

Re: The wmii thread

PLEASE PLEASE HELP ME. I can't get anything but the very basic wmii to work. wmii-ruby crashes. conky doesnt work. I cannot pipe mpc status to status bar. I have been looking all over the web for 2 months straight now. I really like wmii, and i would like to make it display things beyond the basic stuff that it comes with.I tried dwm, but i cannot pipe to dwm either. I have followed completely from scratch the Arch wiki, as well as the Gentoo wiki, as well as ANYTHING ELSE i could find on the web. I have tried asking around on wmii, conky, dwm and any other channels i could think of to no avail. My .wmiirc is the default one that is situated in /etc/wmii-3.5. Currently i have no wmii-ruby installed, cuz it makes my wmii crash.

-Tj

Last edited by TjPhysicist (2008-08-12 07:16:06)


-Tj
Now reborn as Tjh_ (to keep it similar to my username in other places)

Offline

#249 2008-08-12 10:47:11

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: The wmii thread

TjPhysicist wrote:

PLEASE PLEASE HELP ME. I can't get anything but the very basic wmii to work. wmii-ruby crashes. conky doesnt work. I cannot pipe mpc status to status bar. I have been looking all over the web for 2 months straight now. I really like wmii, and i would like to make it display things beyond the basic stuff that it comes with.I tried dwm, but i cannot pipe to dwm either. I have followed completely from scratch the Arch wiki, as well as the Gentoo wiki, as well as ANYTHING ELSE i could find on the web. I have tried asking around on wmii, conky, dwm and any other channels i could think of to no avail. My .wmiirc is the default one that is situated in /etc/wmii-3.5. Currently i have no wmii-ruby installed, cuz it makes my wmii crash.

-Tj

why don't you try in wmii or in dwm, dzen2 and conky to pipe to dwm bar? look at my screenshot here:
desktop20080810172910zu1.th.jpg

You can pipe your own scripts or the entire output of conky, in this screenshot i pipe both, the bottom bar are my scripts, and the above bar is the conky output

and here is my config of dzen2 and conky-cli (AUR, conky without X dependencies)
http://bbs.archlinux.org/viewtopic.php? … 38#p404938

hope you like it! smile

Last edited by leo2501 (2008-08-12 10:48:34)


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#250 2008-08-12 11:22:23

TjPhysicist
Member
From: Waterloo, Canada
Registered: 2008-04-12
Posts: 126
Website

Re: The wmii thread

Nope dwm still displaying "dwm-5.1".


-Tj
Now reborn as Tjh_ (to keep it similar to my username in other places)

Offline

Board footer

Powered by FluxBB