diff options
-rw-r--r-- | init.el | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -2810,7 +2810,7 @@ (defalias 'jao-streaming-dislike #'jao-spt-dislike) (defalias 'jao-streaming-toggle-shuffle #'jao-spt-toggle-shuffle))) -(defvar jao-spt-on nil) +(defvar jao-spt-on t) (defun jao-spt-on-p () jao-spt-on) (jao-def-exec-in-term "spt" "spt" (jao-afio-goto-scratch t)) @@ -2946,9 +2946,7 @@ (display-time-mode -1) (exwm-enable) (x-change-window-property "_XMONAD_TRAYPAD" "" nil nil nil nil 0) - (if (> emacs-major-version 28) - (xmobar-mode 1) - (jao-xmobar-restart)) + (jao-xmobar-restart) (jao-trisect t)) ;;;; xmonad @@ -3143,7 +3141,7 @@ ("v" "vpn status" jao-mullvad-status) ("m" "set tmr" tmr) ("x" "restart i3bar" jao-river-restart-i3bar :if jao-river-enabled-p) - ("x" "restart xmobar" xmobar-restart :if jao-exwm-enabled-p) + ("x" "restart xmobar" jao-xmobar-restart :if jao-exwm-enabled-p) ("x" "kill xmobar" jao-xmobar-kill :if jao-xmonad-enabled-p)] ["Network" ("S" "ssh" jao-ssh) @@ -3170,9 +3168,7 @@ ("l" "packages" jao-list-packages) ("r" "reveal" jao-reveal) ("k" (lambda () (concat "keyboard" (when (jao-kb-toggled-p) "*"))) - jao-kb-toggle :if jao-x11-p) - ("M" (lambda () (concat "minibuffer" (when jao-minibuffer-mode "*"))) - jao-minibuffer-mode)]]) + jao-kb-toggle :if jao-x11-p)]]) (global-set-key (kbd "s-w") #'jao-transient-utils) |