diff --git a/git/.config/git/config b/git/.config/git/config index bfe3ca7..2d9f483 100644 --- a/git/.config/git/config +++ b/git/.config/git/config @@ -16,9 +16,6 @@ user = akasroua [lfs] activitytimeout = 60 -[filter "git-ignore-line.sh"] - clean = /home/coolneng/.dotfiles/scripts/.local/share/scripts/git-ignore-line.sh - smudge = cat [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f diff --git a/kitty/.config/kitty/kitty.conf b/kitty/.config/kitty/kitty.conf index 57f014e..5a93b4a 100644 --- a/kitty/.config/kitty/kitty.conf +++ b/kitty/.config/kitty/kitty.conf @@ -997,3 +997,9 @@ confirm_os_window_close 0 + + +# BEGIN_KITTY_THEME +# Nord +include current-theme.conf +# END_KITTY_THEME diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 47b4b04..230a4f1 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -38,5 +38,7 @@ Plug 'LnL7/vim-nix' call plug#end() ""Colors set termguicolors +colorscheme nord +set background=light ""Disabe status line set laststatus=0 diff --git a/scripts/.local/share/scripts/git-ignore-line.sh b/scripts/.local/share/scripts/git-ignore-line.sh deleted file mode 100755 index fe9186c..0000000 --- a/scripts/.local/share/scripts/git-ignore-line.sh +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/sh -# Git filter to ignore lines in your files. -# -# Copyright (c) 2017-2019 Aryel Mota Góis -# -# MIT License -# -# -# SETUP: -# -# cp git-ignore-line.sh ~/bin/git-ignore-line -# -# -# USAGE: -# -# Mark single lines you want to ignore with 'GITIGNORE'. It ignores -# the whole line. It is recommended to be inside a comment in your code. -# -# Mark multiple lines surrounding them with 'GITIGNORE START' and -# 'GITIGNORE END'. It can not be nested. -# -# NOTE: Ignored lines might be lost on checkout. -# -# -# Add files to ignore: -# -# git ignore-line -# -# Remove patterns with: -# -# git ignore-line -r -# -# List configured patterns: -# -# git ignore-line -l -# -# PATTERN can be a file or a glob pattern: '*.html'. Remember to -# escape the `*`. -# -# -# TODO: -# -# - Stash the lines ignored by this filter before a git checkout. - - -set -eu - - -# Check if stdin is not tty and remove ignored lines from it. - -[ -t 0 ] || exec sed \ - '/GITIGNORE START/,/GITIGNORE END/d; /GITIGNORE/d' \ - /dev/stdin - - -# Running from tty. - -program=$(basename "$0") - -# Find git repository. -git_dir=$(git rev-parse --git-dir) - -# Path to attributes file. -attr_file=$git_dir/info/attributes - -# Check arguments. -if [ $# -eq 2 ] && [ "$1" = '-r' ]; then - # Remove filter for pattern. - sed "s|^$2 filter=$program||" "$attr_file" > "$attr_file.tmp" - mv -- "$attr_file.tmp" "$attr_file" -elif [ $# -eq 1 ]; then - if [ "$1" = '-l' ]; then - # List patterns. - grep "filter=$program" "$attr_file" || true - else - # Add filter for pattern. - echo "$1 filter=$program" >> "$attr_file" - # Configure filter. - git config --global "filter.$program.clean" "$program" - git config --global "filter.$program.smudge" cat - fi -else - # Show help. - >&2 echo "Usage: $program [-r] " - >&2 echo " or: $program -l" - exit 1 -fi diff --git a/scripts/.local/share/scripts/switch-theme b/scripts/.local/share/scripts/switch-theme index f578c69..09f1b3f 100755 --- a/scripts/.local/share/scripts/switch-theme +++ b/scripts/.local/share/scripts/switch-theme @@ -3,7 +3,7 @@ LIGHT_THEME="rose-pine" DARK_THEME="nord" KITTY_LIGHT_THEME="Rosé Pine Dawn" -NVIM_COLORSCHEME_LINE=44 +NVIM_COLORSCHEME_LINE=41 capitalize() { printf '%s' "$1" | head -c 1 | tr "[:lower:]" "[:upper:]" diff --git a/zathura/.config/zathura/zathurarc b/zathura/.config/zathura/zathurarc index 5508f36..3a2ff06 100644 --- a/zathura/.config/zathura/zathurarc +++ b/zathura/.config/zathura/zathurarc @@ -8,3 +8,5 @@ set completion-bg "#161821" set highlight-color "#a093c7" set highlight-active-color "#a093c7" set font "Terminus \(TTF\) 15" + +include nord.conf