feat: gamemode, toggle-touchpad and restore-waybar \n fix: albert glitches and bugs in the scripts \n And appearance changes concerning waybar and single windows

This commit is contained in:
Gu://em_ 2025-03-03 09:01:51 +01:00
parent 6e4c3bb974
commit d33ecc32e7
14 changed files with 124 additions and 19 deletions

7
.zshrc
View file

@ -47,7 +47,9 @@ zinit cdreplay -q # Optimize cache (recommended by the zinit doc)
bindkey -e # Use emacs keybindings
bindkey '^p' history-search-backward
bindkey '^n' history-search-forward
bindkey '~' delete-char # Makes the delete key work properly
bindkey '^[[3~' delete-char # Makes the delete key work properly
bindkey '^[[3;5~' kill-word # Makes the delete key work properly
# Missing ctrl+delete
bindkey "^[[1;5C" forward-word # Same with M-arrows
bindkey "^[[1;5D" backward-word
@ -70,6 +72,7 @@ zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' # Makes completions case
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" # Makes completions colored
zstyle ':completion:*' menu no # Hide the default completions menu (replaced by fzf)
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
setopt correct # 'Did you mean'
# Environment variables
export PATH=$PATH:~/.local/bin
@ -81,6 +84,8 @@ alias zcfg='vim ~/.zshrc'
alias icat='kitten icat'
alias nv='nvim'
alias cg='cargo'
alias rqr='rust-quick-run.sh'
alias vm='quickemu --vm *.conf'
# Power management
alias pprof='cat /sys/firmware/acpi/platform_profile' # Get current performance profile
alias pprof-list='cat /sys/firmware/acpi/platform_profile_choices' # Lists the available performance profiles