diff --git a/.profile b/.profile index 3b4b585..1053232 100644 --- a/.profile +++ b/.profile @@ -1,5 +1,9 @@ #!/bin/sh +# +# ~/.profile (includes ~/.profile.local) +# + # SSH key agent is started by systemd user export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.sock" @@ -25,3 +29,6 @@ fi # Wine: do not change filetype associations export WINEDLLOVERRIDES=winemenubuilder.exe=d +# Include host-specific .profile +[ -f ~/.profile.local ] && source ~/.profile.local + diff --git a/bin/dmenu b/bin/dmenu index d596ef9..e0ecd2a 100755 --- a/bin/dmenu +++ b/bin/dmenu @@ -1,4 +1,7 @@ #!/bin/bash -exec /usr/bin/dmenu -fn 'Liberation Mono:12' -i "$@" +fontarg=() +[[ $DMENU_FONT ]] && fontarg=(-fn "$DMENU_FONT") + +exec /usr/bin/dmenu "${fontarg[@]}" -i "$@" diff --git a/local/.profile.vriska b/local/.profile.vriska new file mode 100644 index 0000000..7d39c19 --- /dev/null +++ b/local/.profile.vriska @@ -0,0 +1,7 @@ +# +# ~/.profile.local (included by ~/.profile) +# + +# Set dmenu font +export DMENU_FONT='Liberation Mono:12' +