From 616cfa7c073b6fb4b01e0f5c098ec7c27a0402ad Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sat, 10 Jul 2021 17:12:52 +0100 Subject: (General)~updates to various files due to reinstall on laptop By reinstalling arch on my laptop, I've had the chance to see any loose ends or errors in my setup that, by virtue of how fresh the system is, I'm motivated to fix. --- Shell/.zprofile | 3 +-- SystemD/.config/systemd/user/emacs.service | 4 ++-- XServer/.xinitrc | 1 + alacritty/.config/alacritty/alacritty.yml | 14 +++++++------- vim/.vimrc | 3 --- 5 files changed, 11 insertions(+), 14 deletions(-) diff --git a/Shell/.zprofile b/Shell/.zprofile index 58a56f8..be3e508 100644 --- a/Shell/.zprofile +++ b/Shell/.zprofile @@ -3,7 +3,7 @@ # Standard Variables export EDITOR='emacsclient -s MAIN -a "emacs" -c' export EA_EDITOR=$EDITOR -export TERMINAL="st" +export TERMINAL="alacritty" export BROWSER="qutebrowser" export PF_INFO="ascii title os memory uptime editor wm shell" export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:$HOME/.local/bin/:$HOME/.emacs.d/bin:$(find ~/.local/scripts/ -type d | tr '\n' ':')$HOME/.cargo/bin:$HOME/.sdkman/bin" @@ -20,4 +20,3 @@ export XDG_RUNTIME_DIR=/run/user/`id -u` # Run some programs /usr/bin/pfetch -eval `ssh-agent`; diff --git a/SystemD/.config/systemd/user/emacs.service b/SystemD/.config/systemd/user/emacs.service index c410445..d7ba157 100644 --- a/SystemD/.config/systemd/user/emacs.service +++ b/SystemD/.config/systemd/user/emacs.service @@ -3,8 +3,8 @@ Description=Emacs [Service] Type=forking -ExecStart=/usr/local/bin/emacs --bg-daemon=MAIN -ExecStop=/usr/local/bin/emacsclient --socket-name=MAIN --eval "(kill-emacs)" +ExecStart=/usr/bin/emacs --bg-daemon=MAIN +ExecStop=/usr/bin/emacsclient --socket-name=MAIN --eval "(kill-emacs)" Restart=on-failure TimeoutStartSec=0 diff --git a/XServer/.xinitrc b/XServer/.xinitrc index c0d6493..edc9f7b 100644 --- a/XServer/.xinitrc +++ b/XServer/.xinitrc @@ -11,6 +11,7 @@ xrandr --output eDP1 --right-of HDMI1; $(xss-lock --transfer-sleep-lock -- lock) & $HOME/.local/scripts/background & +eval `ssh-agent` & systemctl --user start emacs & $HOME/.local/scripts/status/music_update_bar & dunst & diff --git a/alacritty/.config/alacritty/alacritty.yml b/alacritty/.config/alacritty/alacritty.yml index 7e727e9..df82c5d 100644 --- a/alacritty/.config/alacritty/alacritty.yml +++ b/alacritty/.config/alacritty/alacritty.yml @@ -107,7 +107,7 @@ font: # - (macOS) Menlo # - (Linux/BSD) monospace # - (Windows) Consolas - family: Fira Code + family: IBM Plex style: Regular # Bold font face @@ -144,7 +144,7 @@ font: #style: Bold Italic # Point size - size: 13.0 + size: 8.0 # Offset is the extra space around each character. `offset.y` can be thought of # as modifying the line spacing, and `offset.x` as modifying the letter spacing. @@ -286,7 +286,7 @@ colors: # # Window opacity as a floating point number from `0.0` to `1.0`. # The value `0.0` is completely transparent and `1.0` is opaque. -background_opacity: 0.8 +background_opacity: 0.5 #selection: #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" @@ -526,13 +526,13 @@ shell: # a no-op if you do not wish to receive input characters for that binding. key_bindings: # (Windows, Linux, and BSD only) - - { key: V, mods: Control|Shift, action: Paste } - - { key: C, mods: Control|Shift, action: Copy } + - { key: V, mods: Alt, action: Paste } + - { key: C, mods: Alt, action: Copy } - { key: Insert, mods: Shift, action: PasteSelection } - { key: Key0, mods: Control, action: ResetFontSize } - { key: Equals, mods: Control, action: IncreaseFontSize } - - { key: Add, mods: Control, action: IncreaseFontSize } - - { key: Subtract, mods: Control, action: DecreaseFontSize } + - { key: Plus, mods: Control, action: IncreaseFontSize } + - { key: Minus, mods: Control, action: DecreaseFontSize } - { key: Minus, mods: Control, action: DecreaseFontSize } # (Windows only) diff --git a/vim/.vimrc b/vim/.vimrc index c8756e6..33051f9 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -11,9 +11,6 @@ Plugin 'SirVer/ultisnips' Plugin 'honza/vim-snippets' Plugin 'christoomey/vim-tmux-navigator' - "" UI -Plugin 'scrooloose/nerdtree' - "" Plugins Plugin 'godlygeek/tabular' Plugin 'tpope/vim-commentary' -- cgit v1.2.3-13-gbd6f