diff options
-rwxr-xr-x[-rw-r--r--] | .config/i3/autostart##template | 9 | ||||
-rw-r--r-- | .profile | 9 | ||||
-rwxr-xr-x | .xprofile | 1 |
3 files changed, 11 insertions, 8 deletions
diff --git a/.config/i3/autostart##template b/.config/i3/autostart##template index 23eb199..6618474 100644..100755 --- a/.config/i3/autostart##template +++ b/.config/i3/autostart##template @@ -1,5 +1,5 @@ #!/bin/sh -. ~/.profile +. "$HOME/.profile" /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & cat "$XDG_CONFIG_HOME/X11/$(cat "$XDG_DATA_HOME/mode/active")" | xrdb -merge & polybar & @@ -9,7 +9,7 @@ xbanish & dunst & autocutsel & fcitx5 -d -xbindkeys -f "~/.config/xbindkeys/main" +xbindkeys -f "$XDG_CONFIG_HOME/xbindkeys/main" {% if yadm.hostname == "thoncc" %} xdimmer -t 45 -p 3 & light-locker --no-late-locking & @@ -20,9 +20,10 @@ nicotine & flashfocus & # bw unlock <password> --raw | keyctl padd user bw_session @u -sh ~/.config/i3/unlock_bitwarden & +# sh $HOME/.config/i3/unlock_bitwarden & +[ -f "$XDG_CONFIG_HOME/i3/unlock_bitwarden" ] && "$XDG_CONFIG_HOME/i3/unlock_bitwarden" & # auto start lazy script after everything else sleep 2 -[ -f "~/do.sh" ] && . "~/do.sh" +[ -f "$HOME/do.sh" ] && . "$HOME/do.sh" @@ -1,8 +1,11 @@ #!/bin/sh # -# this file should only contain posix-compliant shell customizations. -# shell-specific customizations should be done in the respective shell's -# profile or init file (e.g. .zshrc, .bash_profile, etc.) +# this file should only contain posix-compliant shell customizations and +# environment variables. shell-specific customizations should be done in the +# respective shell's profile or init file (e.g. .zshrc, .bash_profile, etc.) + +# AJATT (user account only because TTYs don't render non-ascii characters) +export LANG="ja_JP.UTF-8" # aliases alias cls="clear" @@ -7,6 +7,5 @@ xrdb -merge "$XDG_CONFIG_HOME/X11/base" # https://github.com/swaywm/sway/wiki#gtk-applications-take-20-seconds-to-start dbus-update-activation-environment --systemd DISPLAY - i3 |