Mercurial > dotfiles
changeset 780:d5efc658b201
use emacsclient if possible
author | Markus Kaiser <markus.kaiser@in.tum.de> |
---|---|
date | Tue, 03 Jan 2017 00:05:28 +0100 |
parents | e5f44ca18e5b |
children | 2fd0b8aee4fb |
files | awesome/.config/awesome/godlike/globalkeys.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/awesome/.config/awesome/godlike/globalkeys.lua Tue Jan 03 00:05:13 2017 +0100 +++ b/awesome/.config/awesome/godlike/globalkeys.lua Tue Jan 03 00:05:28 2017 +0100 @@ -35,7 +35,7 @@ local function lockSession() -- sexec("light-locker-command -l || dm-tool lock") - sexec("i3lock-fancy -f Aller -s \"scrot -z\" || i3lock || slimlock") + sexec("i3lock-fancy -f Aller -- scrot -z || i3lock || slimlock") end local launcher = format( @@ -134,7 +134,7 @@ end), awful.key({ modkey, }, "v", function() exec("pavucontrol") end), awful.key({ modkey, }, "f", function() exec("gvim") end), - awful.key({ modkey, "Shift" }, "f", function() exec("emacs") end), + awful.key({ modkey, "Shift" }, "f", function() exec("emacsclient -nca ''") end), awful.key({ }, "F11", function() sexec("rofi -show window") end), awful.key({ }, "F12", function() sexec(launcher) end) )