Remove autostart since its there already, add picom

This commit is contained in:
Leon Grünewald 2021-01-04 11:02:25 +01:00
parent 45205219d9
commit 237067a246

View file

@ -64,6 +64,7 @@ end
run_once({ "urxvtd", "unclutter -root" }) -- entries must be separated by commas run_once({ "urxvtd", "unclutter -root" }) -- entries must be separated by commas
awful.spawn.with_shell("picom -b --config /home/leong/.config/picom.conf")
-- This function implements the XDG autostart specification -- This function implements the XDG autostart specification
awful.spawn.with_shell( awful.spawn.with_shell(
'if (xrdb -query | grep -q "^awesome\\.started:\\s*true$"); then exit; fi;' .. 'if (xrdb -query | grep -q "^awesome\\.started:\\s*true$"); then exit; fi;' ..
@ -71,7 +72,6 @@ awful.spawn.with_shell(
-- list each of your autostart commands, followed by ; inside single quotes, followed by .. -- list each of your autostart commands, followed by ; inside single quotes, followed by ..
'dex --environment Awesome --autostart --search-paths "$XDG_CONFIG_DIRS/autostart:$XDG_CONFIG_HOME/autostart"' -- https://github.com/jceb/dex 'dex --environment Awesome --autostart --search-paths "$XDG_CONFIG_DIRS/autostart:$XDG_CONFIG_HOME/autostart"' -- https://github.com/jceb/dex
) )
-- }}} -- }}}
-- {{{ Variable definitions -- {{{ Variable definitions
@ -805,9 +805,6 @@ end)
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end) client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
awful.spawn.with_shell("dex-autostart -as ~/.config/autostart/")
-- possible workaround for tag preservation when switching back to default screen: -- possible workaround for tag preservation when switching back to default screen:
-- https://github.com/lcpz/awesome-copycats/issues/251 -- https://github.com/lcpz/awesome-copycats/issues/251
-- }}} -- }}}