Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xrandr --current | grep -e " connected" -A1 | grep -E '[0-9]+.[0-9]+*|$'
- alias grey-grep="GREP_COLOR='1;30' grep --color=always"
- alias red-grep="GREP_COLOR='1;31' grep --color=always"
- alias green-grep="GREP_COLOR='1;32' grep --color=always"
- alias yellow-grep="GREP_COLOR='1;33' grep --color=always"
- alias blue-grep="GREP_COLOR='1;34' grep --color=always"
- alias magenta-grep="GREP_COLOR='1;35' grep --color=always"
- alias cyan-grep="GREP_COLOR='1;36' grep --color=always"
- alias white-grep="GREP_COLOR='1;37' grep --color=always"
- xrandr --current | grep -e " connected" -A1 | green-grep -E '[0-9]+.[0-9]+*|$'
- xrandr --current | grep -e " connected" -A1 | yellow-grep -E '[0-9]+.[0-9]+*|$'
- xrandr --current | grep -e " connected" -A1 | cyan-grep -E '[0-9]+.[0-9]+*|$'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement