dotfiles

config files and scripts
git clone git://git.hanetzok.net/dotfiles
Log | Files | Refs

commit e2f8647648f57946d7a4853f03cc9bfd8732dcf4
parent 661ac476f39b07354b656f0d41e8949f0e969db2
Author: Markus Hanetzok <markus@hanetzok.net>
Date:   Fri, 10 Oct 2025 00:00:46 +0200

multiple minor changes

Diffstat:
M.config/fontconfig/fonts.conf | 1+
M.config/nvim/init.vim | 5+++--
M.config/zsh/.zprofile | 1+
M.config/zsh/.zshrc | 5+++--
D.local/bin/refresh-xrdb | 4----
M.local/bin/statusbar | 20++++----------------
M.local/share/wallpaper.png | 0
7 files changed, 12 insertions(+), 24 deletions(-)

diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf @@ -22,6 +22,7 @@ <alias> <family>monospace</family> <prefer> + <family>Terminus</family> <family>JetBrains Mono</family> </prefer> </alias> diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -13,10 +13,11 @@ Plug 'vimwiki/vimwiki' Plug 'vim-airline/vim-airline' Plug 'ap/vim-css-color' Plug 'dracula/vim', { 'as': 'dracula' } +Plug 'morhetz/gruvbox' call plug#end() set title -set bg=light +set bg=dark set mouse=a set nohlsearch set clipboard+=unnamedplus @@ -24,7 +25,7 @@ set noshowmode set noruler set laststatus=0 set noshowcmd -colorscheme dracula +colorscheme gruvbox " Some basics: nnoremap c "_c diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile @@ -37,6 +37,7 @@ export WGETRC="$XDG_CONFIG_HOME/wget/wgetrc" export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority export XINITRC="$XDG_CONFIG_HOME"/x11/xinitrc export ZDOTDIR="$XDG_CONFIG_HOME"/zsh +export RUSTUP_HOME=/home/markus/.local/share/rustup # PATH export PATH="$PATH":"$HOME"/.local/bin:"$HOME"/.local/bin/dmenu:"$HOME"/.local/share/cargo/bin diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc @@ -55,6 +55,7 @@ bindkey -M vicmd '^e' edit-command-line bindkey -M visual '^[[P' vi-delete # Load syntax highlighting; should be last. -source "$HOME/.config/zsh/highlighting-dracula.sh" +#source "$HOME/.config/zsh/highlighting-dracula.sh" +#source "$HOME/.config/zsh/highlighting-gruvbox-light.sh" +source "$HOME/.config/zsh/highlighting-gruvbox-dark.sh" source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null - diff --git a/.local/bin/refresh-xrdb b/.local/bin/refresh-xrdb @@ -1,4 +0,0 @@ -#/bin/bash - -xrdb "$XDG_CONFIG_HOME/x11/Xresources" -xdotool key super+F5 diff --git a/.local/bin/statusbar b/.local/bin/statusbar @@ -1,18 +1,5 @@ #!/bin/bash -getmpc() { - mpcstate="$(mpc status %state%)" - [[ "$mpcstate" = "playing" ]] && state="" - [[ "$mpcstate" = "paused" ]] && state="" - [[ "$mpcstate" = "stopped" ]] && state="" -} - -getvol() { - rawvol="$(pamixer --get-volume)" - vol="$(pamixer --get-volume-human)" - [[ $rawvol -gt 70 ]] && volicon=" " || volicon=" " - [[ "$(pamixer --get-mute)" = "true" ]] && volicon="" -} while true; do [[ -d /sys/class/power_supply/BAT0 ]] && bat="BAT: $(cat /sys/class/power_supply/BAT0/capacity)%" @@ -20,8 +7,9 @@ while true; do dt="$(date +%d.%m.%y)" track="$(mpc current)" vol="VOL: $(pamixer --get-volume-human)" - getmpc - getvol + [ "$(mpc status %state%)" = "playing" ] || track="" + + xsetroot -name "$track | $vol | $tm | $dt | $bat" - xsetroot -name "$state $track | $volicon $vol | $tm | $dt | $bat" + sleep 1 done diff --git a/.local/share/wallpaper.png b/.local/share/wallpaper.png Binary files differ.