summaryrefslogtreecommitdiffstats
path: root/desktop/icewm/config
diff options
context:
space:
mode:
author Robby Workman2019-07-21 08:37:15 +0200
committer Willy Sudiarto Raharjo2019-07-27 03:06:15 +0200
commit0b1f52439a5b860ce73f04f75077b870d02a00b1 (patch)
treeb6fc2216b7ff5b3975ef33a7534c2b2464584540 /desktop/icewm/config
parent6857eb67064524ae5704986ebda8ab511d9d20b7 (diff)
downloadslackbuilds-0b1f52439a5b860ce73f04f75077b870d02a00b1.tar.gz
desktop/icewm: Updated for version 1.4.2.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/icewm/config')
-rw-r--r--desktop/icewm/config/icewm-sleep18
-rw-r--r--desktop/icewm/config/shutdown9
-rw-r--r--desktop/icewm/config/startup11
3 files changed, 38 insertions, 0 deletions
diff --git a/desktop/icewm/config/icewm-sleep b/desktop/icewm/config/icewm-sleep
new file mode 100644
index 0000000000..21ff523ab6
--- /dev/null
+++ b/desktop/icewm/config/icewm-sleep
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+# This is used for Slackware 14.2
+/usr/bin/dbus-send \
+ --system \
+ --print-reply \
+ --dest="org.freedesktop.UPower" \
+ /org/freedesktop/UPower \
+ org.freedesktop.UPower.Suspend 2>/dev/null
+
+# This will be needed instead in Slackware 15.0
+#/usr/bin/dbus-send \
+# --system \
+# --print-reply \
+# --dest="org.freedesktop.ConsoleKit" \
+# /org/freedesktop/ConsoleKit/Manager \
+# org.freedesktop.ConsoleKit.Manager.Suspend \
+# boolean:true
diff --git a/desktop/icewm/config/shutdown b/desktop/icewm/config/shutdown
new file mode 100644
index 0000000000..e4fa7d5fcc
--- /dev/null
+++ b/desktop/icewm/config/shutdown
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# /usr/share/icewm/shutdown
+# This script is used to execute additional commands at icewm session exit
+
+# killall xscreensaver
+# killall nm-applet
+# killall polkit-gnome-authentication-agent-1
+
diff --git a/desktop/icewm/config/startup b/desktop/icewm/config/startup
new file mode 100644
index 0000000000..3974421601
--- /dev/null
+++ b/desktop/icewm/config/startup
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+# /usr/share/icewm/startup
+# This script is used to execute additional commands at icewm startup
+# The "sleep 1" is necessary if you will be starting anything with a tray icon
+
+# sleep 1
+# /usr/libexec/polkit-gnome-authentication-agent-1 &
+# /usr/bin/nm-applet &
+# /usr/bin/xscreensaver -nosplash &
+