dotfiles/awesome/modules/autostart.lua

30 lines
1,022 B
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("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
2024-01-24 21:05:21 +01:00
awful.spawn("vesktop")
awful.spawn("vscodium")
2024-01-24 21:05:21 +01:00
awful.spawn("spotify")
awful.spawn("firefox")
2024-01-24 21:05:21 +01:00
local side_monitor = screen:count()
2023-08-03 21:25:40 +02:00
awful.spawn(terminal .. " -e fish -C \"sleep 5 && ncpamixer\"",
2024-01-24 21:05:21 +01:00
{ tag = "3", screen = side_monitor, urgent = false, focus = false })
awful.spawn(terminal .. " -e fish -C btop", { tag = "4", screen = side_monitor, urgent = false, focus = false })
awful.spawn(terminal .. " -e fish -C \"sleep 5 && snoud\"",
{ tag = "5", screen = side_monitor, urgent = false, focus = false })
awful.spawn(terminal .. " -e fish -C \"sleep 2 && gomuks\"",
{ tag = "9", screen = side_monitor, urgent = false, focus = false })
end