update: swww -> awww & small tuning before the bigger update

This commit is contained in:
2026-03-26 10:03:32 +03:00
parent c49c97d55c
commit f2a528cfa8
11 changed files with 47 additions and 13 deletions

View File

@@ -1,6 +1,7 @@
# editor # editor
export EDITOR=nvim export EDITOR=nvim
# infinite bash history # infinite bash history
# remove '-1' in both places if your bash version < 4.3 # remove '-1' in both places if your bash version < 4.3
export HISTFILESIZE=-1 export HISTFILESIZE=-1
@@ -9,6 +10,9 @@ export HISTSIZE=-1
# writes bash history after every command # writes bash history after every command
export PROMPT_COMMAND="history -a" export PROMPT_COMMAND="history -a"
# GCM
export GCM_CREDENTIAL_STORE=cache
# pyenv # pyenv
if command -v pyenv >/dev/null 2>&1; then if command -v pyenv >/dev/null 2>&1; then

View File

@@ -5,3 +5,11 @@ fi
if [ -f "$HOME/.bash_exports" ]; then if [ -f "$HOME/.bash_exports" ]; then
. "$HOME/.bash_exports" . "$HOME/.bash_exports"
fi fi
# if ! shopt -oq posix; then
# if [ -f /usr/share/bash-completion/bash_completion ]; then
# . /usr/share/bash-completion/bash_completion
# elif [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
# fi
# fi

29
.bashrc
View File

@@ -14,19 +14,27 @@ alias aliass='aliasm > ~/.bash_aliases'
# ls aliases # ls aliases
alias ll='ls -lah --color=auto' alias ll='ls -lah --color=auto'
alias l='ls --color=auto'
alias ks='ls --color=auto'
alias s='ls --color=auto'
alias ls='ls --color=auto' alias ls='ls --color=auto'
alias sl='ls --color=auto'
alias ks='ls --color=auto'
alias l='ls --color=auto'
alias s='ls --color=auto'
# cd aliases # cd aliases
alias cdp='cd ~/Programming' alias cdp='cd ~/Programming'
alias cds='cd ~/services' alias cds='cd ~/services'
alias t='cd ~/tmp' alias cdd='cd ~/Downloads'
alias cdt='cd ~/tmp'
alias cda='cd /run/media/$USER/'
# rm aliases # rm aliases
alias cleartmp='rm -r ~/tmp/*' alias cleartmp='rm -r ~/tmp/*'
# grep aliases
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
# edit configs aliases # edit configs aliases
alias cfghypr='(nvim ~/.config/hypr)' alias cfghypr='(nvim ~/.config/hypr)'
alias cfgkitty='(nvim ~/.config/kitty)' alias cfgkitty='(nvim ~/.config/kitty)'
@@ -36,6 +44,7 @@ alias cfgwaybar='(nvim ~/.config/waybar)'
alias cfgdunst='(nvim ~/.config/dunst)' alias cfgdunst='(nvim ~/.config/dunst)'
alias cfgyazi='(nvim ~/.config/yazi)' alias cfgyazi='(nvim ~/.config/yazi)'
alias cfgfastfetch='(nvim ~/.config/fastfetch)' alias cfgfastfetch='(nvim ~/.config/fastfetch)'
alias cfgbash='(nvim ~/.config/bash)'
# utils aliases # utils aliases
alias y='yazi' alias y='yazi'
@@ -46,9 +55,16 @@ alias scrcpy-def='scrcpy -S --no-audio -K'
alias hload='hyprctl reload' alias hload='hyprctl reload'
alias shy='start-hyprland' alias shy='start-hyprland'
alias wifi-reload='nmcli r wifi off && nmcli r wifi on' alias wifi-reload='nmcli r wifi off && nmcli r wifi on'
alias wifi-reload-off='nmcli r wifi off'
alias wifi-reload-on='nmcli r wifi on'
alias swagger-docs='sudo host-docs' alias swagger-docs='sudo host-docs'
alias share='python3 -m http.server' alias share='python3 -m http.server'
alias globalshare='(cd ~/Share && python3 -m http.server)'
alias download='aria2c -x16 -s16' alias download='aria2c -x16 -s16'
alias docker-enable='sudo systemctl start docker.service'
alias docker-disable='sudo systemctl stop docker.service && sudo systemctl stop docker.socket'
alias docker-status='sudo systemctl status docker.service'
alias sudo-gtk='sudo WAYLAND_DISPLAY="$WAYLAND_DISPLAY" XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR"'
# kitty aliases # kitty aliases
alias ssh='kitty +kitten ssh' alias ssh='kitty +kitten ssh'
@@ -58,8 +74,11 @@ alias edit-in-kitty='kitten edit-in-kitty'
alias pzf='yay -Qq | fzf --preview '\''yay -Qil {}'\'' --layout reverse --bind '\''enter:execute(yay -Qil {} | less)'\'' --bind '\''ctrl-r:execute(yay -R {} | less)'\''' alias pzf='yay -Qq | fzf --preview '\''yay -Qil {}'\'' --layout reverse --bind '\''enter:execute(yay -Qil {} | less)'\'' --bind '\''ctrl-r:execute(yay -R {} | less)'\'''
alias paclean='sudo pacman -Rs ' alias paclean='sudo pacman -Rs '
# fastfetch
alias fastfetch='python3 ~/.config/fastfetch/detect_os.py'
alias ff='python3 ~/.config/fastfetch/detect_os.py'
# fun aliases # fun aliases
alias ff='fastfetch'
alias mm='unimatrix -f -a -s 92 -l coo -c yellow' alias mm='unimatrix -f -a -s 92 -l coo -c yellow'
alias mmbee='unimatrix -f -a -s 86 -u '\''bee'\'' -c yellow' alias mmbee='unimatrix -f -a -s 86 -u '\''bee'\'' -c yellow'
alias mmbeesquit='unimatrix -f -s 86 -u '\''beesquit'\'' -c yellow' alias mmbeesquit='unimatrix -f -s 86 -u '\''beesquit'\'' -c yellow'

View File

@@ -29,4 +29,3 @@ foreground = "#C0CAF5"
background = "#20212C6A" background = "#20212C6A"
foreground = "#C0CAF5" foreground = "#C0CAF5"
frame_color = "#F38BA8" frame_color = "#F38BA8"

View File

@@ -9,8 +9,8 @@ exec-once = uwsm app -- /usr/lib/xdg-desktop-portal-gtk
exec-once = uwsm app -- hypridle exec-once = uwsm app -- hypridle
exec-once = uwsm app -- swww-daemon exec-once = uwsm app -- awww-daemon
exec-once = uwsm app -- swww img "$WALLPAPER" exec-once = uwsm app -- awww img "$WALLPAPER"
exec-once = uwsm app -- waybar exec-once = uwsm app -- waybar
exec-once = uwsm app -- dunst exec-once = uwsm app -- dunst

View File

@@ -21,7 +21,7 @@ bind = $mainMod SHIFT, T, layoutmsg, swapsplit
# apps binds # apps binds
bind = $mainMod, Q, exec, kitty bind = $mainMod, Q, exec, kitty
bind = $mainMod, E, exec, thunar bind = $mainMod, E, exec, thunar
bind = $mainMod, R, exec, rofi -show drun bind = $mainMod, R, exec, rofi -show drun -no-history -matching prefix -drun-match-fields name -no-tokenize
bind = $mainMod SHIFT, R, exec, .config/rofi/network-manager/run-manager.sh bind = $mainMod SHIFT, R, exec, .config/rofi/network-manager/run-manager.sh

View File

@@ -3,4 +3,4 @@
X_POS=$(awk "BEGIN {srand(); print rand()}") X_POS=$(awk "BEGIN {srand(); print rand()}")
Y_POS=$(awk "BEGIN {srand(); print rand()}") Y_POS=$(awk "BEGIN {srand(); print rand()}")
swww img $WALLPAPER --transition-type grow --transition-pos "$X_POS, $Y_POS" --transition-fps 60 awww img $WALLPAPER --transition-type grow --transition-pos "$X_POS, $Y_POS" --transition-fps 60

View File

@@ -4,6 +4,6 @@ check=$(hyprctl monitors | awk '/HDMI-A-1/{print $1}' | tr -d '\n')
if [ $check != '' ]; then if [ $check != '' ]; then
hyprctl keyword monitor "eDP-1, disable" hyprctl keyword monitor "eDP-1, disable"
swww kill awww kill
uwsm app -- swww-daemon uwsm app -- awww-daemon
fi fi

View File

@@ -18,7 +18,7 @@
"smooth-scrolling-threshold": 1, "smooth-scrolling-threshold": 1,
"on-scroll-down": "brightnessctl --class='backlight' set 5%+", "on-scroll-down": "brightnessctl --class='backlight' set 5%+",
"on-scroll-up": "brightnessctl --class='backlight' set 5%-", "on-scroll-up": "brightnessctl --class='backlight' set 5%-",
"on-click": "python $HOME/.config/hypr/scripts/swww.py", "on-click": "python $HOME/.config/hypr/scripts/awww.py",
"tooltip-format": "{percent}%", "tooltip-format": "{percent}%",
}, },
} }

3
.inputrc Normal file
View File

@@ -0,0 +1,3 @@
set colored-stats on
set colored-completion-prefix on
set completion-ignore-case on

View File

@@ -10,6 +10,7 @@ yadm add ~/.config/waybar/
yadm add ~/.config/dunst/ yadm add ~/.config/dunst/
yadm add ~/.config/kitty/ yadm add ~/.config/kitty/
yadm add ~/.inputrc
yadm add ~/.bash_profile yadm add ~/.bash_profile
yadm add ~/.bashrc yadm add ~/.bashrc
yadm add ~/.bash_exports yadm add ~/.bash_exports