small updates

This commit is contained in:
2026-02-07 19:57:08 +01:00
parent a619b0b47e
commit a7c7a45463
9 changed files with 17 additions and 27 deletions

View File

@@ -31,7 +31,7 @@ st:
cd st && \
git remote add lupan.pl https://gitea.lupan.pl/lupan/st.git && \
git fetch lupan.pl && \
git checkout -b patched-4 --track lupan.pl/patched-4
git checkout -b patched-5 --track lupan.pl/patched-5
build-st:
make -C st

View File

@@ -14,11 +14,14 @@ if alias r > /dev/null; then
fi
if which eza > /dev/null; then
alias ls='eza --icons'
alias tree='eza --tree --icons'
alias ls='eza --icons'
alias tree='eza --tree --icons'
elif which exa > /dev/null; then
alias ls='exa --icons'
alias tree='exa --tree --icons'
alias ls='exa --icons'
alias tree='exa --tree --icons'
else
eval $(dircolors)
alias ls='ls --color'
fi
alias nocaps='setxkbmap pl -option ctrl:nocaps'

View File

@@ -33,6 +33,9 @@ if [ -d ~/.local/share/man ]; then
export MANPATH="$HOME/.local/share/man:$MANPATH"
fi
export GOPATH=~/.cache/go
export GOBIN=~/.local/bin
# start X or Hyprland at login
if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$(tty)" = /dev/tty1 ]; then
if which /usr/bin/sx > /dev/null; then

View File

@@ -1,6 +1,5 @@
# Install zap:
# % cd ~/.local/share
# % git clone https://github.com/zap-zsh/zap.git --branch=release-v1
# % git clone https://github.com/zap-zsh/zap.git --branch=release-v1 ~/.local/share/zap
export FZF_DEFAULT_OPTS='--color=bg+:#808080'
zstyle ':fzf-tab:*' fzf-flags $FZF_DEFAULT_OPTS

View File

@@ -56,7 +56,7 @@ XTerm.vt100.color14: #8FBCBB
XTerm.vt100.color7: #E5E9F0
XTerm.vt100.color15: #ECEFF4
st.font: FiraCode Nerd Font:size=10
st.font: HurmitNerdFont:size=16
! kanagawa wave colors from https://github.com/rebelot/kanagawa.nvim/blob/master/extras/alacritty/kanagawa_wave.toml
! dayfox colors from https://github.com/edeneast/nightfox.nvim/raw/main/extra/dayfox/alacritty.toml

View File

@@ -1 +1 @@
Net/ThemeName "Materia-dark"
Net/ThemeName "Arc-Dark"

View File

@@ -28,7 +28,7 @@ xsettingsd &
xsetroot -cursor_name left_ptr
picom -b -I 1 -O 1 -i 1 -e 1 --no-fading-openclose || compton -b --no-fading-openclose
picom -b -I 1 -O 1 -i 1 -e 1 --no-fading-openclose --backend glx || compton -b --no-fading-openclose
if which dwm > /dev/null; then
lupan-clock &

View File

@@ -11,10 +11,10 @@ if [ "$THEME" = "toggle" ]; then
fi
if [ "$THEME" = dark ]; then
GTK_THEME=Materia-dark
GTK_THEME=Arc-Dark
rm -f ~/.lightmode
elif [ "$THEME" = light ]; then
GTK_THEME=Materia-light
GTK_THEME=Arc-Light
touch ~/.lightmode
else
echo "error: unknown theme: should be either dark, light or toggle" >&2

View File

@@ -1,15 +0,0 @@
#!/bin/sh
if [ $# -eq 0 ]; then
exec tabbed "$0" -w
fi
if [ "$1" = "-w" ] && [ -n "$2" ]; then
name=$(abduco | tail +2 | awk -F'\t' '{ print $NF }' | dmenu -p session: -l 10)
if [ -n "$name" ]; then
exec st -w "$2" -t "$name" -e abduco -A "$name" "$SHELL"
fi
else
echo error: requires either no arguments or single option -w with and argument >&2
exit 1
fi