You are not logged in.

#626 2009-07-01 13:17:28

riivo
Member
Registered: 2008-08-25
Posts: 112

Re: June 2009 Screenshots

Daisuke_Aramaki, file browser is Thunar?

Offline

#627 2009-07-01 13:38:51

kiruch
Member
From: Saint-Petersburg, Russia
Registered: 2009-06-30
Posts: 22
Website

Re: June 2009 Screenshots

Someone should start a "July 2009 Screenshots" thread. but i dunno if i have the authority to do so smile

Offline

#628 2009-07-01 14:36:18

Taters
Member
From: Ohio
Registered: 2008-08-22
Posts: 53

Re: June 2009 Screenshots

kiruch wrote:

Someone should start a "July 2009 Screenshots" thread. but i dunno if i have the authority to do so smile

Well, Haxit is out in Iran for the next month and a half, so some one else will have to.

Offline

#629 2009-07-01 14:38:43

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: June 2009 Screenshots

July 2009 thread: http://bbs.archlinux.org/viewtopic.php?id=75154

BTW, anybody can start the new thread.

Offline

#630 2009-07-01 16:20:12

kiruch
Member
From: Saint-Petersburg, Russia
Registered: 2009-06-30
Posts: 22
Website

Re: June 2009 Screenshots

when using the word "authority", i meant "good manners" rather than "user permissions" smile

Offline

#631 2009-07-01 16:24:35

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: June 2009 Screenshots

This thread needs to get closed.

Offline

#632 2009-07-04 08:58:30

Meskarune
Member
From: Helsinki, Finland
Registered: 2009-03-21
Posts: 361
Website

Re: June 2009 Screenshots

heh. I can't tell time. ><

http://bbs.archlinux.org/viewtopic.php? … 83#p579483

Last edited by Meskarune (2009-07-04 09:08:46)


Homepage  | Arch Linux Women | Arch Linux Classroom
Acer Aspire E5-575G-53VG:
Intel Dual-Core i5-6200U 2.3 GHz; Skylake rev3 | 8GB DDR4 ram | Intel HD Graphics 520 + NVIDIA GeForce 940MX
Qualcomm Atheros QCA9377 802.11ac | Realtek RTL8111/8168/8411 Gigabit Ethernet Controller

Offline

#633 2009-07-04 14:10:27

erikl
Member
From: Mars
Registered: 2006-07-15
Posts: 128

Re: June 2009 Screenshots

brisbin33 wrote:
Daisuke_Aramaki wrote:

Lunar Linux+Fluxbox

http://omploader.org/vMXN3cQ

Daisuke, i asked a few pages back but you must've missed it.  how did you colorize ping?

btw, nice shot[s] as always.

I tried to do something like it.

ping -c 2 74.125.77.104 | sed -u "s/[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}/\x1b[0;35m&\x1b[0m/g" | sed -u "s/[0-9]\{1,10\} bytes from/\x1b[0;32m&\x1b[0m/g" | sed -u "s/icmp_seq=[0-9]/\x1b[0;37m&/g" | sed -u "s/=/\x1b[0;35m&\x1b[0;37m/g" | sed -u "s/ms/\x1b[0;32m&\x1b[0;33m/g" | sed -u "s/PING/\x1b[1;37m&\x1b[0m/" | sed -u "s/---/\x1b[0;37m&\x1b[0;33m/g" | sed -u "s/,/\x1b[0;32m&\x1b[0;33m/g" | sed -u "s/ping/\x1b[0;32m&/"

tMXg4OA

edit:
cal

cal | sed "s/`date +%e`/#/" | sed "s/[0-9]\{1,4\}/\x1b[0;32m&\x1b[0;33m/g" | sed "s/#/\x1b[1;37m`exec date +%e`\x1b[0m/" | sed "s/`date +%B`/\x1b[1;35m&\x1b[0;33m/"

Last edited by erikl (2009-07-05 14:14:30)

Offline

#634 2009-07-04 17:36:29

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: June 2009 Screenshots

erikl wrote:
brisbin33 wrote:
Daisuke_Aramaki wrote:

Lunar Linux+Fluxbox

http://omploader.org/vMXN3cQ

Daisuke, i asked a few pages back but you must've missed it.  how did you colorize ping?

btw, nice shot[s] as always.

I tried to do something like it.

ping -c 2 74.125.77.104 | sed -u "s/[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}/\x1b[0;35m&\x1b[0m/g" | sed -u "s/[0-9]\{1,10\} bytes from/\x1b[0;32m&\x1b[0m/g" | sed -u "s/icmp_seq=[0-9]/\x1b[0;37m&/g" | sed -u "s/=/\x1b[0;35m&\x1b[0;37m/g" | sed -u "s/ms/\x1b[0;32m&\x1b[0;33m/g" | sed -u "s/PING/\x1b[1;37m&\x1b[0m/" | sed -u "s/---/\x1b[0;37m&\x1b[0;33m/g" | sed -u "s/,/\x1b[0;32m&\x1b[0;33m/g" | sed -u "s/ping/\x1b[0;32m&/"

http://omploader.org/tMXg4OA

nice! i actually wrote a similar wrapper script myself... i like yours better though, i think i'll adopt it.  thanks.

Last edited by brisbin33 (2009-07-04 17:46:01)

Offline

#635 2009-07-04 17:44:33

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: June 2009 Screenshots

blurg.  uzbl back/edit tomfoolery.  ignore my double post.

Last edited by brisbin33 (2009-07-04 17:45:31)

Offline

#636 2009-07-06 06:42:45

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: June 2009 Screenshots

erikl wrote:
brisbin33 wrote:
Daisuke_Aramaki wrote:

Lunar Linux+Fluxbox

http://omploader.org/vMXN3cQ

Daisuke, i asked a few pages back but you must've missed it.  how did you colorize ping?

btw, nice shot[s] as always.

I tried to do something like it.

ping -c 2 74.125.77.104 | sed -u "s/[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}/\x1b[0;35m&\x1b[0m/g" | sed -u "s/[0-9]\{1,10\} bytes from/\x1b[0;32m&\x1b[0m/g" | sed -u "s/icmp_seq=[0-9]/\x1b[0;37m&/g" | sed -u "s/=/\x1b[0;35m&\x1b[0;37m/g" | sed -u "s/ms/\x1b[0;32m&\x1b[0;33m/g" | sed -u "s/PING/\x1b[1;37m&\x1b[0m/" | sed -u "s/---/\x1b[0;37m&\x1b[0;33m/g" | sed -u "s/,/\x1b[0;32m&\x1b[0;33m/g" | sed -u "s/ping/\x1b[0;32m&/"

http://omploader.org/tMXg4OA

edit:
cal

cal | sed "s/`date +%e`/#/" | sed "s/[0-9]\{1,4\}/\x1b[0;32m&\x1b[0;33m/g" | sed "s/#/\x1b[1;37m`exec date +%e`\x1b[0m/" | sed "s/`date +%B`/\x1b[1;35m&\x1b[0;33m/"

How could you get the ping one to work by putting it in the bashrc while still allowing different IP's?

Offline

#637 2009-07-06 06:52:13

cdwillis
Member
From: /home/usa
Registered: 2008-11-20
Posts: 294

Re: June 2009 Screenshots

Reasons wrote:
erikl wrote:
brisbin33 wrote:

Daisuke, i asked a few pages back but you must've missed it.  how did you colorize ping?

btw, nice shot[s] as always.

I tried to do something like it.

ping -c 2 74.125.77.104 | sed -u "s/[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}/\x1b[0;35m&\x1b[0m/g" | sed -u "s/[0-9]\{1,10\} bytes from/\x1b[0;32m&\x1b[0m/g" | sed -u "s/icmp_seq=[0-9]/\x1b[0;37m&/g" | sed -u "s/=/\x1b[0;35m&\x1b[0;37m/g" | sed -u "s/ms/\x1b[0;32m&\x1b[0;33m/g" | sed -u "s/PING/\x1b[1;37m&\x1b[0m/" | sed -u "s/---/\x1b[0;37m&\x1b[0;33m/g" | sed -u "s/,/\x1b[0;32m&\x1b[0;33m/g" | sed -u "s/ping/\x1b[0;32m&/"

http://omploader.org/tMXg4OA

edit:
cal

cal | sed "s/`date +%e`/#/" | sed "s/[0-9]\{1,4\}/\x1b[0;32m&\x1b[0;33m/g" | sed "s/#/\x1b[1;37m`exec date +%e`\x1b[0m/" | sed "s/`date +%B`/\x1b[1;35m&\x1b[0;33m/"

How could you get the ping one to work by putting it in the bashrc while still allowing different IP's?

What I did was make a script named pong in my ~/scripts directory like this:

#!/bin/bash

ping -c 2 $1 | sed -u "s/[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}/\x1b[0;35m&\x1b[0m/g" | sed -u "s/[0-9]\{1,10\} bytes from/\x1b[0;32m&\x1b[0m/g" | sed -u "s/icmp_seq=[0-9]/\x1b[0;37m&/g" | sed -u "s/=/\x1b[0;35m&\x1b[0;37m/g" | sed -u "s/ms/\x1b[0;32m&\x1b[0;33m/g" | sed -u "s/PING/\x1b[1;37m&\x1b[0m/" | sed -u "s/---/\x1b[0;37m&\x1b[0;33m/g" | sed -u "s/,/\x1b[0;32m&\x1b[0;33m/g" | sed -u "s/ping/\x1b[0;32m&/" 
exit

then in my ~/.bashrc I added alias ping='pong'

It keeps the coloring the script added, I haven't figured out how to reset it yet hmm

Offline

#638 2009-07-06 07:16:32

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 300
Website

Re: June 2009 Screenshots

I just discovered how the magic stuff works: Instead of writing wrappers like the ones above by yourself you can easily use cwrapper - it does the magic for you. big_smile

Examples are in the left term: http://omploader.org/vMXhmcg

Offline

#639 2009-07-06 10:52:10

Daisuke_Aramaki
Member
From: ++49/711
Registered: 2008-10-06
Posts: 651
Website

Re: June 2009 Screenshots

oh my god! i am really sorry. i completely missed this part. anyway colortail behaved like a total ass with me, but all the log cooring you see in my screenshots are courtesy of cw, colorwrapper.  i see unexist has already posted a link for the source. install it and run

colorcfg 1

it will add the cw path in your .bash_profile and that should be it. most of the unix command outputs will be colored, like df, uname, cal, date ping, etc.

cw didn't play nice with my previous zshrc, which had a non ascii character,  that was the only issue i experienced.


"You know what I found? Right in the kernel, in the heart of the operating system, I found a developer's comment that said, `Does this belong here?`" -- Simon Lok about Linux kernel in 2005
Reflections on the Strange and the not so Strange
http://skinwalker.wordpress.com

Offline

#640 2009-07-06 12:43:09

unexist
Member
From: Germany
Registered: 2008-05-13
Posts: 300
Website

Re: June 2009 Screenshots

There is another issue with cwrapper and GCC that you should be aware of: If there is a file or a directory named 'gcc' in your PATH GCC will probably fail to find headers like stddef.h. I suggest to install cwrapper local and remove  ~/.cw/def/gcc to get this working.

Offline

#641 2009-07-06 13:51:23

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: June 2009 Screenshots

hey, thanks guys.  this thread's still good for something, eh?  i'll be looking at cwrapper soon.

Offline

#642 2009-07-06 14:01:31

HashBox
Member
Registered: 2009-01-22
Posts: 271

Re: June 2009 Screenshots

I've just installed cwrapper myself, and it seems to work well, even with zsh smile

I just added these lines to my .zshrc:

export PATH="/usr/lib/cw:$PATH"
export NOCOLOR_PIPE=1
export CW_COLORIZE=grey

Offline

#643 2009-07-06 14:31:44

Daisuke_Aramaki
Member
From: ++49/711
Registered: 2008-10-06
Posts: 651
Website

Re: June 2009 Screenshots

HashBox wrote:

I've just installed cwrapper myself, and it seems to work well, even with zsh smile

I just added these lines to my .zshrc:

export PATH="/usr/lib/cw:$PATH"
export NOCOLOR_PIPE=1
export CW_COLORIZE=grey

i do use zsh, and it works fine, but somehow doesn't do it with my previous zshrc, that had a lot of info piped into the prompt, and separated by bars. i haven't had the time to look into it, but one of these days, when i am a little bit free, may be i will investigate.


"You know what I found? Right in the kernel, in the heart of the operating system, I found a developer's comment that said, `Does this belong here?`" -- Simon Lok about Linux kernel in 2005
Reflections on the Strange and the not so Strange
http://skinwalker.wordpress.com

Offline

#644 2009-07-13 20:49:55

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: June 2009 Screenshots

ntt wrote:
milomouse wrote:

http://i60.photobucket.com/albums/h3/bu … usezen.png

good ole ratpoison. my creative side since i've been offline for so long..

Mind sharing your dotfiles? ratpoisonrc, Xdefaults? please wink

strankan wrote:
milomouse wrote:

http://i60.photobucket.com/albums/h3/bu … usezen.png

good ole ratpoison. my creative side since i've been offline for so long..

Would love to take a look at your .zshrc, .ratpoisonrc and .Xdefaults. Looks great!

Before this thread is closed..  sorry for the delay; been offline for a while. smile Here they are, slightly changed (sorry if that's a problem)

~/.ratpoisonrc (overkill, i know)

set winname title
set winfmt %n %s %t
set wingravity ne
set transgravity ne
set bargravity ne
set waitcursor 4
set font -*-fixed-medium-*-*-*-9-*-*-*-*-*-*
set winliststyle column
set inputwidth 400
set border 2
set barborder 6
set fgcolor #89B6E2
set bgcolor #101010

escape C-semicolon

unbind a
unbind A
unbind b
unbind B
unbind c
unbind C
unbind d
unbind D
unbind e
unbind E
unbind f
unbind F
unbind g
unbind G
unbind h
unbind H
unbind i
unbind I
unbind j
unbind J
unbind k
unbind K
unbind l
unbind L
unbind m
unbind M
unbind n
unbind N
unbind o
unbind O
unbind p
unbind P
unbind q
unbind Q
unbind r
unbind R
unbind s
unbind S
unbind t
unbind T
unbind u
unbind U
unbind v
unbind V
unbind w
unbind W
unbind x
unbind X
unbind y
unbind Y
unbind z
unbind Z
unbind C-a
unbind C-A
unbind C-b
unbind C-B
unbind C-c
unbind C-C
unbind C-d
unbind C-D
unbind C-e
unbind C-E
unbind C-f
unbind C-F
unbind C-g
unbind C-G
unbind C-h
unbind C-H
unbind C-i
unbind C-I
unbind C-j
unbind C-J
unbind C-k
unbind C-K
unbind C-l
unbind C-L
unbind C-m
unbind C-M
unbind C-n
unbind C-N
unbind C-o
unbind C-O
unbind C-p
unbind C-P
unbind C-q
unbind C-Q
unbind C-r
unbind C-R
unbind C-s
unbind C-S
unbind C-t
unbind C-T
unbind C-u
unbind C-U
unbind C-v
unbind C-V
unbind C-w
unbind C-W
unbind C-x
unbind C-X
unbind C-y
unbind C-Y
unbind C-z
unbind C-Z
unbind exclam
unbind apostrophe
unbind space
unbind Tab
unbind C-exclam
unbind C-Return
unbind C-apostrophe
unbind C-space
unbind C-underscore

bind b banish
bind c exec urxvt
bind d time
bind e exec
bind f fselect
bind g exec swiftweasel
bind i vsplit
bind l windows
bind m curframe
bind n redisplay
bind o only
bind p select -
bind j hsplit
bind k kill
bind q remove
bind r resize
bind s swap
bind t title
bind u undo
bind v version
bind x info
bind y redo
bind z lastmsg
bind Escape abort
bind minus dedicate 0
bind equal dedicate 1
bind Insert scrot '%Y-%b_%a_%d-%R.png' -e 'mv $f ~/foto/unix/shots'
bind Delete exec slock

definekey top M-F1 exec rpws 1
definekey top M-F2 exec rpws 2
definekey top M-F3 exec rpws 3
definekey top M-F4 exec rpws 4
definekey top C-comma prev
definekey top C-period next
definekey top C-Up focusup
definekey top C-Down focusdown
definekey top C-Left focusleft
definekey top C-Right focusright
definekey top C-M-Up exchangeup
definekey top C-M-Down exchangedown
definekey top C-M-Left exchangeleft
definekey top C-M-Right exchangeright
definekey top C-bracketleft focusleft
definekey top C-bracketright focusright
definekey top C-apostrophe focus

exec rpws init 5 -k
exec xsetroot -bg black -cursor_name left_ptr &

~/.Xdefaults (not the greatest, but still working on them)

urxvt*font:     -*-fixed-*-*-*-*-9-*-*-*-*-*-*
urxvt*boldFont: -*-fixed-medium-*-*-*-9-*-*-*-*-*-*
urxvt*italicFont: -*-fixed-medium-*-*-*-9-*-*-*-*-*-*
urxvt*scrollBar: false
urxvt*secondaryScroll: true
urxvt*scrollTtyKeypress: true
urxvt*scrollWithBuffer: false
urxvt*scrollTtyOutput: false
xterm*font: -*-fixed-*-*-*-*-9-*-*-*-*-*-*
xterm*boldFont: -*-fixed-medium-*-*-*-9-*-*-*-*-*-*
xterm*dynamicColors: true
xterm*eightBitInput: true
xterm*utf8: 2
xterm*saveLines: 500
xterm*scrollBar: false
xterm*multiScroll: true
xterm*toolBar: false

*background: #101010
 *foreground: #babdb6
 ! Black
 *color0:  #000
 *color8:  #555753
 ! Red
 *color1:  #e5bee2
 *color9:  #ff92bb
 ! Green
 *color2:  #f7a0fc
 *color10: #f7b5b5
 ! Yellow
 *color3:  #ccc
 *color11: #ff92bb
 ! Blue
 *color4:  #89b6e2
 *color12: #71bebe
 ! Magenta
 *color5:  #baabb7
 *color13: #d1a9c9
 ! Cyan
 *color6:  #89b6e2
 *color14: #46a4ff
 ! White
 *color7:  #ccc
 *color15: #fff

xclock*update:            1
xclock*analog:            false
xclock*Foreground:        #babdb6
xclock*background:        #101010

xcalc*geometry:                        200x275
xcalc.ti.bevel.background:             #101010
xcalc.ti.bevel.screen.background:      #000000
xcalc.ti.bevel.screen.DEG.background:  #000000
xcalc.ti.bevel.screen.DEG.foreground:  LightSeaGreen
xcalc.ti.bevel.screen.GRAD.background: #000000
xcalc.ti.bevel.screen.GRAD.foreground: LightSeaGreen
xcalc.ti.bevel.screen.RAD.background:  #000000
xcalc.ti.bevel.screen.RAD.foreground:  LightSeaGreen
xcalc.ti.bevel.screen.INV.background:  #000000
xcalc.ti.bevel.screen.INV.foreground:  Red
xcalc.ti.bevel.screen.LCD.background:  #000000
xcalc.ti.bevel.screen.LCD.foreground:  LightSeaGreen
xcalc.ti.bevel.screen.LCD.shadowWidth: 0
xcalc.ti.bevel.screen.M.background:    #000000
xcalc.ti.bevel.screen.M.foreground:    LightSeaGreen
xcalc.ti.bevel.screen.P.background:    #000000
xcalc.ti.bevel.screen.P.foreground:    Yellow
xcalc.ti.Command.foreground:  White
xcalc.ti.Command.background:  #777777
xcalc.ti.button5.background:  #955d6a
xcalc.ti.button19.background: #555
xcalc.ti.button18.background: #555
xcalc.ti.button20.background: #555
xcalc.ti.button25.background: #d1a9c9
xcalc.ti.button30.background: #d39dc8
xcalc.ti.button35.background: #e293d2
xcalc.ti.button40.background: #e68dd4
xcalc.ti.button22.background: #6d7b88
xcalc.ti.button23.background: #6d7b88
xcalc.ti.button24.background: #6d7b88
xcalc.ti.button27.background: #5e778f
xcalc.ti.button28.background: #5e778f
xcalc.ti.button29.background: #5e778f
xcalc.ti.button32.background: #6890b7
xcalc.ti.button33.background: #6890b7
xcalc.ti.button34.background: #6890b7
xcalc.ti.button37.background: #89b6e2
xcalc.ti.button38.background: #89b6e2
xcalc.ti.button39.background: #89b6e2
XCalc*Cursor:                 left_ptr
XCalc*ShapeStyle:             rectangle

~/.zshrc (still working on it, too)

HISTFILE=~/.zsh_hist
HISTSIZE=1000
SAVEHIST=1000

setopt appendhistory nomatch notify
setopt autocd
setopt HIST_REDUCE_BLANKS
setopt HIST_IGNORE_SPACE
setopt HIST_IGNORE_DUPS
setopt promptsubst
unsetopt transient_rprompt
unsetopt beep
autoload -Uz compinit
compinit

zstyle :compinstall filename 'home/milo/.zshrc'

bindkey "\e[8~" end-of-line
bindkey "\e[7~" beginning-of-line
bindkey "\e[3~" delete-char

export BROWSER="links"
export EDITOR="vim"
export SHELL=/bin/zsh
export MPD_HOST=neverland
export MPD_PORT=6600
export LESS_TERMCAP_mb=$'\E[01;31m'
export LESS_TERMCAP_md=$'\E[01;31m'
export LESS_TERMCAP_me=$'\E[0m'
export LESS_TERMCAP_se=$'\E[0m'
export LESS_TERMCAP_so=$'\E[01;44;30m'
export LESS_TERMCAP_ue=$'\E[0m'
export LESS_TERMCAP_us=$'\E[01;34m'

alias -s html=$BROWSER
alias -s org=$BROWSER
alias -s php=$BROWSER
alias -s com=$BROWSER
alias -s net=$BROWSER
alias -s png=mirage
alias -s jpg=mirage
alias -s gif=mirage

alias diff='colordiff'
alias grep='grep --color=auto'
alias pacman='pacman-color'
alias ls='ls -F --color=auto'
alias la='ls -A'
alias ll='la -lh'
alias lb='ll -Sr'
alias lt='ll -tr'
alias lf='ls -d *(-/DN)'
alias up='cd ..'
alias back='cd $OLDPWD'
alias e='exit'
alias cl='clear'
alias cp='nocorrect sudo cp'
alias mv='nocorrect sudo mv'
alias mdk='nocorrect mkdir'
alias rd='sudo rm -dr'
alias rms='sudo shred -uzn 10'
alias ff='find |grep'
alias df='df -hT'
alias du='du -h -c'
alias psu='ps fxo etime,user,pid,pmem,pcpu,comm'
alias psr='ps -u root fo etime,user,pid,pmem,pcpu,command'
alias free='free -m'
alias daemon='ls /var/run/daemons'
alias irb='irb --simple-prompt'
alias dict='sdcv'
alias thes='aiksaurus'
alias ncmp='ncmpcpp'
alias rot='rtorrent'
alias zip='zip -9 -r'
alias unrarall='for file in `ls *.rar`; do unrar x -clr $file; done'
alias unzipall='for file in `ls *.zip`; do unzip $file; done'
alias mix1='ossmix -d0 jack.int-speaker.mode pcm1'
alias mix2='ossmix -d0 jack.int-speaker.mode pcm2'
alias vu='ossvol -i 4'
alias vd='ossvol -d 4'
alias upd='sudo updatedb'
alias abs='sudo abs'
alias reboot='sudo reboot'
alias poweroff='sudo poweroff'
alias su='su -'
alias ay='yaourt'
alias S='ay -S'
alias Ss='ay -Ss'
alias Si='ay -Si'
alias Sy='ay -Sy'
alias Syy='ay -Syy'
alias Syu='ay -Syu'
alias Q='ay -Q'
alias Qs='ay -Qs'
alias Qi='ay -Qi'
alias Ql='ay -Ql'
alias Qd='ay -Q --date'
alias R='ay -Rsn'
alias clean='yaourt -Qdt && yaourt -Scc'

extract() {
        if [ -f $1 ] ; then
                case $1 in
                        *.tar.bz2)      tar xvjf $1     ;;
                        *.tar.gz)       tar xvzf $1     ;;
                        *.bz2)          bunzip2 $1      ;;
                        *.gz)           gunzip $1       ;;
                        *.tar)          tar xvf $1      ;;
                        *.tbz2)         tar xvjf $1     ;;
                        *.tgz)          tar xvzf $1     ;;
                        *.rar)          unrar x $1      ;;
                        *.zip)          unzip $1        ;;
                        *.ace)          unace x $1      ;;
                        *.Z)            uncompress $1   ;;
                        *.7z)           7z x $1         ;;
                        *)              echo "don't know how to extract '$1'..." ;;
                esac
        else
                echo "'$1' is not a valid file."
        fi
}

setterm -blength 0

autoload colors zsh/terminfo
 if [[ "$terminfo[colors]" -ge 8 ]]; then
     colors
 fi
 for color in RED GREEN YELLOW BLUE MAGENTA CYAN WHITE GREY; do
     eval C_$color='%{$terminfo[bold]$fg[${(L)color}]%}'
     eval C_L_$color='%{$fg[${(L)color}]%}'
 done
 C_OFF="%{$terminfo[sgr0]%}"

 set_prompt() {
     mypath="$C_OFF$C_L_CYAN%~"
     myjobs=()
     for a (${(k)jobstates})
     {j=$jobstates[$a];i="${${(@s,:,)j}[2]}"
     myjobs+=($a${i//[^+-]/})}
     myjobs=${(j:,:)myjobs}
     ((MAXMID=$COLUMNS / 2))
     RPS1="$RPSL$C_L_GREEN%$MAXMID<...<$mypath$RPSR"
    rehash
 }

 if [ "$USER" = "root" ]; then
     PS1=$'$C_L_BLUE%~ %#% $C_OFF '
 else
     PS1=$'$C_L_BLUE%(1j.[$myjobs]% $C_OFF .$C_OFF)$C_OFF%m.$C_BLUE%B%n%b$C_OFF$C_L_RED%#$C_OFF '
 fi
 RPSL=$'$C_OFF'
 RPSR=$'$C_OFF$C_L_RED%(0?.$C_L_CYAN. (%?%))$C_OFF %*'
 RPS2='%^'

 precmd () {
    set_prompt
 }

Last edited by milomouse (2009-07-21 15:56:32)

Offline

#645 2009-09-20 23:27:51

q1jack
Member
From: /england/oxford/
Registered: 2009-09-17
Posts: 10

Re: June 2009 Screenshots

apologies sad

Last edited by q1jack (2009-09-21 00:17:23)

Offline

#646 2009-09-20 23:45:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: June 2009 Screenshots

q1jack:  That's a rather large thumbnail...
Posting guidelines: http://bbs.archlinux.org/viewtopic.php? … 53#p611053


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#647 2009-09-20 23:58:20

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: June 2009 Screenshots

Also, it's not June anymore.

Offline

Board footer

Powered by FluxBB