From 06d76403680533e1e48f45dfd4ace2d3d5511c47 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 20 Sep 2019 23:17:12 -0700 Subject: [PATCH] Add alert settings for Termux --- oni-termux.el | 5 +++++ 1 file changed, 5 insertions(+) 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 ;; 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)