Compare commits

...

3 Commits

6 changed files with 66 additions and 106 deletions

View File

@@ -5,7 +5,7 @@ draw_bold_text_with_bright_colors = false
TERM = "xterm-256color"
[font]
size = 10
size = 11
[font.bold]
family = "HurmitNerdFont"

View File

@@ -1,31 +1,33 @@
# https://github.com/alacritty/alacritty-theme/blob/master/themes/nordic.toml
# Colors (Nordic)
# Colors (five-colors dark)
[colors.primary]
background = '#242933'
foreground = '#BBBDAF'
foreground = '#a29e98'
background = '#272117'
[colors.normal]
black = '#191C1D'
red = '#BD6062'
green = '#A3D6A9'
yellow = '#F0DFAF'
blue = '#8FB4D8'
magenta = '#C7A9D9'
cyan = '#B6D7A8'
white = '#BDC5BD'
black = '#85919b'
red = '#c37583'
green = '#44a386'
yellow = '#af8842'
blue = '#5396c7'
magenta = '#a57cba'
cyan = '#2da0ad'
white = '#b0bcc7'
[colors.bright]
black = '#727C7C'
red = '#D18FAF'
green = '#B7CEB0'
yellow = '#BCBCBC'
blue = '#E0CF9F'
magenta = '#C7A9D9'
cyan = '#BBDA97'
white = '#BDC5BD'
black = '#85919b'
red = '#f2a0ae'
green = '#73d0b1'
yellow = '#dcb46e'
blue = '#7fc3f5'
magenta = '#d2a8e8'
cyan = '#62cdda'
white = '#a29e98'
[colors.cursor]
cursor = '#73d0b1'
text = '#272117'
[colors.selection]
text = '#000000'
background = '#F0DFAF'
background = '#276c9a'
text = '#272117'

View File

@@ -1,35 +1,33 @@
# https://github.com/alacritty/alacritty-theme/blob/master/themes/night_owlish_light.toml
# Colors (Night Owlish Light)
# Colors (five-colors light)
[colors.primary]
background = '#ffffff'
foreground = '#403f53'
foreground = '#696257'
background = '#faf8f5'
[colors.normal]
black = '#011627'
red = '#d3423e'
green = '#2aa298'
yellow = '#daaa01'
blue = '#4876d6'
magenta = '#403f53'
cyan = '#08916a'
white = '#7a8181'
black = '#272117'
red = '#d0818f'
green = '#52af92'
yellow = '#bc944f'
blue = '#60a3d4'
magenta = '#b289c7'
cyan = '#3dadba'
white = '#b6c3cd'
[colors.bright]
black = '#7a8181'
red = '#f76e6e'
green = '#49d0c5'
yellow = '#dac26b'
blue = '#5ca7e4'
magenta = '#697098'
cyan = '#00c990'
white = '#989fb1'
black = '#919da7'
red = '#85c9fc'
green = '#7ad6b7'
yellow = '#e3ba74'
blue = '#60a3d4'
magenta = '#d9aeee'
cyan = '#85c9fc'
white = '#faf8f5'
[colors.cursor]
cursor = '#403f53'
text = '#fbfbfb'
cursor = '#7ad6b7'
text = '#faf8f5'
[colors.selection]
background = '#f2f2f2'
text = '#403f53'
background = '#3a7ead'
text = '#faf8f5'

View File

@@ -60,8 +60,6 @@ map global -docstring 'Options' user 'o' ': enter-user-mode options-mode<ret>'
map global -docstring 'Five Dark mode' options-mode 'd' ': colorscheme five-colors-dark<ret>'
map global -docstring 'Five 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 'Dark mode' options-mode 'D' ': colorscheme one-darker<ret>'
declare-user-mode make-mode
map global -docstring 'Make' user 'k' ': enter-user-mode make-mode<ret>'
@@ -205,19 +203,7 @@ map global lsp p '<esc>: lsp-find-error --previous error<ret>' -docstring 'fin
source "%val{config}/bundle/kak-bundle/rc/kak-bundle.kak"
bundle-noload kak-bundle https://codeberg.org/jdugan6240/kak-bundle
# COLORSCHEME
bundle-theme kak-one 'https://codeberg.org/raiguard/kak-one'
bundle-theme kakoune-themes 'https://codeberg.org/anhsirk0/kakoune-themes'
# FZF
bundle fzf.kak 'https://github.com/andreyorst/fzf.kak' %{
map global -docstring 'FZF menu' user 'f' ': fzf-mode<ret>'
require-module fzf
set-option global fzf_highlight_command "bat"
}
# RECENT
hook global BufCreate [^*].* %{
nop %sh{
@@ -248,42 +234,6 @@ bundle kak-harpoon 'https://codeberg.org/raiguard/kak-harpoon' %{
harpoon-add-bindings
}
# PENEIRA
bundle 'luar' 'https://github.com/gustavo-hms/luar' %{
require-module luar
}
bundle 'peneira' 'https://github.com/gustavo-hms/peneira' %{
require-module peneira
define-command buffers %{
peneira 'buffers: ' %{ eval "printf '%s\n' $kak_quoted_buflist" } %{
buffer %arg{1}
}
}
define-command peneira-git-files %{
peneira 'git files: ' %{ git ls-files } %{ edit -- %arg{1} }
}
define-command peneira-files-with-hidden %{
peneira 'git files: ' %{ fd -t f -H } %{ edit -- %arg{1} }
}
define-command peneira-recent-files %{
peneira 'mru files: ' %{ cat ~/.cache/kak-mru } %{ edit -- %arg{1} }
}
map global -docstring 'Buffer' user ' ' ': buffers<ret>'
map global -docstring 'Git files' file-mode 'a' ': peneira-git-files<ret>'
map global -docstring 'Buffers' file-mode 'b' ': buffers<ret>'
map global -docstring 'Files' file-mode 'f' ': peneira-files<ret>'
map global -docstring 'Files' file-mode 'F' ': peneira-local-files<ret>'
map global -docstring 'Files (with hidden)' file-mode 'h' ': peneira-files-with-hidden<ret>'
map global -docstring 'Lines' file-mode 'l' ': peneira-lines<ret>'
map global -docstring 'Symbols' file-mode 's' ': peneira-symbols<ret>'
map global -docstring 'Recent files' file-mode 'r' ': peneira-recent-files<ret>'
}
# LOCAL
define-command set-dark-or-light-colorscheme %{

View File

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

View File

@@ -30,16 +30,16 @@ xsetroot -cursor_name left_ptr
picom -b -I 1 -O 1 -e 1 --no-fading-openclose --backend glx || compton -b --no-fading-openclose
if which awesome > /dev/null; then
exec awesome
fi
if which dwm > /dev/null; then
dunst &
lupan-clock &
exec dwm
fi
if which awesome > /dev/null; then
exec awesome
fi
if which dk > /dev/null; then
for m in $(polybar --list-monitors | cut -d: -f1); do
MONITOR=$m polybar --reload bar &