From 30a50ab8ff701531355f33d85556440dc98afeb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Sat, 7 Feb 2026 19:57:08 +0100 Subject: [PATCH] small updates, needs restow xsession --- Makefile | 2 +- shell/.config/shellconfig/aliases.sh | 11 +++++++---- shell/.profile | 3 +++ shell/.zshrc | 3 +-- xsession/.Xresources | 2 +- xsession/.config/xsettingsd/xsettingsd.conf | 2 +- xsession/{ => .local}/bin/lupan-set-theme | 4 ++-- xsession/.xsession | 2 +- xsession/bin/st-abduco-tabbed | 15 --------------- 9 files changed, 17 insertions(+), 27 deletions(-) rename xsession/{ => .local}/bin/lupan-set-theme (96%) delete mode 100755 xsession/bin/st-abduco-tabbed diff --git a/Makefile b/Makefile index d91ad76..1d0a996 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/shell/.config/shellconfig/aliases.sh b/shell/.config/shellconfig/aliases.sh index b4fe86f..4e75f4a 100644 --- a/shell/.config/shellconfig/aliases.sh +++ b/shell/.config/shellconfig/aliases.sh @@ -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' diff --git a/shell/.profile b/shell/.profile index e476c82..6259abd 100644 --- a/shell/.profile +++ b/shell/.profile @@ -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 diff --git a/shell/.zshrc b/shell/.zshrc index 1fb3012..69b001d 100644 --- a/shell/.zshrc +++ b/shell/.zshrc @@ -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 diff --git a/xsession/.Xresources b/xsession/.Xresources index d3623ed..a33586f 100644 --- a/xsession/.Xresources +++ b/xsession/.Xresources @@ -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 diff --git a/xsession/.config/xsettingsd/xsettingsd.conf b/xsession/.config/xsettingsd/xsettingsd.conf index f656745..526ce95 100644 --- a/xsession/.config/xsettingsd/xsettingsd.conf +++ b/xsession/.config/xsettingsd/xsettingsd.conf @@ -1 +1 @@ -Net/ThemeName "Materia-dark" +Net/ThemeName "Arc-Dark" diff --git a/xsession/bin/lupan-set-theme b/xsession/.local/bin/lupan-set-theme similarity index 96% rename from xsession/bin/lupan-set-theme rename to xsession/.local/bin/lupan-set-theme index 40d2943..a99874d 100755 --- a/xsession/bin/lupan-set-theme +++ b/xsession/.local/bin/lupan-set-theme @@ -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 diff --git a/xsession/.xsession b/xsession/.xsession index fe91d51..b456a2f 100755 --- a/xsession/.xsession +++ b/xsession/.xsession @@ -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 & diff --git a/xsession/bin/st-abduco-tabbed b/xsession/bin/st-abduco-tabbed deleted file mode 100755 index 4252b9d..0000000 --- a/xsession/bin/st-abduco-tabbed +++ /dev/null @@ -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