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
# 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

View file

@ -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"
}