Disabled hack to set bottom line in terminals color as background

This commit is contained in:
Andrea Ciceri 2023-04-07 12:15:52 +02:00
parent 9699ce1825
commit 27c3769f0e
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
2 changed files with 9 additions and 10 deletions

17
init.el
View file

@ -73,14 +73,15 @@
(global-auto-revert-mode t)
(show-paren-mode 1)
(column-number-mode 1)
(advice-add 'enable-theme
:after
#'(lambda (&rest rest)
(set-face-background 'vertical-border (face-background 'default))
(let* ((bg-color (face-attribute 'default :background))
(ansi-command (format "\033]11;#%s\007"
(string-remove-prefix "#" bg-color))))
(send-string-to-terminal ansi-command))))
;; FIXME when running running Emacs as daemon
;; (advice-add 'enable-theme
;; :after
;; #'(lambda (&rest rest)
;; (set-face-background 'vertical-border (face-background 'default))
;; (let* ((bg-color (face-attribute 'default :background))
;; (ansi-command (format "\033]11;#%s\007"
;; (string-remove-prefix "#" bg-color))))
;; (send-string-to-terminal ansi-command))))
(defun reset-terminal () (send-string-to-terminal "\033c"))
(add-hook 'kill-emacs-hook #'reset-terminal)
(ef-themes-select 'ef-day)

View file

@ -52,6 +52,4 @@
default = self'.apps.ccrEmacs;
};
};
flake.hydraJobs.emacs = self.packages.x86_64-linux;
}