Merge from default mhoward-lt

Tue, 17 Jun 2014 02:44:07 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 17 Jun 2014 02:44:07 -0400
branch
mhoward-lt
changeset 70
431128b5fa0c
parent 66
1c1237f8b9e3 (diff)
parent 69
b33d2188bfb9 (current diff)
child 76
6dbcadb01380

Merge from default

.Xdefaults file | annotate | diff | comparison | revisions
.i3/auto-start file | annotate | diff | comparison | revisions
.i3/config file | annotate | diff | comparison | revisions
.i3status.conf file | annotate | diff | comparison | revisions
.xsessionrc file | annotate | diff | comparison | revisions
--- a/.hgrc
+++ b/.hgrc
@@ -1,5 +1,6 @@
 [ui]
 username = Meredith Howard <mhoward@roomag.org>
+merge = vimdiff
 
 [extensions]
 hgext.graphlog = 
@@ -17,4 +18,9 @@ pager = LESS='FSRX' less
 [alias]
 fetch = pull --rebase
 
+[merge-tools]
+vimdiff.executable = vim
+vimdiff.args = -d $base $local $output $other +close +close
+
+
 %include ~/.hgrc.local
--- a/.i3/config
+++ b/.i3/config
@@ -93,7 +93,7 @@ bindsym $mod+minus workspace prev
 bindsym $mod+equal workspace next
 
 # switch to workspace
-bindsym $mod+1 workspace 1
+bindsym $mod+1 workspace 1: Mail
 bindsym $mod+2 workspace 2
 bindsym $mod+3 workspace 3
 bindsym $mod+4 workspace 4
@@ -105,7 +105,7 @@ bindsym $mod+9 workspace 9
 bindsym $mod+0 workspace 10
 
 # move focused container to workspace
-bindsym $mod+Shift+1 move container to workspace 1
+bindsym $mod+Shift+1 move container to workspace 1: Mail
 bindsym $mod+Shift+2 move container to workspace 2
 bindsym $mod+Shift+3 move container to workspace 3
 bindsym $mod+Shift+4 move container to workspace 4
@@ -155,6 +155,20 @@ bar {
         status_command i3status
 }
 
+
+hide_edge_borders vertical
+
+bindsym XF86AudioLowerVolume exec ~/.i3/volume_ctrl down
+bindsym XF86AudioRaiseVolume exec ~/.i3/volume_ctrl up
+bindsym XF86AudioMute        exec ~/.i3/volume_ctrl mute
+
+assign     [class="Icedove"] 1: Mail
+for_window [class="Icedove"] focus child; layout tabbed
+
+for_window [class="^Google-chrome"] focus child; layout tabbed
+
+for_window [class="Xfce4-notifyd"] floating enable; border none; focus mode_toggle
+
 exec xsetroot -solid "SteelBlue4"
 
 exec ~/.i3/auto-start
new file mode 100755
--- /dev/null
+++ b/.i3/volume_ctrl
@@ -0,0 +1,14 @@
+#!/usr/bin/env ruby
+
+cmd = ARGV.shift
+
+if cmd == 'up'
+  system 'amixer -q set Master 5%+ unmute'
+elsif cmd == 'down'
+  system 'amixer -q set Master 5%- unmute'
+elsif cmd == 'mute'
+  system 'amixer -q set Master toggle'
+end
+
+# nudge i3stats for an update
+system 'killall -USR1 i3status'
--- a/.i3status.conf
+++ b/.i3status.conf
@@ -9,11 +9,12 @@
 
 general {
         colors = true
-        interval = 5
+        interval = 10
 }
 
-order += "ethernet eth0"
 order += "load"
+order += "battery 0"
+order += "volume master"
 order += "tztime local"
 
 wireless wlan0 {
@@ -29,8 +30,16 @@ ethernet eth0 {
 
 battery 0 {
         format = "%status %percentage %remaining"
+        integer_battery_capacity = true
 }
 
+volume master {
+        format = "♪ %volume"
+        format_muted = "♪̶ %volume"
+        device = "default"
+        mixer = "Master"
+        mixer_idx = 0
+}
 run_watch DHCP {
         pidfile = "/var/run/dhclient*.pid"
 }
@@ -40,11 +49,11 @@ run_watch VPN {
 }
 
 tztime local {
-        format = "%Y-%m-%d %H:%M"
+        format = "%m-%d %H:%M"
 }
 
 load {
-        format = "%1min"
+        format = "%5min"
 }
 
 disk "/" {
old mode 100644
new mode 100755
new file mode 100644
--- /dev/null
+++ b/.xsessionrc.local
@@ -0,0 +1,11 @@
+/usr/bin/xset b off
+
+/usr/bin/syndaemon -i 1 -d
+
+/usr/bin/xscreensaver -nosplash &>/dev/null </dev/null &
+/usr/bin/xfce4-power-manager
+
+/usr/bin/pulseaudio --daemonize
+
+/usr/bin/nm-applet &>/dev/null </dev/null &
+

mercurial