Updated i3 a bit

This commit is contained in:
2015-04-01 12:01:26 -04:00
parent c491f0fea7
commit a957537ab5
3 changed files with 31 additions and 19 deletions

View File

@@ -8,7 +8,8 @@ export EDITOR=vim
export CLICOLOR=1 export CLICOLOR=1
export LSCOLORS=DxGxcxdxCxegedabagacad export LSCOLORS=DxGxcxdxCxegedabagacad
export TERM=xterm-256color #256 color support export TERM=xterm-256color #256 color support
PS1="\n\[\033[32m\][\w]\[\033[0m\]\n\[\033[1;36m\]\u\[\033[1;33m\]\$ \[\033[0m\]" export LESSOPEN='|/usr/local/bin/lesspipe.sh %s'
PS1="\n╭\[\033[32m\][\w]\[\033[0m\]\n╰\[\033[1;36m\]\u\[\033[1;33m\]\$ \[\033[0m\]"
export XLISPPATH=/nyquist/lib:/nyquist/runtime export XLISPPATH=/nyquist/lib:/nyquist/runtime

View File

@@ -1,14 +1,18 @@
general { general {
colors = true colors = true
interval = 5 interval = 5
output_format = "i3bar"
} }
order += "mpd_status"
order += "disk /" order += "disk /"
order += "disk /home" order += "disk /home"
order += "disk /home/amgutier/big"
order += "wireless wlan0" order += "wireless wlan0"
order += "ethernet eth0" order += "ethernet eth0"
order += "battery 0" order += "battery 0"
order += "load" order += "load"
order += "weather_yahoo"
order += "time" order += "time"
wireless wlan0 { wireless wlan0 {
@@ -27,14 +31,6 @@ battery 0 {
format = "%status %percentage %remaining" format = "%status %percentage %remaining"
} }
run_watch DHCP {
pidfile = "/var/run/dhclient*.pid"
}
run_watch VPN {
pidfile = "/var/run/vpnc/pid"
}
time { time {
format = "%m/%d/%Y %H:%M:%S" format = "%m/%d/%Y %H:%M:%S"
} }
@@ -44,9 +40,24 @@ load {
} }
disk "/" { disk "/" {
format = "/: %free/%total" format = "%free/%total"
} }
disk "/home" { disk "/home" {
format = "/home: %free/%total" format = " /home %free/%total"
}
disk "/home/amgutier/big" {
format = " ~/big %free/%total"
}
mpd_status {
cache_timeout = 0
host = "localhost"
port = 6600
format = "{state} {artist}: {title}"
}
weather_yahoo {
city_code = 'USPA1928'
} }

View File

@@ -119,16 +119,16 @@ mode "resize" {
# Pressing right will grow the windows width. # Pressing right will grow the windows width.
# Pressing up will shrink the windows height. # Pressing up will shrink the windows height.
# Pressing down will grow the windows height. # Pressing down will grow the windows height.
bindsym h resize shrink width 10 px or 10 ppt bindsym h resize shrink width 2 px or 2 ppt
bindsym j resize grow height 10 px or 10 ppt bindsym j resize grow height 2 px or 2 ppt
bindsym k resize shrink height 10 px or 10 ppt bindsym k resize shrink height 2 px or 2 ppt
bindsym l resize grow width 10 px or 10 ppt bindsym l resize grow width 2 px or 2 ppt
# same bindings, but for the arrow keys # same bindings, but for the arrow keys
bindsym 113 resize shrink width 10 px or 10 ppt bindsym 113 resize shrink width 2 px or 2 ppt
bindsym 116 resize grow height 10 px or 10 ppt bindsym 116 resize grow height 2 px or 2 ppt
bindsym 111 resize shrink height 10 px or 10 ppt bindsym 111 resize shrink height 2 px or 2 ppt
bindsym 114 resize grow width 10 px or 10 ppt bindsym 114 resize grow width 2 px or 2 ppt
# back to normal: Enter or Escape # back to normal: Enter or Escape
bindsym Return mode "default" bindsym Return mode "default"