From f4d229524bcb1627559d9c1a361b3f43cd9340b2 Mon Sep 17 00:00:00 2001 From: Kayden Tebau Date: Thu, 7 Sep 2023 15:09:35 -0700 Subject: [PATCH] Update dotfiles --- env-setup | 2 ++ fish/config.fish | 15 ++++++++++++--- mpd.conf | 23 +++++++++++++++++------ nvim/lua/plugins.lua | 18 +++++++++++++++--- 4 files changed, 46 insertions(+), 12 deletions(-) diff --git a/env-setup b/env-setup index a3a80cd..b9f7e52 100755 --- a/env-setup +++ b/env-setup @@ -3,10 +3,12 @@ set -gx XDG_CONFIG_HOME ~/Library/Application\ Config set -gx XDG_CACHE_HOME ~/Library/Caches set -gx XDG_DATA_HOME ~/Library/Application\ Support +set -gx XDG_STATE_HOME ~/Library/Application\ State launchctl setenv XDG_CONFIG_HOME $XDG_CONFIG_HOME launchctl setenv XDG_CACHE_HOME $XDG_CACHE_HOME launchctl setenv XDG_DATA_HOME $XDG_DATA_HOME +launchctl setenv XDG_STATE_HOME $XDG_STATE_HOME launchctl setenv ANDROID_SDK_HOME $XDG_DATA_HOME/Android launchctl setenv CARGO_HOME $XDG_DATA_HOME/Cargo diff --git a/fish/config.fish b/fish/config.fish index e056b4e..308cc49 100644 --- a/fish/config.fish +++ b/fish/config.fish @@ -8,11 +8,20 @@ set -g theme_newline_cursor yes set -g theme_color_scheme gruvbox set -g theme_show_exit_status yes -eval (/opt/homebrew/bin/brew shellenv) - -fish_add_path -P -m ~/Library/bin +fish_add_path -a /opt/homebrew/bin "/opt/homebrew/sbin" +fish_add_path ~/Library/bin +fish_add_path ~/Library/Application\ Support/Cargo/bin fish_add_path ~/.dotnet/tools +set -gx HOMEBREW_PREFIX "/opt/homebrew"; +set -gx HOMEBREW_CELLAR "/opt/homebrew/Cellar"; +set -gx HOMEBREW_REPOSITORY "/opt/homebrew"; +set -q MANPATH; or set MANPATH ''; set -gx MANPATH "/opt/homebrew/share/man" $MANPATH; +set -q INFOPATH; or set INFOPATH ''; set -gx INFOPATH "/opt/homebrew/share/info" $INFOPATH; + +#eval (/opt/homebrew/bin/brew shellenv) + + if status is-interactive # Commands to run in interactive sessions can go here end diff --git a/mpd.conf b/mpd.conf index 55d66a0..3ec1355 100644 --- a/mpd.conf +++ b/mpd.conf @@ -10,14 +10,14 @@ # be disabled and audio files will only be accepted over ipc socket (using # file:// protocol) or streaming files over an accepted protocol. # -music_directory "~/Music" +music_directory "~/Music/Synced" # # This setting sets the MPD internal playlist directory. The purpose of this # directory is storage for playlists created by MPD. The server will use # playlist files not created by the server but only if they are in the MPD # format. This setting defaults to playlist saving being disabled. # -playlist_directory "~/Music/Playlists" +playlist_directory "~/Music/Synced/Playlists" # # This setting sets the location of the MPD database. This file is used to # load the database at server start up and store the database while the @@ -343,7 +343,6 @@ audio_output { name "FiiO BTR5" mixer_type "none" replay_gain_handler "software" - # format "96000:f:*" hog_device "yes" device "FiiO BTR5 " # optional enabled "no" @@ -351,14 +350,26 @@ audio_output { # channel_map "-1,-1,0,1" # optional } +audio_output { + type "osx" + name "AirPlay" + mixer_type "software" + replay_gain_handler "none" + hog_device "no" + device "AirPlay" + enabled "no" + always_on "yes" +} + audio_output { type "osx" name "CoreAudio Default" mixer_type "software" - replay_gain_handler "software" + replay_gain_handler "none" hog_device "no" enabled "yes" always_on "no" + #format "48000:16:*" } # ## Example "pipe" output: @@ -414,13 +425,13 @@ replaygain "auto" # above its original level. If replaygain_limit is disabled such amplification # might occur. By default this setting is enabled. # -#replaygain_limit "yes" +replaygain_limit "yes" # # This setting enables on-the-fly normalization volume adjustment. This will # result in the volume of all playing audio to be adjusted so the output has # equal "loudness". This setting is disabled by default. # -#volume_normalization "no" +volume_normalization "no" # ############################################################################### diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua index 7506409..6482c86 100644 --- a/nvim/lua/plugins.lua +++ b/nvim/lua/plugins.lua @@ -46,7 +46,10 @@ require("gruvbox").setup({ undercurl = true, underline = true, bold = true, - italic = true, + italic = { + strings = true, + comments = true, + }, strikethrough = true, invert_selection = false, invert_signs = false, @@ -133,6 +136,15 @@ auto_dark_mode.setup({ auto_dark_mode.init() require'bufferline'.setup { - icon_separator_active = '', - icon_separator_inactive = '', + icons = { + diagnostics = { + [vim.diagnostic.severity.ERROR] = {enabled = true, icon = ''}, + [vim.diagnostic.severity.WARN] = {enabled = true, icon = ''}, + [vim.diagnostic.severity.INFO] = {enabled = true, icon = ''}, + [vim.diagnostic.severity.HINT] = {enabled = true}, + }, + separator = {left = '', right = ''}, + inactive = { separator = {left = '', right = ''}}, + }, } +