You are not logged in.

#1301 2013-09-02 20:44:03

multiphrenic
Member
From: Toronto, Canada
Registered: 2011-04-26
Posts: 73
Website

Re: Share your Awesome(WM) desktop!

any idea how i can get the cpufreq vicious widget working again? the vicious widget is looking for scaling_cur_freq which doesn't exist in /sys/device/system/cpu/cpu0/cpufreq and cpuinfo_cur_freq can't be read by user. looked at the vicious git but there havent been any updates in a while.

Offline

#1302 2013-09-02 22:33:57

mony
Member
Registered: 2013-03-07
Posts: 32

Re: Share your Awesome(WM) desktop!

multiphrenic wrote:

any idea how i can get the cpufreq vicious widget working again? the vicious widget is looking for scaling_cur_freq which doesn't exist in /sys/device/system/cpu/cpu0/cpufreq and cpuinfo_cur_freq can't be read by user. looked at the vicious git but there havent been any updates in a while.

mmmm its working hmm

e.g.

cpufreq = wibox.widget.textbox()
vicious.register(cpufreq, vicious.widgets.cpufreq, function (widget, args)
			return args[1] .. ' Mhz ' .. args[5]
			end, 5, 'cpu0')

Offline

#1303 2013-09-03 19:28:30

Jing
Member
Registered: 2013-06-29
Posts: 20

Re: Share your Awesome(WM) desktop!

acbs1YQV.jpg


me lurking big_smile



adzVl099.jpg


clean and running 5 conkys :}

Offline

#1304 2013-09-04 04:19:09

s0nny
Member
Registered: 2013-06-25
Posts: 1

Re: Share your Awesome(WM) desktop!

Here's my current awesome theme big_smile (Modified based on sardina's Holo theme)

adfzEIeI.jpg
ackldogs.jpg

Offline

#1305 2013-09-04 10:41:44

multiphrenic
Member
From: Toronto, Canada
Registered: 2011-04-26
Posts: 73
Website

Re: Share your Awesome(WM) desktop!

Crosspost from monthly screenshot thread:

762UILM.png
FKzVxEK.png

Offline

#1306 2013-09-05 17:55:50

shmibs
Member
Registered: 2012-09-11
Posts: 93
Website

Re: Share your Awesome(WM) desktop!

mine's pretty plain; just an added statusbar with some vicious widgets and a call to ps to get the top process.

lain-gray-thumb.png

does anyone know why a wibox (and drawins in general) can be set to "normal" and "ontop" but not "above" (the default state for pretty much every other panel-type thing)? it's particularly annoying with shadows enabled because other windows' shadows get drawn on top of the wibox. i had to set compton to only draw shadows for type=dock. clients can be set to above just fine...

Last edited by shmibs (2013-09-05 18:08:28)


[site] | [dotfiles] | あたしたち、人間じゃないの?

Offline

#1307 2013-09-06 00:29:42

mony
Member
Registered: 2013-03-07
Posts: 32

Re: Share your Awesome(WM) desktop!

shmibs wrote:

does anyone know why a wibox (and drawins in general) can be set to "normal" and "ontop" but not "above" (the default state for pretty much every other panel-type thing)? it's particularly annoying with shadows enabled because other windows' shadows get drawn on top of the wibox. i had to set compton to only draw shadows for type=dock. clients can be set to above just fine...

do you mean like this ?!
2013_09_06_031740_3600x1080_scrot.jpg

Offline

#1308 2013-09-06 15:11:24

Apple
Member
Registered: 2013-03-30
Posts: 25

Re: Share your Awesome(WM) desktop!

Hello, I don't have any pictures to share, but seeing as I copied 90% of my config from this thread, I thought I'd add something to the discussion:

Here's my function for moving or resizing clients to a predefined position - I have the functions with different arguments bound to some clientkeys in my rc.lua
There's probably better ways out there, but I didn't find them, and in case someone else can't either they can copy this.

rettab = {}
-- {{{ Client snap-to functions
-- {{{ Position definitions
-- To change the defined positions, just modify these three tables.
-- All values are in percentage of workarea, borders are from edge of monitor
local abstract_borders = {top=0.008, side=0.006}

local abstract_sizes = {small={0.35, 0.5}, normal={0.43, 0.44}, long={0.3, 0.987}}

local abstract_positions = {tl=function(g) return {borders['top'], borders['left']} end,
                            tr=function(g) return {borders['top'], borders['right'] - g.width} end,
                            bl=function(g) return {borders['bottom'] - g.height, borders['left']} end,
                            br=function(g) return {borders['bottom'] - g.height,
                                                   borders['right'] - g.width} end,
                            center=function(g) return {wa.height/2 - g.height/2,
                                                       wa.width/2 - g.width/2} end }
-- }}}

-- {{{ Moving
local function find_borders_in_pixels(wa)
    -- Converts the global abstract_borders into actual values based on workarea size
    -- gives borders in pixels away from workarea borders - does not account for
    -- multiple monitors or wiboxes (that is included later)
    local topval = math.floor(wa.height * abstract_borders.top)
    local bottomval = wa.height - topval
    local leftval = math.floor(wa.width * abstract_borders.side)
    local rightval = wa.width - leftval
    return {top=topval, bottom=bottomval, right=rightval, left=leftval}
end


function rettab.snap(c, scr, pos, wiboxhgt)
    -- c is client, pos is symbolic representation of position (e.g. 'tr')
    -- scr is screen (found through screen[c.screen]) 
    -- wiboxhgt is height in pixels of your wibox
    local cgeom = c:geometry()
    local scrgeom = scr.geometry
    wa = scr.workarea
    borders = find_borders_in_pixels(wa, cgeom)
    newgeom = {}
    -- Uses the fact that wa and borders are not defined as local
    newposition = abstract_positions[pos](cgeom)
    newgeom.y = newposition[1] + scrgeom.y + wiboxhgt
    newgeom.x = newposition[2] + scrgeom.x
    c:geometry(newgeom)
end
-- }}}

-- {{{ Resizing
local function create_actual_sizes(wa, sz)
    -- Converts abstract sizes into actual sizes based on work area size
    -- wa is workarea
    -- sz is symbolic size (e.g. 'small')
    local function actu(tab)
        return {height=math.floor(tab[1] * wa.height), width=math.floor(tab[2] * wa.width)}
    end
    pixel_sizes = {}
    for key, value in pairs(actu(abstract_sizes[sz])) do pixel_sizes[key]=value end
    return pixel_sizes
end

function rettab.resize(c, scr, size)
    -- c is client, scr is client screen (from screen[c.screen])
    -- size is symbolic size (e.g. 'normal')
    local cgeom = c:geometry()
    local wa = scr.workarea
    local scrgeom = scr.geometry
    local newgeom = create_actual_sizes(wa, size)
    newgeom.x, newgeom.y = cgeom.x, cgeom.y
    local borders = find_borders_in_pixels(wa)
    if cgeom.x + newgeom.width > borders.right + scrgeom.x  or cgeom.x + newgeom.height > borders.bottom + scrgeom.y then
        newgeom.x = newgeom.x - math.max(cgeom.x + newgeom.width - borders.right - scrgeom.x, 0)
        newgeom.y = newgeom.y - math.max(cgeom.y + newgeom.height - borders.bottom - scrgeom.y, 0)
    end
    c:geometry(newgeom)
end
-- }}}

-- }}}

You could combine the functions like

-- Assuming your wibox is 15 pixels high
function bottomleftsmall(c)
    resize(c, screen[c.screen], 'small')
    snap(c, screen[c.screen], 'bl', 15)
end

but I haven't (so this bit here is untested)

If your wibox is on the right or bottom - pass '0' as wibox height
If your wibox is on the left - add wiboxhgt to newgeom.x instead of newgeom.y in the snap function

Last time I tested it, this worked well on multiple monitors, but I may have introduced a bug since then.


Note: the 'rettab' is there because I define the functions in a separate file and include them with   local funcs = require("myfunctions")   where the 'myfunctions' module returns rettab.

Offline

#1309 2013-09-06 21:11:28

mony
Member
Registered: 2013-03-07
Posts: 32

Re: Share your Awesome(WM) desktop!

2013_09_07_scrot.jpg

^__^

Offline

#1310 2013-09-07 16:02:59

sardina
Member
Registered: 2013-02-23
Posts: 152

Re: Share your Awesome(WM) desktop!

I hacked awesome-vain too much I decided to create my own module instead: lain.

Like its precedessor, it's a set of complements for Awesome: layouts, widgets and utilities.

But it tries to stay out of your way, providing a lot of fancy stuff at the same time.

It will be part of awesome-copycats starting from version 2.0.

Some quick and not exhaustive screenshots:

8D9A7lWs.png 9Iv3OR3s.png STCPcaJs.png

Original ported vain can be found here.


@mony: Nice! How did you manage to show only current tag?

Offline

#1311 2013-09-08 04:28:59

mony
Member
Registered: 2013-03-07
Posts: 32

Re: Share your Awesome(WM) desktop!

sardina wrote:

@mony: Nice! How did you manage to show only current tag?

With eminent

Offline

#1312 2013-09-08 15:50:03

shmibs
Member
Registered: 2012-09-11
Posts: 93
Website

Re: Share your Awesome(WM) desktop!

yes, exactly. setting to ontop does that, but also makes them draw over the top of fullscreen windows. also, what file manager are you using for your desktop?
/me stops there to avoid overrunning everything with questions.

sardina wrote:

I hacked awesome-vain too much I decided to create my own module instead: lain.

Like its precedessor, it's a set of complements for Awesome: layouts, widgets and utilities.

But it tries to stay out of your way, providing a lot of fancy stuff at the same time.

It will be part of awesome-copycats starting from version 2.0.

Some quick and not exhaustive screenshots:

http://i.imgur.com/8D9A7lWs.png http://i.imgur.com/9Iv3OR3s.png http://i.imgur.com/STCPcaJs.png

Original ported vain can be found here.

this looks fantastic!


[site] | [dotfiles] | あたしたち、人間じゃないの?

Offline

#1313 2013-09-09 17:20:58

mony
Member
Registered: 2013-03-07
Posts: 32

Re: Share your Awesome(WM) desktop!

shmibs wrote:

yes, exactly. setting to ontop does that, but also makes them draw over the top of fullscreen windows. also, what file manager are you using for your desktop?

you can do something like this after setting the wibox to ontop

	
	c:connect_signal("property::fullscreen", function() 
		if c.fullscreen or awful.layout.get(c.screen) == awful.layout.suit.max.fullscreen then
			mywibox[c.screen].ontop = false
		else
			mywibox[c.screen].ontop = true
		end 
	end)
	for s =1, screen.count() do
	if awful.layout.get(s) == awful.layout.suit.max.fullscreen then
			mywibox[s].ontop = false
	end
	screen[s]:connect_signal("tag::history::update", function ()
		if (client.focus ~= nil and client.focus.fullscreen) or awful.layout.get(mouse.screen) == awful.layout.suit.max.fullscreen then
			mywibox[mouse.screen].ontop = false
		else
			mywibox[mouse.screen].ontop = true
		end  
	end)
	end

put it in the signals section in the end of your config

client.connect_signal("manage", function (c, startup)
...
here
...
end)

I'm using nemo with --no-desktop option
and freedesktop for desktop Icons

Last edited by mony (2013-09-09 17:29:43)

Offline

#1314 2013-09-11 21:23:07

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: Share your Awesome(WM) desktop!

I'm back to awesome <3

Nothing special here, awesome running in KDE:
SX4512s.png

Offline

#1315 2013-09-12 19:39:59

Phasme
Member
Registered: 2011-07-10
Posts: 21
Website

Re: Share your Awesome(WM) desktop!

After a break under cinnamon, I needed to play again with awesome and my module blingbling.

abcGyelt.jpg

ads2TuGy.jpg

acvWNWxq.jpg

Offline

#1316 2013-09-14 09:24:10

Papun
Member
Registered: 2013-08-05
Posts: 14

Re: Share your Awesome(WM) desktop!

sardina wrote:

I hacked awesome-vain too much I decided to create my own module instead: lain.

Like its precedessor, it's a set of complements for Awesome: layouts, widgets and utilities.

But it tries to stay out of your way, providing a lot of fancy stuff at the same time.

It will be part of awesome-copycats starting from version 2.0.

Some quick and not exhaustive screenshots:

http://i.imgur.com/8D9A7lWs.png http://i.imgur.com/9Iv3OR3s.png http://i.imgur.com/STCPcaJs.png

Original ported vain can be found here.


@mony: Nice! How did you manage to show only current tag?

First of all, i love your stuff and today installed it.
so i've choose favorite theme, run awesome and popup this error message:
/home/papungag/.config/awesome/lain/widgets/bat.lua:92: attempt to compare nil with number

whats the problem?

Offline

#1317 2013-09-14 12:45:50

sardina
Member
Registered: 2013-02-23
Posts: 152

Re: Share your Awesome(WM) desktop!

Thanks for liking. smile

The issue was pulled and fixed here. Git update to latest version.

PS: awesome-copycats 2.0 is out! new stuff soon.

PPS: do you think I should start a thread in community contributions?

Last edited by sardina (2013-09-14 12:48:17)

Offline

#1318 2013-09-15 16:20:26

lunarjar
Member
Registered: 2013-02-13
Posts: 11

Re: Share your Awesome(WM) desktop!

sardina you definitely should! smile

Offline

#1319 2013-09-17 11:44:32

sylflo
Member
Registered: 2012-11-24
Posts: 11

Re: Share your Awesome(WM) desktop!

I really like your desktop Jing.  But how do you do to have cube? It seems like 3d. Is it compiz or conky maybe or the config in you rc.lua ?

Last edited by sylflo (2013-09-17 12:58:55)

Offline

#1320 2013-09-17 15:19:16

Jing
Member
Registered: 2013-06-29
Posts: 20

Re: Share your Awesome(WM) desktop!

sylflo wrote:

I really like your desktop Jing.  But how do you do to have cube? It seems like 3d. Is it compiz or conky maybe or the config in you rc.lua ?

nope smile its just the wallpaper...with conky overlayed on top, i'm not clever enough for that -.-' (tweaked this one with gimp http://zonters.com/image/2013/03/3D_Cubes.jpg )

Offline

#1321 2013-09-17 15:47:39

sylflo
Member
Registered: 2012-11-24
Posts: 11

Re: Share your Awesome(WM) desktop!

Ok, the effect is amazing, it was a good idea and I'm not clever enought to think to do that tongue . And the icons on the left bottom, did you do it yourself with gimp?  And the same goes for layout at the right up ?

Edit: I'll post a screenshot of my desktop, when I'll finish to configure it. I'm new to awesome, but I like it, love shortcuts and modify it like I want smile.

Last edited by sylflo (2013-09-18 06:30:24)

Offline

#1322 2013-09-19 19:07:58

Jing
Member
Registered: 2013-06-29
Posts: 20

Re: Share your Awesome(WM) desktop!

sylflo wrote:

Ok, the effect is amazing, it was a good idea and I'm not clever enought to think to do that tongue . And the icons on the left bottom, did you do it yourself with gimp?  And the same goes for layout at the right up ?

Edit: I'll post a screenshot of my desktop, when I'll finish to configure it. I'm new to awesome, but I like it, love shortcuts and modify it like I want smile.

the icons came from
http://malysss.deviantart.com/art/malys … -298501868
i just modified the colors a bit ^^ same with the layout icons (from zenburn)
oh and http://gnome-look.org/content/show.php/ … tent=32627 goes pretty well with the theme wink

Offline

#1323 2013-09-20 08:09:12

farangoth
Member
From: New Mills, England
Registered: 2012-04-16
Posts: 3

Re: Share your Awesome(WM) desktop!

First post, first try on awesome WM
with thunar, vlc deadbeef and skype/pidgin for im
h87swbus.jpg

Offline

#1324 2013-09-20 16:08:39

sardina
Member
Registered: 2013-02-23
Posts: 152

Re: Share your Awesome(WM) desktop!

Crosspost.

655.png

HT9i_K7v.png

Offline

#1325 2013-09-20 16:40:45

ganastasiou
Member
Registered: 2010-02-03
Posts: 56

Re: Share your Awesome(WM) desktop!

Sardina, please don't post again. I LOVE your shots. big_smile

Offline

Board footer

Powered by FluxBB