Compare commits

...

6 Commits

12 changed files with 356 additions and 21 deletions

View File

@@ -0,0 +1,125 @@
# Five colors dark theme
evaluate-commands %sh{
bg="rgb:272117"
bgmenu="rgb:282e38"
fg="rgb:a29e98"
gray="rgb:767778"
red1="rgb:f2a0ae"
red2="rgb:c37583"
red3="rgb:954c5b"
yellow1="rgb:dcb46e"
yellow2="rgb:af8842"
yellow3="rgb:845f10"
green1="rgb:73d0b1"
green2="rgb:44a386"
green3="rgb:04785d"
blue1="rgb:7fc3f5"
blue2="rgb:5396c7"
blue3="rgb:276c9a"
violet1="rgb:d2a8e8"
violet2="rgb:a57cba"
violet3="rgb:7b548e"
echo "
## CODE
set-face global value $violet2
set-face global type $green2
set-face global variable $yellow3
set-face global module $red3
set-face global function $blue2
set-face global string $yellow2
set-face global keyword $violet3
set-face global operator $red2
set-face global attribute $green3
set-face global comment $gray
set-face global documentation $gray
set-face global meta $blue3
set-face global builtin $violet1
## MARKUP
set-face global title $red3
set-face global header $violet3
set-face global mono $yellow2
set-face global block $blue3
set-face global link $blue2
set-face global bullet $red2
set-face global list $red2
## BUILTIN
set-face global Default $fg,$bg
set-face global PrimarySelection $bg,$green3
set-face global SecondarySelection $bg,$blue3
set-face global PrimaryCursor $bg,$green1
set-face global SecondaryCursor $bg,$blue1
set-face global PrimaryCursorEol $bg,$red1
set-face global SecondaryCursorEol $bg,$yellow1
set-face global MenuForeground $green1,$green3
set-face global MenuBackground $fg,$bgmenu
set-face global MenuInfo $green2
set-face global Information $fg,$bgmenu
set-face global InlineInformation $blue2,$bgmenu
set-face global Error $red2
set-face global DiagnosticError default,default,$red2+c
set-face global DiagnosticWarning default,default,$yellow2+c
set-face global DiagnosticInfo default,default,$green2+c
set-face global DiagnosticHint default,default,$blue2+c
set-face global StatusLine $fg,$bgmenu
set-face global StatusLineMode $green2
set-face global StatusLineInfo $yellow2
set-face global StatusLineValue $blue2
set-face global StatusCursor $bg,$green1
set-face global Prompt $green2
set-face global BufferPadding $bg,$bg
# Built-in highlighter faces
set-face global LineNumbers $gray
set-face global LineNumberCursor $green3
set-face global LineNumbersWrapped $bg,$bg
set-face global MatchingChar $red1
set-face global Whitespace $gray
set-face global WhitespaceIndent $gray
set-face global WrapMarker $yellow1
# PLUGINS
# kak-lsp
set-face global InfoDefault default
set-face global InfoBlock $green2
set-face global InfoBlockQuote $yellow2
set-face global InfoBullet $red2
set-face global InfoHeader $red3
set-face global InfoLink $blue2
set-face global InfoLinkMono $blue3
set-face global InfoMono $blue2
set-face global InfoRule $yellow2
set-face global InfoDiagnosticError $red2
set-face global InfoDiagnosticHint $blue2
set-face global InfoDiagnosticInformation $green2
set-face global InfoDiagnosticWarning $yellow2
set-face global LineFlagError $red2
set-face global LineFlagHint $blue2
set-face global LineFlagInfo $green2
set-face global LineFlagWarning $yellow2
set-face global InlayDiagnosticError $red2
set-face global InlayDiagnosticHint $blue2
set-face global InlayDiagnosticInfo $green2
set-face global InlayDiagnosticWarning $yellow2
set-face global SnippetsNextPlaceholders $bg,$green2
set-face global SnippetsOtherPlaceholders $bg,$yellow2
"
}

View File

@@ -0,0 +1,125 @@
# Five colors dark theme
evaluate-commands %sh{
bg="rgb:faf8f5"
bgmenu="rgb:f6ede0"
fg="rgb:696257"
gray="rgb:c0c1c2"
red1="rgb:f9a6b5"
red2="rgb:d0818f"
red3="rgb:a95d6c"
yellow1="rgb:e3ba74"
yellow2="rgb:bc944f"
yellow3="rgb:967028"
green1="rgb:7ad6b7"
green2="rgb:52af92"
green3="rgb:278a6e"
blue1="rgb:85c9fc"
blue2="rgb:60a3d4"
blue3="rgb:3a7ead"
violet1="rgb:d9aeee"
violet2="rgb:b289c7"
violet3="rgb:8d65a1"
echo "
## CODE
set-face global value $violet2
set-face global type $green2
set-face global variable $yellow3
set-face global module $red3
set-face global function $blue2
set-face global string $yellow2
set-face global keyword $violet3
set-face global operator $red2
set-face global attribute $green3
set-face global comment $gray
set-face global documentation $gray
set-face global meta $blue3
set-face global builtin $violet1
## MARKUP
set-face global title $red3
set-face global header $violet3
set-face global mono $yellow2
set-face global block $blue3
set-face global link $blue2
set-face global bullet $red2
set-face global list $red2
## BUILTIN
set-face global Default $fg,$bg
set-face global PrimarySelection $bg,$green3
set-face global SecondarySelection $bg,$blue3
set-face global PrimaryCursor $bg,$green1
set-face global SecondaryCursor $bg,$blue1
set-face global PrimaryCursorEol $bg,$red1
set-face global SecondaryCursorEol $bg,$yellow1
set-face global MenuForeground $green1,$green3
set-face global MenuBackground $fg,$bgmenu
set-face global MenuInfo $green2
set-face global Information $fg,$bgmenu
set-face global InlineInformation $blue2,$bgmenu
set-face global Error $red2
set-face global DiagnosticError default,default,$red2+c
set-face global DiagnosticWarning default,default,$yellow2+c
set-face global DiagnosticInfo default,default,$green2+c
set-face global DiagnosticHint default,default,$blue2+c
set-face global StatusLine $fg,$bgmenu
set-face global StatusLineMode $green2
set-face global StatusLineInfo $yellow2
set-face global StatusLineValue $blue2
set-face global StatusCursor $bg,$green1
set-face global Prompt $green2
set-face global BufferPadding $bg,$bg
# Built-in highlighter faces
set-face global LineNumbers $gray
set-face global LineNumberCursor $green3
set-face global LineNumbersWrapped $bg,$bg
set-face global MatchingChar $red1
set-face global Whitespace $gray
set-face global WhitespaceIndent $gray
set-face global WrapMarker $yellow1
# PLUGINS
# kak-lsp
set-face global InfoDefault default
set-face global InfoBlock $green2
set-face global InfoBlockQuote $yellow2
set-face global InfoBullet $red2
set-face global InfoHeader $red3
set-face global InfoLink $blue2
set-face global InfoLinkMono $blue3
set-face global InfoMono $blue2
set-face global InfoRule $yellow2
set-face global InfoDiagnosticError $red2
set-face global InfoDiagnosticHint $blue2
set-face global InfoDiagnosticInformation $green2
set-face global InfoDiagnosticWarning $yellow2
set-face global LineFlagError $red2
set-face global LineFlagHint $blue2
set-face global LineFlagInfo $green2
set-face global LineFlagWarning $yellow2
set-face global InlayDiagnosticError $red2
set-face global InlayDiagnosticHint $blue2
set-face global InlayDiagnosticInfo $green2
set-face global InlayDiagnosticWarning $yellow2
set-face global SnippetsNextPlaceholders $bg,$green2
set-face global SnippetsOtherPlaceholders $bg,$yellow2
"
}

View File

@@ -66,18 +66,20 @@ evaluate-commands %sh{
set-face global Error $pink2 set-face global Error $pink2
set-face global DiagnosticError default,default,$pink2+c set-face global DiagnosticError default,default,$pink2+c
set-face global DiagnosticWarning default,default,$yellow2+c set-face global DiagnosticWarning default,default,$yellow2+c
set-face global DiagnosticInfo default,default,$green2+c
set-face global DiagnosticHint default,default,$blue2+c
set-face global StatusLine $fg,$bgmenu set-face global StatusLine $fg,$bgmenu
set-face global StatusLineMode $green2 set-face global StatusLineMode $green2
set-face global StatusLineInfo $yellow2 set-face global StatusLineInfo $yellow2
set-face global StatusLineValue $blue2 set-face global StatusLineValue $blue2
set-face global StatusCursor $bg,$green1 set-face global StatusCursor $bg,$green1
set-face global Prompt $blue3 set-face global Prompt $green2
set-face global BufferPadding $bg,$bg set-face global BufferPadding $bg,$bg
# Built-in highlighter faces # Built-in highlighter faces
set-face global LineNumbers $blue3 set-face global LineNumbers $blue3
set-face global LineNumberCursor $blue3 set-face global LineNumberCursor $green3
set-face global LineNumbersWrapped $bg,$bg set-face global LineNumbersWrapped $bg,$bg
set-face global MatchingChar $yellow1 set-face global MatchingChar $yellow1
set-face global Whitespace $gray set-face global Whitespace $gray

View File

@@ -66,18 +66,20 @@ evaluate-commands %sh{
set-face global Error $pink2 set-face global Error $pink2
set-face global DiagnosticError default,default,$pink2+c set-face global DiagnosticError default,default,$pink2+c
set-face global DiagnosticWarning default,default,$yellow2+c set-face global DiagnosticWarning default,default,$yellow2+c
set-face global DiagnosticInfo default,default,$green2+c
set-face global DiagnosticHint default,default,$blue2+c
set-face global StatusLine $fg,$bgmenu set-face global StatusLine $fg,$bgmenu
set-face global StatusLineMode $green2 set-face global StatusLineMode $green2
set-face global StatusLineInfo $yellow2 set-face global StatusLineInfo $yellow2
set-face global StatusLineValue $blue2 set-face global StatusLineValue $blue2
set-face global StatusCursor $bg,$green1 set-face global StatusCursor $bg,$green1
set-face global Prompt $blue3 set-face global Prompt $green2
set-face global BufferPadding $bg,$bg set-face global BufferPadding $bg,$bg
# Built-in highlighter faces # Built-in highlighter faces
set-face global LineNumbers $blue3 set-face global LineNumbers $blue3
set-face global LineNumberCursor $blue3 set-face global LineNumberCursor $green2
set-face global LineNumbersWrapped $bg,$bg set-face global LineNumbersWrapped $bg,$bg
set-face global MatchingChar $yellow1 set-face global MatchingChar $yellow1
set-face global Whitespace $gray set-face global Whitespace $gray

View File

@@ -4,7 +4,7 @@ set-option global startup_info_version 20260412
set-option global ui_options terminal_assistant=none set-option global ui_options terminal_assistant=none
hook global WinCreate .* %{ hook global WinCreate .* %{
add-highlighter window/number-lines number-lines -relative add-highlighter window/number-lines number-lines -relative -hlcursor
} }
add-highlighter global/ show-matching add-highlighter global/ show-matching
@@ -15,14 +15,6 @@ nop %sh{
[ -e "$kak_config/autoload/stdlib" ] || ln -s "$kak_runtime/autoload" "$kak_config/autoload/stdlib" [ -e "$kak_config/autoload/stdlib" ] || ln -s "$kak_runtime/autoload" "$kak_config/autoload/stdlib"
} }
colorscheme %sh{
if [ -e ~/.lightmode ]; then
echo four-colors-light
else
echo four-colors-dark
fi
}
declare-user-mode file-mode declare-user-mode file-mode
declare-user-mode options-mode declare-user-mode options-mode
@@ -40,8 +32,8 @@ map global -docstring 'Open/create in dir' file-mode 'c' ': open-create-in-dir<r
map global -docstring 'Options' user 'o' ': enter-user-mode options-mode<ret>' map global -docstring 'Options' user 'o' ': enter-user-mode options-mode<ret>'
map global -docstring 'LP Dark mode' options-mode 'd' ': colorscheme four-colors-dark<ret>' map global -docstring 'LP Dark mode' options-mode 'd' ': colorscheme five-colors-dark<ret>'
map global -docstring 'LP Light mode' options-mode 'l' ': colorscheme four-colors-light<ret>' map global -docstring 'LP Light mode' options-mode 'l' ': colorscheme five-colors-light<ret>'
map global -docstring 'Light mode' options-mode 'L' ': colorscheme one-light<ret>' map global -docstring 'Light mode' options-mode 'L' ': colorscheme one-light<ret>'
map global -docstring 'Dark mode' options-mode 'D' ': colorscheme one-darker<ret>' map global -docstring 'Dark mode' options-mode 'D' ': colorscheme one-darker<ret>'
@@ -90,7 +82,7 @@ set-face global JumpLabel 'rgb:faf8f5,rgb:af8842+F'
# CHANGE STATUS BAR COLOR IN INSERT MODE # CHANGE STATUS BAR COLOR IN INSERT MODE
hook global ModeChange push:.*:insert %{ hook global ModeChange push:.*:insert %{
set-face window StatusLine 'default,rgb:1c4a21' set-face window StatusLine 'default,rgb:04785d'
} }
hook global ModeChange pop:insert:.* %{ hook global ModeChange pop:insert:.* %{
@@ -205,5 +197,16 @@ bundle 'peneira' 'https://github.com/gustavo-hms/peneira' %{
map global -docstring 'Files' peneira-mode 'f' ': peneira-files<ret>' map global -docstring 'Files' peneira-mode 'f' ': peneira-files<ret>'
map global -docstring 'Files' peneira-mode 'F' ': peneira-local-files<ret>' map global -docstring 'Files' peneira-mode 'F' ': peneira-local-files<ret>'
map global -docstring 'Lines' peneira-mode 'l' ': peneira-lines<ret>' map global -docstring 'Lines' peneira-mode 'l' ': peneira-lines<ret>'
map global -docstring 'Symbols' peneira-mode 's' ': peneira-symbols<ret>'
map global -docstring 'Recent files' peneira-mode 'r' ': peneira-recent-files<ret>' map global -docstring 'Recent files' peneira-mode 'r' ': peneira-recent-files<ret>'
} }
# LOCAL
colorscheme %sh{
if [ -e ~/.lightmode ]; then
echo five-colors-light
else
echo five-colors-dark
fi
}

View File

@@ -68,6 +68,6 @@ map ctrl+alt+shift+w detach_window
map ctrl+alt+shift+x close_session . map ctrl+alt+shift+x close_session .
# BEGIN_KITTY_THEME # BEGIN_KITTY_THEME
# Lupanbones-Dark # Five-Colors-Dark
include current-theme.conf include current-theme.conf
# END_KITTY_THEME # END_KITTY_THEME

View File

@@ -0,0 +1,35 @@
# vim:ft=kitty
foreground #a29e98
background #272117
selection_foreground #272117
selection_background #276c9a
cursor #73d0b1
cursor_text_color #272117
active_border_color #276c9a
inactive_border_color #b0bcc7
active_tab_foreground #9da0af
active_tab_background #4d5580
inactive_tab_foreground #1f212e
inactive_tab_background #808080
color0 #85919b
color1 #c37583
color2 #44a386
color3 #af8842
color4 #5396c7
color5 #a57cba
color6 #2da0ad
color7 #b0bcc7
color8 #85919b
color9 #f2a0ae
color10 #73d0b1
color11 #dcb46e
color12 #7fc3f5
color13 #d2a8e8
color14 #62cdda
color15 #a29e98

View File

@@ -0,0 +1,35 @@
# vim:ft=kitty
foreground #696257
background #faf8f5
selection_foreground #faf8f5
selection_background #3a7ead
cursor #7ad6b7
cursor_text_color #faf8f5
active_border_color #85c9fc
inactive_border_color #919da7
active_tab_foreground #1f212e
active_tab_background #a6c7f2
inactive_tab_foreground #faf8f5
inactive_tab_background #808080
color0 #272117
color1 #d0818f
color2 #52af92
color3 #bc944f
color4 #60a3d4
color5 #b289c7
color6 #3dadba
color7 #b6c3cd
color8 #919da7
color9 #85c9fc
color10 #7ad6b7
color11 #e3ba74
color12 #60a3d4
color13 #d9aeee
color14 #85c9fc
color15 #faf8f5

View File

@@ -120,7 +120,7 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker. // Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+T hotkey-overlay-title="Open a Terminal: alacritty" { spawn "kitty" "--single-instance" "--instance-group" "default"; } Mod+T hotkey-overlay-title="Open a Terminal: alacritty" { spawn "kitty" "--single-instance" "--instance-group" "default"; }
Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } Mod+D hotkey-overlay-title="Run an Application: wmenu" { spawn "wmenu-run" "-f" "HurmitNerdFont 10"; }
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
Mod+Shift+T hotkey-overlay-title="Toggle theme" { spawn "lupan-set-theme" "toggle"; } Mod+Shift+T hotkey-overlay-title="Toggle theme" { spawn "lupan-set-theme" "toggle"; }

6
niri/bin/chromium Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
if [ -n "$WAYLAND_DISPLAY" ]; then
exec /usr/bin/chromium --enable-features=UseOzonePlatform --ozone-platform=wayland "$@"
fi
exec /usr/bin/chromium "$@"

View File

@@ -40,7 +40,9 @@ export GOBIN=~/.local/bin
# start X or Hyprland at login # start X or Hyprland at login
if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$(tty)" = /dev/tty1 ]; then if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$(tty)" = /dev/tty1 ]; then
if which river kwm stdout-clock > /dev/null; then if niri > /dev/null; then
exec niri
elif which river kwm stdout-clock > /dev/null; then
export XKB_DEFAULT_LAYOUT=pl export XKB_DEFAULT_LAYOUT=pl
exec river -c 'stdout-clock | kwm' exec river -c 'stdout-clock | kwm'
elif which /usr/bin/sx > /dev/null; then elif which /usr/bin/sx > /dev/null; then

View File

@@ -46,9 +46,9 @@ fi
XSET=$(readlink -e ~/.config/xsettingsd/xsettingsd.conf) XSET=$(readlink -e ~/.config/xsettingsd/xsettingsd.conf)
if [ "$THEME" = dark ]; then if [ "$THEME" = dark ]; then
kitten themes --reload-in=all 'lupanbones-dark' kitten themes --reload-in=all 'five-colors-dark'
elif [ "$THEME" = light ]; then elif [ "$THEME" = light ]; then
kitten themes --reload-in=all 'lupanbones-light' kitten themes --reload-in=all 'five-colors-light'
fi fi
# GTK # GTK