summaryrefslogtreecommitdiff
path: root/emacs.org
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-05-11 11:44:52 +0300
committerThanos Apollo <[email protected]>2023-05-11 11:44:52 +0300
commit413c310eaf8bd7ebe97e4b6e20c87c75cd37f523 (patch)
treebd7110faa5a292a1631e4ee44d94ca10799d0cf9 /emacs.org
parentc6291ed5e3addea12647b92dc5bafd3d40b66739 (diff)
emacs: Adjust settings for phone
Diffstat (limited to 'emacs.org')
-rwxr-xr-xemacs.org7
1 files changed, 5 insertions, 2 deletions
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)