dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit ef0f1f0487f367f02d93a400c62d804059c51c36
parent b34c00cd221e824d3fb37c1ed2cd63d578d4c7bc
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 28 Aug 2019 10:33:32 +0200

Revert to ALSA, use setsid for Alt-p in terminal

Diffstat:
M.config/openttd/openttd.cfg | 2+-
M.config/openttd/playmidi | 3++-
M.zshrc | 2+-
3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/.config/openttd/openttd.cfg b/.config/openttd/openttd.cfg @@ -34,7 +34,7 @@ transparency_locks = 0 invisibility_options = 0 keyboard = keyboard_caps = -last_newgrf_count = 0 +last_newgrf_count = 6 gui_zoom = 2 font_zoom = 2 diff --git a/.config/openttd/playmidi b/.config/openttd/playmidi @@ -1,3 +1,4 @@ #!/bin/bash trap "pkill fluidsynth" EXIT -fluidsynth -a pulseaudio -i /usr/share/soundfonts/FluidR3_GM.sf2 $* +#fluidsynth -a pulseaudio -i /usr/share/soundfonts/FluidR3_GM.sf2 $* +fluidsynth -a alsa -i /usr/share/soundfonts/FluidR3_GM.sf2 $* diff --git a/.zshrc b/.zshrc @@ -108,7 +108,7 @@ bindkey '^g' _editor_fuzzy_grep # launch $TERMINAL with Alt-p _terminal() { - BUFFER="$TERMINAL >/dev/null 2>&1 &; disown" + BUFFER="setsid $TERMINAL >/dev/null 2>&1" zle accept-line } zle -N _terminal