From 8fcfc7a9abf2820efface7a34683c5ce01000f27 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Fri, 15 Mar 2024 20:15:18 +0100 Subject: add rosé pine dawn theme to `mode` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/init.vim | 1 + .local/share/mode/mode | 4 ++++ .local/share/mode/themes/rose-pine-dawn | 28 ++++++++++++++++++++++++++++ .profile | 6 ------ 4 files changed, 33 insertions(+), 6 deletions(-) create mode 100644 .local/share/mode/themes/rose-pine-dawn diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index c2da686..3a46c81 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -94,6 +94,7 @@ Plug '~/.config/nvim/local/autonyaa.vim' Plug 'lonkaars/blubber' Plug 'romgrk/github-light.vim' Plug 'vv9k/vim-github-dark' +Plug 'rose-pine/neovim' call plug#end() " keybinds diff --git a/.local/share/mode/mode b/.local/share/mode/mode index 1c70c2a..9eaf675 100755 --- a/.local/share/mode/mode +++ b/.local/share/mode/mode @@ -49,6 +49,10 @@ switch() { theme_name="$(basename "$theme")" echo "setting theme to $theme_name..." + # clean up environment + unset accent accent_text + unset mode + # load theme colors + aux variables . "$theme" diff --git a/.local/share/mode/themes/rose-pine-dawn b/.local/share/mode/themes/rose-pine-dawn new file mode 100644 index 0000000..dfed420 --- /dev/null +++ b/.local/share/mode/themes/rose-pine-dawn @@ -0,0 +1,28 @@ +#!/bin/sh +mode=light + +color0='#c4bdc3' +color1='#b4637a' +color2='#286983' +color3='#ea9d34' +color4='#56949f' +color5='#907aa9' +color6='#d7827e' +color7='#575279' +color8='#797593' +color9='#b4637a' +color10='#286983' +color11='#ea9d34' +color12='#56949f' +color13='#907aa9' +color14='#d7827e' +color15='#575279' + +bg='#faf4ed' +fg='#575279' + +accent='#d7827e' +accent_text='#f4ede8' + +vim_theme_name='rose-pine-dawn' + diff --git a/.profile b/.profile index 0143731..d0f6c4d 100644 --- a/.profile +++ b/.profile @@ -32,12 +32,6 @@ alias p='pass' alias b='bluetoothctl' alias s='systemctl --user' -# fontpreview -if [ -n "$DISPLAY" ]; then - export FONTPREVIEW_BG_COLOR="$(xrdb -query | grep background | cut -f2)" - export FONTPREVIEW_FG_COLOR="$(xrdb -query | grep foreground | cut -f2)" -fi - # force colorterm export COLORTERM="truecolor" -- cgit v1.2.3