2023-03-13 21:20:54 +01:00
|
|
|
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")
|
2023-03-13 21:20:54 +01:00
|
|
|
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")
|
2023-03-13 21:20:54 +01:00
|
|
|
awful.spawn("vscodium")
|
2024-01-24 21:05:21 +01:00
|
|
|
awful.spawn("spotify")
|
2023-03-13 21:20:54 +01:00
|
|
|
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 })
|
2023-03-13 21:20:54 +01:00
|
|
|
end
|