diff --git a/cargo b/cargo new file mode 100644 index 0000000..8136665 --- /dev/null +++ b/cargo @@ -0,0 +1,2 @@ +[build] +target-dir = "/home/marrub/bin/_rs" diff --git a/copy_scripts.sh b/copy_scripts.sh index 7fc80e7..bac8cb9 100755 --- a/copy_scripts.sh +++ b/copy_scripts.sh @@ -7,4 +7,10 @@ $HOME/.vimrc vimrc $HOME/.zshrc zshrc $HOME/bin/mupen64plus-noncore-plugins-git/PKGBUILD m64p-plugins-pkgbuild /usr/share/X11/xkb/symbols/progm progm.xkb +$HOME/.ncmpcpp/config ncmpcpp_conf +$HOME/.ncmpcpp/bindings ncmpcpp_bind +$HOME/.config/mpd/mpd.conf mpd.conf +$HOME/.xprofile xprofile +$HOME/.cargo/config cargo +$HOME/.config/pacman/makepkg.conf makepkg.conf END diff --git a/makepkg.conf b/makepkg.conf new file mode 100644 index 0000000..78d95f5 --- /dev/null +++ b/makepkg.conf @@ -0,0 +1,3 @@ +CFLAGS="-march=native -O2 -pipe -fstack-protector-strong -fno-plt" +CXXFLAGS="${CFLAGS}" +MAKEFLAGS="-j12" diff --git a/mpd.conf b/mpd.conf new file mode 100644 index 0000000..ef2cb00 --- /dev/null +++ b/mpd.conf @@ -0,0 +1,21 @@ +music_directory "~/Music" +playlist_directory "~/.config/mpd/playlists" +db_file "~/.config/mpd/database" +log_file "~/.config/mpd/log" +pid_file "~/.config/mpd/pid" +state_file "~/.config/mpd/state" +sticker_file "~/.config/mpd/sticker.sql" +bind_to_address "[::]" +port "6600" + +audio_output { + type "pulse" + name "Pulse Output" +} + +audio_output { + type "fifo" + name "mpdfifo" + path "~/.config/mpd/fifo" + format "44100:16:2" +} diff --git a/ncmpcpp_bind b/ncmpcpp_bind new file mode 100644 index 0000000..95c4b3c --- /dev/null +++ b/ncmpcpp_bind @@ -0,0 +1,37 @@ +def_key "/" + find +def_key "/" + find_item_forward + +def_key "j" + scroll_down +def_key "k" + scroll_up + +def_key "ctrl-b" + page_up +def_key "ctrl-f" + page_down + +def_key "g" + move_home +def_key "G" + move_end + +def_key "h" + previous_column +def_key "l" + next_column + +def_key "." + show_lyrics + +def_key "n" + next_found_item +def_key "N" + previous_found_item + +def_key "J" + move_sort_order_down +def_key "K" + move_sort_order_up diff --git a/ncmpcpp_conf b/ncmpcpp_conf new file mode 100644 index 0000000..7d341e1 --- /dev/null +++ b/ncmpcpp_conf @@ -0,0 +1,8 @@ +media_library_primary_tag = "album_artist" +visualizer_fifo_path = "~/.config/mpd/fifo" +visualizer_output_name = "mpdfifo" +visualizer_sync_interval = "30" +visualizer_in_stereo = "yes" +visualizer_type = "ellipse" +visualizer_look = "╱╳" +visualizer_color = 219, 208, 199, 197, 203, 210, 216, 221, 119, 47, 49, 46, 34, 64, 94, 202, 130 diff --git a/xprofile b/xprofile new file mode 100644 index 0000000..1bf16b5 --- /dev/null +++ b/xprofile @@ -0,0 +1,5 @@ +export GTK_IM_MODULE=uim +export QT_IM_MODULE=uim +uim-xim & +export XMODIFIERS=@im=uim +[[ ! -s ~/.config/mpd/pid ]] && mpd &