more autostart fixes aaa

This commit is contained in:
Izaya 2021-10-25 18:00:25 +11:00
parent b64b7c0f95
commit 6c93a03c66
1 changed files with 4 additions and 5 deletions

9
rc.lua
View File

@ -195,7 +195,7 @@ local function set_wallpaper(s)
print(width, height)
if width > s.geometry.width and height > s.geometry.height then
gears.wallpaper.maximized(wpath .. "/" .. rv, s, false)
used_wallpapers[s:index()] = rv
used_wallpapers[s.index] = rv
else
return set_wallpaper(s)
end
@ -696,17 +696,16 @@ end)
awful.spawn.with_shell(
'if (xrdb -query | grep -q "^awesome\\.started:\\s*true$"); then exit; fi;' ..
'xrdb -merge <<< "awesome.started:true";' ..
'corectrl;' ..
'nextcloud;' ..
'SSH_ASKPASS_REQUIRE=force ssh-add;' ..
'corectrl &' ..
'nextcloud &' ..
'xinput set-prop "Logitech MX518 Gaming Mouse" "libinput Accel Profile Enabled" 0, 0;' ..
'xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Profile Enabled" 0, 0;' ..
'dex --environment Awesome --autostart --search-paths "$XDG_CONFIG_DIRS/autostart:$XDG_CONFIG_HOME/autostart";' -- https://github.com/jceb/dex
)
gears.wallpaper.set("#000000")
awful.spawn.with_shell("SSH_AUTH_SOCK=/run/user/1000/ssh-agent.socket SSH_ASKPASS_REQUIRE=force SSH_ASKPASS=/usr/lib/ssh/ssh-askpass ssh-add")
--[[
awful.spawn.with_shell("corectrl")
awful.spawn.with_shell("SSH_ASKPASS_REQUIRE=force ssh-add")
awful.spawn.with_shell("nextcloud")
awful.spawn.with_shell('xinput set-prop "Logitech MX518 Gaming Mouse" "libinput Accel Profile Enabled" 0, 0')
]]--