diff --git a/scripts/sound.py b/scripts/sound.py index 42d9453..ef07342 100755 --- a/scripts/sound.py +++ b/scripts/sound.py @@ -11,10 +11,10 @@ def on_new_window(self,i3): def on_mode(self,event): mode= event.change - if mode == 'ratpoison': - system('play -qV0 "|sox -np synth .07 sq 400" "|sox -np synth .5 sq 800" fade h 0 .5 .5 norm -20') - elif mode == 'default': + if mode == 'default': system('play -qV0 "|sox -np synth .07 sq 400" "|sox -np synth .5 sq 800" fade h 0 .5 .5 norm -20 reverse') + else: + system('play -qV0 "|sox -np synth .07 sq 400" "|sox -np synth .5 sq 800" fade h 0 .5 .5 norm -20') def on_workspace_focus(self,i3): system('play -qnV0 synth pi fade 0 .25 .15 pad 0 1 reverb overdrive riaa norm -8 speed 1')