From a9a1915407acf82df788a3b3772b3676dec651be Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Sun, 9 May 2021 16:50:11 +0200 Subject: [PATCH] Clean some files --- README.md | 1 + files/.config/alacritty/themes/nord.yml | 84 +++++++++++++++++-------- files/.zshrc | 2 +- files/init.el | 15 +++-- 4 files changed, 68 insertions(+), 34 deletions(-) diff --git a/README.md b/README.md index cfaa4ef..59ad77b 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ + Image-Viewer: sxiv + Launcher: [dmenu](https://github.com/crammk/dmenu) + Lock: [slock](https://github.com/crammk/slock) ++ Mouse-Settings: piper + Music: spotify + Pdf-Viewer: zathura with mupdf + Screenshots: Flameshot diff --git a/files/.config/alacritty/themes/nord.yml b/files/.config/alacritty/themes/nord.yml index 3c98e0c..b370cb1 100644 --- a/files/.config/alacritty/themes/nord.yml +++ b/files/.config/alacritty/themes/nord.yml @@ -1,28 +1,58 @@ -# Colors (Nord) +# Copyright (c) 2017-present Arctic Ice Studio +# Copyright (c) 2017-present Sven Greb + +# Project: Nord Alacritty +# Version: 0.1.0 +# Repository: https://github.com/arcticicestudio/nord-alacritty +# License: MIT +# References: +# https://github.com/alacritty/alacritty + colors: - # Default colors - primary: - background: '#2E3440' - foreground: '#D8DEE9' - - # Normal colors - normal: - black: '#3B4252' - red: '#BF616A' - green: '#A3BE8C' - yellow: '#EBCB8B' - blue: '#81A1C1' - magenta: '#B48EAD' - cyan: '#88C0D0' - white: '#E5E9F0' - - # Bright colors - bright: - black: '#4C566A' - red: '#BF616A' - green: '#A3BE8C' - yellow: '#EBCB8B' - blue: '#81A1C1' - magenta: '#B48EAD' - cyan: '#8FBCBB' - white: '#ECEFF4' + primary: + background: '#2e3440' + foreground: '#d8dee9' + dim_foreground: '#a5abb6' + cursor: + text: '#2e3440' + cursor: '#d8dee9' + vi_mode_cursor: + text: '#2e3440' + cursor: '#d8dee9' + selection: + text: CellForeground + background: '#4c566a' + search: + matches: + foreground: CellBackground + background: '#88c0d0' + bar: + background: '#434c5e' + foreground: '#d8dee9' + normal: + black: '#3b4252' + red: '#bf616a' + green: '#a3be8c' + yellow: '#ebcb8b' + blue: '#81a1c1' + magenta: '#b48ead' + cyan: '#88c0d0' + white: '#e5e9f0' + bright: + black: '#4c566a' + red: '#bf616a' + green: '#a3be8c' + yellow: '#ebcb8b' + blue: '#81a1c1' + magenta: '#b48ead' + cyan: '#8fbcbb' + white: '#eceff4' + dim: + black: '#373e4d' + red: '#94545d' + green: '#809575' + yellow: '#b29e75' + blue: '#68809a' + magenta: '#8c738c' + cyan: '#6d96a5' + white: '#aeb3bb' diff --git a/files/.zshrc b/files/.zshrc index 0339636..d15f716 100644 --- a/files/.zshrc +++ b/files/.zshrc @@ -29,7 +29,7 @@ case $TERM in # Write some info to terminal title. # This is seen when the shell prompts for input. function precmd { - print -Pn "\e]0;%(1j,%j job%(2j|s|); ,)%~ - $TERM\a" + print -Pn "\e]0;%(1j,%j job%(2j|s|) - ,)%~ - $TERM\a" } # Write command and args to terminal title. # This is seen while the shell waits for a command to complete. diff --git a/files/init.el b/files/init.el index 03890e4..d9743b7 100644 --- a/files/init.el +++ b/files/init.el @@ -1,3 +1,5 @@ +; +; ___ _ __ ___ __ _ ___ ___ ; / _ \ '_ ` _ \ / _` |/ __/ __| ; | __/ | | | | | (_| | (__\__ \ ; \___|_| |_| |_|\__,_|\___|___/ @@ -11,8 +13,8 @@ (toggle-scroll-bar -1) ;; Or this (setq inhibit-startup-screen t) ;; Leave me alone with your tutorials (setq tramp-default-method "ssh") ;; speed up tramp mode -(setq initial-major-mode 'fundamental-mode ;; better startup speed - initial-scratch-message nil) +(setq initial-major-mode 'fundamental-mode) ;; better startup speed +(setq initial-scratch-message nil) ;; don't show me help at startup ;; Show matching paranthesis (show-paren-mode t) @@ -44,15 +46,15 @@ (require 'package) (setq package-enable-at-startup nil) -(setq package-archives '(("org" . "http://orgmode.org/elpa/") - ("melpa" . "https://melpa.org/packages/") - ("elpa" . "http://elpa.gnu.org/packages/") +(setq package-archives '(("org" . "http://orgmode.org/elpa/") + ("melpa" . "https://melpa.org/packages/") + ("elpa" . "http://elpa.gnu.org/packages/") )) (package-initialize) ;; Bootstrap `use-package' (unless (package-installed-p 'use-package) ; unless it is already installed - (package-refresh-contents) ; updage packages archive + (package-refresh-contents) ; update packages archive (package-install 'use-package)) ; and install the most recent version of use-package (eval-when-compile @@ -63,6 +65,7 @@ (use-package exec-path-from-shell :ensure t) +;; Use ssh agent from env (exec-path-from-shell-copy-env "SSH_AGENT_PID") (exec-path-from-shell-copy-env "SSH_AUTH_SOCK")