Screen lock and power management now native I38 scripts. Removed customizations and added a personal mode template option instead. This means things added by users should not be removed on updates.
This commit is contained in:
@@ -71,12 +71,16 @@ def on_mode(self,event):
|
||||
mode = event.change
|
||||
if mode == 'ratpoison':
|
||||
play_sound_async('play -qV0 "|sox -np synth .07 sq 400" "|sox -np synth .5 sq 800" fade h 0 .5 .5 norm -20')
|
||||
elif mode == 'personal':
|
||||
play_sound_async('play -nqV0 synth pl E3 pl B3 remix - fade h 0 .25 .2 overdrive riaa norm -12')
|
||||
elif mode == 'bypass':
|
||||
play_sound_async('play -nqV0 synth .1 saw 700 saw 1200 delay 0 .04 remix - norm -6')
|
||||
elif mode == 'default':
|
||||
# Play different sounds based on which mode we're exiting
|
||||
if currentMode == 'ratpoison':
|
||||
play_sound_async('play -qV0 "|sox -np synth .07 sq 400" "|sox -np synth .5 sq 800" fade h 0 .5 .5 norm -20 reverse')
|
||||
elif currentMode == 'personal':
|
||||
play_sound_async('play -nqV0 synth pl E3 pl B3 remix - fade h 0 .25 .2 overdrive riaa norm -12 reverse')
|
||||
elif currentMode == 'panel':
|
||||
play_sound_async('play -nqV0 synth 0.05 pluck C5 norm -8 : synth 0.05 pluck F4 norm -8 : synth 0.05 pluck C4 norm -8 : synth 0.05 pluck F3 norm -8')
|
||||
elif currentMode == 'bypass':
|
||||
|
||||
Reference in New Issue
Block a user