more autostart fixes aaa

This commit is contained in:
Izaya 2021-10-25 18:00:25 +11:00
parent b64b7c0f95
commit 6c93a03c66

9
rc.lua
View File

@ -195,7 +195,7 @@ local function set_wallpaper(s)
print(width, height) print(width, height)
if width > s.geometry.width and height > s.geometry.height then if width > s.geometry.width and height > s.geometry.height then
gears.wallpaper.maximized(wpath .. "/" .. rv, s, false) gears.wallpaper.maximized(wpath .. "/" .. rv, s, false)
used_wallpapers[s:index()] = rv used_wallpapers[s.index] = rv
else else
return set_wallpaper(s) return set_wallpaper(s)
end end
@ -696,17 +696,16 @@ end)
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;' ..
'xrdb -merge <<< "awesome.started:true";' .. 'xrdb -merge <<< "awesome.started:true";' ..
'corectrl;' .. 'corectrl &' ..
'nextcloud;' .. 'nextcloud &' ..
'SSH_ASKPASS_REQUIRE=force ssh-add;' ..
'xinput set-prop "Logitech MX518 Gaming Mouse" "libinput Accel Profile Enabled" 0, 0;' .. '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;' .. '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 'dex --environment Awesome --autostart --search-paths "$XDG_CONFIG_DIRS/autostart:$XDG_CONFIG_HOME/autostart";' -- https://github.com/jceb/dex
) )
gears.wallpaper.set("#000000") 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("corectrl")
awful.spawn.with_shell("SSH_ASKPASS_REQUIRE=force ssh-add")
awful.spawn.with_shell("nextcloud") awful.spawn.with_shell("nextcloud")
awful.spawn.with_shell('xinput set-prop "Logitech MX518 Gaming Mouse" "libinput Accel Profile Enabled" 0, 0') awful.spawn.with_shell('xinput set-prop "Logitech MX518 Gaming Mouse" "libinput Accel Profile Enabled" 0, 0')
]]-- ]]--