chore: small things

This commit is contained in:
2025-07-23 23:23:02 +09:00
parent cc6f32c3fb
commit fe7a710564
6 changed files with 36 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ PATH=$HOME/.dots/scripts:$HOME/.cargo/bin:$HOME/.ghcup/bin:$HOME/.local/bin:$HOM
EDITOR=hx
VISUAL=hx
_JAVA_AWT_WM_NONREPARENTING=1
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
# support jp input in gnome
GTK_IM_MODULE=ibus

View File

@@ -11,6 +11,7 @@
ca = commit -v --amend
co = checkout
cp = cherry-pick
d = diff
nuke = clean -df
lg = log --oneline --decorate --graph
pl = pull --rebase

View File

@@ -2378,7 +2378,13 @@ term xterm-256color
#: }}}
# BEGIN_KITTY_THEME
# Everforest Light Medium
include current-theme.conf
# END_KITTY_THEME
# Tab management
map ctrl+t launch --cwd=current --type=tab

View File

@@ -13,7 +13,6 @@ alias mv='mv -i'
alias rm='rm -i'
### fzf
alias f='fzf --reverse'
alias c='cd $(fd --type d | fzf --reverse)'
alias blame='git show $(git ls-files | fzf -e --reverse --bind "enter:become(git blame {1} | fzf -e --ansi --reverse | cut -f 1 -d \" \")")'
@@ -61,6 +60,14 @@ downimage() {
exiftool -all= $filename
}
setgnomebuttons() {
gsettings set org.gnome.desktop.wm.preferences button-layout 'icon:minimize,close'
}
removegnomebuttons() {
gsettings set org.gnome.desktop.wm.preferences button-layout ''
}
### laptop acpi magic
conservation() {

View File

@@ -86,7 +86,9 @@ set -g pane-border-style fg="#e3ddcc"
# Status
set -g status-style "bg=default"
set -g status-right "#S @ #H [%H:%M]"
set -g status-right "#[fg=yellow]#H @#S #[fg=blue]#{=100:pane_current_path} #[fg=red](#(cd #{pane_current_path}; git rev-parse --abbrev-ref HEAD)) #[fg=black]"
set -g status-right-length 200
set -g status-left ""
setw -g window-status-format "#I:#W "
setw -g window-status-current-format "#[fg=green]#I:#W*"