From 413c310eaf8bd7ebe97e4b6e20c87c75cd37f523 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 11 May 2023 11:44:52 +0300 Subject: emacs: Adjust settings for phone --- emacs.org | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'emacs.org') diff --git a/emacs.org b/emacs.org index c661001..15cacff 100755 --- a/emacs.org +++ b/emacs.org @@ -8,6 +8,7 @@ Check the ~$HOSTNAME~ to set a variable for different devices #+begin_src emacs-lisp (defvar is-zeus (equal (system-name) "zeus")) (defvar is-hermes (equal (system-name) "hermes")) + (defvar is-phone (equal (system-name) "localhost")) #+end_src Setup default browser as ~mullvad-browser~ #+begin_src emacs-lisp @@ -131,10 +132,12 @@ Fonts and basic appearance settings (display-battery-mode 0) (display-battery-mode 1)) - (scroll-bar-mode -1) + (when (equal is-phone nil) + (scroll-bar-mode -1) + (set-fringe-mode 10)) + (tool-bar-mode -1) (tooltip-mode -1) - (set-fringe-mode 10) (menu-bar-mode -1) (which-key-mode 1) (blink-cursor-mode -1) -- cgit v1.2.3