diff --git a/conf-example.lua b/conf-example.lua index 28e1ed7..a52b8cf 100755 --- a/conf-example.lua +++ b/conf-example.lua @@ -25,7 +25,7 @@ conf.continuous_tag_updates = true -- walls will be managed by desktop/wallpaper.lua -- -- 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 -- {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 diff --git a/rc.lua b/rc.lua index d1fac08..c2321cc 100755 --- a/rc.lua +++ b/rc.lua @@ -35,20 +35,11 @@ beautiful.init(require("theme")) desktop = require("desktop") --------------- --- Autostart-- --------------- -bin.backlight.redshift_reset() --- Start compositor (compton tryone fork) ---awful.spawn("killall compton", false) ---awful.spawn("compton --daemon --config " .. configuration_dir .. "/bin/configs/compton.conf", false) - --- Start ibus (advanced multilanguage input manager) -awful.spawn("ibus-daemon --daemonize --replace --xim", false) - --- Redshift -bin.backlight.redshift(5600) +-- Autostart +for i, v in ipairs(conf.startup_commands) do + awful.spawn(v) +end -- Enable hotkeys help widget for VIM and other apps