mirror of
https://github.com/kepler155c/opus
synced 2024-12-29 01:50:27 +00:00
prepare for lock screen
This commit is contained in:
parent
e5a5f76fb3
commit
aaab059cee
@ -264,7 +264,7 @@ kernel.hook('multishell_redraw', function()
|
||||
write(currentTab.sx - 1,
|
||||
' ' .. currentTab.title:sub(1, currentTab.width - 1) .. ' ',
|
||||
_colors.focusBackgroundColor, _colors.focusTextColor)
|
||||
if not currentTab.isOverview then
|
||||
if not currentTab.noTerminate then
|
||||
write(w, closeInd, _colors.backgroundColor, _colors.focusTextColor)
|
||||
end
|
||||
end
|
||||
@ -340,6 +340,7 @@ kernel.hook('kernel_ready', function()
|
||||
overviewId = multishell.openTab({
|
||||
path = config.launcher or 'sys/apps/Overview.lua',
|
||||
isOverview = true,
|
||||
noTerminate = true,
|
||||
focused = true,
|
||||
title = '+',
|
||||
env = env,
|
||||
|
@ -179,6 +179,10 @@ function kernel.run(args)
|
||||
end
|
||||
|
||||
function kernel.raise(uid)
|
||||
if kernel.getFocused() and kernel.getFocused().pinned then
|
||||
return false
|
||||
end
|
||||
|
||||
local routine = Util.find(kernel.routines, 'uid', uid)
|
||||
|
||||
if routine then
|
||||
|
@ -7,7 +7,7 @@ local tween = {
|
||||
|
||||
Copyright (c) 2014 Enrique García Cota, Yuichi Tateno, Emmanuel Oga
|
||||
|
||||
Licence details: https://opensource.org/licenses/MIT
|
||||
license details: https://opensource.org/licenses/MIT
|
||||
]]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user