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.
This commit is contained in:
William Carroll 2019-03-27 18:19:21 +00:00
parent 01ff37824d
commit 161a09e6df
2 changed files with 23 additions and 11 deletions

View file

@ -76,7 +76,7 @@ bindsym $mod+n exec st -e lf ~/Downloads
# Screenshot # Screenshot
# TODO: find a better KBD for this # 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 bindsym Ctrl+Print exec scrot ~/Pictures/screenshots/%b-%d-%Y_%T.png # Windows style
# TODO: debug # TODO: debug
# bindsym $mod+Print exec scrot --focused ~/Pictures/screenshots/%b-%d-%Y_%T.png # Windows style # 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 # wireless selection mechanism
exec --no-startup-id nm-applet 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) # lock the screen (Window's famous Ctrl-Alt-Delete)
bindsym $mod+Ctrl+Delete exec "/usr/share/goobuntu-desktop-files/xsecurelock.sh" bindsym $mod+Ctrl+Delete exec "/usr/share/goobuntu-desktop-files/xsecurelock.sh"
bindsym $mod+Shift+q 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 set $selection #3a3f4b
# class # border # bg # text #indicator #child_border # class # border # bg # text #indicator #child_border
client.focused $red $red $red $red $bright_cyan client.focused $red $red $red $magenta $bright_cyan
client.focused_inactive $red $red $red $red $black client.focused_inactive $red $red $red $magenta $black
client.unfocused $red $red $red $red $black client.unfocused $red $red $red $magenta $black
bar { bar {
status_command i3status status_command i3status
position top position top
# disable system tray icons
tray_output none
colors { colors {
background $black background $black
statusline $white statusline $white
@ -250,4 +257,4 @@ bar {
inactive_workspace $black $black $bright_black inactive_workspace $black $black $bright_black
urgent_workspace $magenta $black $magenta urgent_workspace $magenta $black $magenta
} }
} }

View file

@ -4,26 +4,31 @@ general {
colors = true colors = true
} }
order += "time" order += "tztime lon"
order += "tztime est" order += "tztime est"
order += "tztime pst" order += "tztime pst"
order += "disk /" order += "disk /"
disk "/" { disk "/" {
prefix_type = "decimal" prefix_type = "decimal"
format = "%avail / %total" format = "%used/%total"
} }
time { # Useful commands for dealing with timezones:
format = "%H:%M - %D" # - cat /etc/timezone
# - man date
# - timedatectl
tztime lon {
format = "LON %H:%M"
timezone = "Europe/London"
} }
tztime est { tztime est {
format = "%H:%M EST" format = "NYC %H:%M"
timezone = "US/Eastern" timezone = "US/Eastern"
} }
tztime pst { tztime pst {
format = "%H:%M PST" format = "MTV %H:%M"
timezone = "US/Pacific" timezone = "US/Pacific"
} }