You are not logged in.

#26 2009-04-08 03:54:49

zapyourit
Member
Registered: 2008-05-12
Posts: 46

Re: Diving into Tiling WMs, Help Appreciated

Well. I figured out the problem. I have been using plan9port, it seems, which means I have to deal with rc.wmii.local in order to make changes. Now, I have no idea how to do that, nor how to change from plan9port to whatever it is I need to run wmiirc instead. Any ideas?

Also, I read somewhere that in order for shortcuts to work in wmii (and some other tiling wm's) you need to set X to grab the keys so that the wm can interpret them? I believe I did so, but I can't for the life of me remember what the file I edited is or where or anything, Any help? :-\

Offline

#27 2009-04-19 06:44:54

MreDD
Member
From: Orange County, USA
Registered: 2007-08-26
Posts: 175
Website

Re: Diving into Tiling WMs, Help Appreciated

i'm just guessing you mean Xmodmap, try adding something like this to your ~/.xsession or ~/.xinitrc

if [ -f $HOME/.Xmodmap ]; then
    /usr/bin/xmodmap $HOME/.Xmodmap
fi

[ -f /etc/X11/Xmodmap ] && xmodmap /etc/X11/Xmodmap

i like wmii alot, bout as much as fluxbox. atm i'm checking out awesome-git|wicked-git.
as for music output in taskbar w/wmii you can just add the path to the script in the status line

wmii.rc

# Status Bar Info
status() {
    echo -n MOC:$(~/scripts/conky-scripts/moc.sh)  $(date '+[%H:%M:%S - %m|%d|%Y]')
}

moc.sh Music On Console - MOC

 #!/bin/bash  
  
 INFO=`mocp --info`   
   
if [ "$INFO" == "State: STOP" ];  
 then  
   
echo -n ""  
  
else   
 ARTIST=`mocp --info | grep Artist | cut -f2 -d :`  
 TITLE=`mocp --info | grep SongTitle | cut -f2 -d :`
 ALBUM=`mocp --info | grep Album | cut -f2 -d :`
 BITRATE=$(mocp -i | grep "Bitrate" | awk '{print $2}') 

echo -e " $ARTIST : $TITLE @ $BITRATE - $ALBUM"
   
fi

Last edited by MreDD (2009-04-19 06:58:01)


...MikereDD
:Go Away & Give My Pillow Back!!:
aur pkgbuilds - mostly fortune-mod's & fonts

Offline

Board footer

Powered by FluxBB