actionless / awesome_config

config for AwesomeWM
GNU General Public License v3.0
229 stars 13 forks source link

Not relative position at multimonitor. #4

Closed travka closed 10 years ago

travka commented 10 years ago
      local naughty=require("naughty")
                    status.menu.instance = menu_addon.clients_on_tag({
                            theme = {width=capi.screen[helpers.get_current_screen()].workarea.width},
                            coords = {x=0, y=18}})
            end),
    awful.key({ modkey,                }, "p",
            function ()
                    status.menu.instance = awful.menu.clients({
                                    theme = {width=capi.screen[helpers.get_current_screen()].workarea.width},
                                    coords = {x=0, y=18}})
            end),

It is possible to anchor position to monitor ? Keys.lua

actionless commented 10 years ago

u should replace helpers.get_current_screen() to a constant, like 1