kakoune: use bat, set bat theme, kwm: key for toggling theme and keymap pl

This commit is contained in:
2026-05-11 23:41:09 +02:00
parent b6f9d9c9b5
commit 9a77b3730e
6 changed files with 20 additions and 6 deletions

View File

@@ -13,6 +13,8 @@ export LANG=pl_PL.UTF-8
export EDITOR=kak
export VISUAL=kak
export BAT_THEME='Catppuccin Frappe'
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
@@ -39,6 +41,7 @@ export GOBIN=~/.local/bin
# start X or Hyprland at login
if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$(tty)" = /dev/tty1 ]; then
if 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
exec /usr/bin/sx ~/.xsession