1234567891011121314151617181920212223242526272829303132333435363738 |
- if [ -f `which powerline-daemon` ]; then
- powerline-daemon -q
- POWERLINE_BASH_CONTINUATION=1
- POWERLINE_BASH_SELECT=1
- fi
- if [ -f /usr/local/lib/python2.7/dist-packages/powerline/bindings/bash/powerline.sh ]; then
- source /usr/local/lib/python2.7/dist-packages/powerline/bindings/bash/powerline.sh
- fi
- alias ls="ls --color=auto"
- alias grep="grep --color=auto"
- alias egrep="egrep --color=auto"
- alias fgrep="fgrep --color=auto"
- uguu ()
- {
- for arg in $*; do
- curl -i -F file=@$arg https://uguu.se/api.php?d=upload-tool | grep https
- done
- }
- up_code ()
- {
- cat $1 | curl -F 'f:1=<-' ix.io
- }
- haste() { a=$(cat); curl -X POST -s -d "$a" http://hastebin.com/documents | awk -F '"' '{print "http://hastebin.com/"$4}'; }
- gravar ()
- {
- REC_iface=$(pactl list sources short | grep monitor | awk '{print$2}')
- SCREEN_res=$(xrandr -q --current | grep '*' | awk '{print$1}')
- ffmpeg -f x11grab -f pulse -s $SCREN_res -r 25 -i :0.0 -ac 2 -acodec vorbis -f x11grab -vcodec libx264 $1.mkv
- ffplay -f video4linux2 -i /dev/video0 -video_size 320x240
- }
|