summarylogtreecommitdiffstats
path: root/arch_poweroff_defaults.patch
diff options
context:
space:
mode:
authorStefan Husmann2016-02-14 19:56:57 +0100
committerStefan Husmann2016-02-14 19:56:57 +0100
commit784e252fc0d0724f022fc24f0dc7ad991ede416c (patch)
tree3c73e8696480b770ddd69bac82daf1e9ea23dcfd /arch_poweroff_defaults.patch
parent712f819cc8310d0df14f3bb2d9fce52c0b603a3e (diff)
downloadaur-784e252fc0d0724f022fc24f0dc7ad991ede416c.tar.gz
patch poweroff.jl to user more sane defaults
Diffstat (limited to 'arch_poweroff_defaults.patch')
-rw-r--r--arch_poweroff_defaults.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/arch_poweroff_defaults.patch b/arch_poweroff_defaults.patch
new file mode 100644
index 000000000000..a73e3b7811cb
--- /dev/null
+++ b/arch_poweroff_defaults.patch
@@ -0,0 +1,40 @@
+diff --git a/lisp/sawfish/wm/commands/poweroff.jl b/lisp/sawfish/wm/commands/poweroff.jl
+index 97b40c8..c88386f 100644
+--- a/lisp/sawfish/wm/commands/poweroff.jl
++++ b/lisp/sawfish/wm/commands/poweroff.jl
+@@ -36,22 +36,22 @@
+
+ (define-structure-alias poweroff sawfish.wm.commands.poweroff)
+
+- (defcustom reboot-command "ssd --reboot"
++ (defcustom reboot-command "systemctl reboot"
+ "The command used to reboot the computer."
+ :type string
+ :group (misc apps))
+
+- (defcustom halt-command "ssd --shutdown"
++ (defcustom halt-command "systemctl halt"
+ "The command used to halt the computer."
+ :type string
+ :group (misc apps))
+
+- (defcustom suspend-command "ssd --suspend"
++ (defcustom suspend-command "systemctl suspend"
+ "The command used to suspend the computer."
+ :type string
+ :group (misc apps))
+
+- (defcustom hibernate-command "ssd --hibernate"
++ (defcustom hibernate-command "systemctl hibernate"
+ "The command used to hibernate the computer."
+ :type string
+ :group (misc apps))
+@@ -61,7 +61,7 @@
+ :type string
+ :group (misc apps))
+
+- (defcustom lockdown-command "ssd --lockdown"
++ (defcustom lockdown-command "xscreensaver-command --lock"
+ "The command used to lockdown the display."
+ :type string
+ :group (misc apps))