diff options
| author | yuzu-eva <stevenhu@web.de> | 2023-04-15 09:41:27 +0200 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2023-04-15 09:41:27 +0200 |
| commit | c2f9e9f3d01a9276f7c5f740c999a63e28ec23a8 (patch) | |
| tree | e9414671cb2066ba8f4cc5e1064be05ea8c9a70f | |
| parent | 5e91cd6c9388eeb4d7ac510bfb66f515e34944a0 (diff) | |
updated package manager aliases for portage
| -rw-r--r-- | .config/mpv/mpv.conf | 1 | ||||
| -rw-r--r-- | .config/mpv/script-opts/encode_webm.conf | 2 | ||||
| -rw-r--r-- | .config/neofetch/config.conf | 2 | ||||
| -rw-r--r-- | .config/picom/picom.conf | 10 | ||||
| -rw-r--r-- | .config/shell/aliasrc | 30 | ||||
| -rw-r--r-- | .config/shell/profile | 10 | ||||
| -rw-r--r-- | .config/tmux/tmux.conf | 2 | ||||
| -rw-r--r-- | .config/x11/xinitrc | 14 | ||||
| -rw-r--r-- | .config/zsh/.zshrc | 8 |
9 files changed, 33 insertions, 46 deletions
diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index e467c61..d6d468d 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -3,6 +3,7 @@ profile=gpu-hq #cscale=ewa_lanczossharp vo=gpu +hwdec=vdpau keep-open=yes stop-screensaver diff --git a/.config/mpv/script-opts/encode_webm.conf b/.config/mpv/script-opts/encode_webm.conf index 93dbb74..f6d661c 100644 --- a/.config/mpv/script-opts/encode_webm.conf +++ b/.config/mpv/script-opts/encode_webm.conf @@ -13,7 +13,7 @@ preserve_filters=yes append_filter= # additional parameters passed to ffmpeg -codec=-c:v libvpx-vp9 -b:v 800k -c:a libvorbis +codec=-c:v libvpx-vp9 -crf 1 -b:v 1M -c:a libvorbis # format of the output filename # Does basic interpolation on the following variables: $f, $x, $t, $s, $e, $d, $p, $n which respectively represent diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf index 5fff961..0707571 100644 --- a/.config/neofetch/config.conf +++ b/.config/neofetch/config.conf @@ -745,7 +745,7 @@ ascii_distro="auto" # Example: # ascii_colors=(distro) - Ascii is colored based on Distro colors. # ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. -ascii_colors=(88 88 88 88 88 88) +ascii_colors=(distro) # Bold ascii logo # Whether or not to bold the ascii logo. diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index 335f0de..fa4d989 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -1,16 +1,6 @@ # just very slightly rounded corners # empty file, just so transparency works on st -backend = "glx"; -blur-kern = "3x3box"; -blur-method = "dual_kawase"; -blur-strength = 2; - -opacity-rule = [ - "98:class_g = 'SchildiChat' && focused", - "98:class_g = 'SchildiChat' && !focused" -] - # corner-radius = 6 # rounded-corners-exclude = [ diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 623377f..46e9ce4 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -1,24 +1,23 @@ ## MISCELLANEOUS # various shortcuts -alias reboot='sudo reboot' -alias poweroff='sudo poweroff' -alias pms='sudo pm-suspend' -alias refresh='source $ZDOTDIR/.zshrc' -alias fuck='sudo $(fc -Lln -1)' +alias reboot='doas reboot' +alias poweroff='doas poweroff' +alias refresh='. $ZDOTDIR/.zshrc' +alias fuck='doas $(fc -Lln -1)' alias open='xdg-open' alias mutt='pushd ~/.mutt/attachments; mutt; popd' alias jpwine='LANG=ja_JP.UTF-8 WINEDEBUG=-all wine' alias vi="$EDITOR" -alias em='emacsclient -c -a "emacs" &' -alias emacsd='/usr/local/bin/emacs --daemon &' +alias emacsd='/usr/bin/emacs --daemon &' alias z='zathura' alias cn='clear;neofetch' alias nnn='nnn -Hde' alias ea='vi ~/.config/shell/aliasrc' +alias ez='vi ~/.config/zsh/.zshrc' alias setkeys='xset r rate 250 30 && setxkbmap -option "ctrl:nocaps"' alias cam='mpv --profile=low-latency --untimed /dev/video0' -alias freyr='sudo docker run -it --rm -v /media/hdd/music:/data freyrcli/freyrjs' +alias freyr='doas docker run -it --rm -v /media/hdd/music:/data freyrcli/freyrjs' alias ofn='/usr/bin/ls | cat -n | while read n f; do rename "s/${f%.*}/$(printf "%04d" "$n")/" "$f"; done' # setting custom ascii @@ -120,12 +119,9 @@ alias dpush='dfiles push origin' ## PACKAGE MANAGER -alias aptin='sudo apt install' -alias aptup='sudo apt update && sudo apt upgrade' -alias aptupd='sudo apt update' -alias aptupg='sudo apt upgrade' -alias aptrm='sudo apt remove' -alias aptsr='sudo apt search' -alias aptsh='sudo apt show' -alias listup='sudo apt list --upgradeable' -alias listin='sudo apt list --installed' +alias eq='equery uses' +alias emin='doas emerge -av' +alias emrm='doas emerge -ac' +alias emup='doas emerge -avuND @world' +alias ems='emerge -s' + diff --git a/.config/shell/profile b/.config/shell/profile index 0093eed..b443e3b 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -1,9 +1,9 @@ umask 0077 export _JAVA_AWT_WM_NONREPARENTING=1 -export EDITOR="nvim" +export EDITOR="nano" export TERMINAL="st" -export BROWSER="firefox" +export BROWSER="icecat" export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" @@ -12,8 +12,6 @@ export XDG_CACHE_HOME="$HOME/.cache" export XINITRC="$XDG_CONFIG_HOME/x11/xinitrc" export ZDOTDIR="$XDG_CONFIG_HOME/zsh" -export LC_ALL=en_US.UTF-8 - export MAIL=~/.mutt/Maildir export NO_AT_BRIDGE=1 @@ -22,9 +20,9 @@ export QT_IM_MODULE='ibus' export XMODIFIERS='@im=ibus' export XDG_SESSION_TYPE='x11' -export NVM_DIR="$HOME/.config/nvm" +export VDPAU_DRIVER=radeonsi -export PATH="$PATH:$HOME/.local/bin:$HOME/.fzf/bin:$HOME/.cargo/bin:/sbin:/usr/sbin:$HOME/.rvm/bin" +export PATH="$PATH:$HOME/.local/bin:$HOME/.fzf/bin:/sbin:/usr/sbin" diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 1db3b54..9ad7b50 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,3 +1,5 @@ +set -g default-command "${SHELL}" + # Status-bar settings set -g status-right "%H:%M" set -g window-status-current-style "underscore" diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 76a3ff5..8ccffd0 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -1,10 +1,7 @@ #!/bin/sh -if [ -d "/etc/X11/Xsession.d" ]; then - for f in /etc/X11/Xsession.d/*; do - [ -x "$f" ] && . "$f" - done - unset f +if command -v dbus-launch > /dev/null && test -z "${DBUS_SESSION_BUS_ADDRESS}"; then + eval $(dbus-launch --sh-syntax --exit-with-session) fi rfkill block all @@ -19,13 +16,12 @@ setxkbmap -option "ctrl:nocaps" xrandr --auto --output HDMI-A-0 --mode 1920x1080 --primary xrandr --auto --output DisplayPort-2 --mode 1600x900 --left-of HDMI-A-0 -ibus-daemon -dxrR -/usr/local/bin/emacs --daemon & -statusbar & +~/.fehbg +/usr/bin/emacs --daemon & pipewire & mpd & picom & -set-wallpaper & +statusbar & exec dwm diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index bdf3049..22e2763 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -11,8 +11,12 @@ _comp_options+=(globdots) setopt PROMPT_SUBST +# use emacs keybindings bindkey -e +# fix del key just inserting a tilde +bindkey "^[[3~" delete-char + PROMPT='%B%{$fg[red]%}[%{$fg[magenta]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[yellow]%}%~%{$fg[red]%}]%b ' setopt extendedGlob @@ -36,8 +40,8 @@ setopt pushd_ignore_dups setopt pushd_minus -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion +#[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +#[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion if [ -f $XDG_CONFIG_HOME/.dircolors ]; then eval "$(dircolors -b $XDG_CONFIG_HOME/.dircolors)" |
