From fda11939e645723b4053d54f639480072a5222ef Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Fri, 10 Dec 2021 22:53:44 +0800 Subject: Add autostart --- bin/autostart | 11 +++++++++++ bin/startdwm | 1 - 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 bin/autostart (limited to 'bin') diff --git a/bin/autostart b/bin/autostart new file mode 100755 index 0000000..0ea29ee --- /dev/null +++ b/bin/autostart @@ -0,0 +1,11 @@ +#!/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 981669f..afa74f1 100755 --- a/bin/startdwm +++ b/bin/startdwm @@ -11,7 +11,6 @@ while true; do done & picom -b -fcitx5 -d csum="" new_csum=$(sha1sum $(which dwm)) -- cgit v1.2.3