You are not logged in.
this is what i wanted i don't want to change tag names, having tags named 1,2,3,4, i just want to categorize them (like "what's in 1 is WEB, in 2 is DEV, in 3 is LOL")
thanks mate
actually, searching for the correct tag with a mod-t is pretty uncomfortable... better mod-number
Offline
skualito, sorry to bother you anymore, but your configuration doesn't work... actually, mod-<1...0> doesn't switch any view... it all sticks to view number one... i also ripristinated old wmiirc with view "$i" but still sticking to view number one...
Offline
skualito, sorry to bother you anymore, but your configuration doesn't work... actually, mod-<1...0> doesn't switch any view... it all sticks to view number one... i also ripristinated old wmiirc with view "$i" but still sticking to view number one...
Hmmm, it works for me here... Mod-1 goes to "dev" and mod-2 to "web". Can you post the relevant parts of your wmiirc ?
Offline
for i in 0 1 2 3 4 5 6 7 8 9; do
cat <<!
# 1=www, 2=com, 3=dev, 4=sys, 5=media
# Key $MODKEY-1
# wmiir xwrite /ctl view "www"
# Key $MODKEY-2
# wmiir xwrite /ctl view "com"
# Key $MODKEY-5
# wmiir xwrite /ctl view "media"
# Key $MODKEY-3
# wmiir xwrite /ctl view "dev"
# Key $MODKEY-4
# wmiir xwrite /ctl view "sys"
# numbered views
Key $MODKEY-$i
wmiir xwrite /ctl view "$i"
Key $MODKEY-Shift-$i
wmiir xwrite /client/sel/tags "$i"
!
done
this is my actual wmiirc in /etc, i commented out the personalized lines, but still $MODKEY-$i doesn't work
Offline
You can try remove all the lines you added in /etc/wmiirc and edit your wmiirc_local instead:
local_events() {
for i in 1 2; do
cat <<!
Key $MODKEY-1
wmiir xwrite /ctl view "dev"
Key $MODKEY-2
wmiir xwrite /ctl view "web"
Key $MODKEY-Shift-1
wmiir xwrite /client/sel/tags "dev"
Key $MODKEY-Shift-2
wmiir xwrite /client/sel/tags "web"
!
done
}
This works fine for me.
Offline
I have a problem with the configuration file wmiirc.
Here the file: http://pastebin.com/m5d9feb07
And the error i get is:
wmii: note: missing fontsets for '-*-fixed-medium-r-*-*-13-*-*-*-*-*-*-*': KSC5601.1987-0, GB2312.1980-0
/home/alucard/.wmii-3.5/wmiirc: line 248: warning: here-document at line 51 delimited by end-of-file (wanted `!')
/home/alucard/.wmii-3.5/wmiirc: line 249: syntax error: unexpected end of file
I think the big problem is not the font.
Offline
Don't indent the ! on lines 157 and 164.
Offline
Don't indent the ! on lines 157 and 164.
This solved the issue.
Thanks Aedit.
Offline
A new problem:
/home/alucard/.wmii-3.5/wmiirc: line 205: Action_status: command not found
/home/alucard/.wmii-3.5/wmiirc: line 206: conf_which: command not found
Offline
The indentation in eventstuff() has been lost. See /etc/wmii-3.5/wmiirc and man wmiiloop.
Offline
The indentation in eventstuff() has been lost. See /etc/wmii-3.5/wmiirc and man wmiiloop.
I solved the problem. Yes, the indentation of the file is the problem. Thanks again.
Offline
Hi all,
i'm playing with archlinux and wmii and i'd like to share my workaround to display in wmii status bar the output of conky. I'am using latest version of wmii-hg from AUR and latest version of conky from extra repo. I'm working on a virtualbox virtual machine.
In .conkyrc config file i use the setting overwrite_file to write the conkyoutput to a file in my home named .conky2wmii.
I also configure the TEXT section for a single line layout. My .conkyrc:
out_to_x no
background no
cpu_avg_samples no
net_avg_samples no
no_buffers yes
out_to_console no
update interval 2.0
uppercase no
user_space none
ovewrite_file /home/username/.conky2wmii
TEXT
$sysname $kernel $machine CPU:$cpu% RAM:$memperc% Swap:$swapperc% Proc:$processes Hdd:$fs_used_perc% UP:${upspeed eth0} Down:${downspeed eth0} $time
In wmiirc_local in my .wmii-hg folder i simply overwriting the standard status function from wmiir with a read from my file .conky2wmii
status(){
cat /home/username/.conky2wmii
}
I then configure conky to start on wmii startup adding on wmiirc_local in my .wmii-hg folder the command
conky &
and i configure conky to be killed on wmii quit action adding to the quit action section in /etc/wmii-hg/wmiirc the code
Action quit
wmiir xwrite /ctl quit
pkill conky
I don't know if its' the best solution but this works quite well for me and i hope could be useful, this thread was very useful for me
"It seems that perfection is reached not when there is nothing left to add, but when there is nothing left to take away".
Antoine de Saint Exupéry
Offline
I've wanted to replace the default statusbar in my wmii with another statusbar like conky, mainly because conky is easier to use in my opinion.
So it looks like your post is just up my alley, good job, i'll try it when i get home
Offline
How to split the windows vertically and not horizontally?
If i want transparency in urxvt i need the AUR package? or i can have it with the ABS package?
Offline
I can split windows vertically.
But still want to know is it possible to get tranparency in urxvt using ABS package?
Offline
I remember stumbling on a patch that disabled the title bars on windows, but can't find it anymore.
Not being able to get rid of those is my only gripe with wmii, I hope someone here knows about it...
Offline
I remember stumbling on a patch that disabled the title bars on windows, but can't find it anymore.
Not being able to get rid of those is my only gripe with wmii, I hope someone here knows about it...
It can be done using a negative fontpad (/ctl) but you will loose the main bar too.
Offline
Hi,
Anyone knows how do I add actions like shutdown and reboot to the wmii actions menu ($MODKEY-a)?
rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686
Offline
Anyone knows how do I add actions like shutdown and reboot to the wmii actions menu ($MODKEY-a)?
Here is the #Actions section of my ~/.wmii-3.5/wmiirc file:
# Actions
Action quit
wmiir xwrite /ctl quit
Action shutdown
sudo shutdown -h now
Action exec
wmiir xwrite /ctl exec "$@"
Action reboot
sudo reboot
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
You will need sudo and shutdown/reboot in your sudoers file to do this. See the wiki.
Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.
Offline
Thanks, much easier than I thought.
Btw, what's the meaning of the exec and rc.wmii actions?
Last edited by rent0n (2010-04-11 14:09:37)
rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686
Offline
Hi all,
i'm playing with archlinux and wmii and i'd like to share my workaround to display in wmii status bar the output of conky. I'am using latest version of wmii-hg from AUR and latest version of conky from extra repo. I'm working on a virtualbox virtual machine.
In .conkyrc config file i use the setting overwrite_file to write the conkyoutput to a file in my home named .conky2wmii.
I also configure the TEXT section for a single line layout. My .conkyrc:out_to_x no background no cpu_avg_samples no net_avg_samples no no_buffers yes out_to_console no update interval 2.0 uppercase no user_space none ovewrite_file /home/username/.conky2wmii TEXT $sysname $kernel $machine CPU:$cpu% RAM:$memperc% Swap:$swapperc% Proc:$processes Hdd:$fs_used_perc% UP:${upspeed eth0} Down:${downspeed eth0} $time
In wmiirc_local in my .wmii-hg folder i simply overwriting the standard status function from wmiir with a read from my file .conky2wmii
status(){ cat /home/username/.conky2wmii }
I then configure conky to start on wmii startup adding on wmiirc_local in my .wmii-hg folder the command
conky &
and i configure conky to be killed on wmii quit action adding to the quit action section in /etc/wmii-hg/wmiirc the code
Action quit wmiir xwrite /ctl quit pkill conky
I don't know if its' the best solution but this works quite well for me and i hope could be useful, this thread was very useful for me
I've just tried this method as I feel much more comfortable in taking information from conky rather than using sed and awk...
However, I've noticed that the hard disk is always active, probably because it continuously 'cats' the .conky2wmii file.
Can you confirm this?
Maybe there's a more direct way to pipe conky's output into wmii statusbar?
rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686
Offline
How to get a nice status bar (mpd, cpu comsuption, etc).
I find several options but still i don't know, what is the best way to do it?:
1. Using sunaku's Ruby wmiirc
2. Using Wmii Filesystem
3. other way...
Well Archers, what do you suggest?
Btw, please, indicate how to install and configure.
TIA.
Offline
I just have a set of functions in wmiirc, each updating its own small statusbar, all put in /lbar.
Each sub-bar can be separately-colored, and you can have each of them pop up a different little OSD when you click them.
Installing and and configuring is pretty straightforward... Just paste the new functions into wmiirc and edit the "status" action to call them.
If you're interested, I can clean up my wmiirc a bit and paste the relevant bits here.
Offline
If you're interested, I can clean up my wmiirc a bit and paste the relevant bits here.
That can be great!!!
Offline
I just have a set of functions in wmiirc, each updating its own small statusbar, all put in /lbar.
Each sub-bar can be separately-colored, and you can have each of them pop up a different little OSD when you click them.
Installing and and configuring is pretty straightforward... Just paste the new functions into wmiirc and edit the "status" action to call them.
If you're interested, I can clean up my wmiirc a bit and paste the relevant bits here.
I would be *very* interested, please paste your config!
Last edited by rent0n (2010-04-12 07:29:32)
rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686
Offline