M .config/sway/config => .config/sway/config +2 -2
@@ 4,11 4,11 @@ set $down j
set $up k
set $right l
set $mod Mod4
-set $term foot-extra
+set $term foot
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
-set $menu dmenu_path | dmenu | xargs swaymsg exec --
+set $menu dmenu_path | dmenu -fn 'SourceCodePro' | xargs swaymsg exec --
### Output configuration
#
M .env => .env +3 -1
@@ 37,11 37,13 @@ alias mbsync="mbsync -c ~/.config/isync/mbsyncrc"
export GPG_TTY="$(tty)"
gpg-connect-agent updatestartuptty /bye >/dev/null
export PATH=$HOME/.local/bin:$PATH
-export PATH=$HOME/.local/bin/`hostname`:$PATH
+HOSTNAME=$(cat /proc/sys/kernel/hostname)
+export PATH=$HOME/.local/bin/$HOSTNAME:$PATH
export PATH=$HOME/.local/bin/`uname -m`:$PATH
export PATH=$HOME/.cargo/bin:$PATH
export GOPATH="$HOME/.local/share/go"
export PATH=$GOPATH/bin:$PATH
export BROWSER=w3m
+export LANGUAGE=en
echo .env end
M .local/bin/prompt => .local/bin/prompt +1 -1
@@ 1,7 1,7 @@
#!/bin/sh
BRANCH=$(git branch --show-current 2>/dev/null)
BRANCH=$(test -n "$BRANCH" && echo "($BRANCH)")
-PROMPT="$USER@$(hostname):$( test "$PWD" = $HOME && echo '~' || echo "$PWD")$BRANCH"
+PROMPT="$USER@$(cat /proc/sys/kernel/hostname):$( test "$PWD" = $HOME && echo '~' || echo "$PWD")$BRANCH"
case $(id -u) in
0) echo "$PROMPT# " ;;
*) echo "$PROMPT$ " ;;
M .profile => .profile +3 -2
@@ 14,7 14,8 @@ export CXXFLAGS="${CFLAGS}"
export _JAVA_AWT_WM_NONREPARENTING=1
export GDK_BACKEND=wayland
-[ -e .config/$(hostname).profile ] && . .config/$(hostname).profile
-[ $0 != sh ] && [ -n $BASH_VERSION ] && shopt login_shell 2>&1 > /dev/null && [ -f ~/.bashrc ] && . ~/.bashrc
+HOSTNAME=$(cat /proc/sys/kernel/hostname)
+[ -e .config/$HOSTNAME.profile ] && . .config/$HOSTNAME.profile
+[ $0 != sh ] && [ -n "$BASH_VERSION" ] && shopt login_shell 2>&1 > /dev/null && [ -f ~/.bashrc ] && . ~/.bashrc
echo .profile end