Compare commits

..

2 commits

Author SHA1 Message Date
7b43e77df4 use kitty for previews in ranger 2023-09-29 18:20:26 +02:00
aef3825cde minor sway improvements 2023-09-29 18:20:07 +02:00
3 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,6 @@
font_family Fira Code font_family Fira Code
# some magic i found here https://github.com/kovidgoyal/kitty/issues/719
scrollback_pager /usr/bin/nvim -c "silent !rm /tmp/kitty_scrollback_buffer" -c "set nonumber nolist showtabline=0 foldcolumn=0" -c "autocmd TermOpen * normal G" -c "silent write /tmp/kitty_scrollback_buffer | te cat /tmp/kitty_scrollback_buffer -"
# vim:ft=kitty # vim:ft=kitty

2
.config/ranger/rc.conf Normal file
View file

@ -0,0 +1,2 @@
set preview_images true
set preview_images_method kitty

View file

@ -4,7 +4,7 @@ set $menu kickoff
set $lock swaylock set $lock swaylock
# scale internal display # scale internal display
output eDP-1 scale 1.75 output eDP-1 scale 1.5
focus_follows_mouse no focus_follows_mouse no
@ -12,7 +12,6 @@ default_border pixel 2
default_floating_border pixel 2 default_floating_border pixel 2
gaps inner 10 gaps inner 10
gaps outer 5 gaps outer 5
smart_borders on
exec dbus-update-activation-environment --all exec dbus-update-activation-environment --all
exec eval $(gnome-keyring-daemon --start) exec eval $(gnome-keyring-daemon --start)
@ -115,3 +114,7 @@ input type:touchpad {
tap enabled tap enabled
natural_scroll enabled natural_scroll enabled
} }
# #border #BG #text #indica #child_border
client.focused #ca9ee6 #ca9ee6 #ca9ee6 #ea999c #81c8be
client.focused_inactive #000000 #000000 #c6d0f5 #ea999c #232634
client.unfocused #000000 #000000 #c6d0f5 #ea999c #232634