diff options
Diffstat (limited to 'common/.emacs.d/init.el')
| -rw-r--r-- | common/.emacs.d/init.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/.emacs.d/init.el b/common/.emacs.d/init.el index 51dd64f..ed3b77f 100644 --- a/common/.emacs.d/init.el +++ b/common/.emacs.d/init.el @@ -4033,6 +4033,10 @@ instead." (interactive) (onboard--call-method "Show")) + (defun suspend () + (interactive) + (spawn-shell-cmd "systemctl suspend")) + (defvar-keymap mobile-device-mode-map "<XF86PowerOff> <XF86PowerOff>" 'onboard-toggle "<XF86PowerOff> <XF86AudioRaiseVolume>" 'mobile-device-volume-mode |
