From d5ded4041b1be965e5b2d82c24c3584fb53f3ba4 Mon Sep 17 00:00:00 2001 From: awy Date: Tue, 20 Aug 2024 13:10:27 +0300 Subject: update --- .config/mpd/mpd.conf | 19 +++++++++++++++++++ .config/shell/profile | 2 ++ .config/zsh/.zshrc | 6 ++++++ 3 files changed, 27 insertions(+) create mode 100644 .config/mpd/mpd.conf create mode 100644 .config/shell/profile create mode 100644 .config/zsh/.zshrc (limited to '.config') diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf new file mode 100644 index 0000000..ab02f44 --- /dev/null +++ b/.config/mpd/mpd.conf @@ -0,0 +1,19 @@ +db_file "~/.config/mpd/mpd.db" +log_file "~/.config/mpd/mpd.log" +pid_file "~/.config/mpd/mpd.pid" +state_file "~/.config/mpd/mpdstate" + +music_directory "/mnt/ssd/music" + +auto_update "yes" +bind_to_address "0.0.0.0" +port "6600" +#restore_paused "yes" +#max_output_buffer_size "16384" + +audio_output { + type "pipewire" + name "PipeWire Sound Server" +} + + diff --git a/.config/shell/profile b/.config/shell/profile new file mode 100644 index 0000000..1391f75 --- /dev/null +++ b/.config/shell/profile @@ -0,0 +1,2 @@ +export ZDOTDIR="$HOME/.config/zsh" +[ "$(tty)" = "/dev/tty1" ] && ! pidof -s Hyprland >/dev/null 2>&1 && exec "/home/awy/.config/hypr/start.sh" diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc new file mode 100644 index 0000000..6bb4380 --- /dev/null +++ b/.config/zsh/.zshrc @@ -0,0 +1,6 @@ +# Enable colors and change prompt: +autoload -U colors && colors # Load colors +PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b " +setopt autocd # Automatically cd into typed directory. +stty stop undef # Disable ctrl-s to freeze terminal. +setopt interactive_comments -- cgit v1.2.3