Kill daemons!

This commit is contained in:
Marco Thomas
2021-08-26 15:56:40 +02:00
parent 97ef60f4bd
commit 056a53a3ef
4 changed files with 12 additions and 22 deletions

View File

@@ -10,7 +10,6 @@ DIR="\[\033[1;94m\]\w\[\033[m\]"
export PS1="${HOST} ${DIR}${GIT} ${ICON} " export PS1="${HOST} ${DIR}${GIT} ${ICON} "
# ============================== Aliases # ============================== Aliases
#alias emacsnw="TERM=xterm-direct emacsclient -c -nw -a 'emacs -nw'"
alias emacsnw="TERM=xterm-direct emacs -nw" alias emacsnw="TERM=xterm-direct emacs -nw"
alias c='clear' alias c='clear'

View File

@@ -14,9 +14,7 @@ workspace_layout stacking
bindsym $mod+Return exec --no-startup-id alacritty bindsym $mod+Return exec --no-startup-id alacritty
bindsym $mod+Ctrl+Return exec --no-startup-id xterm bindsym $mod+Ctrl+Return exec --no-startup-id xterm
bindsym $mod+d exec --no-startup-id dmenu_run bindsym $mod+d exec --no-startup-id dmenu_run
#bindsym $mod+e exec --no-startup-id "emacsclient -c" bindsym $mod+e exec --no-startup-id emacs
bindsym $mod+e exec --no-startup-id "emacs"
bindsym $mod+Ctrl+e exec --no-startup-id "emacsclient --eval '(emacs-everywhere)'"
bindsym $mod+Shift+s exec --no-startup-id "flameshot gui" bindsym $mod+Shift+s exec --no-startup-id "flameshot gui"
### keybinds for moving windows ### keybinds for moving windows

View File

@@ -44,7 +44,6 @@ export PROMPT="${NAME}${DIR}${GIT} ${ICON}%{$reset_color%} "
zstyle ':vcs_info:git:*' formats '|%b ' zstyle ':vcs_info:git:*' formats '|%b '
# ============================== Aliases # ============================== Aliases
#alias emacsnw="TERM=alacritty-direct emacsclient -nw -a 'emacs -nw'"
alias emacsnw="TERM=alacritty-direct emacs -nw" alias emacsnw="TERM=alacritty-direct emacs -nw"
if command -v rg &> /dev/null; then if command -v rg &> /dev/null; then

View File

@@ -66,8 +66,6 @@
(set-face-attribute 'default nil :font "SFMono Nerd Font Mono" :height 110) (set-face-attribute 'default nil :font "SFMono Nerd Font Mono" :height 110)
(set-fontset-font t 'unicode "Source Code Pro" nil 'prepend) (set-fontset-font t 'unicode "Source Code Pro" nil 'prepend)
(set-fontset-font t 'unicode "Noto Color Emoji" nil 'append) (set-fontset-font t 'unicode "Noto Color Emoji" nil 'append)
; fonts for daemon
;(add-to-list 'default-frame-alist '(font . "SFMono Nerd Font Mono"))
;; Make ESC quit prompts ;; Make ESC quit prompts
(global-set-key (kbd "<escape>") 'keyboard-escape-quit) (global-set-key (kbd "<escape>") 'keyboard-escape-quit)
@@ -151,12 +149,17 @@
(doom-modeline-mode 1) (doom-modeline-mode 1)
(setq doom-modeline-indent-info t)) (setq doom-modeline-indent-info t))
;; show icons in daemonized emacs ;; Cool dashboard
;;(defun enable-doom-modeline-icons (_frame) (use-package dashboard
;; (setq doom-modeline-icon t)) :straight t
;; :config
;;(add-hook 'after-make-frame-functions (dashboard-setup-startup-hook)
;; #'enable-doom-modeline-icons) (setq dashboard-banner-logo-title "Welcome back, Marc."
dashboard-center-content t
dashboard-startup-banner 'logo
dashboard-items '((recents . 5)
(agenda . 5)))
(set-face-attribute 'dashboard-banner-logo-title nil :font "Product Sans" :weight 'bold :height 1.5 :inherit 'default))
;; show color codes ;; show color codes
(use-package rainbow-mode (use-package rainbow-mode
@@ -581,15 +584,6 @@
:config :config
(setq graphviz-dot-indent-width 4)) (setq graphviz-dot-indent-width 4))
;; use my beauty everywhere
(use-package emacs-everywhere
:straight t
:hook
(emacs-everywhere-mode . (lambda () (set-input-method "math")))
:config
(setq emacs-everywhere-markdown-apps nil
emacs-everywhere-markdown-windows nil))
(use-package hl-todo (use-package hl-todo
:straight t :straight t
:hook :hook