You are not logged in.
yes but not every WM is capable of doing things that another WM can. you know what I mean ?
Yes. I'm fortunate in that I've yet to find a use case where it couldn't work for me: but I have only really spent significant time with automatic tilers (dwm, echinus and now WMFS). I played with i3 for a couple of days, but the one bug I found prevented me from going any further...
Offline
I just trying WMFS yesterday, and figured out that instead using Mod4, it's better using "Super". Some command isn't working when i try to bind it using Mod4, but it's work when i change Mod4 to Super
Well i'm still diggin about this WM, and i use as alternative from xmonad ^^
Offline
Does anyone know why when using this command: "conky | while read -r; do wmfs -s -name "$REPLY"; done" to pipe Conky into the statusbar, it successfully pipes the info into the status bar but also spawns a terminal window, in my case urxvt, with the same info.
What's the proper procedure for piping conky into the statusbar?
Offline
D'oh. Thanks!
Edit: That worked by stopping a terminal window appearing, but now conky appears on the desktop. Not a big deal since the desktop is usually covered, but it's still odd.
update_interval 3.0
out_to_console yes
double_buffer yesTEXT
[${cpu cpu0}% @ ${freq_g}GHz] [${downspeed wlan0} ${upspeed wlan0}] [${time %B %e %H:%M}]
Graphs also don't seem to work, e.g. ${downspeedgraph wlan0 8,60 789E2D A7CC5C} but they will draw on the desktop.
Last edited by sensory (2011-01-19 23:53:55)
Offline
@enzzzy : did you try that :
[key] mod = { "Mod4" } key = "i" func = "client_ignore_tag" [/key]
@sensory : graphs wont work, WMFS don't know how to handle them,
and try to add "out_to_x no" to get conky outputting only to console.
Last edited by Erus_Iluvatar (2011-01-20 10:07:22)
I'm french, don't mind my mistakes in english.
Offline
Many thanks, Erus, that did the trick.
I'm really liking WMFS so far. It's a nice blend of some of the more advanced tiling window managers with a very readable and well commented configuration. I've been using Subtle before WMFS, but I really missed automatic layouts and WMFS does this well.
Offline
I'm trying WMFS and made a personal status bar which apparently generates a lot of zombie process that make my CPU goes to some laggie mode even if none of the process has any percentage of MEM or CPU:
My statusbar:
# -----
# Paths
# -----
ICONPATH="$HOME/.wmfsicons/status/"
# -------------
# Defining VARS
# -------------
DATE=$(date "+%H:%M")
SDA4=$(df -h /home | tail -1 | awk -F' ' '{print $4}')
SDA2=$(df -h / | tail -1 | awk -F' ' '{print $3}')
TEMP=$(cat /proc/acpi/thermal_zone/TZ01/temperature | awk '{print $2}')
VOL=$(amixer get Master | awk '/Front\ Left:/ {print $5}' | sed -e 's/\[//g' -e 's/]//g')
MEM=$(free -t -m | grep '^Total:' | awk '{print $3}')
# CPU lines courtesy Procyon: https://bbs.archlinux.org/viewtopic.php?pid=661592
CPU0=$(eval $(awk '/^cpu0 /{print "previdle=" $5 "; prevtotal=" $2+$3+$4+$5 }' /proc/stat);
sleep 0.4;
eval $(awk '/^cpu0 /{print "idle=" $5 "; total=" $2+$3+$4+$5 }' /proc/stat);
intervaltotal=$((total-${prevtotal:-0}));
echo "$((100*( (intervaltotal) - ($idle-${previdle:-0}) ) / (intervaltotal) ))")
CPU1=$(eval $(awk '/^cpu1 /{print "previdle=" $5 "; prevtotal=" $2+$3+$4+$5 }' /proc/stat);
sleep 0.4;
eval $(awk '/^cpu1 /{print "idle=" $5 "; total=" $2+$3+$4+$5 }' /proc/stat);
intervaltotal=$((total-${prevtotal:-0}));
echo "$((100*( (intervaltotal) - ($idle-${previdle:-0}) ) / (intervaltotal) ))")
# ---------
# The print
# ---------
wmfs -s "
\i[896;3;0;0;$ICONPATH/temp.png]\
\s[910;12;#DCDCDC;$TEMP C]\
\s[933;12;#8F8F8F;|]\
\i[940;3;0;0;$ICONPATH/cpu.png]\
$(wmfs-status-gauge 954 2 35 3 '#df0031' 1 '#333333' $CPU0) \
$(wmfs-status-gauge 954 8 35 3 '#df0031' 1 '#333333' $CPU1) \
\s[996;12;#8F8F8F;|]\
\i[1003;3;0;0;$ICONPATH/mem.png]\
\s[1016;12;#DCDCDC;$MEM MB]\
\s[1052;12;#8F8F8F;|]\
\i[1060;3;0;0;$ICONPATH/hd.png]\
\s[1073;12;#DCDCDC;/: $SDA2]\
\s[1113;12;#DCDCDC;/home: $SDA4]\
\s[1168;12;#8F8F8F;|]\
\i[1177;3;0;0;$ICONPATH/spkr_01.png]\
$(wmfs-status-gauge 1189 4 35 5 '#2c8cd7' 1 '#333333' $VOL) \
\s[1230;12;#8F8F8F;|]\
\s[1250;12;#DCDCDC;$DATE]\
\i[1237;3;0;0;$ICONPATH/clock.png]\
"
wmfsrc:
[misc]
status_timing = 1 #seconds
status_path = "/home/ramonoid/.wmfstatus.sh"
[/misc]
Any suggestions?
Last edited by teh (2011-01-20 23:47:01)
arst
Offline
Any suggestions?
Actually I'm using a modified version of your config right now...
Noticied the same before I modified the config, I changed the SDA, VOL and MEM lines:
SDA4=$(/bin/df -h /home | awk '/home/ {print $4}')
SDA2=$(/bin/df -h / | awk '/\/$/ {print $3}')
#TEMP=$(cat /proc/acpi/thermal_zone/TZ01/temperature | awk '{print $2}')
VOL=$(amixer get PCM | awk '/Front\ Left:/ {print $5}' | tr -d '[]')
MEM=$(/usr/bin/free -t -m | awk '/Total:/ {print $3}')
I remember it was something awk related, it spawned like a 100 of those.
Not sure what "fixed" it, maybe someone more knowledgeable can say...
EDIT: Actually I still have 5 zombie processes, not sure why, commented the TEMP,CPU and respective gauges but no luck so far.
Last edited by ggarm (2011-01-21 01:58:38)
Offline
@teh : does ps/pstree give the name of faulty processes?
I'm french, don't mind my mistakes in english.
Offline
To the devs: Thank you for creating a truly awesome wm! It is actually driving me away from i3
I found out the hard way that by creating a status.sh script that calls conky, you end up with multiple running instances of conky. To have conky started automatically at login I ended up putting this
#!/bin/bash
if [ -z $(pidof conky) ]; then # Checks if conky is running
conky -c $HOME/.conkyrc | while read -r; do wmfs -s -name "$REPLY"
else exit 0
fi
in a script that is called under the /root section in wmfsrc. It works but it seems quite hackish. Does anybody have a better solution?
EDIT: Fixed code tags
EDIT2: Added praise to the devs of this beautiful wm
Last edited by jOaNbE (2011-01-21 11:59:00)
Offline
Hum, sadly, that's what i'm doing, using
background_command = "~/.config/wmfs/autorun.sh"
looks like the less uggly solution
I'm french, don't mind my mistakes in english.
Offline
Hum, sadly, that's what i'm doing, using
background_command = "~/.config/wmfs/autorun.sh"
looks like the less uggly solution
Well, if you are doing the same thing, I guess the method is not discouraged
Offline
@teh : does ps/pstree give the name of faulty processes?
pstree: no
ps: yep
I've been trying using sh, zsh, bash in the shebang!, not using wmfs-status-toolkit, using just the "date" function... but in the end all the weird processes remains.
And it happens only when the "status_path" line is active, so is definitely the script. It's too weird that happens even using scripts made by other people (Thanks jasonwryan and people of the wiki in WMFS site), I'm considering to use conky again... u_u
Last edited by teh (2011-01-22 07:56:28)
arst
Offline
1. I'm trying out WMFS and I'm wondering if its possible to reorder the items in the bar. Like switch the placement of the time and tray or move the layout indicator to the far right.
2. How do I change the format for the time/date?
3. Is it possible to show both the selected and non-selected windows in the bar?
Offline
1. The time/date position is determined by your status script. I don't see any way to move the systray in the config - you'd probably have to hack the source.
2. Time/date are WM-independent (if I understood you correctly). man date has all the options.
3. If you mean clients in a tag, then there doesn't appear to be an option to show unselected client titles in the bar (see answer to 1.)
Offline
1 + 2. I wanted to change the time/date format thats in the WMFS bar so I guess I have to edit the status script. But I don't have a status script; does WMFS have a default one?
Offline
There are a few on the wiki: http://wmfs.info/projects/wmfs/wiki/Example_of_wmfsrc
or you can use what you need from mine...
Offline
@teh Have you got a recent pull, or an older version?
Offline
I like this thingy!
Got one question: is it possible to disable the titlebar per-application, in the rules section? Some apps I use I use exclusively full-screen (eg browser) and the titlebar is just taking space; but for some other apps (terminals) I find it useful.
Thanks.
Offline
I like this thingy!
Got one question: is it possible to disable the titlebar per-application, in the rules section? Some apps I use I use exclusively full-screen (eg browser) and the titlebar is just taking space; but for some other apps (terminals) I find it useful.
Thanks.
No it's not.
But you can open a feature request on the bug tracker :-)
Offline
A few questions:
- How can i remove the borders around clients completely? Even if i set the border_height to zero, there is still a 1px border visible?
- How can i set the height of the bar? There seems to be a little padding below the text (maybe this is part of the line-height of the font? Using dejavu here), which makes the text not be vertically centered in the bar and tabs. → my mistake, i didn't have any letters with descenders in the bar
- Could you introduce a space before the Exec: label, to separate it from the layout modifier? → this is in the config
Thanks.
Last edited by litemotiv (2011-01-23 16:05:53)
ᶘ ᵒᴥᵒᶅ
Offline
@NYFinest : using conky and an uggly sed script for coloring the output, and Alm already answered for the rest, thanks to him.
Why don't you put the hex-codes straight into your conky script?
ᶘ ᵒᴥᵒᶅ
Offline
Another question, I have a rule to open applications on certain tags but is it possible to also switch to that tag at the same time?
Is it possible to control if new windows open as the master or slave?
Offline
Another question, I have a rule to open applications on certain tags but is it possible to also switch to that tag at the same time?
Is it possible to control if new windows open as the master or slave?
Unfortunatly, no and no. But you can make a feature request :-)
I specially like the first one (and i will look to code it :-))
@litemotiv : no, you can't remove border. Even with border=0, you will have a 1px border.
Offline