diff --git a/config.org b/config.org index 53d74d1..acbd35c 100644 --- a/config.org +++ b/config.org @@ -59,6 +59,8 @@ - [[#transparency][Transparency]] - [[#which-key][WHICH-KEY]] - [[#emacs-on-android][Emacs on Android]] + - [[#fonts-1][Fonts]] + - [[#settings][Settings]] * IMPORTANT PROGRAMS TO LOAD FIRST ** Recent Files @@ -924,16 +926,20 @@ With Emacs version 29, true transparency has been added. #+end_src * Emacs on Android +** Fonts +All fonts on Android must be in *~/fonts* directory +** Settings #+begin_src emacs-lisp -(when (string-equal system-type "android") - (setq touch-screen-keyboard-function t) - (setq touch-screen-display-keyboard t) + (when (string-equal system-type "android") + ;;Write all android settings here + (setq touch-screen-keyboard-function t) + (setq touch-screen-display-keyboard t) - (menu-bar-mode 1) ;; Enable the menu bar - (scroll-bar-mode 1) ;; Enable the scroll bar - (tool-bar-mode 1) ;;Enable the tool bar - (setq use-file-dialog t) ;; file dialog - (setq use-dialog-box t) ;; dialog box - (setq pop-up-windows t) ;; popup windows -) + (menu-bar-mode 1) ;; Enable the menu bar + (scroll-bar-mode 1) ;; Enable the scroll bar + (tool-bar-mode 1) ;;Enable the tool bar + (setq use-file-dialog t) ;; file dialog + (setq use-dialog-box t) ;; dialog box + (setq pop-up-windows t) ;; popup windows + ) #+end_src diff --git a/early-init.el b/early-init.el index e5d2ac0..93472ea 100644 --- a/early-init.el +++ b/early-init.el @@ -3,5 +3,9 @@ ;; Add Termux binaries to PATH environment (let ((termuxpath "/data/data/com.termux/files/usr/bin")) (setenv "PATH" (concat (getenv "PATH") ":" termuxpath)) - (setq exec-path (append exec-path (list termuxpath))))) + (setq exec-path (append exec-path (list termuxpath)))) + (let ((termuxlib "/data/data/com.termux/files/usr/lib")) + (setenv "PATH" (concat (getenv "PATH") ":" termuxlib)) + (setq exec-path (append exec-path (list termuxlib))) +)