Added autostart config

master
Mark 2022-06-14 07:52:02 -07:00
parent fca8c4bbd5
commit 22f682c024
Signed by: Mark
GPG Key ID: AD62BB059C2AAEE4
2 changed files with 12 additions and 14 deletions

View File

@ -25,7 +25,7 @@ conf.continuous_tag_updates = true
-- walls will be managed by desktop/wallpaper.lua -- walls will be managed by desktop/wallpaper.lua
-- --
-- Static: a path to an image file -- Static: a path to an image file
conf.wallpaper = "path-to-wallpaper.png.png" conf.wallpaper = "path-to-wallpaper.png"
-- --
-- Dynamic: a table of files and times -- Dynamic: a table of files and times
-- {file = "path", start_time = {hour, minute}} -- {file = "path", start_time = {hour, minute}}
@ -155,4 +155,11 @@ conf.ibus_language_list = {
} }
} }
-- Run these commands, in this order, when awesome starts.
conf.startup_commands = {
"ibus-daemon --daemonize --replace --xim",
"keepassxc",
"mictray"
}
return conf return conf

17
rc.lua
View File

@ -35,20 +35,11 @@ beautiful.init(require("theme"))
desktop = require("desktop") desktop = require("desktop")
--------------
-- Autostart--
--------------
bin.backlight.redshift_reset()
-- Start compositor (compton tryone fork) -- Autostart
--awful.spawn("killall compton", false) for i, v in ipairs(conf.startup_commands) do
--awful.spawn("compton --daemon --config " .. configuration_dir .. "/bin/configs/compton.conf", false) awful.spawn(v)
end
-- Start ibus (advanced multilanguage input manager)
awful.spawn("ibus-daemon --daemonize --replace --xim", false)
-- Redshift
bin.backlight.redshift(5600)
-- Enable hotkeys help widget for VIM and other apps -- Enable hotkeys help widget for VIM and other apps