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