...
This commit is contained in:
parent
24a3786210
commit
eb4609c58b
6 changed files with 28 additions and 7 deletions
|
@ -10,7 +10,7 @@
|
|||
# terminal emulators (like tmux, by default):
|
||||
#--italic-text=always
|
||||
#
|
||||
--wrap=never
|
||||
#--wrap=never
|
||||
|
||||
# Uncomment the following line to disable automatic paging:
|
||||
#--paging=never
|
||||
|
|
|
@ -28,5 +28,11 @@
|
|||
|
||||
[pull]
|
||||
ff = only
|
||||
[credential]
|
||||
|
||||
[color]
|
||||
diff = auto
|
||||
status = auto
|
||||
branch = auto
|
||||
ui = auto
|
||||
pager = true
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ fi
|
|||
export DEV="$HOME/dev"
|
||||
|
||||
# CLI.
|
||||
export LESS="--RAW-CONTROL-CHARS --quit-if-one-screen --clear-screen --tilde --chop-long-lines --status-column --rscroll='>'"
|
||||
export LESS=""
|
||||
export ENV="$HOME/.shrc"
|
||||
export PROMPT="; "
|
||||
export PS1="$PROMPT"
|
||||
|
@ -93,7 +93,7 @@ fi
|
|||
export VISUAL="$EDITOR"
|
||||
export GIT_EDITOR="$VISUAL"
|
||||
export PAGER=`which-first bat less more cat`
|
||||
export MANPAGER="$PAGER"
|
||||
export MANPAGER="`which-first less more`"
|
||||
|
||||
export CMDHIST="$ETC/cmds"
|
||||
export CMDHISTMAX="100"
|
||||
|
@ -120,6 +120,7 @@ fi
|
|||
|
||||
# CLI.
|
||||
|
||||
export CLI_DMENU=`which-first fzf`
|
||||
export CLI_FILE_MANAGER=`which-first lf`
|
||||
|
||||
# X/Wayland stuff.
|
||||
|
@ -147,6 +148,7 @@ fi
|
|||
export XDISPLAY_REGION_SCREENSHOT='slurp | grim -g - - | wl-copy'
|
||||
export XVIDEO_PLAYER='mpv'
|
||||
export XLINK_VIDEO_PLAYER='mpv'
|
||||
export XTYPE='wtype'
|
||||
|
||||
# Android.
|
||||
export ANDROID_HOME="$HOME/app/android/Sdk"
|
||||
|
@ -163,14 +165,21 @@ vedit(){
|
|||
$VISUAL $@
|
||||
}
|
||||
|
||||
# Editor.
|
||||
edit(){
|
||||
$EDITOR $@
|
||||
}
|
||||
|
||||
# Run pager.
|
||||
page() {
|
||||
$PAGER $@
|
||||
}
|
||||
|
||||
# Manual find.
|
||||
manf() {
|
||||
man `man -k . | $CLI_DMENU -e -1 $(if test ! -z $@ ; then echo -- -q "$@" ; fi ) | awk '{print $1}'`
|
||||
}
|
||||
|
||||
|
||||
export GPG_TTY=$(tty)
|
||||
export SSH_TTY=$(tty)
|
||||
|
|
|
@ -9,3 +9,5 @@ font_size 11
|
|||
|
||||
disable_ligatures cursor
|
||||
|
||||
background_opacity 0.75
|
||||
|
||||
|
|
|
@ -23,5 +23,9 @@ case "$(file -Lb --mime-type "$file")" in
|
|||
;;
|
||||
esac
|
||||
|
||||
if which bat> /dev/null ; then
|
||||
pistol "$file" | bat
|
||||
else
|
||||
pistol "$file"
|
||||
fi
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"on-scroll-down" : "riverctl send-layout-cmd rivertile 'main-ratio -0.05'",
|
||||
"on-scroll-up" : "riverctl send-layout-cmd rivertile 'main-ratio +0.05'",
|
||||
"on-click" : "riverctl send-layout-cmd rivertile 'main-count +1'",
|
||||
"on-click-right" : "riverctl send-layout-cmd rivertile 'main-count -1'",
|
||||
"on-click-right" : "riverctl send-layout-cmd rivertile 'main-count -1'"
|
||||
},
|
||||
"privacy": {
|
||||
"icon-spacing": 4,
|
||||
|
@ -46,7 +46,7 @@
|
|||
"modules-left": [
|
||||
"river/tags",
|
||||
"river/mode",
|
||||
"river/window",
|
||||
"river/window"
|
||||
],
|
||||
|
||||
"custom/bar" : {
|
||||
|
|
Loading…
Reference in a new issue