You are not logged in.
valvet wrote:Oh, wrong paste thingie then.. one sec. Your paste can be seen here: http://pastebin.ca/1979725
Could you share your vim colorscheme?
http://github.com/milomouse/dotfiles/tr … im/colors/ cottonmouse :-). Beautiful.
Offline
saline wrote:valvet wrote:Oh, wrong paste thingie then.. one sec. Your paste can be seen here: http://pastebin.ca/1979725
Could you share your vim colorscheme?
http://github.com/milomouse/dotfiles/tr … im/colors/ cottonmouse :-). Beautiful.
It is beautiful. Thank you!
Offline
Dirty:
..
First image is linking wrong.. should probably be http://hax0r.se/files/img/screenshots/2 … -scrot.png instead of 2219 :-). Looks good tho!
Offline
Oh, wrong paste thingie then.. one sec. Your paste can be seen here: http://pastebin.ca/1979725
Can you provide your bashrc?
Offline
dunz0r wrote:Dirty:
..First image is linking wrong.. should probably be http://hax0r.se/files/img/screenshots/2 … -scrot.png instead of 2219 :-). Looks good tho!
Thanks, fixed it
RTFM or GTFO
hax0r.se
Offline
valvet wrote:Oh, wrong paste thingie then.. one sec. Your paste can be seen here: http://pastebin.ca/1979725
Can you provide your bashrc?
bashrc
# check for an interactive session
[ -z "$PS1" ] && return
# startx when logging into tty1
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
. startx
logout
fi
shopt -s cdable_vars # if cd arg is not valid, assumes its a var defining a dir
shopt -s cdspell # autocorrects cd misspellings
shopt -s checkwinsize # update the value of LINES and COLUMNS after each command if altered
shopt -s cmdhist # save multi-line commands in history as single line
shopt -s dotglob # include dotfiles in pathname expansion
shopt -s expand_aliases # expand aliases
shopt -s extglob # enable extended pattern-matching features
shopt -s histappend # append to (not overwrite) the history file
shopt -s hostcomplete # attempt hostname expansion when @ is at the beginning of a word
shopt -s nocaseglob # pathname expansion will be treated as case-insensitive
shopt -s no_empty_cmd_completion # ???
shopt -u promptvars # ???
export LC_COLLATE="en_DK.utf8"
HISTIGNORE='\&:fg:bg:ls:pwd:cd ..:cd ~-:cd -:cd:jobs:set -x:ls -l:ls -l'
HISTIGNORE=${HISTIGNORE}':%1:%2:shutdown*'
export HISTIGNORE
# prompt
PS1='\u@\h \w> \a'
# show [SH] when entering shell in VIM
if [ $VIM ]; then
export PS1='[SH] \u@\h \w> \a'
fi
# exports
export HISTCONTROL=ignoredups
export HISTCONTROL=ignoreboth
export GREP_COLOR="0;32"
export MOZ_DISABLE_PANGO=1
export PATH=$PATH:/home/michael/bin
export OOO_FORCE_DESKTOP=gnome
export BROWSER="chromium '%s' &"
if [ -n "$SSH_CONNECTION" ] && [ -z "$SCREEN_EXIST" ]; then
export SCREEN_EXIST=1
screen -DR
fi
# load aliases
if [ -f .bash_aliases ]; then
. .bash_aliases
fi
# check the window size after each command and, if necessary
# update the values of LINES and COLUMNS
shopt -s checkwinsize
# creates an archive from given directory
mktar() { tar cvf "${1%%/}.tar" "${1%%/}/"; }
mktgz() { tar cvzf "${1%%/}.tar.gz" "${1%%/}/"; }
mktbz() { tar cvjf "${1%%/}.tar.bz2" "${1%%/}/"; }
start() { sudo /etc/rc.d/$1 start; }
stop() { sudo /etc/rc.d/$1 stop; }
restart() { sudo /etc/rc.d/$1 restart; }
# calculate
calc() {
echo "$*" | bc;
}
# google define
function define() {
local LNG=$(echo $LANG | cut -d '_' -f 1)
local CHARSET=$(echo $LANG | cut -d '.' -f 2)
lynx -accept_all_cookies -dump -hiddenlinks=ignore -nonumbers -assume_charset="$CHARSET" -display_charset="$CHARSET" "http://www.google.com/search?hl=${LNG}&q=define%3A+${1}&btnG=Google+Search" | grep -m 5 -C 2 -A 5 -w "*" > /tmp/deleteme
if [ ! -s /tmp/deleteme ]; then
echo "Sorry, google doesn't know this one..."
else
cat /tmp/deleteme | grep -v Search
echo ""
fi
rm -f /tmp/deleteme
}
# http://wiki.archlinux.org/index.php/Core_Utilities
ext() {
local e=0 i c
for i; do
if [[ -f $i && -r $i ]]; then
c=''
case $i in
*.t@(gz|lz|xz|b@(2|z?(2))|a@(z|r?(.@(Z|bz?(2)|gz|lzma|xz)))))
c='bsdtar xvf' ;;
*.7z) c='7z x' ;;
*.Z) c='uncompress' ;;
*.bz2) c='bunzip2' ;;
*.exe) c='cabextract' ;;
*.gz) c='gunzip' ;;
*.rar) c='unrar x' ;;
*.xz) c='unxz' ;;
*.zip) c='unzip' ;;
*) echo "$0: cannot extract \`$i': Unrecognized file extension" >&2; e=1 ;;
esac
[[ $c ]] && command $c "$i"
else
echo "$0: cannot extract \`$i': File is unreadable" >&2; e=2
fi
done
return $e
}
bash_aliases
# aliases
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias todo='vim ~/todo'
alias cmds='vim ~/commands'
alias rbik='vim ~/rubiks'
alias reboot='sudo reboot'
alias shutdown='sudo shutdown -h now'
alias pacman='sudo pacman'
alias xm='vim ~/.xmonad/xmonad.hs'
alias bp='echo -e "\a"'
alias im='vim'
alias ls='ls --color=auto'
alias ll='ls -l'
alias la='ls -A'
alias cp='cp -i'
alias mv='mv -i'
alias rm='rm -i'
alias mkdir='mkdir -p -v'
alias df='df -h'
alias du='du -h -c'
alias myip='wget http://checkip.dyndns.org/ -O - -o /dev/null | cut -d: -f 2 | cut -d\< -f 1'
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fixres='xrandr --size 1280x800'
alias xp='xprop | grep "WM_WINDOW_ROLE\|WM_CLASS" && echo "WM_CLASS(STRING) = \"NAME\", \"CLASS\""' # get xprop CLASS and NAME
alias rc='sudo vim /etc/rc.conf'
# par2 repair
alias repair='par2 r *.par2'
# sudo won't recognize aliases without this
alias sudo='sudo '
alias mkpasswd='makepasswd -minchars 8'
alias updatefonts='sudo fc-cache -vf'
alias pacup='sudo pacman -Syu'
# screen irssi
alias irssi='screen irssi'
# newsgroups
alias nzbs='mv /home/michael/downloads/*.nzb /home/michael/newsgroups/nzb;echo Done.'
# suspend - without -f it takes ages to resume.. weird, FIXME
alias suspend='sudo s2ram -f'
Offline
[edit] Sorry about that , I checked the filesize but not the resolution the first time.
Last edited by ctruett (2010-11-03 21:19:50)
Supergirl: But fortunately I printed out everything I could find, not just the beginner's guide.
Supergirl: I printed out internet.
Offline
Lots of great screenshots so far this month.. at work right now so I can't really post much.
I'll try and get some configs up when I get home. I have some temperature issues I can't work out.. and also, my xmonad "ScartchPad" doesn't inherit Xdefaults settings, so urxvt shows up as a xterm-like-colored-terminal, weird. TODO.
@valet: I had to assign my own values for scratchpad when I use XMonad.
-- <scratchpad>
manageScratchPad :: ManageHook
manageScratchPad = scratchpadManageHook (W.RationalRect (1/6) (1/4) (2/3) (2/5))
scratchPad = scratchpadSpawnActionCustom $ -- make sure to indent the next line:
"urxvt -name scratchpad +sb -fn '-*-fixed-medium-r-normal-*-9-*-*-*-*-*' -e tmux -f $XDG_CONFIG_DIR/tmux/tmux.conf -L sp new-session 'vim ~/othe/.TODO_now ; zsh'"
Not sure if that will help. I thought it was strange how it wasn't inherited either.
P.S. Glad you like the vim theme! It's nice to know I'm not the only one who uses it.
Offline
Hi all.
My first post at the archlinux forums, thought I might start off with a screenshot of my FVWM desktop.
The wallpaper 'BlueStreak' is made by relhom over at deviantart.com
gtk-icon-theme-name = "LaGaDesk-BlueNight"
gtk-theme-name = "Blue-Joy"
Xcursor.theme: aero-drop
I got the FVWM menu from the 'Lethe'-theme over at box-look.org
I don't remember where I got the window decorations, but I think I got them from a metacity theme somewhere.
A simple conky-setup and the systemtray is tint2
Offline
Lots of great screenshots so far this month.. at work right now so I can't really post much.
valvet wrote:I'll try and get some configs up when I get home. I have some temperature issues I can't work out.. and also, my xmonad "ScartchPad" doesn't inherit Xdefaults settings, so urxvt shows up as a xterm-like-colored-terminal, weird. TODO.
@valet: I had to assign my own values for scratchpad when I use XMonad.
-- <scratchpad> manageScratchPad :: ManageHook manageScratchPad = scratchpadManageHook (W.RationalRect (1/6) (1/4) (2/3) (2/5)) scratchPad = scratchpadSpawnActionCustom $ -- make sure to indent the next line: "urxvt -name scratchpad +sb -fn '-*-fixed-medium-r-normal-*-9-*-*-*-*-*' -e tmux -f $XDG_CONFIG_DIR/tmux/tmux.conf -L sp new-session 'vim ~/othe/.TODO_now ; zsh'"
Not sure if that will help. I thought it was strange how it wasn't inherited either.
P.S. Glad you like the vim theme! It's nice to know I'm not the only one who uses it.
That would work also, but I actually figured it out last night.. check: https://bbs.archlinux.org/viewtopic.php?id=107683 - it was because ScratchPad named the window "scratchpad" (I guess so it can find it again), and all my definitions in Xdefaults was named urxvt* (lowercase, using the name of the client), so changing them to URxvt (className) fixed it.
Offline
Hi all.
....
Hello and welcome! )
Quite a neat work with porting metacity theme to fvwm. %)
I think pseudo transparency and the menu pixmap don't fit in, though. Something simplier wold be better.
Offline
That would work also, but I actually figured it out last night.. check: https://bbs.archlinux.org/viewtopic.php?id=107683 - it was because ScratchPad named the window "scratchpad" (I guess so it can find it again), and all my definitions in Xdefaults was named urxvt* (lowercase, using the name of the client), so changing them to URxvt (className) fixed it.
Would you mind posting your xmonad.hs and dzen configs? Thanks in advance.
Offline
NeoCrysis wrote:Hi all.
....Hello and welcome! )
Quite a neat work with porting metacity theme to fvwm. %)
I think pseudo transparency and the menu pixmap don't fit in, though. Something simplier wold be better.
Thank you :-)
I turned off the transparency, but I've gotten kind of used to it, so.. we'll see
Maybe I'll take another look at the menu as well.
Appreciate the feedback.
Offline
Offline
Erusfont, now on your ttys!
I'm french, don't mind my mistakes in english.
Offline
Erusfont, now on your ttys!
That's pretty neat :-)
Offline
@Erus_Iluvatar: Is the colorful top part your /etc/issue? If so, may I see the source? :}
Offline
Yep, /etc/issue here : http://ompldr.org/vNW9yaw
I'm french, don't mind my mistakes in english.
Offline
Valvet, I see you have a usenet checker, but I couldn't find the code for that on your github page. Could you please post that? Thanks!
Offline
Offline
Valvet, I see you have a usenet checker, but I couldn't find the code for that on your github page. Could you please post that? Thanks!
I don't have a github page tho.. well I do, but nothing's there yet hehe.
Really it's just newsbeuter running in the background, updating RSS feeds from nzbs.org - newsbeuter has a setting that will allow you to exec something whenever there's new posts. So I do like this (probably other smart ways):
.newsbeuter/config
michael@swamp ~> cat .newsbeuter/config
max-items 100
browser chromium
show-read-feeds yes
auto-reload yes
reload-time 60 # 5 minutes
notify-always yes
notify-format "%n"
notify-program "/home/michael/dev/newsbeuter/notify.sh"
ignore-article "*" "title =~ \"1080p\"" # I can't play 1080p on this laptop anyway.. ignore articles
notify.sh
michael@swamp ~> cat dev/newsbeuter/notify.sh
#!/bin/bash
`echo "$1" > $HOME/.newsbeuter_pipe`
That'll create the .newsbeuter_pipe thingie..
Then I do, in dzen:
nzbs() {
tail=`cat $HOME/.newsbeuter_pipe`
if [ $tail == "0" ];
then
echo -n "^fg($MYCOLORBLUE)^i($ICONPATH/info_03.xbm)^fg($MYCOLORWHITE) usenet has no new releases"
else
echo -n "^fg($MYCOLORBLUE)^i($ICONPATH/info_03.xbm)^fg($MYCOLORWHITE) usenet has ^fg($MYCOLORYELLOW)$(echo $tail) ^fg($MYCOLORWHITE)new releases"
fi
}
That's it.
And then i xmonad I just spawn a small window, on a key.. it'll look like this:
Last edited by valvet (2010-11-04 19:42:45)
Offline