basic startup

This commit is contained in:
Sakooooo 2023-08-07 00:56:55 +03:00
parent db78b8beac
commit fe7a657343
Signed by: sako
GPG key ID: 3FD715D87D7725E0

View file

@ -14,8 +14,7 @@ local beautiful = require("beautiful")
local naughty = require("naughty") local naughty = require("naughty")
local menubar = require("menubar") local menubar = require("menubar")
local hotkeys_popup = require("awful.hotkeys_popup") local hotkeys_popup = require("awful.hotkeys_popup")
-- Enable hotkeys help widget for VIM and other apps -- Enable hotkeys help widget for VIM and other apps when client with a matching name is opened:
-- when client with a matching name is opened:
require("awful.hotkeys_popup.keys") require("awful.hotkeys_popup.keys")
-- {{{ Error handling -- {{{ Error handling
@ -585,6 +584,15 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_n
-- Gaps for dopamine -- Gaps for dopamine
beautiful.useless_gap = 5 beautiful.useless_gap = 5
-- Autostart for bloatware -- autostart
awful.spawn.with_shell("feh --bg-scale /home/sako/background.png") startup = true
awful.spawn.with_shell("keepassxc") startupfinished = false
startupapps = {
"keepassxc",
}
if startup and !startupfinished then
for app = 1, #startupapps do
awful.util.spawn(startupApps[app])
end
end