about summary refs log tree commit diff
path: root/configs/shared
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-27T18·19+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-27T18·21+0000
commit161a09e6dff96915ba4f9932b6e31a23b3bd492e (patch)
tree8bdd928d091c62de4284efec8d754cb5f4386b32 /configs/shared
parent01ff37824ddd077c3a1498c07609eb44e90278a7 (diff)
Adjust i3 colors, update KBDs, remove icons from i3statusbar
May need to find a better KBD for `snip_it`, since I really enjoy Tmux's M-s to
switch sessions.

Learned about i3's "edge" concept. Re-supported KBDs for settings split
directions. Also adjusted theme colors.

Also adjusts the formatting of the timezone information to show GMT as LON, EST
as NYC, and Pacific as MTV.
Diffstat (limited to 'configs/shared')
-rw-r--r--configs/shared/misc/.config/i3/config.shared17
-rw-r--r--configs/shared/misc/.config/i3status/config17
2 files changed, 23 insertions, 11 deletions
diff --git a/configs/shared/misc/.config/i3/config.shared b/configs/shared/misc/.config/i3/config.shared
index 71fe1bf59085..a81a47b31b1c 100644
--- a/configs/shared/misc/.config/i3/config.shared
+++ b/configs/shared/misc/.config/i3/config.shared
@@ -76,7 +76,7 @@ bindsym $mod+n exec st -e lf ~/Downloads
 
 # Screenshot
 # TODO: find a better KBD for this
-# bindsym $mod+Shift+4 exec zsh -i -c snipit
+bindsym $mod+s exec zsh -i -c snipit # note that this eclipses Tmux's M-s KBD for switching b/w session
 bindsym Ctrl+Print   exec scrot ~/Pictures/screenshots/%b-%d-%Y_%T.png # Windows style
 # TODO: debug
 # bindsym $mod+Print   exec scrot --focused ~/Pictures/screenshots/%b-%d-%Y_%T.png # Windows style
@@ -99,6 +99,11 @@ exec --no-startup-id gnome-settings-daemon
 # wireless selection mechanism
 exec --no-startup-id nm-applet
 
+# set the split direction
+bindsym $mod+v split vertical
+# cannot bind $mod+h because of movement commands
+bindsym $mod+Shift+v split horizontal
+
 # lock the screen (Window's famous Ctrl-Alt-Delete)
 bindsym $mod+Ctrl+Delete exec "/usr/share/goobuntu-desktop-files/xsecurelock.sh"
 bindsym $mod+Shift+q     exec "/usr/share/goobuntu-desktop-files/xsecurelock.sh"
@@ -234,13 +239,15 @@ set $bright_cyan    #56b6c2
 set $selection      #3a3f4b
 
 # class                 # border    # bg # text #indicator #child_border
-client.focused          $red        $red $red   $red       $bright_cyan
-client.focused_inactive $red        $red $red   $red       $black
-client.unfocused        $red        $red $red   $red       $black
+client.focused          $red        $red $red   $magenta   $bright_cyan
+client.focused_inactive $red        $red $red   $magenta   $black
+client.unfocused        $red        $red $red   $magenta   $black
 
 bar {
     status_command i3status
     position top
+    # disable system tray icons
+    tray_output none
     colors {
            background $black
            statusline $white
@@ -250,4 +257,4 @@ bar {
            inactive_workspace $black $black $bright_black
            urgent_workspace   $magenta $black $magenta
     }
-}
+}
\ No newline at end of file
diff --git a/configs/shared/misc/.config/i3status/config b/configs/shared/misc/.config/i3status/config
index 9df0af323846..37f6678ce854 100644
--- a/configs/shared/misc/.config/i3status/config
+++ b/configs/shared/misc/.config/i3status/config
@@ -4,26 +4,31 @@ general {
         colors = true
 }
 
-order += "time"
+order += "tztime lon"
 order += "tztime est"
 order += "tztime pst"
 order += "disk /"
 
 disk "/" {
      prefix_type = "decimal"
-     format = "%avail / %total"
+     format = "%used/%total"
 }
 
-time {
-     format = "%H:%M - %D"
+# Useful commands for dealing with timezones:
+# - cat /etc/timezone
+# - man date
+# - timedatectl
+tztime lon {
+     format = "LON %H:%M"
+     timezone = "Europe/London"
 }
 
 tztime est {
-     format = "%H:%M EST"
+     format = "NYC %H:%M"
      timezone = "US/Eastern"
 }
 
 tztime pst {
-     format = "%H:%M PST"
+     format = "MTV %H:%M"
      timezone = "US/Pacific"
 }
\ No newline at end of file