diff options
author | Guangxiong Lin <[email protected]> | 2021-12-15 21:43:26 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-12-15 21:43:26 +0800 |
commit | b3d381bfc57feb75f44b62c2c1ed8a313caa9be4 (patch) | |
tree | ebe35fa9f249c7b4e6586b6228f1fd413e959cdb | |
parent | 3a1e638cd8f91b87ceae26599abef3af71d28a42 (diff) | |
download | dotfiles-b3d381bfc57feb75f44b62c2c1ed8a313caa9be4.tar.gz dotfiles-b3d381bfc57feb75f44b62c2c1ed8a313caa9be4.tar.bz2 dotfiles-b3d381bfc57feb75f44b62c2c1ed8a313caa9be4.zip |
Update autostart
-rw-r--r-- | .env | 8 | ||||
-rw-r--r-- | .xinitrc | 2 | ||||
-rwxr-xr-x | bin/autostart | 7 | ||||
-rwxr-xr-x | bin/startdwm | 1 |
4 files changed, 9 insertions, 9 deletions
@@ -12,3 +12,11 @@ export FZF_DEFAULT_COMMAND='find . -type f' if [ -f /usr/bin/fd ];then export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git' fi + +if type fcitx5 > /dev/null; then + export GTK_IM_MODULE=fcitx + export QT_IM_MODULE=fcitx + export XMODIFIERS=@im=fcitx + export INPUT_METHOD=fcitx + export SDL_IM_MODULE=fcitx +fi @@ -38,8 +38,6 @@ fi # xterm -geometry 80x20+494-0 & # exec xterm -geometry 80x66+0+0 -name login -source autostart - session=${1:-dwm} case $session in dwm) diff --git a/bin/autostart b/bin/autostart index 0ea29ee..c6382f1 100755 --- a/bin/autostart +++ b/bin/autostart @@ -1,11 +1,4 @@ #!/usr/bin/env bash -export GTK_IM_MODULE=fcitx -export QT_IM_MODULE=fcitx -export XMODIFIERS=@im=fcitx -export INPUT_METHOD=fcitx -export SDL_IM_MODULE=fcitx - [ -f /usr/bin/fcitx5 ] && fcitx5 -d - [ -f ~/.fehbg ] && ~/.fehbg & diff --git a/bin/startdwm b/bin/startdwm index afa74f1..da570ff 100755 --- a/bin/startdwm +++ b/bin/startdwm @@ -11,6 +11,7 @@ while true; do done & picom -b +autostart csum="" new_csum=$(sha1sum $(which dwm)) |