From 5d15b27c3e4e6ecaf453efaf2b0527227988607a Mon Sep 17 00:00:00 2001 From: Thiago Kenji Okada Date: Sat, 25 Feb 2023 11:26:54 +0000 Subject: [PATCH] Remove doom-modeline-workarounds.el --- default.nix | 1 - doom-modeline-workarounds.el | 57 ------------------------------------ 2 files changed, 58 deletions(-) delete mode 100644 doom-modeline-workarounds.el diff --git a/default.nix b/default.nix index 799e89af..68b2df9d 100644 --- a/default.nix +++ b/default.nix @@ -219,7 +219,6 @@ let chmod u+w $out/config.el cat $extraConfigPath > $out/config.extra.el cat > $out/config.el << EOF - (load "${./doom-modeline-workarounds.el}") (load "${doomPrivateDir}/config.el") (load "$out/config.extra.el") EOF diff --git a/doom-modeline-workarounds.el b/doom-modeline-workarounds.el deleted file mode 100644 index 7845ce17..00000000 --- a/doom-modeline-workarounds.el +++ /dev/null @@ -1,57 +0,0 @@ -;;; doom-modeline-workarounds.el --- Description -*- lexical-binding: t; -*- -;;; Re-added functions removed in https://github.com/seagle0128/doom-modeline/commit/b596440ee78b3e7d2debc3d73f4d938d968fb896 - -;;;###autoload -(defun doom-modeline-set-minimal-modeline () - "Set minimal mode-line." - (doom-modeline-set-modeline 'minimal)) - -;;;###autoload -(defun doom-modeline-set-special-modeline () - "Set special mode-line." - (doom-modeline-set-modeline 'special)) - -;;;###autoload -(defun doom-modeline-set-project-modeline () - "Set project mode-line." - (doom-modeline-set-modeline 'project)) - -;;;###autoload -(defun doom-modeline-set-dashboard-modeline () - "Set dashboard mode-line." - (doom-modeline-set-modeline 'dashboard)) - -;;;###autoload -(defun doom-modeline-set-vcs-modeline () - "Set vcs mode-line." - (doom-modeline-set-modeline 'vcs)) - -;;;###autoload -(defun doom-modeline-set-info-modeline () - "Set Info mode-line." - (doom-modeline-set-modeline 'info)) - -;;;###autoload -(defun doom-modeline-set-package-modeline () - "Set package mode-line." - (doom-modeline-set-modeline 'package)) - -;;;###autoload -(defun doom-modeline-set-media-modeline () - "Set media mode-line." - (doom-modeline-set-modeline 'media)) - -;;;###autoload -(defun doom-modeline-set-message-modeline () - "Set message mode-line." - (doom-modeline-set-modeline 'message)) - -;;;###autoload -(defun doom-modeline-set-pdf-modeline () - "Set pdf mode-line." - (doom-modeline-set-modeline 'pdf)) - -;;;###autoload -(defun doom-modeline-set-org-src-modeline () - "Set org-src mode-line." - (doom-modeline-set-modeline 'org-src))