From d2caf851eac8284d134f5a440b65a492dd08039f Mon Sep 17 00:00:00 2001 From: Tucker Evans Date: Wed, 7 Mar 2018 20:28:31 -0500 Subject: Makes minor changes to X, bash, i3, and tmux --- X/.Xresources | 5 +++-- bash/.bashrc | 11 ++++++++++- i3/.config/i3/config | 6 +++++- i3/.config/i3status/config | 40 +++++++++++++++++++++++++++------------- tmux/.tmux.conf | 3 +++ 5 files changed, 48 insertions(+), 17 deletions(-) diff --git a/X/.Xresources b/X/.Xresources index 4c30093..96a1863 100644 --- a/X/.Xresources +++ b/X/.Xresources @@ -1,5 +1,6 @@ -XTerm*faceName: Terminus -UXTerm*faceName: Terminus +XTerm*faceName: 3270Medium Nerd Font +UXTerm*faceName: 3270Medium Nerd Font + XTerm*faceSize: 16 UXTerm*faceSize: 16 diff --git a/bash/.bashrc b/bash/.bashrc index 2dd8f61..6453f1e 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -19,6 +19,8 @@ alias art='school && cd HIS1031' alias xcopy='xclip -selection clipboard' alias xpaste='xclip -selection clipboard -o' +alias rtv='rtv --enable-media' + alias sloc='sloccount' PS1='[\u@\h \W]\$ ' @@ -26,4 +28,11 @@ PS1='[\u@\h \W]\$ ' export GPG_TTY=$(tty) MAIL=/var/spool/mail/tje && export MAIL -export EDITOR=vi +export EDITOR=vim + + +export IRCNICK="TropicalTea" +export IRCNAME="tje" +export IRCSERVER="chat.freenode.net" + +alias word=wordgrinder diff --git a/i3/.config/i3/config b/i3/.config/i3/config index b069769..dae7dec 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -30,7 +30,7 @@ font pango:Courier Prime 14 floating_modifier $mod # start a terminal - bindsym $mod+Return exec xterm tmux + bindsym $mod+Return exec xterm # kill focused window bindsym $mod+Shift+q kill @@ -159,6 +159,7 @@ bindsym $mod+r mode "resize" bar { status_command i3status + separator_symbol " | " # colors { # background #414A59 # statusline #F5F6F7 @@ -189,3 +190,6 @@ exec --no-startup-id /home/tje/i3-battery-popup -N bindsym $mod+b exec qutebrowser bindsym $mod+p exec passmenu + +for_window [class="mpv"] floating enable +for_window [class="feh"] floating enable diff --git a/i3/.config/i3status/config b/i3/.config/i3status/config index a291ae3..36062e3 100644 --- a/i3/.config/i3status/config +++ b/i3/.config/i3status/config @@ -7,10 +7,9 @@ # If the above line is not correctly displayed, fix your editor first! general { - colors = true - interval = 5 -#color_good = "#5294E2" -# color_bad = "#CC575D" + colors = true + interval = 5 + output_format = i3bar } order += "ipv6" @@ -20,33 +19,48 @@ order += "ethernet _first_" order += "volume master" order += "battery all" order += "load" +order += "cpu_temperature 0" order += "tztime local" +order += "tztime utc" + +ipv6 { + format_up = "%ip" + format_down = "" +} wireless _first_ { - format_up = "W: (%quality at %essid) %ip" - format_down = "W: down" + format_up = "W:%quality %ip" + format_down = "W: down" } ethernet _first_ { - # if you use %speed, i3status requires root privileges - format_up = "E: %ip (%speed)" - format_down = "E: down" + # if you use %speed, i3status requires root privileges + format_up = "E: %ip %speed" + format_down = "E: down" } battery all { - format = "%status %percentage %remaining" + format = "%status %percentage" +} +tztime utc { + format = "UTC: %H:%M" + timezone = "Etc/UTC" } tztime local { - format = "%Y-%m-%d %H:%M:%S" + format = "EST: %Y-%m-%d %H:%M:%S" } load { - format = "%1min" + format = "%1min" +} +cpu_temperature 0 { + format = "%degrees C" + path ="/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input" } disk "/" { - format = "%avail" + format = "%avail" } volume master { diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 7b574db..90ed13c 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -12,3 +12,6 @@ bind j select-pane -D bind k select-pane -U bind h select-pane -L bind l select-pane -R + + +set -g status-bg magenta -- cgit v1.1