This commit is contained in:
coast 2025-08-14 03:58:24 +03:30
parent 6f437a1b7f
commit 7c161b53b0
39 changed files with 22 additions and 15 deletions

View file

@ -9,18 +9,20 @@ export EDITOR="nvim"
export EIX_LIMIT=0 export EIX_LIMIT=0
#aliasrc #aliasrc
alias frgj="ssh -L 3000:localhost:3000 ubuntu@89.168.25.90 -i .ssh/vpssun"
alias nf="hyfetch" alias nf="hyfetch"
alias neofetch="hyfetch" alias neofetch="hyfetch"
alias vim="nvim" alias vim="nvim"
alias emacs="nvim" alias emacs="nvim"
alias mutt="neomutt" alias mutt="neomutt"
alias mt="neomutt" alias mt="neomutt"
alias emoji="cat ~/.local/share/emoji | grep" alias emoji="cat ~/.local/src/local/share/emoji | grep"
alias cst="vi ~/.config/st/config.h" alias cst="vi ~/.config/st/config.h"
alias ls="ls --color=auto" alias dias=doas
alias ll="ls -hl" #alias ls="ls --color=auto"
alias l="ls -lh" #alias ll="ls -hl"
alias la="ls -ahl" #alias l="ls -lh"
#alias la="ls -ahl"
alias smi="nvidia-smi" alias smi="nvidia-smi"
alias srczsh="source ~/.zshrc" alias srczsh="source ~/.zshrc"
alias battery="sb-battery" alias battery="sb-battery"
@ -51,6 +53,9 @@ alias es="emerge -s"
alias fe="flatpak search" alias fe="flatpak search"
alias fei="flatpak install" alias fei="flatpak install"
alias startx="startw" alias startx="startw"
alias ac="doas emerge -ac"
alias ls="ls --color=auto"
alias alsamixer="alsamixer -c 0"
video() { video() {
mpv "$1" --ytdl-format="bestvideo[height>=720]+bestaudio/best[height>=720]" mpv "$1" --ytdl-format="bestvideo[height>=720]+bestaudio/best[height>=720]"
@ -67,4 +72,3 @@ charge=$(cat /sys/class/power_supply/BAT1/capacity 2>/dev/null)
if [[ "$batstat" == "Discharging" && "$charge" -lt 50 ]]; then if [[ "$batstat" == "Discharging" && "$charge" -lt 50 ]]; then
echo "Battery: $(sb-battery)" echo "Battery: $(sb-battery)"
fi fi

View file

@ -16,7 +16,7 @@ source /usr/share/zsh/site-functions/zsh-autosuggestions.zsh && fpath=(/usr/shar
autoload -U colors && colors && setopt prompt_subst autoload -U colors && colors && setopt prompt_subst
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=5" ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=5"
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=12" ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=12"
PROMPT="%F{9}[%f%F{9}!root%f%F{9}@%f%F{9}%m%f %F{2}%~%f%F{9}]%f: " #PROMPT="%F{9}[%f%F{9}!root%f%F{9}@%f%F{9}%m%f %F{2}%~%f%F{9}]%f: "
#paths and environment #paths and environment
fpath=(~/.zsh/completions $fpath) fpath=(~/.zsh/completions $fpath)
export PATH=$HOME/.local/bin:$PATH export PATH=$HOME/.local/bin:$PATH
@ -27,3 +27,7 @@ export MANPATH=/usr/pkg/man:$MANPATH
alias ..='echo "cd .."; cd ../' alias ..='echo "cd .."; cd ../'
alias ls="ls --color=auto" alias ls="ls --color=auto"
grep --color=auto < /dev/null &>/dev/null && alias grep='grep --color=auto' grep --color=auto < /dev/null &>/dev/null && alias grep='grep --color=auto'
bindkey -e
#export PS1="%F{15}[%f%F{252}%B%n%b%f%F{15}@%f%F{15}%B%m%b%f%F{15}]%f%F{252}[%f%F{15}%B%~%b%f%F{252}]%f#%B%b "
export PS1="%F{1}[%B!%n@%m%b %F{2}%~%F{1}]%f: "

View file

@ -8,10 +8,10 @@ PREFIX = /usr/local
MANDIR = $(PREFIX)/share/man MANDIR = $(PREFIX)/share/man
DATADIR = $(PREFIX)/share DATADIR = $(PREFIX)/share
XWAYLAND = #XWAYLAND =
XLIBS = #XLIBS =
# Uncomment to build XWayland support # Uncomment to build XWayland support
XWAYLAND = -DXWAYLAND XWAYLAND = -DXWAYLAND
XLIBS = xcb xcb-icccm XLIBS = xcb xcb-icccm
CC = gcc CC = /usr/lib/llvm/20/bin/clang

View file

@ -14,4 +14,4 @@ DATADIR = $(PREFIX)/share
XWAYLAND = -DXWAYLAND XWAYLAND = -DXWAYLAND
XLIBS = xcb xcb-icccm XLIBS = xcb xcb-icccm
CC = /usr/lib/llvm/20/bin/clang CC = gcc

BIN
dwm/drw.o Normal file

Binary file not shown.

BIN
dwm/dwm Executable file

Binary file not shown.

BIN
dwm/dwm.o Normal file

Binary file not shown.

BIN
dwm/util.o Normal file

Binary file not shown.

View file

@ -1,2 +0,0 @@
#!/bin/zsh
dbus-run-session spotify --ozone-platform=wayland &

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -66,7 +66,7 @@ static const char unknown_str[] = "n/a";
*/ */
static const struct arg args[] = { static const struct arg args[] = {
/* function format argument */ /* function format argument */
{run_command, " [%s%] ", "pamixer --get-volume"}, {run_command, " [%s] ", "amixer get Master | grep -oP '\\[\\d+%\\]' | head -1 | tr -d '[]'"},
{cpu_perc, "[%s%] ", NULL}, {cpu_perc, "[%s%] ", NULL},
{ram_used, "[%s]", NULL}, {ram_used, "[%s]", NULL},
{run_command, " %s ", "bat-symbol"}, {run_command, " %s ", "bat-symbol"},

View file

@ -19,4 +19,5 @@ LDFLAGS = -L$(X11LIB) -s
LDLIBS = -lX11 LDLIBS = -lX11
# compiler and linker # compiler and linker
CC = cc CC = /usr/lib/llvm/20/bin/clang
#CC = gcc

Binary file not shown.

Binary file not shown.

BIN
st/hb.o Normal file

Binary file not shown.

BIN
st/st Executable file

Binary file not shown.

BIN
st/st.o Normal file

Binary file not shown.

BIN
st/x.o Normal file

Binary file not shown.