dotfiles/awesome/modules/autostart.lua

30 lines
1.1 KiB
Lua
Raw Normal View History

local awful = require("awful")
require("modules/smart_reload")
require("modules/laptop_detector")
if is_reloading() then
finish_reload()
return
end
2023-04-24 21:18:04 +02:00
awful.spawn(CONFIG_DIR .. "utils/xcape_conf.sh")
awful.spawn("picom -b")
awful.spawn("/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1") -- authentication popup for obs virtual camera etc
awful.spawn("redshift")
awful.spawn("sxhkd")
if not is_laptop then
2023-04-24 21:18:04 +02:00
awful.spawn(CONFIG_DIR .. "utils/xrandr_conf.sh")
awful.spawn("discord", { screen = 3 })
awful.spawn("vscodium")
awful.spawn("spotify", { tag = "2", screen = 3, urgent = false })
awful.spawn("firefox")
awful.spawn(terminal .. " -e fish -c \"sleep 5 && ncpamixer\"",
2023-04-24 21:18:04 +02:00
{ tag = "3", screen = 3, urgent = false, focus = false })
awful.spawn(terminal .. " -e btop", { tag = "4", screen = 3, urgent = false, focus = false })
awful.spawn(terminal .. " -e fish -c \"sleep 5 && snoud\"", { tag = "5", screen = 3, urgent = false, focus = false })
awful.spawn(terminal .. " -e fish -c \"sleep 2 && gomuks\"", { tag = "6", screen = 3, urgent = false, focus = false })
end