add(create_tags) spawn a terminal on the first_tag
This commit is contained in:
parent
588c4f241c
commit
6fd8406ac7
|
@ -53,6 +53,7 @@ end
|
|||
|
||||
function slots.create_tags(screen)
|
||||
local atag = require "awful.tag"
|
||||
local gtimer = require "gears.timer"
|
||||
local home_layout = require "MyTagLayout.home_layout"
|
||||
|
||||
local first_tag = atag.add("home", {
|
||||
|
@ -62,7 +63,13 @@ function slots.create_tags(screen)
|
|||
master_width_factor = beautiful.hometag_master_width_factor,
|
||||
})
|
||||
|
||||
gtimer.delayed_call(function()
|
||||
local spawn = require "awful.spawn"
|
||||
local apps = require "configuration.applications"
|
||||
|
||||
first_tag:view_only()
|
||||
spawn(apps.open_terminal(), { screen = screen, tag = first_tag })
|
||||
end)
|
||||
end
|
||||
|
||||
function slots.build_desktop_decoration(screen)
|
||||
|
|
Loading…
Reference in New Issue