Compare commits

..

No commits in common. "92c4a1bf64b4b0642e2afd2aae849346610702e0" and "92a98d41b5e862c8d957cc49ed5c1e169105a29d" have entirely different histories.

10 changed files with 19 additions and 52 deletions

View file

@ -82,10 +82,10 @@
<!-- Set default monospace font --> <!-- Set default monospace font -->
<alias> <alias>
<family>monospace</family> <family>monospace</family>
<prefer><family>IBM Plex Mono</family></prefer> <prefer><family>Fantasque Sans Mono</family></prefer>
</alias> </alias>
<alias> <alias>
<family>IBM Plex Mono</family> <family>Fantasque Sans Mono</family>
<default><family>monospace</family></default> <default><family>monospace</family></default>
</alias> </alias>

View file

@ -85,30 +85,3 @@ define-command sleuth -docstring 'Heuristically set buffer options' %{
hook -group sleuth global BufOpenFile .* %{ sleuth } hook -group sleuth global BufOpenFile .* %{ sleuth }
hook -group sleuth global BufWritePost .* %{ sleuth } hook -group sleuth global BufWritePost .* %{ sleuth }
# ------------
# FZF
# ------------
source "%val{config}/plugins/fzf.kak/rc/fzf.kak"
evaluate-commands %sh{
find -L "$kak_config/plugins/fzf.kak/rc/modules/" -type f -name '*.kak' -exec printf 'source "%s"\n' {} \;
}
map global user f ': fzf-mode<ret>f'
# ------------
# Buffer switching
# ------------
source "%val{config}/plugins/kakoune-buffers/buffers.kak"
hook global WinDisplay .* info-buffers
map global normal ^ q
map global normal <a-^> Q
map global normal q b
map global normal Q B
map global normal <a-q> <a-b>
map global normal <a-Q> <a-B>
map global normal b ':enter-buffers-mode<ret>' -docstring 'buffers…'
map global normal B ':enter-user-mode -lock buffers<ret>' -docstring 'buffers (lock)…'

@ -1 +0,0 @@
Subproject commit 68f21eb78638e5a55027f11aa6cbbaebef90c6fb

@ -1 +0,0 @@
Subproject commit 6b2081f5b7d58c72de319a5cba7bf628b6802881

View file

@ -32,5 +32,5 @@ riverctl float-filter-add title "Firefox — Sharing Indicator"
~/.config/river/keys ~/.config/river/keys
riverctl spawn "pgrep -x stacktile >/dev/null || stacktile --per-tag-config --drop-empty-configs --outer-padding=0 --inner-padding=6 --primary-sublayout=stack" riverctl spawn "pgrep -x rivertile >/dev/null || rivertile -view-padding 0 -outer-padding 0"
riverctl default-layout stacktile riverctl default-layout rivertile

View file

@ -24,10 +24,10 @@ riverctl map normal None Super_L spawn "killall -SIGUSR1 river-tag-overlay"
riverctl map normal $mod Return zoom riverctl map normal $mod Return zoom
riverctl map normal $mod H send-layout-cmd stacktile "primary_ratio -0.05" riverctl map normal $mod H send-layout-cmd rivertile "main-ratio -0.05"
riverctl map normal $mod L send-layout-cmd stacktile "primary_ratio +0.05" riverctl map normal $mod L send-layout-cmd rivertile "main-ratio +0.05"
riverctl map normal $mod+Shift H send-layout-cmd stacktile "primary_count +1" riverctl map normal $mod+Shift H send-layout-cmd rivertile "main-count +1"
riverctl map normal $mod+Shift L send-layout-cmd stacktile "primary_count -1" riverctl map normal $mod+Shift L send-layout-cmd rivertile "main-count -1"
riverctl declare-mode move-resize riverctl declare-mode move-resize
riverctl map normal $mod R enter-mode move-resize riverctl map normal $mod R enter-mode move-resize
@ -78,11 +78,10 @@ riverctl map normal $mod+Shift 0 set-view-tags $all_tags
riverctl map normal $mod Space toggle-float riverctl map normal $mod Space toggle-float
riverctl map normal $mod F toggle-fullscreen riverctl map normal $mod F toggle-fullscreen
riverctl map normal $mod Up send-layout-cmd stacktile "primary_position top" riverctl map normal $mod Up send-layout-cmd rivertile "main-location top"
riverctl map normal $mod Right send-layout-cmd stacktile "primary_position right" riverctl map normal $mod Right send-layout-cmd rivertile "main-location right"
riverctl map normal $mod Down send-layout-cmd stacktile "primary_position bottom" riverctl map normal $mod Down send-layout-cmd rivertile "main-location bottom"
riverctl map normal $mod Left send-layout-cmd stacktile "primary_position left" riverctl map normal $mod Left send-layout-cmd rivertile "main-location left"
riverctl map normal $mod M send-layout-cmd stacktile "all_primary toggle"
riverctl declare-mode passthrough riverctl declare-mode passthrough
riverctl map normal $mod F11 enter-mode passthrough riverctl map normal $mod F11 enter-mode passthrough

View file

@ -11,11 +11,11 @@ lines = 10000
hide-when-typing=yes hide-when-typing=yes
[main] [main]
font=monospace:size=11 font=monospace:size=12
line-height=18 line-height=18
vertical-letter-offset=2 vertical-letter-offset=4
pad=4x4 center pad=10x10 center
" > ~/.config/foot/foot.ini " > ~/.config/foot/foot.ini
rose_pine () { rose_pine () {

View file

@ -21,6 +21,9 @@ rose_pine () {
" >> ~/.config/river/colors " >> ~/.config/river/colors
} }
mono () { mono () {
if test "$dark" = false; then
bg="export bg=~/.config/river/boyfriends-ships2.png"
fi
echo " echo "
export background=$background export background=$background
export border_focused=$accent export border_focused=$accent

View file

@ -3,5 +3,5 @@ export background=ffffff
export backgroundish=cccccc export backgroundish=cccccc
export foreground=000000 export foreground=000000
export foregroundish=333333 export foregroundish=333333
export accent=56949f export accent=907aa9
export dark=false export dark=false

6
.gitmodules vendored
View file

@ -40,9 +40,3 @@
[submodule ".config/kak/plugins/zig.kak"] [submodule ".config/kak/plugins/zig.kak"]
path = .config/kak/plugins/zig.kak path = .config/kak/plugins/zig.kak
url = https://gitea.nulo.in/Nulo/zig.kak url = https://gitea.nulo.in/Nulo/zig.kak
[submodule ".config/kak/plugins/fzf.kak"]
path = .config/kak/plugins/fzf.kak
url = https://github.com/andreyorst/fzf.kak
[submodule ".config/kak/plugins/kakoune-buffers"]
path = .config/kak/plugins/kakoune-buffers
url = https://github.com/Delapouite/kakoune-buffers