dot

packages and services management
Log | Files | Refs | README

commit 2797c6f8678dda79b0498fcd0c267dcbfde32952
parent 194dacaddd3f266fe5a81a0d0a97af8c7e1fc47c
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Sat,  5 Aug 2017 01:07:04 +0200

alsa/.asoundrc: The wrong card was selected by default

Diffstat:
Aalsa/.asoundrc | 10++++++++++
Mshell/bin/l | 2+-
Mshell/profile | 7+++++--
3 files changed, 16 insertions(+), 3 deletions(-)

diff --git a/alsa/.asoundrc b/alsa/.asoundrc @@ -0,0 +1,10 @@ +pcm.!default { + type hw + card 1 + device 0 +} + +ctl.!default { + type hw + card 1 +} diff --git a/shell/bin/l b/shell/bin/l @@ -1,6 +1,6 @@ cd "${1:-.}" || exit 1 -printf '%s/\n\n' "$PWD" +printf -- '%s/ \n\n' "$PWD" [ -d "$1" ] && printf '%s' diff --git a/shell/profile b/shell/profile @@ -1,5 +1,8 @@ -PS1=' -$([ $? = 0 ] && printf "\033[1m:::\033[m" || printf "\033[31;1m:::\033[m") ' +PS1='$( + [ $? = 0 ] && + printf "\033[32;1m───\033[m" || + printf "\033[31;1m───\033[m" +) ' PS2=' : ' PS3=' : '