custom-hypr - up to date zshrc tmux.conf

This commit is contained in:
huyjaky
2025-03-14 10:37:49 +07:00
parent cefa13dd6d
commit 3537925aae
5 changed files with 80 additions and 40 deletions

View File

@@ -98,6 +98,7 @@ unbind p
unbind C-l unbind C-l
bind -r h previous-window # select previous window bind -r h previous-window # select previous window
bind -r l next-window bind -r l next-window
bind -r C-l next-window
bind Tab last-window # move to last active window bind Tab last-window # move to last active window

View File

@@ -1,7 +1,10 @@
export QT_IM_MODULE=fcitx # For those who bundle qt im module, e.g. WPS, Anki, you should find a .so file with fcitx in the file name # export QT_IM_MODULES="wayland;fcitx;ibus"
export QT_IM_MODULE=ibus # For those who bundle ibus im module shipped with Qt, you should find libibusplatforminputcontextplugin.so in the package. export QT_QPA_PLATFORM=ibus
export QT_QPA_PLATFORM=xcb QT_IM_MODULE=ibus # Enforce it to run on X11/XWayland and use ibus im module export QT_IM_MODULE=fcitx
export QT_IM_MODULES="wayland;fcitx;ibus" export GLFW_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export OBSIDIAN_USE_WAYLAND=1
export SETUPTOOLS_USE_DISTUTILS=1 export SETUPTOOLS_USE_DISTUTILS=1
export DISABLE_AUTO_UPDATE="true" export DISABLE_AUTO_UPDATE="true"
@@ -12,6 +15,7 @@ export PRIMARY_MONITOR_WORKSPACE=1
export SECONDARY_MONITOR_WORKSPACE=2 export SECONDARY_MONITOR_WORKSPACE=2
export VIRTUAL_ENV_DISABLE_PROMPT=1 export VIRTUAL_ENV_DISABLE_PROMPT=1
export MYPYPATH="/home/duckq1u/miniconda3/envs/pytorch" export MYPYPATH="/home/duckq1u/miniconda3/envs/pytorch"
export EDITOR='nvim'
# Added by LM Studio CLI (lms) # Added by LM Studio CLI (lms)
export PATH="$PATH:/home/duckq1u/.cache/lm-studio/bin" export PATH="$PATH:/home/duckq1u/.cache/lm-studio/bin"
@@ -126,6 +130,17 @@ reloadbar(){
killall ags ydotool killall ags ydotool
ags & ags &
} }
gh(){
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")" cwd
yazi "$@" --cwd-file="$tmp"
if cwd="$(command cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
builtin cd -- "$cwd"
fi
rm -f -- "$tmp"
}
alias listpkg='pacman -Qm' alias listpkg='pacman -Qm'
alias vesktop='vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --wayland-text-input-v3' # bsidian --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime' alias vesktop='vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --wayland-text-input-v3' # bsidian --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime'
alias obsidian='obsidian --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --wayland-text-input-v3' alias obsidian='obsidian --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --wayland-text-input-v3'
@@ -138,7 +153,7 @@ alias tmdt='tmux detach'
appearance appearance
# HACK: Keybindings # HACK: Keybindings
bindkey '^g' autosuggest-accept bindkey '^f' autosuggest-accept
bindkey '^p' history-search-backward bindkey '^p' history-search-backward
bindkey '^n' history-search-forward bindkey '^n' history-search-forward
bindkey '^[w' kill-region bindkey '^[w' kill-region
@@ -164,5 +179,4 @@ else
fi fi
unset __conda_setup unset __conda_setup
# zprof # zprof

View File

@@ -1,55 +1,79 @@
# gruvbox-dark colorscheme for kitty ## name: Catppuccin Mocha 🌿
# snazzy theme used as base ## author: Pocco81 (https://github.com/Pocco81)
## license: MIT
## upstream: https://github.com/catppuccin/kitty/blob/main/mocha.conf
## blurb: Soothing pastel theme for the high-spirited!
cursor #928374
cursor_text_color background
visual_bell_color #8ec07c
bell_border_color #8ec07c
active_border_color #d3869b # The basic colors
inactive_border_color #665c54 foreground #CDD6F4
background #1E1E2E
selection_foreground #1E1E2E
selection_background #F5E0DC
active_tab_foreground #fbf1c7 # Cursor colors
active_tab_background #665c54 cursor #F5E0DC
inactive_tab_foreground #a89984 cursor_text_color #1E1E2E
inactive_tab_background #3c3836
foreground #ebdbb2 # URL underline color when hovering with mouse
background #272727 url_color #B4BEFE
selection_foreground #655b53
selection_background #ebdbb2 # Kitty window border colors
url_color #d65c0d active_border_color #CBA6F7
inactive_border_color #8E95B3
bell_border_color #EBA0AC
# OS Window titlebar colors
wayland_titlebar_color system
macos_titlebar_color system
# Tab bar colors
active_tab_foreground #11111B
active_tab_background #CBA6F7
inactive_tab_foreground #CDD6F4
inactive_tab_background #181825
tab_bar_background #11111B
# Colors for marks (marked text in the terminal)
mark1_foreground #1E1E2E
mark1_background #87B0F9
mark2_foreground #1E1E2E
mark2_background #CBA6F7
mark3_foreground #1E1E2E
mark3_background #74C7EC
# The 16 terminal colors
# black # black
color0 #272727 color0 #43465A
color8 #928373 color8 #43465A
# red # red
color1 #cc231c color1 #F38BA8
color9 #fb4833 color9 #F38BA8
# green # green
color2 #989719 color2 #A6E3A1
color10 #b8ba25 color10 #A6E3A1
# yellow # yellow
color3 #d79920 color3 #F9E2AF
color11 #fabc2e color11 #F9E2AF
# blue # blue
color4 #448488 color4 #87B0F9
color12 #83a597 color12 #87B0F9
# magenta # magenta
color5 #b16185 color5 #F5C2E7
color13 #d3859a color13 #F5C2E7
# cyan # cyan
color6 #689d69 color6 #94E2D5
color14 #8ec07b color14 #94E2D5
# white # white
color7 #a89983 color7 #CDD6F4
color15 #ebdbb2 color15 #A1A8C9

View File

@@ -0,0 +1 @@
# Set your personal kitty configuration here

View File

@@ -1,6 +1,6 @@
gui: gui:
showIcons: true showIcons: true
screenMode: half # screenMode: half
git: git:
paging: paging: