You are not logged in.
Last problem that needs to be solved with awesome and I am satisfied with it.
I like some systeminfo in the statusbar (Email, cpu, battery etc.)
This is from my rc.lua at the bottom af the file:
-- Hook called every second
awful.hooks.timer.register(60, function ()
mytextbox.text = " Batt: " .. execute_command("acpi | awk '{ print $4 }' | sed s/','//g").. " | Mail: " .. execute_command("perl /home/slk/.conky/.scripts/gmail.pl n") .. " | " .. os.date("%H:%M") .. ""
It works great. Except that it takes 60 seconds to load. How to load instantly and REFRESH every 60 second??
Best regards.
Offline
Last problem that needs to be solved with awesome and I am satisfied with it.
I like some systeminfo in the statusbar (Email, cpu, battery etc.)This is from my rc.lua at the bottom af the file:
-- Hook called every second awful.hooks.timer.register(60, function () mytextbox.text = " Batt: " .. execute_command("acpi | awk '{ print $4 }' | sed s/','//g").. " | Mail: " .. execute_command("perl /home/slk/.conky/.scripts/gmail.pl n") .. " | " .. os.date("%H:%M") .. ""
It works great. Except that it takes 60 seconds to load. How to load instantly and REFRESH every 60 second??
Best regards.
Repeat the mytextbox.text = "" line somewhere outside that hook.
Offline
you can also try giving a last argument of true to register.
See /usr/share/awesome/awful/hooks.lua
function register (time, f, runnow)
Last edited by kljohann (2009-02-18 18:30:49)
Offline
another tip for using awesome...
always make a backup of your configs, because every time awesome gets updated everything gets overwritten with the defaults again
Offline
I haven't experienced any overwriting. (I keep my config in ~/.config/awesome)
What I use to do is keep a backup of the default rc.lua of the previous version and diff it against the current.
diff default.lua /etc/xdg/awesome/rc.lua
# And then after taking care of all those changes in my own rc.lua:
cp /etc/xdg/awesome/rc.lua default.lua
Offline
i'm still loving DWM, be sure to get the Gottox branch if you have dualscreen (also has some other handy tweaks built-in).
ᶘ ᵒᴥᵒᶅ
Offline
If you're using the version of Awesome in community, feel free to borrow my configs
Does that config work with newest version? I am still on Awesome2 cuz the new configs is too hard for me. But I like your config - it looks slick and understandable. Even I can edit it to suit my needs. Will it work if I upgrade to newest version and use your files?
Offline
You don't need to use Haskell to configure Xmonad, see XMonad.Config.PlainConfig.
Last edited by b3n (2009-04-23 22:47:48)
Offline
I am a longtime ion3 user. I tried awesome for a few weeks, also xmonad. I went crazy with them. They always think they know better then me how to tile my layout. it was just terrible for me.
It was so nice when i went back to ion3. Here i can set up my layout myself and have also tabs in each frame.
I can only advise you to try it
here the aur link: http://aur.archlinux.org/packages.php?K=ion-3
--Marenz
Last edited by Marenz (2009-04-23 23:46:26)
Offline
You DO need to learn a bit of Haskell to modify Xmonad configs to do what you want. Just because you can run it without messing with a lot of config stuff doesn't mean it will do whatever you want. When you do want it to do that, then Haskell is a must. If you REALLY want to understand someone else's config then you REALLY need to learn atleast the basic data structures
Everyone stop lying just to get another user running Xmonad. I'm not kidding either.
MacGregor DESPITE THEM!
7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Offline
another tip for using awesome...
always make a backup of your configs, because every time awesome gets updated everything gets overwritten with the defaults again
Also, always be prepared that syntax can change quite much every month or so. This is especially true for awesome-git.
I haven't lost my mind; I have a tape back-up somewhere.
Twitter
Offline
I am a longtime ion3 user. I tried awesome for a few weeks, also xmonad. I went crazy with them. They always think they know better then me how to tile my layout. it was just terrible for me.
It was so nice when i went back to ion3. Here i can set up my layout myself and have also tabs in each frame.
I can only advise you to try it
i just gave it a try and i have to say it looks promising. i did have immediate problems with frames (sometimes) refusing to resize though, so i'm not sure if it's very stable..
edit: oh, i see the resize above is by design, that's a bit counterintuitive... nice WM nonetheless
Last edited by litemotiv (2009-04-24 16:09:20)
ᶘ ᵒᴥᵒᶅ
Offline
Since someone else revived this, I'll add my $.02. Alot of folks are trying musca now. It's a tiling wm that gives you the control over your screen area and being developed by a fellow Archer. No set tiling schemes here. It's all up to you as the tiling is all set by the user, manually. I used to use dwm, wmii but use musca exclusively now. Simple with total user control.
Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz
Offline
Simple with total user control.
So is Ratpoison, but less bugs
MacGregor DESPITE THEM!
7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
Offline
bgc1954 wrote:Simple with total user control.
So is Ratpoison, but less bugs
bugless is boring! Musca ftw xD
Offline