...
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):
|
# terminal emulators (like tmux, by default):
|
||||||
#--italic-text=always
|
#--italic-text=always
|
||||||
#
|
#
|
||||||
--wrap=never
|
#--wrap=never
|
||||||
|
|
||||||
# Uncomment the following line to disable automatic paging:
|
# Uncomment the following line to disable automatic paging:
|
||||||
#--paging=never
|
#--paging=never
|
||||||
|
|
|
@ -28,5 +28,11 @@
|
||||||
|
|
||||||
[pull]
|
[pull]
|
||||||
ff = only
|
ff = only
|
||||||
[credential]
|
|
||||||
|
[color]
|
||||||
|
diff = auto
|
||||||
|
status = auto
|
||||||
|
branch = auto
|
||||||
|
ui = auto
|
||||||
|
pager = true
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,7 @@ fi
|
||||||
export DEV="$HOME/dev"
|
export DEV="$HOME/dev"
|
||||||
|
|
||||||
# CLI.
|
# 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 ENV="$HOME/.shrc"
|
||||||
export PROMPT="; "
|
export PROMPT="; "
|
||||||
export PS1="$PROMPT"
|
export PS1="$PROMPT"
|
||||||
|
@ -93,7 +93,7 @@ fi
|
||||||
export VISUAL="$EDITOR"
|
export VISUAL="$EDITOR"
|
||||||
export GIT_EDITOR="$VISUAL"
|
export GIT_EDITOR="$VISUAL"
|
||||||
export PAGER=`which-first bat less more cat`
|
export PAGER=`which-first bat less more cat`
|
||||||
export MANPAGER="$PAGER"
|
export MANPAGER="`which-first less more`"
|
||||||
|
|
||||||
export CMDHIST="$ETC/cmds"
|
export CMDHIST="$ETC/cmds"
|
||||||
export CMDHISTMAX="100"
|
export CMDHISTMAX="100"
|
||||||
|
@ -120,6 +120,7 @@ fi
|
||||||
|
|
||||||
# CLI.
|
# CLI.
|
||||||
|
|
||||||
|
export CLI_DMENU=`which-first fzf`
|
||||||
export CLI_FILE_MANAGER=`which-first lf`
|
export CLI_FILE_MANAGER=`which-first lf`
|
||||||
|
|
||||||
# X/Wayland stuff.
|
# X/Wayland stuff.
|
||||||
|
@ -147,6 +148,7 @@ fi
|
||||||
export XDISPLAY_REGION_SCREENSHOT='slurp | grim -g - - | wl-copy'
|
export XDISPLAY_REGION_SCREENSHOT='slurp | grim -g - - | wl-copy'
|
||||||
export XVIDEO_PLAYER='mpv'
|
export XVIDEO_PLAYER='mpv'
|
||||||
export XLINK_VIDEO_PLAYER='mpv'
|
export XLINK_VIDEO_PLAYER='mpv'
|
||||||
|
export XTYPE='wtype'
|
||||||
|
|
||||||
# Android.
|
# Android.
|
||||||
export ANDROID_HOME="$HOME/app/android/Sdk"
|
export ANDROID_HOME="$HOME/app/android/Sdk"
|
||||||
|
@ -163,14 +165,21 @@ vedit(){
|
||||||
$VISUAL $@
|
$VISUAL $@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Editor.
|
||||||
edit(){
|
edit(){
|
||||||
$EDITOR $@
|
$EDITOR $@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Run pager.
|
||||||
page() {
|
page() {
|
||||||
$PAGER $@
|
$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 GPG_TTY=$(tty)
|
||||||
export SSH_TTY=$(tty)
|
export SSH_TTY=$(tty)
|
||||||
|
|
|
@ -9,3 +9,5 @@ font_size 11
|
||||||
|
|
||||||
disable_ligatures cursor
|
disable_ligatures cursor
|
||||||
|
|
||||||
|
background_opacity 0.75
|
||||||
|
|
||||||
|
|
|
@ -23,5 +23,9 @@ case "$(file -Lb --mime-type "$file")" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if which bat> /dev/null ; then
|
||||||
|
pistol "$file" | bat
|
||||||
|
else
|
||||||
pistol "$file"
|
pistol "$file"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
"on-scroll-down" : "riverctl send-layout-cmd rivertile 'main-ratio -0.05'",
|
"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-scroll-up" : "riverctl send-layout-cmd rivertile 'main-ratio +0.05'",
|
||||||
"on-click" : "riverctl send-layout-cmd rivertile 'main-count +1'",
|
"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": {
|
"privacy": {
|
||||||
"icon-spacing": 4,
|
"icon-spacing": 4,
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"river/tags",
|
"river/tags",
|
||||||
"river/mode",
|
"river/mode",
|
||||||
"river/window",
|
"river/window"
|
||||||
],
|
],
|
||||||
|
|
||||||
"custom/bar" : {
|
"custom/bar" : {
|
||||||
|
|
Loading…
Reference in a new issue