summaryrefslogtreecommitdiff
path: root/home/xyz/.profile
diff options
context:
space:
mode:
authorxyz <gky44px1999@gmail.com>2022-01-28 23:14:05 -0800
committerxyz <gky44px1999@gmail.com>2022-01-28 23:14:05 -0800
commit0973b40e6080b43c07c00315330c61a2c96b6201 (patch)
treeb75d3b0af10e40a40bf37ceb22146084d90b8534 /home/xyz/.profile
parent9070d8112b1695ec93f9432b777548d1cbc8c67f (diff)
refactor
Diffstat (limited to 'home/xyz/.profile')
-rw-r--r--home/xyz/.profile15
1 files changed, 6 insertions, 9 deletions
diff --git a/home/xyz/.profile b/home/xyz/.profile
index acf39fed..7d38946c 100644
--- a/home/xyz/.profile
+++ b/home/xyz/.profile
@@ -21,38 +21,35 @@ export HISTFILESIZE=10000
export EDITOR=nvim
export BROWSER=firefox
-
# -X seems can keep the output if exit less?
# -F is useful when sdcv need user to manually select similar word, after selection if no -F less will not quit if one screen
# but other situation seems less use -F as default?
# steal from sdcv arch wiki
export PAGER='less -FRX'
+
export SDCV_PAGER="$PAGER"
+export SDCV_HISTSIZE=10000
# CALCURSE_PAGER less can't use -F, else ? and > hotkey will only blink the text
export CALCURSE_PAGER=less
-
# not posix
export MANPAGER='nvim -M +Man!'
export MANSECT='1p:1:n:l:8:3p:3:0p:0:2:5:4:9:6:7'
-
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
export INPUTRC="$XDG_CONFIG_HOME/.inputrc"
#export QT_QPA_PLATFORMTHEME=qt5ct
#export QT_QPA_PLATFORMTHEME=gtk2
export QT_QPA_PLATFORMTHEME=qt6ct
#export QT_STYLE_OVERRIDE=kvantum
-export SXHKD_SHELL=sh
+#export SXHKD_SHELL=sh
# enable color for `tree` command, not forced
export CLICOLOR=1
# for pacdiff, without using aur neovim-drop-in or neovim-symlinks
export DIFFPROG='nvim -d'
export MAKEFLAGS="-j$(nproc --all)"
export DOTREMINDERS="$HOME/programs/reminders/.reminders"
-export SDCV_HISTSIZE=10000
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
-
# use sudo find for some files or dirs that has no permission ex: ~/.cache/paru/clone/
#export FZF_DEFAULT_COMMAND="fd --no-ignore --hidden --exclude .git"
#export FZF_CTRL_T_COMMAND="fd --absolute-path --no-ignore --hidden --exclude .git"
@@ -66,6 +63,9 @@ export FZF_CTRL_T_COMMAND='sudo find "$PWD" -mindepth 1 -path "*/\.git" -prune -
#export FZF_CTRL_T_COMMAND="sudo find ~+ -path '*/\.git' -prune -o -print"
export FZF_ALT_C_COMMAND="sudo find . -mindepth 1 -path '*/\.git' -prune -o -type d -print"
+export SCR_WIDTH=1600
+export SCR_HEIGHT=900
+
# for clipmenu
# set clipmenud to store clipboard only, don't store selection (primary)
#export CM_SELECTIONS="clipboard"
@@ -73,9 +73,6 @@ export FZF_ALT_C_COMMAND="sudo find . -mindepth 1 -path '*/\.git' -prune -o -typ
#export CM_OWN_CLIPBOARD=1
#export CM_MAX_CLIPS=8
-export SCR_WIDTH=1600
-export SCR_HEIGHT=900
-
# GDK_SCALE and GDK_DPI_SCALE should be use at the same time
# more see bookmarks about dpi
# not sure if correct