summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2016-06-04 15:42:16 +0300
committerdefanor <defanor@uberspace.net>2016-06-04 15:42:16 +0300
commit4e0bb63f9e679676d92a3e5ad68984976ade1cc2 (patch)
tree286ec52eb064d07cb6c30fe54d16f98a65c0a3c5
parentbc601c42011dae9ce7a2fb73905a1894fa021096 (diff)
Update i3: i3status, colors, paths
-rw-r--r--.i3/config (renamed from .config/i3/config)16
-rw-r--r--.i3status.conf33
-rw-r--r--Makefile6
3 files changed, 47 insertions, 8 deletions
diff --git a/.config/i3/config b/.i3/config
index f3a1582..fa256dc 100644
--- a/.config/i3/config
+++ b/.i3/config
@@ -13,11 +13,11 @@ set $mod Mod1
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
-font pango:monospace 8
+# font pango:monospace 8
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
-#font pango:DejaVu Sans Mono 8
+font pango:DejaVu Sans Mono 8
# Before i3 v4.8, we used to recommend this one as the default:
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
@@ -153,4 +153,16 @@ bindsym $mod+p mode "resize"
# finds out, if available)
bar {
status_command i3status
+ colors {
+ background #000000
+ statusline #60b0b0
+ separator #666666
+
+ focused_workspace #407090 #305070 #ffffff
+ inactive_workspace #202020 #101020 #808080
+ }
}
+
+# border, background, text, indicator, child border
+client.focused #102030 #112244 #d0d0d0 #000 #102030
+client.unfocused #101010 #101017 #8080a0 #000 #101010
diff --git a/.i3status.conf b/.i3status.conf
new file mode 100644
index 0000000..a3461b7
--- /dev/null
+++ b/.i3status.conf
@@ -0,0 +1,33 @@
+general {
+ output_format = "i3bar"
+ colors = false
+ interval = 5
+}
+
+order += "disk /"
+order += "run_watch DHCP"
+order += "ethernet ens3"
+order += "load"
+order += "tztime local"
+
+
+run_watch DHCP {
+ pidfile = "/var/run/dhclient*.pid"
+}
+
+ethernet ens3 {
+ format_up = "E: %ip"
+ format_down = "E: down"
+}
+
+tztime local {
+ format = "%Y-%m-%d %H:%M:%S"
+}
+
+load {
+ format = "%5min"
+}
+
+disk "/" {
+ format = "%free"
+}
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 0b961fd..0000000
--- a/Makefile
+++ /dev/null
@@ -1,6 +0,0 @@
-links:
- ln -s ~/dotfiles/.Xresources ~/.Xresources
- ln -s ~/dotfiles/.emacs.d/blueish-theme.el ~/.emacs.d/blueish-theme.el
- ln -s ~/dotfiles/.config/i3/config ~/.config/i3/config
-
-all: links