From a957537ab5428dc8d5ffaff1f84b4e6750881661 Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Wed, 1 Apr 2015 12:01:26 -0400 Subject: [PATCH] Updated i3 a bit --- .bashrc | 3 ++- .config/i3status/config | 31 +++++++++++++++++++++---------- .i3/config | 16 ++++++++-------- 3 files changed, 31 insertions(+), 19 deletions(-) diff --git a/.bashrc b/.bashrc index dd6abc9..79f7c61 100644 --- a/.bashrc +++ b/.bashrc @@ -8,7 +8,8 @@ export EDITOR=vim export CLICOLOR=1 export LSCOLORS=DxGxcxdxCxegedabagacad 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 diff --git a/.config/i3status/config b/.config/i3status/config index 3bbec7f..99ae06d 100644 --- a/.config/i3status/config +++ b/.config/i3status/config @@ -1,14 +1,18 @@ general { colors = true interval = 5 + output_format = "i3bar" } +order += "mpd_status" order += "disk /" order += "disk /home" +order += "disk /home/amgutier/big" order += "wireless wlan0" order += "ethernet eth0" order += "battery 0" order += "load" +order += "weather_yahoo" order += "time" wireless wlan0 { @@ -27,14 +31,6 @@ battery 0 { format = "%status %percentage %remaining" } -run_watch DHCP { - pidfile = "/var/run/dhclient*.pid" -} - -run_watch VPN { - pidfile = "/var/run/vpnc/pid" -} - time { format = "%m/%d/%Y %H:%M:%S" } @@ -44,9 +40,24 @@ load { } disk "/" { - format = "/: %free/%total" + format = "%free/%total" } 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' } diff --git a/.i3/config b/.i3/config index d49a291..a6b8796 100644 --- a/.i3/config +++ b/.i3/config @@ -119,16 +119,16 @@ mode "resize" { # Pressing right will grow the window’s width. # Pressing up will shrink the window’s height. # Pressing down will grow the window’s height. - bindsym h resize shrink width 10 px or 10 ppt - bindsym j resize grow height 10 px or 10 ppt - bindsym k resize shrink height 10 px or 10 ppt - bindsym l resize grow width 10 px or 10 ppt + bindsym h resize shrink width 2 px or 2 ppt + bindsym j resize grow height 2 px or 2 ppt + bindsym k resize shrink height 2 px or 2 ppt + bindsym l resize grow width 2 px or 2 ppt # same bindings, but for the arrow keys - bindsym 113 resize shrink width 10 px or 10 ppt - bindsym 116 resize grow height 10 px or 10 ppt - bindsym 111 resize shrink height 10 px or 10 ppt - bindsym 114 resize grow width 10 px or 10 ppt + bindsym 113 resize shrink width 2 px or 2 ppt + bindsym 116 resize grow height 2 px or 2 ppt + bindsym 111 resize shrink height 2 px or 2 ppt + bindsym 114 resize grow width 2 px or 2 ppt # back to normal: Enter or Escape bindsym Return mode "default"