kitty scrollback
This commit is contained in:
parent
c4f2a5a8df
commit
98bfa7b280
5 changed files with 21 additions and 5 deletions
|
@ -50,7 +50,7 @@ graph_symbol_net = "default"
|
|||
graph_symbol_proc = "default"
|
||||
|
||||
#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace.
|
||||
shown_boxes = ""
|
||||
shown_boxes = "cpu"
|
||||
|
||||
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
|
||||
update_ms = 1000
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR --export ELECTRON_OZONE_PLATFORM_HINT:auto
|
||||
SETUVAR --export FZF_DEFAULT_OPTS:\x2d\x2dwalker\x2dskip\x3d\x2esteam\x2c\x2evscode\x2c\x2ecargo\x2c\x2enpm\x2c\x2envm\x2cSteam\x2cgo\x2c\x2ecache\x2c\x2epub\x2dcache\x2c\x2erustup
|
||||
SETUVAR --export FZF_DEFAULT_OPTS:\x2d\x2dwalker\x2dskip\x3d\x2esteam\x2c\x2evscode\x2c\x2ecargo\x2c\x2enpm\x2c\x2envm\x2cSteam\x2cgo\x2c\x2ecache\x2c\x2epub\x2dcache\x2c\x2erustup\x2c\x2ecfgstore
|
||||
SETUVAR --export --path PATH:/usr/local/bin\x1e/usr/local/sbin\x1e/usr/bin\x1e/usr/sbin\x1e/usr/local/go/bin
|
||||
SETUVAR --export RANGER_LOAD_DEFAULT_RC:FALSE
|
||||
SETUVAR Z_DATA_DIR:/home/foton/\x2elocal/share/z
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
map ctrl+c copy_to_clipboard
|
||||
map ctrl+v paste_from_clipboard
|
||||
map ctrl+shift+c send_text all \x03
|
||||
map ctrl+space show_scrollback
|
||||
font_size 14.0
|
||||
map ctrl+shift+s show_scrollback
|
||||
font_size 13.0
|
||||
font_family 0xProto Nerd Font Mono
|
||||
touch_scroll_multiplier 5.0
|
||||
scrollback_pager bash -c 'nvim -u NORC -c "map q :qa!<CR>" -c "terminal cat "<(cat)" - " -c "map i <Nop>" -c "set clipboard+=unnamedplus nonumber nolist showtabline=0 foldcolumn=0" -c "call cursor(CURSOR_LINE, CURSOR_COLUMN)"'
|
||||
scrollback_pager ~/.scripts/pager.sh +INPUT_LINE_NUMBER +CURSOR_LINE +CURSOR_COLUMN
|
||||
include ./nord.conf
|
||||
|
|
|
@ -229,6 +229,7 @@ bindsym $mod+r mode "resize"
|
|||
#
|
||||
|
||||
exec swaylock
|
||||
exec tuxedo-control-center --tray
|
||||
workspace 3
|
||||
exec obsidian
|
||||
workspace 2
|
||||
|
|
14
.scripts/pager.sh
Executable file
14
.scripts/pager.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
INPUT_LINE_NUMBER=${1:-0}
|
||||
CURSOR_LINE=${2:-1}
|
||||
CURSOR_COLUMN=${3:-1}
|
||||
|
||||
nvim -u NORC \
|
||||
-c "map q :qa!<CR>" \
|
||||
-c "terminal cat "<(cat)" - " \
|
||||
-c "map i <Nop>" \
|
||||
-c "set clipboard+=unnamedplus nonumber nolist showtabline=0 foldcolumn=0 laststatus=0" \
|
||||
-c "call cursor($CURSOR_LINE, $CURSOR_COLUMN)"
|
||||
|
Loading…
Reference in a new issue