awesome rc update

This commit is contained in:
cuu
2018-12-13 17:56:43 +08:00
parent 08330476be
commit 3f108b9e66

View File

@@ -43,7 +43,7 @@ do
end end
-- }}} -- }}}
theme_base = "/home/cpi/launcher/awesome" theme_base = "/home/cpi/launchergo/awesome"
-- Themes define colours, icons, font and wallpapers. -- Themes define colours, icons, font and wallpapers.
beautiful.init(theme_base .. "/themes/default/theme.lua") beautiful.init(theme_base .. "/themes/default/theme.lua")
@@ -210,7 +210,7 @@ function awful.widget.tasklist.filter.currenttags_without_gs(c, screen)
local ctags = c:tags() local ctags = c:tags()
for _, v in ipairs(ctags) do for _, v in ipairs(ctags) do
if v == t then if v == t then
if c.class:lower() == "run.py" or c.class:lower() == "gsnotify-arm" then if c.class:lower() == "run.py" or c.class:lower() == "gsnotify-arm" or c.class.lower() == "main" then
return false return false
else else
return true return true
@@ -356,7 +356,7 @@ awful.rules.rules = {
-- }}} -- }}}
local gs_class = {"run.py","gsnotify","gsnotify-arm","retroarch"} local gs_class = {"run.py","gsnotify","gsnotify-arm","retroarch","main"}
-- {{{ Signals -- {{{ Signals
-- Signal function to execute when a new client appears. -- Signal function to execute when a new client appears.