From 33b946dcf0d65ba50f82fa3e390927370ae1a27f Mon Sep 17 00:00:00 2001 From: omri Date: Wed, 24 Jan 2024 11:00:09 +0200 Subject: [PATCH] awesome: put new clients at the end of others instead of setting it master --- .config/awesome/rc.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index b9d7dd9..e696683 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -550,7 +550,7 @@ awful.rules.rules = { client.connect_signal("manage", function(c) -- Set the windows at the slave, -- i.e. put it at the end of others instead of setting it master. - -- if not awesome.startup then awful.client.setslave(c) end + if not awesome.startup then awful.client.setslave(c) end if awesome.startup and not c.size_hints.user_position and not c.size_hints.program_position then -- Prevent clients from being unreachable after screen count changes. @@ -585,3 +585,10 @@ client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) -- }}} + +awful.spawn.with_shell("pidof dunst || dunst &") +awful.spawn.with_shell("pidof mpd || mpd &") +awful.spawn.with_shell("pidof flameshot || flameshot &") +awful.spawn.with_shell("pidof picom || picom --experimental-backends &") +awful.spawn.with_shell("wal -R") +awful.spawn.with_shell("~/.fehbg")