Update config (nix for starship)

This commit is contained in:
Tobias Reisinger 2022-10-16 20:29:06 +02:00
parent d0c863c3f3
commit f94f6a1c60
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 14 additions and 3 deletions

View file

@ -47,6 +47,9 @@ start_audio_pipewire () {
pw-link 'default-sink:monitor_FL' 'alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FL' pw-link 'default-sink:monitor_FL' 'alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FL'
pw-link 'default-sink:monitor_FR' 'alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FR' pw-link 'default-sink:monitor_FR' 'alsa_output.pci-0000_00_1f.3.analog-stereo:playback_FR'
pw-link 'output.UMC_Amp:capture_MONO' 'default-sink:playback_FL'
pw-link 'output.UMC_Amp:capture_MONO' 'default-sink:playback_FR'
} }

View file

@ -25,6 +25,7 @@
dtc = difftool --cached dtc = difftool --cached
l = log --graph l = log --graph
lo = log --graph --decorate --oneline --all lo = log --graph --decorate --oneline --all
s = status
[merge] [merge]
tool = vim_mergetool tool = vim_mergetool

View file

@ -1,7 +1,8 @@
format = """ format = """
$time\ $time\
[](bg:purple fg:blue)\ [](bg:purple fg:blue)\
$username$hostname$docker_context$python\ $username$hostname$docker_context\
$python$nix_shell\
[](bg:green fg:purple)\ [](bg:green fg:purple)\
$directory\ $directory\
[](bg:red fg:green)\ [](bg:red fg:green)\
@ -82,9 +83,15 @@ style = "bg:cyan fg:black"
symbol = "" symbol = ""
format = "[$symbol$number]($style)" format = "[$symbol$number]($style)"
[nix_shell]
style = "bg:purple fg:black"
impure_msg = "-"
pure_msg = "+"
format = '[ \($state$name\)]($style)'
[python] [python]
style = "bg:purple fg:black" style = "bg:purple fg:black"
format = '[ \($virtualenv $version\)]($style)' format = '[ \($virtualenv\)]($style)'
detect_extensions = [] detect_extensions = []
detect_files = [] detect_files = []