Add alert settings for Termux
This commit is contained in:
parent
ea04d5ff46
commit
06d7640368
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 2019.0920.193557
|
||||
;; Package-Requires: (oni-alert alert-termux)
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
|
@ -29,6 +30,8 @@
|
|||
|
||||
;;; Code:
|
||||
|
||||
(require 'alert)
|
||||
(require 'alert-termux)
|
||||
(require 'battery)
|
||||
(require 'json)
|
||||
|
||||
|
@ -56,6 +59,8 @@ The following %-sequences are provided:
|
|||
|
||||
(setq battery-mode-line-format "%p%%")
|
||||
|
||||
(setq alert-default-style 'termux)
|
||||
|
||||
(display-battery-mode)
|
||||
|
||||
;;;###autoload(require 'oni-termux)
|
||||
|
|
Loading…
Reference in a new issue