# HG changeset patch # User Meredith Howard # Date 1406821340 14400 # Node ID 36096e4c56130459e7566b18e8df7f1525288efe # Parent c25420419c0b99f6af112f341e245f4a02e0dbc5# Parent 3a676c8eaafebd1d5af913651d85f453a58a8e70 Merge from default diff --git a/.Xdefaults b/.Xdefaults diff --git a/.gitconfig b/.gitconfig diff --git a/.hgrc b/.hgrc diff --git a/.i3/auto-start b/.i3/auto-start diff --git a/.i3/config b/.i3/config --- a/.i3/config +++ b/.i3/config @@ -102,7 +102,7 @@ bindsym $mod+6 workspace 6 bindsym $mod+7 workspace 7 bindsym $mod+8 workspace 8 bindsym $mod+9 workspace 9 -bindsym $mod+0 workspace 10 +bindsym $mod+0 workspace 10: Mail # move focused container to workspace bindsym $mod+Shift+1 move container to workspace 1 @@ -114,7 +114,7 @@ bindsym $mod+Shift+6 move container to w bindsym $mod+Shift+7 move container to workspace 7 bindsym $mod+Shift+8 move container to workspace 8 bindsym $mod+Shift+9 move container to workspace 9 -bindsym $mod+Shift+0 move container to workspace 10 +bindsym $mod+Shift+0 move container to workspace 10: Mail # reload the configuration file bindsym $mod+Shift+c reload @@ -155,7 +155,19 @@ bar { status_command i3status } -exec xsetroot -solid "SteelBlue4" + +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"] 10: Mail +for_window [class="Icedove"] layout tabbed + +for_window [class="^Google-chrome"] focus child; layout tabbed; focus + +for_window [class="Xfce4-notifyd"] floating enable; border none; focus mode_toggle exec ~/.i3/auto-start diff --git a/.i3/volume_ctrl b/.i3/volume_ctrl 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' diff --git a/.i3status.conf b/.i3status.conf --- a/.i3status.conf +++ b/.i3status.conf @@ -12,8 +12,9 @@ general { interval = 10 } -order += "ethernet eth0" order += "load" +order += "battery 0" +order += "volume master" order += "tztime local" wireless wlan0 { @@ -52,7 +53,7 @@ tztime local { } load { - format = "%1min" + format = "%5min" } disk "/" { diff --git a/.oh-my-zsh.cust/themes/mhoward.zsh-theme b/.oh-my-zsh.cust/themes/mhoward.zsh-theme diff --git a/.xsessionrc b/.xsessionrc old mode 100644 new mode 100755 diff --git a/.xsessionrc.local b/.xsessionrc.local new file mode 100644 --- /dev/null +++ b/.xsessionrc.local @@ -0,0 +1,11 @@ +/usr/bin/xset b off + +/usr/bin/syndaemon -i 1 -R -k -d + +/usr/bin/xscreensaver -nosplash &>/dev/null /dev/null