From 4c4b1713dc656d3dd50318e6c0070cbf3cca46d9 Mon Sep 17 00:00:00 2001 From: tavo-wasd Date: Mon, 1 Jul 2024 19:32:34 -0600 Subject: [PATCH] no android suport :( --- emacs/init.el | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/emacs/init.el b/emacs/init.el index 2995aad..3de9690 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -122,18 +122,21 @@ :config (evil-collection-init)) -(use-package centaur-tabs - :demand - :config - (centaur-tabs-mode t) - :bind - ("C-" . centaur-tabs-backward) - ("C-" . centaur-tabs-forward) - :hook ((dashboard-mode . centaur-tabs-local-mode) - (pdf-view-mode . centaur-tabs-local-mode))) -(setq centaur-tabs-cycle-scope 'tabs) -(setq centaur-tabs-set-modified-marker t) -(setq centaur-tabs-modified-marker "*") +(if (eq system-type 'android) + (message "Android device, ignoring centaur-tabs") ;; Android + (progn ;; Everywhere else + (use-package centaur-tabs + :demand + :config + (centaur-tabs-mode t) + :bind + ("C-" . centaur-tabs-backward) + ("C-" . centaur-tabs-forward) + :hook ((dashboard-mode . centaur-tabs-local-mode) + (pdf-view-mode . centaur-tabs-local-mode))) + (setq centaur-tabs-cycle-scope 'tabs) + (setq centaur-tabs-set-modified-marker t) + (setq centaur-tabs-modified-marker "*"))) (defun my/hide-modeline () (setq-local mode-line-format nil))