diff options
author | Mateja <mail@matejamaric.com> | 2021-04-27 19:09:10 +0200 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2021-04-27 19:09:10 +0200 |
commit | 9a587191e737964425c54d2b291b81ed3cd8629e (patch) | |
tree | d7fce7c4508f28ccc1412c4b4175be23b918a31d | |
parent | cdddecafbf18f7885d88c97c283ac14abba9e8b6 (diff) | |
download | dotfiles-9a587191e737964425c54d2b291b81ed3cd8629e.tar.gz dotfiles-9a587191e737964425c54d2b291b81ed3cd8629e.zip |
Use sloppy focus and tmux.
-rw-r--r-- | .config/awesome/rc.lua | 10 |
1 files changed, 5 insertions, 5 deletions
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) |