diff --git a/rc.lua b/rc.lua index 0f6f1cd..c3c678d 100644 --- a/rc.lua +++ b/rc.lua @@ -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') ]]--