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)
|
function slots.create_tags(screen)
|
||||||
local atag = require "awful.tag"
|
local atag = require "awful.tag"
|
||||||
|
local gtimer = require "gears.timer"
|
||||||
local home_layout = require "MyTagLayout.home_layout"
|
local home_layout = require "MyTagLayout.home_layout"
|
||||||
|
|
||||||
local first_tag = atag.add("home", {
|
local first_tag = atag.add("home", {
|
||||||
|
@ -62,7 +63,13 @@ function slots.create_tags(screen)
|
||||||
master_width_factor = beautiful.hometag_master_width_factor,
|
master_width_factor = beautiful.hometag_master_width_factor,
|
||||||
})
|
})
|
||||||
|
|
||||||
first_tag:view_only()
|
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
|
end
|
||||||
|
|
||||||
function slots.build_desktop_decoration(screen)
|
function slots.build_desktop_decoration(screen)
|
||||||
|
|
Loading…
Reference in New Issue