Updated for Pixel

This commit is contained in:
Amarpreet Minhas 2014-04-24 14:52:00 -04:00
parent b0b0bfd73f
commit b85f3c7285
4 changed files with 52 additions and 48 deletions

View file

@ -1,19 +1,20 @@
!-- Xft settings -- !
Xft.dpi: 96
Xft.dpi: 180
Xft.rgba: rgb
Xft.hinting: true
Xft.hintstyle: hintfull
Xft.antialiasing: false
! -- Fonts -- !
urxvt.font:xft:DejaVu Sans Mono:size=10
urxvt.boldfont:xft:DejaVu Sans Mono:size=10
urxvt.font:xft:DejaVu Sans Mono:size=8
urxvt.boldfont:xft:DejaVu Sans Mono:size=8
! -- URxvt settings -- !
urxvt*geometry: 80x30
!urxvt.font: 9x15
urxvt*background: #212629
!urxvt*background: #212629
urxvt*background: #000000
urxvt*foreground: #FFFFFF
urxvt*scrollBar: false
urxvt*matcher.button: 1

26
bashrc
View file

@ -41,32 +41,10 @@ alias l='ls -CF'
# Bash Prompt
PS1="\[\033[35m\]\t\[\033[m\]-\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[31;1m\]\w\[\033[m\]\$ "
# Export environmental variables
export EDITOR=vim
# Pacman/Yaourt
if command -v 'pacman' >/dev/null $$ [[ $?==0 ]]; then
alias install='sudo pacman -S '
alias fupdate='yaourt -Syyua --devel'
alias pacdate='sudo pacman -Syu'
alias search='yaourt -Ss '
alias paccache='paccache -rv'
alias remorphans='sudo pacman -Rs $(pacman -Qtdq)'
fi
# Debian
if command -v 'apt-get' >/dev/null && [[ $?==0 ]]; then
alias install='sudo apt-get install '
alias fupdate='sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade'
alias search='sudo apt-cache search '
fi
# RHEL
if command -v 'yum' >/dev/null && [[ $?==0 ]]; then
alias install='sudo yum install '
alias fupdate='sudo yum upgrade'
alias search='sudo yum search '
fi
export BROWSER=firefox
# IP

View file

@ -9,13 +9,13 @@
#
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
set $mod Mod4
set $mod Mod1
# Set customized workspace names
set $ws1 1: Terminals
set $ws2 2: Browser
set $ws3 3: Remote
set $ws4 4: Programming
set $ws3 3: Programming
set $ws4 4: Remote
set $ws5 5: Misc
set $ws6 6: Trash
set $ws9 9: Chat
@ -37,6 +37,12 @@ bindsym $mod+Shift+Q kill
# start dmenu (a program launcher)
bindsym $mod+p exec dmenu_run
# start firefox
bindsym $mod++Shift+f exec firefox
# start cmus
bindsym $mod+m exec music
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
@ -158,12 +164,28 @@ bindsym $mod+r mode "resize"
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
bar {
status_command i3status
status_command i3status -c /home/george/.i3status.conf
}
# Lock
bindsym $mod+F5 exec i3lock -n -c 000000 -i /home/george/.wallpaper
# F key commands
bindsym $mod+F6 exec xbacklight -dec 10
bindsym $mod+F7 exec xbacklight -inc 10
bindsym $mod+F8 exec amixer -c 0 set "HP/Speaker Auto Detect" toggle
bindsym $mod+F9 exec amixer -c 0 set PCM 5-
bindsym $mod+F10 exec amixer -c 0 set PCM 5+
# Application Workspace assignment
assign [class="Iceweasel"] $ws2
assign [class="Eclipse"] $ws4
assign [title="ssh"] $ws3
assign [class="Firefox"] $ws2
assign [title="ssh"] $ws4
assign [title="music"] $ws5
assign [class="Pidgin"] $ws9
# Load on start
exec xbacklight -set 20
exec feh --bg-fill '/home/george/.wallpaper'
exec nm-applet

View file

@ -1,29 +1,32 @@
general {
output_format = "i3bar"
colors = true
interval = 5
}
order += "disk /"
order += "disk /home/cont/"
order += "cpu_usage"
order = "load"
order = "time"
order += "volume master"
order += "battery 0"
order += "load"
order += "time"
time {
format = "%m/%d/%Y %H:%M:%S"
format = "%m/%d/%Y %H:%M:%S"
}
load {
format = "%1min %5min %15min"
}
disk "/" {
format = "%free"
}
disk "/home/cont/" {
format = "%free"
battery 0 {
format = "%percentage"
path = "/sys/class/power_supply/BAT%d/uevent"
low_threshold = 10
}
cpu_usage {
format = "%usage"
volume master {
format = "♪: %volume"
device = "default"
mixer = "PCM"
mixer_idx = 0
}