diff --git a/dotfiles/config/i3/.i3status.conf b/dotfiles/config/i3/.i3status.conf new file mode 100644 index 0000000..e049f81 --- /dev/null +++ b/dotfiles/config/i3/.i3status.conf @@ -0,0 +1,79 @@ +general { + output_format = "i3bar" + colors = true + color_good = "#a5d1ed" + color_bad = "#7F2F25" + color_degraded = "#87C2EA" + interval = 5 +} + +order += "ipv6" +order += "disk /" +order += "run_watch DHCP" +order += "run_watch VPNC" +order += "path_exists VPN" +order += "wireless wlp3s0" +order += "ethernet eth0" +order += "volume master" +order += "battery 0" +order += "cpu_temperature 0" +order += "load" +order += "tztime local" +# order += "tztime berlin" + +wireless wlp3s0 { + format_up = "W: (%quality at %essid, %bitrate) %ip" + format_down = "W: down" +} + +ethernet eth0 { + # if you use %speed, i3status requires the cap_net_admin capability + format_up = "E: %ip (%speed)" + format_down = "E: down" +} + +battery 0 { + format = "%status %percentage %remaining %emptytime" + format_down = "No battery" + status_chr = "⚇ CHR" + status_bat = "⚡ BAT" + status_full = "FULL" + path = "/sys/class/power_supply/BAT%d/uevent" + low_threshold = 10 +} + +run_watch DHCP { + pidfile = "/var/run/dhcpcd*.pid" +} + +run_watch VPNC { + # file containing the PID of a vpnc process + pidfile = "/var/run/vpnc/pid" +} + +path_exists VPN { + # path exists when a VPN tunnel launched by nmcli/nm-applet is active + path = "/proc/sys/net/ipv4/conf/tun0" +} + +tztime local { + format = "%Y-%m-%d %H:%M:%S" +} + +tztime berlin { + format = "%Y-%m-%d %H:%M:%S %Z" + timezone = "Europe/Berlin" +} + +load { + format = "Load: %5min" +} + +cpu_temperature 0 { + format = "T: %degrees °C" + path = "/sys/class/hwmon/hwmon2/temp1_input" +} + +disk "/" { + format = "%free" +} diff --git a/dotfiles/config/i3/config b/dotfiles/config/i3/config index db83d7c..72400d0 100644 --- a/dotfiles/config/i3/config +++ b/dotfiles/config/i3/config @@ -152,6 +152,14 @@ bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { - status_command i3status + colors { + background #070d1a + statusline #a5d1ed + separator #87c2ea + } + + status_command i3status -c ~/.config/i3/.i3status.conf tray_output primary } + +#exec --no-startup-id nm-applet \ No newline at end of file diff --git a/scripts/sysinstall/install_packages.sh b/scripts/sysinstall/install_packages.sh index b2fcb74..dd66d3d 100755 --- a/scripts/sysinstall/install_packages.sh +++ b/scripts/sysinstall/install_packages.sh @@ -47,7 +47,7 @@ sudo pacman-key --lsign-key 962DDE58 packages=("wget", "emacs", "gvim", "openssh", "steam", "zsh", "zsh-completions", "tmux", "xf86-video-fbdev", "xf86-video-intel", "xf86-video-vesa", "alsa-utils", "xorg", "xorg-xinit", "dmenu", "ttf-inconsolata", "i3", "google-chrome", "clojure", "leiningen", - "xclip", "playerctl", "infinality-bundle", "lieningen-completions", "npm", "conky", "feh") + "xclip", "playerctl", "infinality-bundle", "lieningen-completions", "npm", "conky", "feh", "networkmanager") # Reload the font cache fc-cache -fv