1
0
Fork 0
dotfiles/.config/X11/xsession.d/50atk-adaptor

24 lines
372 B
Plaintext
Raw Normal View History

2023-02-07 16:35:27 +01:00
# vim:set ft=sh
2023-02-07 17:19:53 +01:00
add_module() {
2023-02-07 16:35:27 +01:00
case :$GTK_MODULES: in
2023-02-07 17:19:53 +01:00
*:$1:*) ;;
*)
if [ -z "$GTK_MODULES" ]; then
GTK_MODULES=$1
else
GTK_MODULES=$GTK_MODULES:$1
fi
;;
2023-02-07 16:35:27 +01:00
esac
}
add_module gail
add_module atk-bridge
export GTK_MODULES
if [ -x "/usr/bin/dbus-update-activation-environment" ]; then
2023-02-07 17:19:53 +01:00
dbus-update-activation-environment --verbose --systemd GTK_MODULES
2023-02-07 16:35:27 +01:00
fi