summaryrefslogtreecommitdiff
path: root/pcr/i3-gnome/i3-gnome.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/i3-gnome/i3-gnome.install')
-rw-r--r--pcr/i3-gnome/i3-gnome.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/i3-gnome/i3-gnome.install b/pcr/i3-gnome/i3-gnome.install
new file mode 100644
index 000000000..22dcd5ce9
--- /dev/null
+++ b/pcr/i3-gnome/i3-gnome.install
@@ -0,0 +1,20 @@
+pkgname=i3-gnome
+
+post_install() {
+ update-desktop-database -q
+ echo "In '~/.config/i3/config':"
+ echo "* use 'exec gnome-session-quit --logout' : logout dialog"
+ echo "* use 'exec gnome-session-quit --power-off' : shutdown menu"
+ echo "If you have gnome-screensaver installed and want to use it:"
+ echo "* use 'exec gnome-screensaver-command -l' : locks the screen"
+}
+
+post_upgrade() {
+ post_install "$1"
+}
+
+post_remove() {
+ update-desktop-database -q
+}
+
+# vim:set ts=2 sw=2 et: