From 1e4d281f3706f7b5ab32f992c8ffac78e40ab5bf Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Sun, 6 Oct 2024 03:12:32 +0200 Subject: new pc setup --- .config/i3status/config | 2 +- .config/mpd/mpd.conf | 2 +- .config/mpv/mpv.conf | 1 - .config/ncmpcpp/config | 2 +- .config/nsxiv/exec/key-handler | 11 +++++++++++ .config/pipewire/pipewire.conf | 14 +++++++------- .config/shell/aliasrc | 23 +++++++---------------- .config/shell/profile | 3 ++- .config/sxiv/exec/key-handler | 11 ----------- .config/x11/xinitrc | 8 +++++--- .config/zsh/.zshrc | 12 ++++++------ 11 files changed, 41 insertions(+), 48 deletions(-) create mode 100755 .config/nsxiv/exec/key-handler delete mode 100755 .config/sxiv/exec/key-handler diff --git a/.config/i3status/config b/.config/i3status/config index ee97759..da9967e 100644 --- a/.config/i3status/config +++ b/.config/i3status/config @@ -38,7 +38,7 @@ ethernet wg0 { cpu_temperature 0 { format = "T: %degrees °C" - path = "/sys/devices/platform/nct6775.2592/hwmon/hwmon3/temp1_input" + path = "/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon3/temp1_input" } disk "/" { diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf index 7a575d6..9d41600 100755 --- a/.config/mpd/mpd.conf +++ b/.config/mpd/mpd.conf @@ -18,7 +18,7 @@ audio_output { audio_output { type "httpd" name "HTTP Stream" - encoder "lame" # optional, vorbis or lame + encoder "vorbis" # optional, vorbis or lame port "8000" quality "8.0" # do not define if bitrate is defined # bitrate "256" # do not define if quality is defined diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 8dcfc78..8196cc7 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -9,7 +9,6 @@ dscale=ewa_lanczossharp ao=pipewire pipewire-buffer=16 -audio-swresample-o=resampler=soxr,precision=28 audio-samplerate=192000 audio-format=float diff --git a/.config/ncmpcpp/config b/.config/ncmpcpp/config index 11e5c71..966b465 100644 --- a/.config/ncmpcpp/config +++ b/.config/ncmpcpp/config @@ -15,7 +15,7 @@ playlist_show_remaining_time = yes browser_display_mode = columns autocenter_mode = yes follow_now_playing_lyrics = yes -lyrics_fetchers = azlyrics, musixmatch, justsomelyrics, genius, internet +lyrics_fetchers = genius, tekstowo, plyrics, justsomelyrics, jahlyrics, zeneszoveg, internet # UI and colors external_editor = vim diff --git a/.config/nsxiv/exec/key-handler b/.config/nsxiv/exec/key-handler new file mode 100755 index 0000000..14dda4c --- /dev/null +++ b/.config/nsxiv/exec/key-handler @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +while read -r file +do + case "$1" in + "C-d") rm "$file" ;; + "C-c") cat "$file" | xclip -sel c -t image/png ;; + "C-w") xwallpaper --maximize "$file" ;; + "C-r") mv "$file" "$(dmenu /dev/null && test -z "${DBUS_SESSION_BUS_ADDRESS}"; then - eval $(dbus-launch --sh-syntax --exit-with-session) -fi +#if command -v dbus-launch > /dev/null && test -z "${DBUS_SESSION_BUS_ADDRESS}"; then +# eval $(dbus-launch --sh-syntax --exit-with-session) +#fi eval "$(gpg-agent --daemon --allow-preset-passphrase)" eval "$(ssh-agent)" @@ -11,6 +11,8 @@ xrandr --addmode HDMI-A-0 1280x960 xrandr --output DisplayPort-2 --mode 1920x1080 --primary xrandr --output HDMI-A-0 --mode 1280x960 --left-of DisplayPort-2 +rfkill block bluetooth + xset r rate 250 30 xset s off -dpms setxkbmap -option "ctrl:nocaps" diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 8271c67..4c1e54c 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -78,10 +78,10 @@ fi # Add RVM to PATH for scripting. Make sure this is the last PATH variable change. #[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* -if [ -f $XDG_DATA_HOME/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then - . $XDG_DATA_HOME/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh -fi +#if [ -f $XDG_DATA_HOME/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then +# . $XDG_DATA_HOME/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +#fi -if [ -f $XDG_DATA_HOME/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then - . $XDG_DATA_HOME/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh -fi +#if [ -f $XDG_DATA_HOME/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then +# . $XDG_DATA_HOME/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh +#fi -- cgit v1.2.3