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 ++++++ .zprofile | 1 + .zshrc | 6 ------ 5 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 .config/mpd/mpd.conf create mode 100644 .config/shell/profile create mode 100644 .config/zsh/.zshrc create mode 120000 .zprofile delete mode 100644 .zshrc 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 diff --git a/.zprofile b/.zprofile new file mode 120000 index 0000000..8486fca --- /dev/null +++ b/.zprofile @@ -0,0 +1 @@ +.config/shell/profile \ No newline at end of file diff --git a/.zshrc b/.zshrc deleted file mode 100644 index 6bb4380..0000000 --- a/.zshrc +++ /dev/null @@ -1,6 +0,0 @@ -# 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