-
Notifications
You must be signed in to change notification settings - Fork 0
/
.aliases
39 lines (32 loc) · 1.33 KB
/
.aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Docker
alias docker-compose='docker compose'
alias doco='docker compose'
alias docor='docker compose run'
alias docorm='docker compose run --rm'
alias docoe='docker compose exec'
alias dj='doco exec django python manage.py'
alias dje='doco exec django'
# Config
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
alias cf='config'
alias config-local='/usr/bin/git --git-dir=$HOME/.cfg.local/ --work-tree=$HOME'
alias cfl='config-local'
# git
alias gti='git'
# grep
alias grep='rg'
# Screens
alias 3screens='xrandr --output DP-1 --auto --output DP-2 --auto --output DP-2 --left-of DP-1 --output DP-1 --left-of eDP-1'
alias 3screens-reverse='xrandr --output DP-1 --auto --output DP-2 --auto --output DP-1 --left-of DP-2 --output DP-2 --left-of eDP-1'
alias 2screens='xrandr --output DP-1 --auto --output DP-1 --left-of eDP-1'
alias 1screen='xrandr --output DP-1 --off --output DP-2 --off'
alias screen-vstack='xrandr --output DP-1 --auto --above eDP-1 --above DP-2 --output DP-2 --auto --above eDP-1'
alias screen-merged='xrandr --output DP-1 --auto --pos 0x0 --output DP-2 --auto --pos 0x0 --output eDP-1 --pos 0x0'
# WIFI
alias wifi=nmtui
# Mouse
alias leftie-pointer='xmodmap -e "pointer = 3 2 1"'
alias rightie-pointer='xmodmap -e "pointer = 1 2 3"'
# XClip
alias setclip="xclip -selection c"
alias getclip="xclip -selection c -o"