M bash/.bashrc => bash/.bashrc +0 -2
@@ 13,8 13,6 @@ PS1="[\u@\h:\w]\$ "
# Set SSH_AUTH_SOCK so that SSH will use gpg-agent instead of ssh-agent.
unset SSH_AGENT_PID
if [[ -z "$SSH_AUTH_SOCK" ]]; then
- # https://wiki.archlinux.org/title/GNOME/Keyring#xinitrc
- eval "$(gnome-keyring-daemon --start --components=pkcs11,secrets)"
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi
M bin/backup-host => bin/backup-host +4 -2
@@ 22,14 22,16 @@ export BORG_REPO="zh1117@zh1117.rsync.net:""$(hostname)"
export BORG_PASSCOMMAND="cat ""$HOME""/.borg-passphrase"
readonly paths=(
- "/home/rycwo"
+ "/home/rycwo"
)
readonly exclude_paths=(
"/home/rycwo/.borg-passphrase"
+ "/home/rycwo/.cache"
+ "/home/rycwo/.mozilla"
"/home/rycwo/.secret"
"/home/rycwo/.vagrant.d"
"/home/rycwo/.virtualbox"
- "/home/rycwo/go")
+ "/home/rycwo/go")
exclude_file="$(mktemp)"
exit_() {
R bin/connect-barrier => bin/start-barrier +2 -0
@@ 1,3 1,5 @@
#!/usr/bin/env sh
+# Stop the process with:
+# killall barrierc
barrierc --no-tray "$@" &
setxkbmap -device "$(xinput list --id-only "Virtual core XTEST keyboard")" "gb"
A bin/start-vncserver => bin/start-vncserver +4 -0
@@ 0,0 1,4 @@
+#!/usr/bin/env sh
+exec /usr/bin/systemd-inhibit \
+ --what="sleep:handle-lid-switch" --why="Keep VNC alive" \
+ x0vncserver -rfbauth "$HOME""/.vnc/passwd"
M msmtp/config => msmtp/config +1 -1
@@ 8,7 8,7 @@ account personal
host posteo.de
user rycwo@posteo.net
from rycwo@posteo.net
-passwordeval pass show email/rycwo@posteo.net
+passwordeval pass show www/posteo.de/rycwo@posteo.net
port 587
account default : personal
M sxhkd/sxhkdrc => sxhkd/sxhkdrc +3 -8
@@ 10,18 10,13 @@ super + shift + Return
st -e tmux -2 attach-session
super + r
- firefox
-
-super + e
- mailspring
+ dmenu_run -fn "Roboto Mono:style=Medium:antialias=true:autohint=true:pixelsize=13" \
+ -nb "#dadada" -nf "#4e4e4e" -sb "#4e4e4e" -sf "#dadada"
# Reload sxhkd configs.
super + Escape
pkill -USR1 -x sxhkd
-super + alt + s
- systemctl suspend
-
#------------------------------------------------------------------------------
# Audio.
#------------------------------------------------------------------------------
@@ 120,7 115,7 @@ super + {o,i}
bspc wm -h on
# Focus or send to the given desktop.
-super + {_,shift + }{1-9,0}
+super + {_,ctrl + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}'
#------------------------------------------------------------------------------
M tmux/.tmux.conf => tmux/.tmux.conf +1 -0
@@ 29,6 29,7 @@ bind-key -T copy-mode-vi y send-keys -X copy-pipe \
unbind-key p
bind-key p run-shell "xclip -out | tmux load-buffer - && tmux paste-buffer"
+bind-key P run-shell "xclip -sel clip -out | tmux load-buffer - && tmux paste-buffer"
#------------------------------------------------------------------------------
# General configuration
M xinit/.xinitrc => xinit/.xinitrc +0 -4
@@ 5,8 5,4 @@ if [[ -f "$HOME"/.fehbg ]]; then
"$HOME"/.fehbg &
fi
-# Detect monitors for display. Helpful if we are already connected
-# to a second monitor.
-autorandr --change
-
exec bspwm