diff options
| author | yuzu-eva <cafebabe@disroot.org> | 2025-03-08 20:32:26 +0100 |
|---|---|---|
| committer | yuzu-eva <cafebabe@disroot.org> | 2025-03-08 20:32:26 +0100 |
| commit | 9f1a0d4102503aa3620ed831956dc469872ff87b (patch) | |
| tree | 57cb80185f7d7ab66cf223a62d44c6104f14443d | |
| parent | a32435cfed405c16182bd3efd10e2a4156578868 (diff) | |
changed monitor ports
| -rw-r--r-- | .config/i3/config | 2 | ||||
| -rw-r--r-- | .config/shell/aliasrc | 3 | ||||
| -rw-r--r-- | .config/shell/profile | 4 | ||||
| -rw-r--r-- | .config/tmux/tmux.conf | 6 | ||||
| -rw-r--r-- | .config/wireplumber/wireplumber.conf.d/52-hdmi-card-disable.conf | 16 | ||||
| -rw-r--r-- | .config/x11/xinitrc | 3 | ||||
| -rw-r--r-- | .config/zathura/zathurarc | 2 | ||||
| -rw-r--r-- | .vim/vimrc | 7 |
8 files changed, 18 insertions, 25 deletions
diff --git a/.config/i3/config b/.config/i3/config index 77c4cdd..7b523a2 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -18,7 +18,7 @@ for_window [title="Friends List"] floating enable # no_focus [all] # focus_on_window_activation none -# focus_follows_mouse no +focus_follows_mouse yes # Use wpctl to adjust volume in Pipewire. set $refresh_i3status killall -SIGUSR1 i3status diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 415c26f..1edc562 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -19,13 +19,14 @@ alias tmn='tmux new-session -A -s' alias wgu='sudo wg-quick up /etc/wireguard/wg0.conf' alias wgd='sudo wg-quick down /etc/wireguard/wg0.conf' alias zzz='sudo zzz' +alias sc='echo -ne "\e[1 q"' alias ska="ps -u $USER | awk 'NR > 1 { print $1 }' | xargs -t kill" # compiler alias clang='clang -march=native -O3 -flto=thin' # rename files in cwd in their current order to 4-digit numbers -alias ofn='/bin/ls | cat -n | while read n f; do rename "s/${f%.*}/$(printf "%04d" "$n")/" "$f"; done' +alias ofn='/bin/ls | cat -n | while read n f; do perl-rename "s/${f%.*}/$(printf "%04d" "$n")/" "$f"; done' # restart pipewire after suspend if it stops working alias pw-restart='pkill pipewire && sleep 3s && setsid pipewire &>/dev/null' diff --git a/.config/shell/profile b/.config/shell/profile index 65f116e..c7f0ca9 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -24,6 +24,8 @@ export EIX_LIMIT_COMPACT=0 export LC_ALL=en_US.utf8 +export UV_CACHE_DIR="$HOME/.local/share/uv/cache" + export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib:/usr/local/lib64" export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/lib64/pkgconfig" export INFOPATH="$INFOPATH:/usr/local/share/info" @@ -32,3 +34,5 @@ export GOPATH="$HOME/.local/share/go" export PATH="$PATH:$HOME/.local/bin:$HOME/.local/src/fzf/bin:$HOME/.npm/bin:/sbin:/usr/sbin:$GOPATH/bin" [ -f $HOME/.bashrc ] && . $HOME/.bashrc + +[[ -f /etc/motd.tcl ]] && /etc/motd.tcl diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index ca39f72..48f13e5 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -37,12 +37,18 @@ set -g prefix C-Space unbind C-b bind C-Space send-prefix +unbind C-l + bind C-s split-window -h -c "#{pane_current_path}" bind C-v split-window -v -c "#{pane_current_path}" bind C-w killp bind C-q killw bind C-p previous-window bind C-n next-window +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R bind -n M-n swap-window -t +1\; select-window -t +1 bind -n M-p swap-window -t -1\; select-window -t -1 bind -n M-h resize-pane -L 5 diff --git a/.config/wireplumber/wireplumber.conf.d/52-hdmi-card-disable.conf b/.config/wireplumber/wireplumber.conf.d/52-hdmi-card-disable.conf deleted file mode 100644 index 6f038d2..0000000 --- a/.config/wireplumber/wireplumber.conf.d/52-hdmi-card-disable.conf +++ /dev/null @@ -1,16 +0,0 @@ -monitor.alsa.rules = [ - { - matches = [ - { - device.name = "alsa_card.pci-0000_2f_00.1" - } - ] - actions = { - update-props = { - device.disabled = true - } - } - } -] - - diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 7ba62d4..e5226bb 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -9,7 +9,7 @@ eval "$(ssh-agent)" xrandr --addmode HDMI-A-0 1280x960 xrandr --output HDMI-A-0 --mode 1280x960 --primary -xrandr --output DisplayPort-2 --mode 1920x1080 --left-of HDMI-A-0 +xrandr --output DisplayPort-1 --mode 1920x1080 --left-of HDMI-A-0 # xrandr --output DisplayPort-2 --mode 1920x1080 --primary # xrandr --output HDMI-A-0 --mode 1280x960 --left-of DisplayPort-2 @@ -24,5 +24,6 @@ xrdb -merge ~/.Xresources /usr/bin/pipewire & /usr/bin/mpd & $HOME/.local/bin/set-wallpaper & +/usr/libexec/polkit-gnome-authentication-agent-1 & exec i3 diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc index fac9838..96c2ac1 100644 --- a/.config/zathura/zathurarc +++ b/.config/zathura/zathurarc @@ -1,8 +1,8 @@ -set sandbox none set statusbar-h-padding 0 set statusbar-v-padding 0 set page-padding 1 set selection-clipboard clipboard +set database "sqlite" map u scroll half-up map d scroll half-down @@ -66,13 +66,10 @@ nmap <leader>Q :bufdo bdelete<CR> nmap <leader>ve :edit $MYVIMRC<CR> nmap <leader>vr :source $MYVIMRC <bar> :doautocmd BufRead<CR> -nnoremap <leader>m :MaximizerToggle!<CR> -nnoremap <leader>F :ALEFix<CR> nnoremap <leader>d :cd %:p:h<CR>:pwd<CR> -vnoremap <c-c> "+y -nnoremap <c-v> "+p - map gf :edit <cfile><CR> nmap <leader>x :!xdg-open %<CR><CR> + +nmap <leader>s :!echo -ne "\e[2 q"<CR><CR> |
