From 9a587191e737964425c54d2b291b81ed3cd8629e Mon Sep 17 00:00:00 2001 From: Mateja Date: Tue, 27 Apr 2021 19:09:10 +0200 Subject: Use sloppy focus and tmux. --- .config/awesome/rc.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.config/awesome') diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index e244414..c9ae768 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -48,9 +48,9 @@ end beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua") -- This is used later as the default terminal and editor to run. -terminal = "st" +terminal = "st -e tmux" editor = "nvim" -editor_cmd = terminal .. " -e " .. editor +editor_cmd = "st -e nvim" modkey = "Mod4" @@ -321,9 +321,9 @@ end) -- Enable sloppy focus, so that focus follows mouse. --- client.connect_signal("mouse::enter", function(c) --- c:emit_signal("request::activate", "mouse_enter", {raise = false}) --- end) +client.connect_signal("mouse::enter", function(c) + c:emit_signal("request::activate", "mouse_enter", {raise = false}) +end) client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end) client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end) -- cgit v1.2.3