Compare commits
8 Commits
fccbc60400
...
d0e830f571
| Author | SHA1 | Date | |
|---|---|---|---|
| d0e830f571 | |||
| 65e82799d6 | |||
| 9582b16219 | |||
| 6622539538 | |||
| caeb94082d | |||
| e08bf98d80 | |||
| fc7b72fe6b | |||
| a29b006b00 |
125
kakoune/.config/kak/colors/five-colors-dark.kak
Normal file
125
kakoune/.config/kak/colors/five-colors-dark.kak
Normal 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
|
||||||
|
"
|
||||||
|
}
|
||||||
125
kakoune/.config/kak/colors/five-colors-light.kak
Normal file
125
kakoune/.config/kak/colors/five-colors-light.kak
Normal 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
|
||||||
|
"
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
35
kitty/.config/kitty/themes/five-colors-dark.conf
Normal file
35
kitty/.config/kitty/themes/five-colors-dark.conf
Normal 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
|
||||||
35
kitty/.config/kitty/themes/five-colors-light.conf
Normal file
35
kitty/.config/kitty/themes/five-colors-light.conf
Normal 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
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
// This config is in the KDL format: https://kdl.dev
|
// This config is in the KDL format: https://kdl.dev
|
||||||
// https://niri-wm.github.io/niri/Configuration:-Introduction
|
// https://niri-wm.github.io/niri/Configuration:-Introduction
|
||||||
|
|
||||||
|
spawn-at-startup "waybar"
|
||||||
|
|
||||||
input {
|
input {
|
||||||
keyboard {
|
keyboard {
|
||||||
xkb {
|
xkb {
|
||||||
@@ -30,6 +32,7 @@ output "DP-1" {
|
|||||||
|
|
||||||
layout {
|
layout {
|
||||||
gaps 16
|
gaps 16
|
||||||
|
background-color "#414853"
|
||||||
|
|
||||||
center-focused-column "never"
|
center-focused-column "never"
|
||||||
|
|
||||||
@@ -120,7 +123,8 @@ 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"; }
|
||||||
|
Mod+B hotkey-overlay-title="Toggle waybar" { spawn "killall" "-SIGUSR1" "waybar"; }
|
||||||
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"; }
|
||||||
|
|
||||||
|
|||||||
13
niri/.config/waybar/config
Normal file
13
niri/.config/waybar/config
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"layer": "top",
|
||||||
|
"position": "top",
|
||||||
|
"modules-left": [
|
||||||
|
"niri/workspaces",
|
||||||
|
"niri/window"
|
||||||
|
],
|
||||||
|
"modules-right": [
|
||||||
|
"tray",
|
||||||
|
"clock"
|
||||||
|
],
|
||||||
|
"reload_style_on_change": true,
|
||||||
|
}
|
||||||
12
niri/.config/waybar/dark.css
Normal file
12
niri/.config/waybar/dark.css
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
* {
|
||||||
|
background-color: #282e38;
|
||||||
|
color: #a29e98;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
border-bottom: 3px solid #04785d;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.urgent {
|
||||||
|
border-bottom: 3px solid #c37583;
|
||||||
|
}
|
||||||
12
niri/.config/waybar/light.css
Normal file
12
niri/.config/waybar/light.css
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
* {
|
||||||
|
background-color: #f6ede0;
|
||||||
|
color: #696257;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active {
|
||||||
|
border-bottom: 3px solid #278a6e;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.urgent {
|
||||||
|
border-bottom: 3px solid #d0818f;
|
||||||
|
}
|
||||||
25
niri/.config/waybar/style.css
Normal file
25
niri/.config/waybar/style.css
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
@import url("file:///home/lupan/.config/waybar/dark.css");
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-family: HurmitNerdFont;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces {
|
||||||
|
padding: 0 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
padding: 0 3px;
|
||||||
|
border-radius: 0;
|
||||||
|
border-bottom: 3px solid transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window {
|
||||||
|
border-bottom: 3px solid transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
padding: 0 0.5rem;
|
||||||
|
border-bottom: 3px solid transparent;
|
||||||
|
}
|
||||||
@@ -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 which 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
|
||||||
|
|||||||
@@ -12,9 +12,11 @@ fi
|
|||||||
|
|
||||||
if [ "$THEME" = dark ]; then
|
if [ "$THEME" = dark ]; then
|
||||||
GTK_THEME=Arc-Dark
|
GTK_THEME=Arc-Dark
|
||||||
|
BG_COLOR='#414853'
|
||||||
rm -f ~/.lightmode
|
rm -f ~/.lightmode
|
||||||
elif [ "$THEME" = light ]; then
|
elif [ "$THEME" = light ]; then
|
||||||
GTK_THEME=Arc-Light
|
GTK_THEME=Arc-Light
|
||||||
|
BG_COLOR='#c0c1c2'
|
||||||
touch ~/.lightmode
|
touch ~/.lightmode
|
||||||
else
|
else
|
||||||
echo "error: unknown theme: should be either dark, light or toggle" >&2
|
echo "error: unknown theme: should be either dark, light or toggle" >&2
|
||||||
@@ -44,20 +46,26 @@ if [ -f "$ATOML" ]; then
|
|||||||
sed -i "s#^import =.*#import = [\"~/.config/alacritty/$THEME.toml\"]#" "$ATOML"
|
sed -i "s#^import =.*#import = [\"~/.config/alacritty/$THEME.toml\"]#" "$ATOML"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
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
|
||||||
|
XSET=$(readlink -e ~/.config/xsettingsd/xsettingsd.conf)
|
||||||
if [ -n "$XSET" ]; then
|
if [ -n "$XSET" ]; then
|
||||||
sed -i -E "s#(Net/ThemeName) .*#\\1 \"${GTK_THEME}\"#" "$XSET"
|
sed -i -E "s#(Net/ThemeName) .*#\\1 \"${GTK_THEME}\"#" "$XSET"
|
||||||
pkill -HUP -x xsettingsd
|
pkill -HUP -x xsettingsd
|
||||||
gsettings set org.gnome.desktop.interface gtk-theme "${GTK_THEME}"
|
gsettings set org.gnome.desktop.interface gtk-theme "${GTK_THEME}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# niri
|
||||||
|
NIRI=$(readlink -e ~/.config/niri/config.kdl)
|
||||||
|
if [ -n "$NIRI" ]; then
|
||||||
|
sed -i -E "s%^( *background-color) .*%\\1 \"${BG_COLOR}\"%" "$NIRI"
|
||||||
|
fi
|
||||||
|
|
||||||
# waybar
|
# waybar
|
||||||
WCSS=$(readlink -e ~/.config/waybar/style.css)
|
WCSS=$(readlink -e ~/.config/waybar/style.css)
|
||||||
if [ -f "$WCSS" ]; then
|
if [ -f "$WCSS" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user