parent
2c5c17d695
commit
8105555b3d
@ -0,0 +1 @@
|
||||
*.un~
|
@ -0,0 +1,44 @@
|
||||
set nocompatible
|
||||
filetype off
|
||||
|
||||
" Vundle
|
||||
set rtp+=~/.vim/bundle/vundle/
|
||||
call vundle#rc()
|
||||
|
||||
" Indentation related
|
||||
set tabstop=4 " How many spaces for a tab
|
||||
set expandtab " Expand tab to spaces
|
||||
set shiftwidth=4
|
||||
set softtabstop=4
|
||||
set autoindent
|
||||
set smartindent
|
||||
|
||||
" View related
|
||||
set cursorline " Highlight cursor line
|
||||
set showmatch " Match brackets
|
||||
syntax on
|
||||
|
||||
" Search related
|
||||
set incsearch " Incremental search
|
||||
set hlsearch " Highlight search
|
||||
set ignorecase
|
||||
set smartcase " Ignore ignorecase when uppercase characters are present
|
||||
|
||||
" Navigation related
|
||||
set scrolloff=3 " Minimum number of lines to show below/above the cursor
|
||||
|
||||
" Shortcuts
|
||||
set pastetoggle=<F2>
|
||||
|
||||
|
||||
" Persistent undo
|
||||
set undofile
|
||||
set undolevels=1000
|
||||
set undoreload=1000
|
||||
|
||||
" Plugins
|
||||
Bundle 'gmarik/vundle'
|
||||
Bundle 'davidhalter/jedi-vim'
|
||||
Bundle 'pathogen.vim'
|
||||
|
||||
filetype plugin indent on
|
@ -0,0 +1,85 @@
|
||||
#!/bin/sh
|
||||
#eval "$(gpg-agent --daemon)"
|
||||
#urxvtd -q -o -f && urxvtc &
|
||||
#amixer -q set Headphone mute &
|
||||
#feh --bg-scale docs/multimedia/images/wallpapers/006.jpg &
|
||||
display -flop -backdrop -window root /home/hd215/Pictures/5WNZg.jpg
|
||||
#display -window root /home/hd215/Pictures/tYmM8.jpg
|
||||
#xsetroot -solid black
|
||||
#sleep 3 && firefox &
|
||||
|
||||
wifi(){
|
||||
STATUS="X`/sbin/iwgetid`"
|
||||
if test "$STATUS" != "X" ; then
|
||||
ESSID="`/sbin/iwgetid |awk -F ":" '{print $2}'|sed -e 's/"//g'`"
|
||||
LINK="`awk '/ra0:/ {print $3}' /proc/net/wireless |sed -e 's/\.//g'`"
|
||||
echo " $ESSID:$LINK"
|
||||
fi
|
||||
}
|
||||
|
||||
batt(){
|
||||
FULL=`cat /sys/class/power_supply/BAT0/charge_full`
|
||||
PRESENT=`cat /sys/class/power_supply/BAT0/present`
|
||||
CHARGE=`cat /sys/class/power_supply/BAT0/charge_now`
|
||||
STATUS=`cat /sys/class/power_supply/BAT0/status`
|
||||
if test "$PRESENT" != "0" ; then
|
||||
CHARGE=$((${CHARGE}*100/${FULL}))
|
||||
case $STATUS in
|
||||
Full)
|
||||
SIGN="=";;
|
||||
Charging)
|
||||
SIGN="+";;
|
||||
Discharging)
|
||||
SIGN="-";;
|
||||
esac
|
||||
if test "${CHARGE}" -lt "15" & "${SIGN}" = "-" ; then
|
||||
echo " LOW POWER ${CHARGE}${SIGN}"
|
||||
else
|
||||
echo " ${CHARGE}${SIGN}"
|
||||
fi
|
||||
else
|
||||
echo " AC"
|
||||
fi
|
||||
}
|
||||
|
||||
volume(){
|
||||
STATUS="`amixer get Master |awk '/Mono:/ {print $6}'`"
|
||||
if test "$STATUS" != "[on]" ; then
|
||||
echo " Mute"
|
||||
else
|
||||
echo " `/usr/bin/amixer get Master |awk '/Mono:/ {print $4}' | sed -e 's/\[//g'|sed -e 's/%\]//g'`v"
|
||||
fi
|
||||
}
|
||||
|
||||
cmusstats(){
|
||||
if test "X`pgrep cmus`" != "X" ; then
|
||||
TIME="`cmus-remote -Q |awk '/duration/ {print $2}'`"
|
||||
CURR="`cmus-remote -Q |awk '/position/ {print $2}'`"
|
||||
ARTIST="`cmus-remote -Q |sed -ne '/artist/s/tag artist //pg'`"
|
||||
TITLE="`cmus-remote -Q |sed -ne '/title/s/tag title //pg'`"
|
||||
echo "$TITLE ($ARTIST) $CURR/$TIME"
|
||||
fi
|
||||
}
|
||||
|
||||
while true; do
|
||||
xsetroot -name "`cmusstats``wifi``volume``batt` `date '+%a %Y%m%d %H:%M'`"
|
||||
sleep 1
|
||||
done &
|
||||
#export XDG_MENU_PREFIX=gnome-
|
||||
|
||||
|
||||
#exec ck-launch-session gnome-session
|
||||
#exec ck-launch-session dwm
|
||||
#exec gnome-session
|
||||
#exec dwm
|
||||
exec ck-launch-session bash -c "dbus-launch & pulseaudio --start & dwm"
|
||||
|
||||
#while true; do
|
||||
# Log stderror to a file
|
||||
# ck-launch-session bash -c "dbus-launch & pulseaudio --start & dwm 2> ~/.dwm.log"
|
||||
#dwm 2> ~/.dwm.log
|
||||
# no error logging
|
||||
#dwm >/dev/null 2> &1
|
||||
#done
|
||||
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Path to your oh-my-zsh configuration.
|
||||
ZSH=$HOME/.oh-my-zsh
|
||||
|
||||
# Set name of the theme to load.
|
||||
# Look in ~/.oh-my-zsh/themes/
|
||||
# Optionally, if you set this to "random", it'll load a random theme each
|
||||
# time that oh-my-zsh is loaded.
|
||||
ZSH_THEME="gentoo"
|
||||
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
#alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
alias sprunge="curl -F 'sprunge=<-' http://sprunge.us"
|
||||
|
||||
# Set to this to use case-sensitive completion
|
||||
# CASE_SENSITIVE="true"
|
||||
|
||||
# Comment this out to disable weekly auto-update checks
|
||||
# DISABLE_AUTO_UPDATE="true"
|
||||
|
||||
# Uncomment following line if you want to disable colors in ls
|
||||
# DISABLE_LS_COLORS="true"
|
||||
|
||||
# Uncomment following line if you want to disable autosetting terminal title.
|
||||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment following line if you want red dots to be displayed while waiting for completion
|
||||
COMPLETION_WAITING_DOTS="true"
|
||||
#echo "+++++++"
|
||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
plugins=(git)
|
||||
#echo "PLUG"
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
#echo "SOURVE"
|
||||
|
||||
# Customize to your needs...
|
||||
export PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.5.3:/usr/games/bin:~/bin
|
||||
#echo "EXPORT"
|
||||
|
||||
autoload -U compinit promptinit
|
||||
compinit
|
||||
promptinit; prompt gentoo
|
||||
zstyle ':completion::complete:*' use-cache 1
|
@ -0,0 +1,60 @@
|
||||
# i3status configuration file.
|
||||
# see "man i3status" for documentation.
|
||||
|
||||
# It is important that this file is edited as UTF-8.
|
||||
# The following line should contain a sharp s:
|
||||
# ß
|
||||
# If the above line is not correctly displayed, fix your editor first!
|
||||
|
||||
general {
|
||||
colors = true
|
||||
interval = 5
|
||||
}
|
||||
|
||||
order += "ipv6"
|
||||
order += "disk /"
|
||||
order += "run_watch DHCP"
|
||||
order += "run_watch VPN"
|
||||
order += "ethernet eth0"
|
||||
order += "load"
|
||||
order += "cpu_temperature 0"
|
||||
order += "tztime local"
|
||||
order += "tztime utc"
|
||||
|
||||
ethernet eth0 {
|
||||
# if you use %speed, i3status requires root privileges
|
||||
format_up = "E: %ip (%speed)"
|
||||
format_down = "E: down"
|
||||
}
|
||||
|
||||
battery 0 {
|
||||
format = "%status %percentage %remaining"
|
||||
}
|
||||
|
||||
run_watch DHCP {
|
||||
pidfile = "/var/run/dhclient*.pid"
|
||||
}
|
||||
|
||||
run_watch VPN {
|
||||
pidfile = "/var/run/vpnc/pid"
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = "%m-%d %H:%M"
|
||||
}
|
||||
tztime utc {
|
||||
format = "UTC: %m-%d %H:%M"
|
||||
timezone = "Etc/UTC"
|
||||
}
|
||||
|
||||
load {
|
||||
format = "%1min"
|
||||
}
|
||||
cpu_temperature 0 {
|
||||
format = "T: %degrees °C"
|
||||
path = "/sys/devices/platform/coretemp.0/temp2_input"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "%avail"
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
# Personalized!
|
||||
|
||||
# Grab the current date (%D) and time (%T) wrapped in {}: {%D %T}
|
||||
CYNO_CURRENT_TIME_="%{$fg[white]%}{%{$fg[yellow]%}%D %T%{$fg[white]%}}%{$reset_color%}"
|
||||
# Grab the current machine name: muscato
|
||||
CYNO_CURRENT_MACH_="%{$fg[green]%}%m%{$fg[white]%}:%{$reset_color%}"
|
||||
# Grab the current filepath, use shortcuts: ~/Desktop
|
||||
# Append the current git branch, if in a git repository: ~aw@master
|
||||
CYNO_CURRENT_LOCA_="%{$fg[cyan]%}%~\$(git_prompt_info)%{$reset_color%}\$(parse_git_dirty)"
|
||||
# Grab the current username: dallas
|
||||
CYNO_CURRENT_USER_="%{$fg[red]%}%n%{$reset_color%}"
|
||||
# Use a % for normal users and a # for privelaged (root) users.
|
||||
CYNO_PROMPT_CHAR_="%{$fg[white]%}%(!.#.%%)%{$reset_color%}"
|
||||
# For the git prompt, use a white @ and blue text for the branch name
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[white]%}@%{$fg[blue]%}"
|
||||
# Close it all off by resetting the color and styles.
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||
# Do nothing if the branch is clean (no changes).
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||
# Add 3 cyan ✗s if this branch is diiirrrty! Dirty branch!
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[cyan]%}✗✗✗"
|
||||
# Add if you are connecting over a ssh connection.
|
||||
function ssh_connection() {
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
echo "%{$fg_bold[red]%}[ssh] "
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
# Put it all together!
|
||||
PROMPT="$(ssh_connection)$CYNO_CURRENT_TIME_$CYNO_CURRENT_MACH_$CYNO_CURRENT_LOCA_ $CYNO_CURRENT_USER_$CYNO_PROMPT_CHAR_ "
|
||||
|
@ -0,0 +1,8 @@
|
||||
## Packages
|
||||
##### are items which must be:
|
||||
|
||||
- .sym
|
||||
- Symlinked to `~/.<item>`
|
||||
|
||||
- folder
|
||||
- contains certain files for different programs
|
@ -0,0 +1,36 @@
|
||||
"*":
|
||||
"exception-reporting":
|
||||
userId: "a3820364-eb1c-681b-cd19-859acd548fec"
|
||||
welcome:
|
||||
showOnStartup: false
|
||||
metrics:
|
||||
userId: "74136f1fe4b0335530c974b5b023d143f913e8ad"
|
||||
editor:
|
||||
invisibles: {}
|
||||
"vim-mode":
|
||||
startInInsertMode: true
|
||||
core:
|
||||
disabledPackages: [
|
||||
"linter-flake8"
|
||||
]
|
||||
"python-jedi": {}
|
||||
"linter-pylama": {}
|
||||
"autocomplete-jedi":
|
||||
includeCompletionsFromAllBuffers: true
|
||||
"atom-beautify":
|
||||
_analyticsUserId: "972ecc46-5e2b-4b45-96c3-94c23ccbac26"
|
||||
"linter-flake8":
|
||||
executableDir: "/usr/local/bin/"
|
||||
pep8:
|
||||
PEP8Path: "/usr/local/bin/pep8"
|
||||
ignoreErrors: [
|
||||
"E501"
|
||||
]
|
||||
"linter-python-pep8":
|
||||
pep8DirToExecutable: "/usr/local/bin/"
|
||||
ignoreErrorCodes: "E501"
|
||||
linter:
|
||||
subtleLinterErrors: [
|
||||
"shellcheck"
|
||||
]
|
||||
"linter-shellcheck": {}
|
@ -0,0 +1,31 @@
|
||||
# These settings were set by the catalyst build script that automatically
|
||||
# built this stage.
|
||||
# Please consult /usr/share/portage/config/make.conf.example for a more
|
||||
# detailed example.
|
||||
CFLAGS="-O2 -pipe"
|
||||
CXXFLAGS="${CFLAGS}"
|
||||
# WARNING: Changing your CHOST is not something that should be done lightly.
|
||||
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
|
||||
CHOST="x86_64-pc-linux-gnu"
|
||||
# These are the USE flags that were used in addition to what is provided by the
|
||||
# profile used for building.
|
||||
GNOME="-kde X qt4 dbus gtk gnome xvmc xinerama gnome-keyring"
|
||||
SYSTEMS="symlink ftp mmx mmxext sse sse2 sse3 ssse3 samba python udev threads xine"
|
||||
CRYPT="crypt"
|
||||
IMAGE="png gif jpeg pdf"
|
||||
VID="mp4 x264 xvid id3tag libnotify taglib matroska dts dvd"
|
||||
AUDIO="flac ogg twolame vorbis acc alsa"
|
||||
RND="apm acpi atm lm_sensors "
|
||||
NETWORK="sockets socks5 abyss"
|
||||
TEMPVARS="-colord savedconfig -graphicsmagick -qt3support -truetype -exif"
|
||||
DEV="nginx php fpm"
|
||||
|
||||
USE="${GNOME} ${SYSTEMS} ${CRYPT} ${IMAGE} ${VID} ${AUDIO} ${RND} ${NETWORK} ${TEMPVARS} ${DEV}"
|
||||
|
||||
VIDEO_CARDS="nvidia"
|
||||
|
||||
MAKEOPTS="-j9"
|
||||
ACCEPT_KEYWORDS="~amd64"
|
||||
|
||||
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo ftp://ftp.swin.edu.au/gentoo"
|
||||
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
|
@ -0,0 +1,33 @@
|
||||
# These settings were set by the catalyst build script that automatically
|
||||
# built this stage.
|
||||
# Please consult /usr/share/portage/config/make.conf.example for a more
|
||||
# detailed example.
|
||||
CFLAGS="-O2 -pipe"
|
||||
CXXFLAGS="${CFLAGS}"
|
||||
# WARNING: Changing your CHOST is not something that should be done lightly.
|
||||
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
|
||||
CHOST="x86_64-pc-linux-gnu"
|
||||
# These are the USE flags that were used in addition to what is provided by the
|
||||
# profile used for building.
|
||||
GNOME="-kde X qt4 dbus gtk gnome xvmc xinerama gnome-keyring"
|
||||
SYSTEMS="symlink ftp mmx mmxext sse sse2 sse3 ssse3 samba python udev xine"
|
||||
CRYPT="crypt"
|
||||
IMAGE="png gif jpeg pdf"
|
||||
VID="mp4 x264 xvid id3tag libnotify taglib matroska dts dvd"
|
||||
AUDIO="flac ogg twolame vorbis acc pulseaudio"
|
||||
RND="apm acpi atm lm_sensors "
|
||||
NETWORK="sockets socks5 abyss"
|
||||
TEMPVARS="-colord savedconfig -graphicsmagick -qt3support -exif"
|
||||
DEV="nginx php fpm"
|
||||
CONSOLE="zsh-completion fish-completion vim-syntax"
|
||||
|
||||
USE="${GNOME} ${SYSTEMS} ${CRYPT} ${IMAGE} ${VID} ${AUDIO} ${RND} ${NETWORK} ${TEMPVARS} ${DEV} ${CONSOLE} ${VIRTUALISATION}"
|
||||
VIDEO_CARDS="nvidia"
|
||||
LINGUAS="en_GB en"
|
||||
MAKEOPTS="-j7"
|
||||
|
||||
# We dont want a testing environment
|
||||
#ACCEPT_KEYWORDS="~amd64"
|
||||
|
||||
# Layman
|
||||
source /var/lib/layman/make.conf
|
@ -0,0 +1,69 @@
|
||||
set nocompatible
|
||||
filetype off
|
||||
|
||||
" Vundle
|
||||
set rtp+=~/.vim/bundle/vundle/
|
||||
call vundle#rc()
|
||||
|
||||
" Indentation related
|
||||
set tabstop=4 " How many spaces for a tab
|
||||
set expandtab " Expand tab to spaces
|
||||
set shiftwidth=4
|
||||
set softtabstop=4
|
||||
set autoindent
|
||||
set smartindent
|
||||
|
||||
" View related
|
||||
set cursorline " Highlight cursor line
|
||||
set showmatch " Match brackets
|
||||
syntax on
|
||||
|
||||
" Search related
|
||||
set incsearch " Incremental search
|
||||
set hlsearch " Highlight search
|
||||
set ignorecase
|
||||
set smartcase " Ignore ignorecase when uppercase characters are present
|
||||
|
||||
" Navigation related
|
||||
set scrolloff=3 " Minimum number of lines to show below/above the cursor
|
||||
|
||||
" Shortcuts
|
||||
set pastetoggle=<F2>
|
||||
|
||||
" Persistent undo
|
||||
if isdirectory($HOME . '/.vim/undo') == 0
|
||||
:silent !mkdir -p ~/.vim/undo > /dev/null 2>&1
|
||||
endif
|
||||
set undodir-=.
|
||||
set undodir+=~/.vim/undo//
|
||||
set undofile
|
||||
set undolevels=1000
|
||||
set undoreload=1000
|
||||
|
||||
" Set Backup
|
||||
if isdirectory($HOME . '/.vim/backup') == 0
|
||||
:silent !mkdir -p ~/.vim/backup >/dev/null 2>&1
|
||||
endif
|
||||
set backupdir-=.
|
||||
set backupdir+=.
|
||||
set backupdir-=~/
|
||||
set backupdir^=~/.vim/backup//
|
||||
set backup
|
||||
|
||||
" Set Swapfile
|
||||
if isdirectory($HOME . '/.vim/swap') == 0
|
||||
:silent !mkdir -p ~/.vim/swap >/dev/null 2>&1
|
||||
endif
|
||||
set directory-=.
|
||||
set directory^=~/.vim/swap//
|
||||
set directory+=.
|
||||
|
||||
" viminfo stores the the state of your previous editing session
|
||||
set viminfo+=n~/.vim/viminfo
|
||||
|
||||
" Plugins
|
||||
Bundle 'gmarik/vundle'
|
||||
Bundle 'davidhalter/jedi-vim'
|
||||
"Bundle 'pathogen.vim'
|
||||
|
||||
filetype plugin indent on
|
@ -0,0 +1,85 @@
|
||||
#!/bin/sh
|
||||
#eval "$(gpg-agent --daemon)"
|
||||
#urxvtd -q -o -f && urxvtc &
|
||||
#amixer -q set Headphone mute &
|
||||
#feh --bg-scale docs/multimedia/images/wallpapers/006.jpg &
|
||||
display -flop -backdrop -window root /home/hd215/Pictures/5WNZg.jpg
|
||||
#display -window root /home/hd215/Pictures/tYmM8.jpg
|
||||
#xsetroot -solid black
|
||||
#sleep 3 && firefox &
|
||||
|
||||
wifi(){
|
||||
STATUS="X`/sbin/iwgetid`"
|
||||
if test "$STATUS" != "X" ; then
|
||||
ESSID="`/sbin/iwgetid |awk -F ":" '{print $2}'|sed -e 's/"//g'`"
|
||||
LINK="`awk '/ra0:/ {print $3}' /proc/net/wireless |sed -e 's/\.//g'`"
|
||||
echo " $ESSID:$LINK"
|
||||
fi
|
||||
}
|
||||
|
||||
batt(){
|
||||
FULL=`cat /sys/class/power_supply/BAT0/charge_full`
|
||||
PRESENT=`cat /sys/class/power_supply/BAT0/present`
|
||||
CHARGE=`cat /sys/class/power_supply/BAT0/charge_now`
|
||||
STATUS=`cat /sys/class/power_supply/BAT0/status`
|
||||
if test "$PRESENT" != "0" ; then
|
||||
CHARGE=$((${CHARGE}*100/${FULL}))
|
||||
case $STATUS in
|
||||
Full)
|
||||
SIGN="=";;
|
||||
Charging)
|
||||
SIGN="+";;
|
||||
Discharging)
|
||||
SIGN="-";;
|
||||
esac
|
||||
if test "${CHARGE}" -lt "15" & "${SIGN}" = "-" ; then
|
||||
echo " LOW POWER ${CHARGE}${SIGN}"
|
||||
else
|
||||
echo " ${CHARGE}${SIGN}"
|
||||
fi
|
||||
else
|
||||
echo " AC"
|
||||
fi
|
||||
}
|
||||
|
||||
volume(){
|
||||
STATUS="`amixer get Master |awk '/Mono:/ {print $6}'`"
|
||||
if test "$STATUS" != "[on]" ; then
|
||||
echo " Mute"
|
||||
else
|
||||
echo " `/usr/bin/amixer get Master |awk '/Mono:/ {print $4}' | sed -e 's/\[//g'|sed -e 's/%\]//g'`v"
|
||||
fi
|
||||
}
|
||||
|
||||
cmusstats(){
|
||||
if test "X`pgrep cmus`" != "X" ; then
|
||||
TIME="`cmus-remote -Q |awk '/duration/ {print $2}'`"
|
||||
CURR="`cmus-remote -Q |awk '/position/ {print $2}'`"
|
||||
ARTIST="`cmus-remote -Q |sed -ne '/artist/s/tag artist //pg'`"
|
||||
TITLE="`cmus-remote -Q |sed -ne '/title/s/tag title //pg'`"
|
||||
echo "$TITLE ($ARTIST) $CURR/$TIME"
|
||||
fi
|
||||
}
|
||||
|
||||
while true; do
|
||||
xsetroot -name "`cmusstats``wifi``volume``batt` `date '+%a %Y%m%d %H:%M'`"
|
||||
sleep 1
|
||||
done &
|
||||
#export XDG_MENU_PREFIX=gnome-
|
||||
|
||||
|
||||
#exec ck-launch-session gnome-session
|
||||
#exec ck-launch-session dwm
|
||||
#exec gnome-session
|
||||
#exec dwm
|
||||
exec ck-launch-session bash -c "dbus-launch & pulseaudio --start & dwm"
|
||||
|
||||
#while true; do
|
||||
# Log stderror to a file
|
||||
# ck-launch-session bash -c "dbus-launch & pulseaudio --start & dwm 2> ~/.dwm.log"
|
||||
#dwm 2> ~/.dwm.log
|
||||
# no error logging
|
||||
#dwm >/dev/null 2> &1
|
||||
#done
|
||||
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Path to your oh-my-zsh configuration.
|
||||
ZSH=$HOME/.oh-my-zsh
|
||||
GAM=$HOME/Documents/Repos/GAM
|
||||
|
||||
# Set name of the theme to load.
|
||||
# Look in ~/.oh-my-zsh/themes/
|
||||
# Optionally, if you set this to "random", it'll load a random theme each
|
||||
# time that oh-my-zsh is loaded.
|
||||
ZSH_THEME="cyno"
|
||||
|
||||
SAVEHIST=1000000
|
||||
|
||||
# Google Apps
|
||||
alias gam="python $GAM/gam.py"
|
||||
eval "$(hub alias -s)"
|
||||
|
||||
umask 022
|
||||
# Uncomment following line if you want to disable autosetting terminal title. (Useful for screen!)
|
||||
#DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment following line if you want red dots to be displayed while waiting for completion
|
||||
COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
plugins=(sprunge apt bower cap common-aliases urltools wd Pass sudo python pip npm git-extras encode64 zsh-completions)
|
||||
|
||||
setopt extendedglob
|
||||
setopt autocd
|
||||
setopt hist_ignore_all_dups
|
||||
#setopt correctall
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# Customize PATH
|
||||
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/opt/bin
|
||||
# RVM
|
||||
[ -d /usr/local/rvm/bin ] && PATH=$PATH:/usr/local/rvm/bin
|
||||
# Games
|
||||
[ -d /usr/games/bin ] && PATH=$PATH:/usr/games:/usr/games/bin
|
||||
# Local Bin
|
||||
[ -d $HOME/bin ]; PATH=$PATH:~/bin
|
||||
# Export for the Environment
|
||||
export PATH=$PATH
|
||||
|
||||
zstyle ':completion::complete:*' use-cache 1
|
||||
alias lefty='xmodmap -e "pointer = 3 2 1"'
|
||||
alias righty='xmodmap -e "pointer = 1 2 3"'
|
||||
alias leftscreen='xrandr --output DVI-I-2 --auto --left-of DVI-I-1'
|
||||
alias sound="pavucontrol"
|
||||
|
||||
autoload -U compinit promptinit
|
||||
compinit
|
||||
|
Loading…
Reference in new issue