small updates, needs restow xsession
This commit is contained in:
2
Makefile
2
Makefile
@@ -31,7 +31,7 @@ st:
|
|||||||
cd st && \
|
cd st && \
|
||||||
git remote add lupan.pl https://gitea.lupan.pl/lupan/st.git && \
|
git remote add lupan.pl https://gitea.lupan.pl/lupan/st.git && \
|
||||||
git fetch lupan.pl && \
|
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:
|
build-st:
|
||||||
make -C st
|
make -C st
|
||||||
|
|||||||
@@ -19,6 +19,9 @@ if which eza > /dev/null; then
|
|||||||
elif which exa > /dev/null; then
|
elif which exa > /dev/null; then
|
||||||
alias ls='exa --icons'
|
alias ls='exa --icons'
|
||||||
alias tree='exa --tree --icons'
|
alias tree='exa --tree --icons'
|
||||||
|
else
|
||||||
|
eval $(dircolors)
|
||||||
|
alias ls='ls --color'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias nocaps='setxkbmap pl -option ctrl:nocaps'
|
alias nocaps='setxkbmap pl -option ctrl:nocaps'
|
||||||
|
|||||||
@@ -33,6 +33,9 @@ if [ -d ~/.local/share/man ]; then
|
|||||||
export MANPATH="$HOME/.local/share/man:$MANPATH"
|
export MANPATH="$HOME/.local/share/man:$MANPATH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export GOPATH=~/.cache/go
|
||||||
|
export GOBIN=~/.local/bin
|
||||||
|
|
||||||
# start X or Hyprland at login
|
# start X or Hyprland at login
|
||||||
if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$(tty)" = /dev/tty1 ]; then
|
if [ -z "$DISPLAY" -a -z "$WAYLAND_DISPLAY" -a "$(tty)" = /dev/tty1 ]; then
|
||||||
if which /usr/bin/sx > /dev/null; then
|
if which /usr/bin/sx > /dev/null; then
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
# Install zap:
|
# Install zap:
|
||||||
# % cd ~/.local/share
|
# % git clone https://github.com/zap-zsh/zap.git --branch=release-v1 ~/.local/share/zap
|
||||||
# % git clone https://github.com/zap-zsh/zap.git --branch=release-v1
|
|
||||||
|
|
||||||
export FZF_DEFAULT_OPTS='--color=bg+:#808080'
|
export FZF_DEFAULT_OPTS='--color=bg+:#808080'
|
||||||
zstyle ':fzf-tab:*' fzf-flags $FZF_DEFAULT_OPTS
|
zstyle ':fzf-tab:*' fzf-flags $FZF_DEFAULT_OPTS
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ XTerm.vt100.color14: #8FBCBB
|
|||||||
XTerm.vt100.color7: #E5E9F0
|
XTerm.vt100.color7: #E5E9F0
|
||||||
XTerm.vt100.color15: #ECEFF4
|
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
|
! 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
|
! dayfox colors from https://github.com/edeneast/nightfox.nvim/raw/main/extra/dayfox/alacritty.toml
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
Net/ThemeName "Materia-dark"
|
Net/ThemeName "Arc-Dark"
|
||||||
|
|||||||
@@ -11,10 +11,10 @@ if [ "$THEME" = "toggle" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$THEME" = dark ]; then
|
if [ "$THEME" = dark ]; then
|
||||||
GTK_THEME=Materia-dark
|
GTK_THEME=Arc-Dark
|
||||||
rm -f ~/.lightmode
|
rm -f ~/.lightmode
|
||||||
elif [ "$THEME" = light ]; then
|
elif [ "$THEME" = light ]; then
|
||||||
GTK_THEME=Materia-light
|
GTK_THEME=Arc-Light
|
||||||
touch ~/.lightmode
|
touch ~/.lightmode
|
||||||
else
|
else
|
||||||
echo "error: unknown theme: should be either dark, light or toggle" >&2
|
echo "error: unknown theme: should be either dark, light or toggle" >&2
|
||||||
@@ -28,7 +28,7 @@ xsettingsd &
|
|||||||
|
|
||||||
xsetroot -cursor_name left_ptr
|
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
|
if which dwm > /dev/null; then
|
||||||
lupan-clock &
|
lupan-clock &
|
||||||
|
|||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user