diff options
author | git user | 2023-07-24 10:56:20 +0200 |
---|---|---|
committer | git user | 2023-07-24 10:56:20 +0200 |
commit | 9d31c1210669a65884034dc4dbbdf805c8b0c9f2 (patch) | |
tree | 64bba2ddbe3393fb38493c15ff0fe70fa5fa2a0f /gtk3-nocsd.install | |
parent | d9acea385f7666ed93f3ac208a7f2360d3ffed6c (diff) | |
download | aur-9d31c1210669a65884034dc4dbbdf805c8b0c9f2.tar.gz |
Do not automatically install the `xinitrc.d` file, and add a note in the `.install` script how to use/ activate this package.
Diffstat (limited to 'gtk3-nocsd.install')
-rw-r--r-- | gtk3-nocsd.install | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gtk3-nocsd.install b/gtk3-nocsd.install index 604ac622dd4b..f1c8007652c3 100644 --- a/gtk3-nocsd.install +++ b/gtk3-nocsd.install @@ -1,6 +1,16 @@ function post_install { - echo "You need to restart your X session to apply the changes." - echo "Note that in gnome sessions, or when the files in '/etc/X11/xinit/xinitrc.d/' do not get executed, this package is no automatically activated and must be used per application by '/usr/bin/gtk3-nocsd'." + printf '\n' + printf '%s\n' "=== gtk3-nocsd: Usage instructions. === " + printf '\n' + printf '%s\n' "In order to automatically preload 'libgtk3-nocsd.so' at X session startup, copy" + printf '%s\n' "'/usr/share/doc/gtk3-nocsd/etc/xinit/xinitrc.d/30-gtk3-nocsd.sh' to '/etc/X11/xinit/xinitrc.d/30-gtk3-nocsd.sh'." + printf '%s\n' "Otherwise, individual programmes can be run with GTK3 client side decoration disabled by running them" + printf '%s\n' "as 'gtk3-nocsd <command> [<command arguments>]'. See 'man 1 gtk3-nocsd'." + printf '\n' + printf '%s\n' "Note that even when '/etc/X11/xinit/xinitrc.d/30-gtk3-nocsd.sh' is copied, in gnome sessions, or when" + printf '%s\n' "the files in '/etc/X11/xinit/xinitrc.d/' do not get executed, gtk3-nocsd is no automatically activarted" + printf '%s\n' "and must also be used per application via 'gtk3-nocsd <command> [<command arguments>]'." + printf '\n' } function post_upgrade { |