Compare commits
No commits in common. "1a0ad68ad20f1ae9bea6a2282a04a5c9e2806ae1" and "563e0277aaebe5198587e2b68ef7111ac6ba6573" have entirely different histories.
1a0ad68ad2
...
563e0277aa
@ -12,9 +12,6 @@ i3 = i3ipc.Connection()
|
|||||||
def on_new_window(self,i3):
|
def on_new_window(self,i3):
|
||||||
system('play -n synth .25 sin 440:880 sin 480:920 remix - norm -3 pitch -500 &')
|
system('play -n synth .25 sin 440:880 sin 480:920 remix - norm -3 pitch -500 &')
|
||||||
|
|
||||||
def on_close_window(self,i3):
|
|
||||||
system('play -n synth .25 sin 880:440 sin 920:480 remix - norm -3 pitch -500 &')
|
|
||||||
|
|
||||||
def on_mode(self,event):
|
def on_mode(self,event):
|
||||||
mode= event.change
|
mode= event.change
|
||||||
if mode == 'ratpoison':
|
if mode == 'ratpoison':
|
||||||
@ -45,7 +42,6 @@ def on_fullscreen(self,i3):
|
|||||||
i3 = i3ipc.Connection()
|
i3 = i3ipc.Connection()
|
||||||
|
|
||||||
i3.on('window::new', on_new_window)
|
i3.on('window::new', on_new_window)
|
||||||
i3.on('window::close', on_close_window)
|
|
||||||
i3.on(Event.MODE, on_mode)
|
i3.on(Event.MODE, on_mode)
|
||||||
i3.on('workspace::focus', on_workspace_focus)
|
i3.on('workspace::focus', on_workspace_focus)
|
||||||
i3.on('window::move', on_workspace_move)
|
i3.on('window::move', on_workspace_move)
|
||||||
|
Loading…
Reference in New Issue
Block a user