aboutsummaryrefslogtreecommitdiffstats
path: root/oni-termux.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-09-20 23:17:12 -0700
committerGravatar Tom Willemse2019-09-20 23:18:00 -0700
commit06d76403680533e1e48f45dfd4ace2d3d5511c47 (patch)
tree397ca96186160dd147dedb74bdaa773eda4da01c /oni-termux.el
parentea04d5ff46d4a5066fe7f496b218facff2d23ddc (diff)
downloademacs-config-06d76403680533e1e48f45dfd4ace2d3d5511c47.tar.gz
emacs-config-06d76403680533e1e48f45dfd4ace2d3d5511c47.zip
Add alert settings for Termux
Diffstat (limited to 'oni-termux.el')
-rw-r--r--oni-termux.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/oni-termux.el b/oni-termux.el
index 2afaad6..a6d1940 100644
--- a/oni-termux.el
+++ b/oni-termux.el
@@ -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)