aboutsummaryrefslogtreecommitdiff
path: root/.config/awesome/misc/autostart.lua
blob: 291e39d3c934531c94bfe000457406ef24425365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
local awful = require "awful"
local qpersistent = require "quarrel.persistent"

if qpersistent.is_restart() then
    return
end

local programs = {
    "picom -b",
    "sxhkd",
    "clipcatd",
    "wezterm",
    "wezterm start --class code_term",
    "librewolf",
    "keepassxc",
    "fractal",
    -- "LD_PRELOAD=/usr/lib/spotify-adblock.so spotify",
}

for _, program in ipairs(programs) do
    awful.spawn.with_shell(program .. " 1>/dev/null 2>&1")
end