Update thunderbird devilspie settings
This commit is contained in:
parent
beab2876ba
commit
c0a32f7180
1 changed files with 12 additions and 19 deletions
|
@ -11,18 +11,11 @@ end
|
||||||
|
|
||||||
local margin = { rep(4, 16) }
|
local margin = { rep(4, 16) }
|
||||||
if get_application_name():find("Thunderbird$") then
|
if get_application_name():find("Thunderbird$") then
|
||||||
print(get_window_name())
|
|
||||||
if get_window_type():find("NORMAL$") then
|
if get_window_type():find("NORMAL$") then
|
||||||
set_window_workspace(get_workspace_count())
|
set_window_workspace(get_workspace_count())
|
||||||
unmaximize()
|
unmaximize()
|
||||||
if get_window_name():find("Thunderbird$") then
|
|
||||||
undecorate_window()
|
|
||||||
set_window_geometry2(1680+margin[1], margin[2], 900-margin[1]-margin[3], 1440-margin[2]-margin[4])
|
|
||||||
else
|
|
||||||
set_window_geometry(1680+margin[1], margin[2], 900-margin[1]-margin[3], 1440-margin[2]-margin[4])
|
|
||||||
set_window_fullscreen(true)
|
set_window_fullscreen(true)
|
||||||
end
|
maximize()
|
||||||
--maximize()
|
|
||||||
opacity(230)
|
opacity(230)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue