File: im-config_wayland.sh

package info (click to toggle)
im-config 0.57-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,000 kB
  • sloc: sh: 365; makefile: 86
file content (16 lines) | stat: -rw-r--r-- 376 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# /etc/profile.d/im-config_wayland.sh
#
# This sets the IM variables on Wayland.

if [ "$XDG_SESSION_TYPE" != 'wayland' ]; then
    return
fi

# don't do anything if im-config was removed but not purged
if [ ! -r /usr/share/im-config/xinputrc.common ]; then
    return
fi

if [ -r /etc/X11/Xsession.d/70im-config_launch ]; then
    . /etc/X11/Xsession.d/70im-config_launch
fi