feat(*): small fixes

This commit is contained in:
Pavel Korytov 2021-11-26 22:49:34 +03:00
parent 78ecd7e1bb
commit 19ff54db9f
4 changed files with 11 additions and 6 deletions

View file

@ -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 "<XF86AudioRaiseVolume>") . ,(my/app-command "ponymix increase 5 --max-volume 150"))

View file

@ -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

View file

@ -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 "<XF86AudioRaiseVolume>") . ,(my/app-command "ponymix increase 5 --max-volume 150"))

View file

@ -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