The Complete Computing Environment

Super-P runs commands

LifeTechEmacsTopicsArcology

,#+ARROYOMODULEWANTS: cce/exwm.org

Super-p to run commands without dumping output to a buffer. Super-Shift-P calls counsel-linux-app which will let me launch an application with an icon in my start menu, long desired.

(add-to-list 'display-buffer-alist
             `(,(rx bos " *async command*")
               (display-buffer-no-window)))

(defun background-shell-command (command)
  (interactive (list (read-shell-command "Run: $ ")))
  (async-shell-command command (generate-new-buffer " *async command*")))

; (exwm-input-set-key (kbd "s-p") #'background-shell-command)
(global-set-key (kbd "s-p") #'background-shell-command)