~lucymcphail/dotfiles

fe836941b52650eb3447baa5fab1e138e4e61652 — Lucy McPhail 2 months ago 85713cb
Update .bash_aliases
Update .bashrc
Update .emacs.d/early-init.el
Update .emacs.d/lucy/lucy-essentials.el
Update .emacs.d/lucy/lucy-meow.el
Update .emacs.d/lucy/lucy-programming.el
Update .config/alacritty/alacritty.yml
Remove .config/systemd/user/emacs.service
Update .config/xmonad/xmonad.hs
M dot_bash_aliases => dot_bash_aliases +1 -0
@@ 1,3 1,4 @@
alias ..="cd .."
alias e="emacsclient -c"
alias g=git
alias m=ncmpcpp

M dot_bashrc => dot_bashrc +1 -3
@@ 77,8 77,6 @@ esac
 if [ -x /usr/bin/dircolors ]; then
     test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
     alias ls='ls --color=auto'
     #alias dir='dir --color=auto'
     #alias vdir='vdir --color=auto'
 
     alias grep='grep --color=auto'
     alias fgrep='fgrep --color=auto'


@@ 119,7 117,7 @@ fi
. "$HOME/.cargo/env"

export BROWSER=firefox
export EDITOR=emacs
export EDITOR="emacsclient -c"

# Created by `pipx` on 2024-05-06 17:08:47
export PATH="$PATH:/home/lucy/.local/bin"

M dot_emacs.d/early-init.el => dot_emacs.d/early-init.el +2 -0
@@ 16,4 16,6 @@
(tooltip-mode -1)
(blink-cursor-mode -1)

(setq frame-inhibit-implied-resize t)

(setq native-comp-async-report-warnings-errors 'silent)

M dot_emacs.d/lucy/lucy-essentials.el => dot_emacs.d/lucy/lucy-essentials.el +0 -7
@@ 38,13 38,6 @@
  :config
  (global-whitespace-cleanup-mode t))

(use-package elec-pair
  :config
  (setq electric-pair-preserve-balance t)
  (add-function :before-until electric-pair-inhibit-predicate
		(lambda (c) (eq c ?<)))
  (electric-pair-mode t))

(use-package which-key
  :ensure t
  :config

M dot_emacs.d/lucy/lucy-meow.el => dot_emacs.d/lucy/lucy-meow.el +1 -1
@@ 1,7 1,7 @@
;; -*- lexical-binding: t; -*-

(defun meow-setup ()
  (setq meow-cheatsheet-layout meow-cheatsheet-layout-colemak)
  (setq meow-cheatsheet-layout meow-cheatsheet-layout-colemak-dh)
  (meow-motion-overwrite-define-key
   '("i" . meow-prev)
   '("e" . meow-next)

M dot_emacs.d/lucy/lucy-programming.el => dot_emacs.d/lucy/lucy-programming.el +8 -4
@@ 1,9 1,13 @@
;; -*- lexical-binding: t -*-

(setq compilation-ask-about-save nil
      compilation-environment '("TERM=xterm-256color"))
(add-hook 'compilation-filter-hook
	  'ansi-color-compilation-filter)
(use-package xterm-color
  :ensure t
  :config
  (defun my/advice-compilation-filter (f proc string)
    (funcall f proc (xterm-color-filter string)))
  (advice-add 'compilation-filter
	      :around #'my/advice-compilation-filter)
  (setq compilation-environment '("TERM=xterm-256color")))

(use-package eglot
  :ensure t

M private_dot_config/alacritty/alacritty.yml => private_dot_config/alacritty/alacritty.yml +3 -0
@@ 1,6 1,9 @@
env:
  TERM: xterm-256color

shell:
  program: /usr/bin/elvish

font:
  normal:
    family: "Berkeley Mono"

D private_dot_config/systemd/user/emacs.service => private_dot_config/systemd/user/emacs.service +0 -23
@@ 1,23 0,0 @@
[Unit]
Description=Emacs text editor
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/

# wait for gnome to start before starting emacs
Requires=gnome-session-manager.service
After=gnome-session-manager.service

[Service]
Type=notify
ExecStart=/usr/bin/emacs --fg-daemon

# Emacs will exit with status 15 after having received SIGTERM, which
# is the default "KillSignal" value systemd uses to stop services.
SuccessExitStatus=15

# The location of the SSH auth socket varies by distribution, and some
# set it from PAM, so don't override by default.
# Environment=SSH_AUTH_SOCK=%t/keyring/ssh
Restart=on-failure

[Install]
WantedBy=default.target

M private_dot_config/xmonad/xmonad.hs => private_dot_config/xmonad/xmonad.hs +1 -1
@@ 32,7 32,7 @@ myConfig = def
    [ ("M-S-z" , spawn "xscreensaver-command -lock")
    , ("M-C-s" , unGrab *> spawn "scrot -s")
    , ("M-f"   , spawn "firefox")
    , ("M-S-e" , spawn "emacs")
    , ("M-S-e" , spawn "emacsclient -c")
      -- volume keys
    , ("<XF86AudioRaiseVolume>" , spawn "pactl set-sink-volume 0 +5%")
    , ("<XF86AudioLowerVolume>" , spawn "pactl set-sink-volume 0 -5%")