diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-03-15 20:15:18 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-03-15 20:15:18 +0100 |
commit | 8fcfc7a9abf2820efface7a34683c5ce01000f27 (patch) | |
tree | 6a48fcd501bb094c983c6473caf09b09a031bc80 | |
parent | 6a097c4b2554673b384e4429a0cb3e218dbedd0d (diff) |
add rosé pine dawn theme to `mode`
-rw-r--r-- | .config/nvim/init.vim | 1 | ||||
-rwxr-xr-x | .local/share/mode/mode | 4 | ||||
-rw-r--r-- | .local/share/mode/themes/rose-pine-dawn | 28 | ||||
-rw-r--r-- | .profile | 6 |
4 files changed, 33 insertions, 6 deletions
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' + @@ -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" |