[output/i3] Restrict workspace rotation to current output

This commit is contained in:
Tobias Witek 2016-11-01 08:31:59 +01:00
parent 4c34cd37d4
commit 7b62aeb67c

View file

@ -31,8 +31,8 @@ class i3bar(bumblebee.output.Output):
super(i3bar, self).__init__(theme) super(i3bar, self).__init__(theme)
self._data = [] self._data = []
self.add_callback("i3-msg workspace prev", 4) self.add_callback("i3-msg workspace prev_on_output", 4)
self.add_callback("i3-msg workspace next", 5) self.add_callback("i3-msg workspace next_on_output", 5)
self._thread = threading.Thread(target=read_input, args=(self,)) self._thread = threading.Thread(target=read_input, args=(self,))
self._thread.start() self._thread.start()