From 19ff54db9fe21fd5bdf404a8d2612176baa8a6f5 Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Fri, 26 Nov 2021 22:49:34 +0300 Subject: [PATCH] feat(*): small fixes --- .emacs.d/desktop.el | 7 ++++--- .emacs.d/init.el | 6 ++++-- Desktop.org | 1 + Emacs.org | 3 ++- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.emacs.d/desktop.el b/.emacs.d/desktop.el index e8d0251..25b637a 100644 --- a/.emacs.d/desktop.el +++ b/.emacs.d/desktop.el @@ -30,9 +30,6 @@ (other-direction (evil-move-window dir))))) -(use-package transient - :straight t) - (setq my/exwm-resize-value 5) (defun my/exwm-resize-window (dir kind &optional value) @@ -65,6 +62,9 @@ _=_: Balance " ("=" balance-windows) ("q" nil "quit" :color blue)) +(use-package transient + :straight t) + (defun my/run-in-background (command) (let ((command-parts (split-string command "[ ]+"))) (apply #'call-process `(,(car command-parts) nil 0 nil ,@(cdr command-parts))))) @@ -289,6 +289,7 @@ _=_: Balance " (,(kbd "s-;") . my/exwm-apps) (,(kbd "s--") . ,(my/app-command "rofi-pass")) (,(kbd "s-=") . ,(my/app-command "rofimoji")) + (,(kbd "s-i") . ,(my/app-command "copyq menu")) ;; Basic controls (,(kbd "") . ,(my/app-command "ponymix increase 5 --max-volume 150")) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 7c95f74..0bab5f7 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -976,6 +976,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." :init (setq doom-modeline-env-enable-python nil) (setq doom-modeline-env-enable-go nil) + (setq doom-modeline-buffer-encoding 'nondefault) + (setq doom-modeline-hud t) :config (doom-modeline-mode 1) (setq doom-modeline-minor-modes nil) @@ -4239,8 +4241,8 @@ _r_: Restart frame _uo_: Output _sd_: Down stack frame _bh_: Set (my-leader-def "ag" 'guix)) (use-package pomm - :straight (:host github :repo "SqrtMinusOne/pomm.el" :files (:defaults "resources")) - ;; :straight (:local-repo "~/Code/Emacs/pomm" :files (:defaults "resources")) + ;; :straight (:host github :repo "SqrtMinusOne/pomm.el" :files (:defaults "resources")) + :straight (:local-repo "~/Code/Emacs/pomm" :files (:defaults "resources")) :init (my-leader-def "ap" #'pomm) :config diff --git a/Desktop.org b/Desktop.org index 18769ec..5663686 100644 --- a/Desktop.org +++ b/Desktop.org @@ -614,6 +614,7 @@ And keybindings that are available in both =char-mode= and =line-mode=: (,(kbd "s-;") . my/exwm-apps) (,(kbd "s--") . ,(my/app-command "rofi-pass")) (,(kbd "s-=") . ,(my/app-command "rofimoji")) + (,(kbd "s-i") . ,(my/app-command "copyq menu")) ;; Basic controls (,(kbd "") . ,(my/app-command "ponymix increase 5 --max-volume 150")) diff --git a/Emacs.org b/Emacs.org index a058ea3..96b6974 100644 --- a/Emacs.org +++ b/Emacs.org @@ -6,7 +6,8 @@ #+OPTIONS: broken-links:auto h:6 toc:nil #+begin_quote -One day we won't hate one another, no young boy will march to war and I will clean up my Emacs config. But that day isn'. +One day we won't hate one another, no young boy will march to war and I will clean up my Emacs config. But that day isn't today. +#+end_quote #+TOC: headlines 6