From 0c0e302be5b72a90bb9fcbd42f012f68dd09459c Mon Sep 17 00:00:00 2001 From: jao Date: Tue, 9 Aug 2022 00:38:55 +0100 Subject: xmobar.el configuration --- init.el | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index daa5e26..5728d91 100644 --- a/init.el +++ b/init.el @@ -435,6 +435,7 @@ (setq jao-frames-default-alpha 88) (jao-set-transparency) (x-change-window-property "_XMONAD_TRAYPAD" "" nil nil nil nil 0) + (xmobar-mode 1) (jao-trisect t)) ;;;; xmonad @@ -571,6 +572,14 @@ (jao-xmobar-kill) (start-process "" nil "xmobar-exwm" "-d")) +(use-package tab-bar + :init (setq tab-bar-close-button-show nil + tab-bar-show t + tab-bar-format ())) + +(use-package xmobar + :init (setq xmobar-tab-bar t + xmobar-command '("xmobar-emacs" "-TAnsi"))) ;;; Minibuffer (use-package jao-minibuffer @@ -3164,7 +3173,8 @@ ["Window system" :if jao-window-system-p ("w" "set wallpaper" jao-set-wallpaper) ("W" "set radom wallpaper" jao-set-random-wallpaper) - ("x" "restart xmobar" jao-xmobar-restart :if jao-exwm-enabled-p) + ("X" "restart xmobar" xmobar-restart :if jao-exwm-enabled-p) + ("x" "toggle xmobar" xmobar-mode :if jao-exwm-enabled-p) ("x" "kill xmobar" jao-xmobar-kill :if jao-xmonad-enabled-p)] ["Helpers" ("r" "reveal" jao-reveal) -- cgit v1.2.3