Compare commits

..

3 Commits

4 changed files with 18 additions and 58 deletions

View File

@@ -14,4 +14,4 @@ family = "HurmitNerdFont"
family = "HurmitNerdFont" family = "HurmitNerdFont"
[general] [general]
import = ["~/.config/alacritty/light.toml"] import = ["~/.config/alacritty/dark.toml"]

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 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 '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 declare-user-mode make-mode
map global -docstring 'Make' user 'k' ': enter-user-mode make-mode<ret>' 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" source "%val{config}/bundle/kak-bundle/rc/kak-bundle.kak"
bundle-noload kak-bundle https://codeberg.org/jdugan6240/kak-bundle bundle-noload kak-bundle https://codeberg.org/jdugan6240/kak-bundle
# COLORSCHEME # RECENT
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"
}
hook global BufCreate [^*].* %{ hook global BufCreate [^*].* %{
nop %sh{ nop %sh{
@@ -248,42 +234,6 @@ bundle kak-harpoon 'https://codeberg.org/raiguard/kak-harpoon' %{
harpoon-add-bindings 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 # LOCAL
define-command set-dark-or-light-colorscheme %{ define-command set-dark-or-light-colorscheme %{

View File

@@ -40,12 +40,22 @@ 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 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 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 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 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 exec /usr/bin/sx ~/.xsession
elif which /usr/bin/startx > /dev/null; then elif which /usr/bin/startx > /dev/null; then
exec /usr/bin/startx ~/.xsession 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 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 if which dwm > /dev/null; then
dunst & dunst &
lupan-clock & lupan-clock &
exec dwm exec dwm
fi fi
if which awesome > /dev/null; then
exec awesome
fi
if which dk > /dev/null; then if which dk > /dev/null; then
for m in $(polybar --list-monitors | cut -d: -f1); do for m in $(polybar --list-monitors | cut -d: -f1); do
MONITOR=$m polybar --reload bar & MONITOR=$m polybar --reload bar &