update: swww -> awww & small tuning before the bigger update
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# editor
|
||||
export EDITOR=nvim
|
||||
|
||||
|
||||
# infinite bash history
|
||||
# remove '-1' in both places if your bash version < 4.3
|
||||
export HISTFILESIZE=-1
|
||||
@@ -9,6 +10,9 @@ export HISTSIZE=-1
|
||||
# writes bash history after every command
|
||||
export PROMPT_COMMAND="history -a"
|
||||
|
||||
# GCM
|
||||
export GCM_CREDENTIAL_STORE=cache
|
||||
|
||||
|
||||
# pyenv
|
||||
if command -v pyenv >/dev/null 2>&1; then
|
||||
|
||||
@@ -5,3 +5,11 @@ fi
|
||||
if [ -f "$HOME/.bash_exports" ]; then
|
||||
. "$HOME/.bash_exports"
|
||||
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
29
.bashrc
@@ -14,19 +14,27 @@ alias aliass='aliasm > ~/.bash_aliases'
|
||||
|
||||
# ls aliases
|
||||
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 sl='ls --color=auto'
|
||||
alias ks='ls --color=auto'
|
||||
alias l='ls --color=auto'
|
||||
alias s='ls --color=auto'
|
||||
|
||||
# cd aliases
|
||||
alias cdp='cd ~/Programming'
|
||||
alias cds='cd ~/services'
|
||||
alias t='cd ~/tmp'
|
||||
alias cdd='cd ~/Downloads'
|
||||
alias cdt='cd ~/tmp'
|
||||
alias cda='cd /run/media/$USER/'
|
||||
|
||||
# rm aliases
|
||||
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
|
||||
alias cfghypr='(nvim ~/.config/hypr)'
|
||||
alias cfgkitty='(nvim ~/.config/kitty)'
|
||||
@@ -36,6 +44,7 @@ alias cfgwaybar='(nvim ~/.config/waybar)'
|
||||
alias cfgdunst='(nvim ~/.config/dunst)'
|
||||
alias cfgyazi='(nvim ~/.config/yazi)'
|
||||
alias cfgfastfetch='(nvim ~/.config/fastfetch)'
|
||||
alias cfgbash='(nvim ~/.config/bash)'
|
||||
|
||||
# utils aliases
|
||||
alias y='yazi'
|
||||
@@ -46,9 +55,16 @@ alias scrcpy-def='scrcpy -S --no-audio -K'
|
||||
alias hload='hyprctl reload'
|
||||
alias shy='start-hyprland'
|
||||
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 share='python3 -m http.server'
|
||||
alias globalshare='(cd ~/Share && python3 -m http.server)'
|
||||
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
|
||||
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 paclean='sudo pacman -Rs '
|
||||
|
||||
# fastfetch
|
||||
alias fastfetch='python3 ~/.config/fastfetch/detect_os.py'
|
||||
alias ff='python3 ~/.config/fastfetch/detect_os.py'
|
||||
|
||||
# fun aliases
|
||||
alias ff='fastfetch'
|
||||
alias mm='unimatrix -f -a -s 92 -l coo -c yellow'
|
||||
alias mmbee='unimatrix -f -a -s 86 -u '\''bee'\'' -c yellow'
|
||||
alias mmbeesquit='unimatrix -f -s 86 -u '\''beesquit'\'' -c yellow'
|
||||
|
||||
@@ -29,4 +29,3 @@ foreground = "#C0CAF5"
|
||||
background = "#20212C6A"
|
||||
foreground = "#C0CAF5"
|
||||
frame_color = "#F38BA8"
|
||||
|
||||
|
||||
@@ -9,8 +9,8 @@ exec-once = uwsm app -- /usr/lib/xdg-desktop-portal-gtk
|
||||
|
||||
exec-once = uwsm app -- hypridle
|
||||
|
||||
exec-once = uwsm app -- swww-daemon
|
||||
exec-once = uwsm app -- swww img "$WALLPAPER"
|
||||
exec-once = uwsm app -- awww-daemon
|
||||
exec-once = uwsm app -- awww img "$WALLPAPER"
|
||||
|
||||
exec-once = uwsm app -- waybar
|
||||
exec-once = uwsm app -- dunst
|
||||
|
||||
@@ -21,7 +21,7 @@ bind = $mainMod SHIFT, T, layoutmsg, swapsplit
|
||||
# apps binds
|
||||
bind = $mainMod, Q, exec, kitty
|
||||
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
|
||||
|
||||
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
X_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
|
||||
@@ -4,6 +4,6 @@ check=$(hyprctl monitors | awk '/HDMI-A-1/{print $1}' | tr -d '\n')
|
||||
|
||||
if [ $check != '' ]; then
|
||||
hyprctl keyword monitor "eDP-1, disable"
|
||||
swww kill
|
||||
uwsm app -- swww-daemon
|
||||
awww kill
|
||||
uwsm app -- awww-daemon
|
||||
fi
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"smooth-scrolling-threshold": 1,
|
||||
"on-scroll-down": "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}%",
|
||||
},
|
||||
}
|
||||
|
||||
3
.inputrc
Normal file
3
.inputrc
Normal file
@@ -0,0 +1,3 @@
|
||||
set colored-stats on
|
||||
set colored-completion-prefix on
|
||||
set completion-ignore-case on
|
||||
@@ -10,6 +10,7 @@ yadm add ~/.config/waybar/
|
||||
yadm add ~/.config/dunst/
|
||||
yadm add ~/.config/kitty/
|
||||
|
||||
yadm add ~/.inputrc
|
||||
yadm add ~/.bash_profile
|
||||
yadm add ~/.bashrc
|
||||
yadm add ~/.bash_exports
|
||||
|
||||
Reference in New Issue
Block a user