M .bashrc => .bashrc +5 -0
@@ 1,6 1,11 @@
# .bashrc
echo .bashrc begin
+# Make a history backup since history is lost sometimes
+BACKUPS=~/Backups/$(date +%Y)/bash_hist/
+[[ ! -d $BACKUPS ]] && mkdir -p $BACKUPS
+cp ~/.bash_history $BACKUPS/$(date +%s)
+
# Load ENV file (shared with POSIX shell)
[ $0 != sh ] && [ -n "${ENV:=$HOME/.env}" ] && . "$ENV"
D .config/alacritty/alacritty.yml => .config/alacritty/alacritty.yml +0 -28
@@ 1,28 0,0 @@
-# Colors (iTerm 2 default theme)
-colors:
- # Default colors
- primary:
- background: '#101421'
- foreground: '#fffbf6'
-
- # Normal colors
- normal:
- black: '#2e2e2e'
- red: '#eb4129'
- green: '#abe047'
- yellow: '#f6c744'
- blue: '#47a0f3'
- magenta: '#7b5cb0'
- cyan: '#64dbed'
- white: '#e5e9f0'
-
- # Bright colors
- bright:
- black: '#565656'
- red: '#ec5357'
- green: '#c0e17d'
- yellow: '#f9da6a'
- blue: '#49a4f8'
- magenta: '#a47de9'
- cyan: '#99faf2'
- white: '#ffffff'
D .config/blue032.profile => .config/blue032.profile +0 -0
D .config/electron-flags.conf => .config/electron-flags.conf +0 -2
@@ 1,2 0,0 @@
---enable-features=UseOzonePlatform
---ozone-platform=wayland
M .env => .env +1 -0
@@ 52,6 52,7 @@ PATH=$HOME/.cargo/bin:$PATH
GOPATH="$HOME/.local/share/go"
PATH=$GOPATH/bin:$PATH
export PATH
+export GOPATH
export LANGUAGE=en
export BROWSER=w3m
M .gnupg/gpg-agent.conf => .gnupg/gpg-agent.conf +1 -1
@@ 1,1 1,1 @@
-pinentry-program /usr/bin/pinentry-dmenu
+#pinentry-program /usr/bin/pinentry-dmenu
M .profile => .profile +2 -1
@@ 7,7 7,8 @@ export LANGUAGE=en
export LC_ALL=en_US.UTF-8
export EDITOR=vim
-export GDK_BACKEND=wayland
+# Try wayland for GTK apps first, allow x11 fallback
+export GDK_BACKEND=wayland,x11
export MAKEFLAGS=-j`lscpu | grep '^CPU(s):' | awk -F' ' '{ print $2 }'`
export CFLAGS="-O2 -pipe -march=native"
M .xinitrc => .xinitrc +1 -1
@@ 3,6 3,6 @@ case $(tty | cut -b9-) in
(2) exec xfce4-session;;
(4) exec i3;;
(5) exec openbox-session;;
- (6) export DESKTOP_SESSION=plasma; exec startplasma-x11;;
+ (6) [ "$DESKTOP_SESSION" = plasma ] && (export DESKTOP_SESSION=plasma; exec startplasma-x11);;
(7) exec openbox-session;;
esac