blob: 086823a86e89496c7b4a5ae27b7b425c8b515be2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/bash
if [ -n "${GNOME_DESKTOP_SESSION_ID-}" ]; then
# just in case DESKTOP_SESSION wasn't properly set
_check=gnome
else
_check="${DESKTOP_SESSION-}"
fi
case "${_check}" in
gnome|gnome-*|*/gnome|*/gnome-*)
unset GTK_CSD
;;
*)
export GTK_CSD=0
export LD_PRELOAD="/usr/\${LIB}/libgtk3-nocsd.so.0${LD_PRELOAD:+:$LD_PRELOAD}"
;;
esac
unset _check
|