1
0
Fork 0

Add alert settings for Termux

This commit is contained in:
Tom Willemse 2019-09-20 23:17:12 -07:00
parent ea04d5ff46
commit 06d7640368

View file

@ -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)