forked from DustVoice/dotfiles
Create sane alias handling within zsh
This commit is contained in:
parent
7cce1761af
commit
134876505f
3 changed files with 18 additions and 8 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -15,6 +15,7 @@
|
||||||
!/.Xmodmap.example
|
!/.Xmodmap.example
|
||||||
!/.Xresources
|
!/.Xresources
|
||||||
!/.xsession
|
!/.xsession
|
||||||
|
!/.zsh_alias
|
||||||
!/.zshenv
|
!/.zshenv
|
||||||
!/.zshpath.example
|
!/.zshpath.example
|
||||||
!/.zshrc
|
!/.zshrc
|
||||||
|
|
14
.zsh_alias
Normal file
14
.zsh_alias
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
alias la='ls -lahF'
|
||||||
|
alias ll='ls -lhF'
|
||||||
|
alias ls='ls -F --color=tty'
|
||||||
|
alias lsa='ls -aF'
|
||||||
|
alias layout='xkblayout-state print "%s(%v)" && echo -n "\n"'
|
||||||
|
alias picom-default='picom -bGC --backend glx --unredir-if-possible-delay 1000 --vsync'
|
||||||
|
alias screenkey-obs='screenkey --no-systray -t 2 -p fixed -s small -g 960x88+960+4 --key-mode composed --bak-mode full --mods-mode normal -f Hack --font-color "#f8f8f2" --bg-color "#44475a" --opacity "1.0"'
|
||||||
|
alias tmate-obs='tmate -k tmk-ET35fx5m9cA7cxOt4jjWkSmaOy -r DustVoice'
|
||||||
|
alias xfce-polkit='/usr/lib/xfce-polkit/xfce-polkit'
|
||||||
|
alias davinci-resolve='/opt/resolve/bin/resolve'
|
||||||
|
|
||||||
|
alias rofi-scripts='alias | sed -e "s/=.*//"'
|
||||||
|
|
||||||
|
alias lock-screen='xset 600 60 && env XSECURELOCK_AUTH_BACKGROUND_COLOR=rgb:28/2a/36 XSECURELOCK_AUTH_FOREGROUND_COLOR=rgb:f8/f8/f2 XSECURELOCK_AUTH_TIMEOUT=10 XSECURELOCK_BLANK_TIMEOUT=-1 XSECURELOCK_BLANK_DPMS_STATE=on XSECURELOCK_DISCARD_FIRST_KEYPRESS=1 XSECURELOCK_PASSWORD_PROMPT=cursor XSECURELOCK_SHOW_DATETIME=1 XSECURELOCK_SHOW_HOSTNAME=1 XSECURELOCK_SHOW_USERNAME=1 xsecurelock &'
|
11
.zshenv
11
.zshenv
|
@ -48,11 +48,6 @@ export XDG_CONFIG_HOME="$HOME/.config"
|
||||||
|
|
||||||
export WINIT_X11_SCALE_FACTOR=1
|
export WINIT_X11_SCALE_FACTOR=1
|
||||||
|
|
||||||
alias layout='xkblayout-state print "%s %v"'
|
if [[ -f $HOME/.zsh_alias ]]; then
|
||||||
alias picom-default='picom -bgc --backend glx --unredir-if-possible-delay 1000 --vsync'
|
source $HOME/.zsh_alias
|
||||||
alias screenkey-obs='screenkey --no-systray -t 2 -p fixed -s small -g 960x88+960+4 --key-mode composed --bak-mode full --mods-mode normal -f Hack --font-color "#f8f8f2" --bg-color "#44475a" --opacity "1.0"'
|
fi
|
||||||
alias tmate-obs='tmate -k tmk-et35fx5m9ca7cxot4jjwksmaoy -r dustvoice'
|
|
||||||
alias xfce-polkit='/usr/lib/xfce-polkit/xfce-polkit'
|
|
||||||
alias davinci-resolve='/opt/resolve/bin/resolve'
|
|
||||||
|
|
||||||
alias rofi-scripts='alias | sed -e "s/=.*//"'
|
|
||||||
|
|
Loading…
Reference in a new issue