-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbash_aliases
43 lines (38 loc) · 2.1 KB
/
bash_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
40
41
42
43
# Ls
alias ls='ls --color=auto'
alias ll='ls -lh'
alias la='ls -lha'
# System
alias vim='nvim'
alias vimdiff='nvim -d'
alias startx='ssh-agent startx'
alias suspend='lock.sh && systemctl suspend'
alias sudo='sudo -E '
alias grep='grep --color'
alias tsp='trackspeed.sh'
# Docker
alias dockerip='docker inspect --format="{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}" '
# Multi Monitor
alias wallpaper='bash ~/.fehbg'
# VGA
# alias emc='xrandr --output VGA1 --mode 1600x900 --left-of LVDS1 && xrandr --output LVDS1 --off && ~/.fehbg && eval $(grep setx ~/.xinitrc)'
# alias emcdual='xrandr --output VGA1 --mode 1600x900 --left-of LVDS1 && ~/.fehbg && eval $(grep setx ~/.xinitrc)'
# alias emd='xrandr --output VGA1 --mode 1600x900 --left-of LVDS1 && ~/.fehbg && eval $(grep setx ~/.xinitrc)'
# alias emo='xrandr --output LVDS1 --mode 1366x768 --left-of VGA1 && xrandr --output VGA1 --off && ~/.fehbg && eval $(grep setx ~/.xinitrc)'
# HDMI
# alias emc='xrandr --output HDMI3 --mode 1920x1080 --left-of LVDS1 && xrandr --output LVDS1 --off && ~/.fehbg && eval $(grep setx ~/.xinitrc)'
# alias emd='xrandr --output HDMI3 --mode 1920x1080 --left-of LVDS1 && ~/.fehbg && eval $(grep setx ~/.xinitrc)'
# alias emo='xrandr --output LVDS1 --mode 1366x768 --left-of HDMI3 && xrandr --output HDMI3 --off && ~/.fehbg && eval $(grep setx ~/.xinitrc)'
# Display Port
alias emc='xrandr --output DP1 --mode 3840x2160 --scale 0.65x0.65 --same-as LVDS1 && xrandr --output LVDS1 --off && ~/.fehbg && eval $(grep setx ~/.xinitrc)'
alias emcdual='xrandr --output DP1 --mode 3840x2160 --scale 0.65x0.65 --above LVDS1 && ~/.fehbg && eval $(grep setx ~/.xinitrc)'
alias emo='xrandr --output LVDS1 --mode 1366x768 --same-as DP1 && xrandr --output DP1 --off && ~/.fehbg && eval $(grep setx ~/.xinitrc)'
# Mosh
alias debiandroplet='mosh -p 1194 debiandroplet'
alias cakeoven='mosh -p 1194 cakeoven'
alias mediacenter='mosh -p 1194 mediacenter'
alias vpstels='mosh -p 1194 vpstels'
# Misc
alias ptop='sudo powertop --auto-tune'
alias wgjournal='wordgrinder ~/Sync/Nextcloud/Writing/journal.wg'
alias wgblog='wordgrinder ~/Sync/Nextcloud/Writing/blog.wg'