summaryrefslogtreecommitdiff
path: root/.i3/scripts/libs/i3.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-06-18 00:16:18 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-06-18 00:16:19 +0200
commit0cf9d15723ab29d1b99e35a570de8bba297f9a6a (patch)
tree9d27fd3b18822d5669fdc909c1085e4b83de7db6 /.i3/scripts/libs/i3.py
parent8da5fe1e07971fbf5b291737e8b82de7f92f72e0 (diff)
downloaddotfiles-0cf9d15723ab29d1b99e35a570de8bba297f9a6a.tar.gz
dotfiles-0cf9d15723ab29d1b99e35a570de8bba297f9a6a.tar.bz2
dotfiles-0cf9d15723ab29d1b99e35a570de8bba297f9a6a.zip
i3: Use i3-msg 'exec …' for processes, not sh.Command
Diffstat (limited to '.i3/scripts/libs/i3.py')
-rw-r--r--.i3/scripts/libs/i3.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/.i3/scripts/libs/i3.py b/.i3/scripts/libs/i3.py
index 343c709..789ef51 100644
--- a/.i3/scripts/libs/i3.py
+++ b/.i3/scripts/libs/i3.py
@@ -552,6 +552,8 @@ class i3(ModuleType):
if name.lower() in self.__module__.MSG_TYPES:
return self.__module__.__function__(type=name)
else:
+ if name == "exec_":
+ name = "exec"
return self.__module__.__function__(type='command', message=name)