You are not logged in.

#1 2012-05-24 09:03:52

xhc
Member
Registered: 2012-02-01
Posts: 113

[SOLVED]awesome wm - magnifier layouts + fullscreen youtube

I often usemagnifier layouts in awesome... fullscreen youtube video isnt in size of this mode ... and other question: how configure other default size of magnidier layout - i would to have a little bigger window - I must always manually resize

Last edited by xhc (2012-07-21 22:23:44)


#Awesome window manager

Offline

#2 2012-05-24 12:49:30

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: [SOLVED]awesome wm - magnifier layouts + fullscreen youtube

1) What do you mean "isn't in size of this mode?" Full-screen video doesn't fit the magnifier layout because it's, uh, full-screen, and doesn't fit any layout.

2) You'll need to manually modify the layout file in /usr/share/awesome/libs/awful/layout/suit.

Offline

#3 2012-05-24 16:04:49

Wibjarm
Member
Registered: 2012-05-04
Posts: 43

Re: [SOLVED]awesome wm - magnifier layouts + fullscreen youtube

Or, since the magnifier layout does respect your mwfact setting, you can hook something up to the layout-changed signal to set the mwfact to something higher when you switch to magnifier, and change it back when you switch to a different layout, something like this:

tag.connect_signal("property::layout", function(t)
    if (awful.layout.get(mouse.screen) == awful.layout.suit.magnifier) then
        awful.tag.setmwfact(0.85)
    else
        awful.tag.setmwfact(0.50)
    end 
end)

Just pop that in your rc.lua, change the mwfact settings to taste, and you should be set.

Offline

#4 2012-05-24 20:40:09

xhc
Member
Registered: 2012-02-01
Posts: 113

Re: [SOLVED]awesome wm - magnifier layouts + fullscreen youtube

1/ youtube fullscreen video doesnt respect layout ... I would to have magnifier and fullscreen in this layout, but youtube is now like cut fullscreen - is not showing all video - it issome zoom to magnifier without all corners of video

2/ I am gona to check it and magnifier.lua is hard to understand where & what editing to make window bigger

Last edited by xhc (2012-05-24 21:16:18)


#Awesome window manager

Offline

#5 2012-07-21 22:23:27

xhc
Member
Registered: 2012-02-01
Posts: 113

Re: [SOLVED]awesome wm - magnifier layouts + fullscreen youtube

after some updates, now it is ok

& added to rc.lua in section tags:

     awful.tag.setproperty(tags[s][1], "mwfact", 0.75)

Last edited by xhc (2012-07-21 23:06:55)


#Awesome window manager

Offline

Board footer

Powered by FluxBB