summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2015-09-29 21:53:05 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2015-09-29 21:53:05 -0400
commitc3d25bdf95cca3fda310a1d2d9d53d202a29152a (patch)
treed6e29036331478a11738e52fb6b856a2a83bb8eb
parentf51dcf8791fe6834e50e65e7881a522f9a0a2586 (diff)
Improve i3 settings.
-rwxr-xr-xbin/setup.sh1
-rw-r--r--i3/config2
-rw-r--r--i3status.conf67
3 files changed, 69 insertions, 1 deletions
diff --git a/bin/setup.sh b/bin/setup.sh
index 217be3c..0aec1ef 100755
--- a/bin/setup.sh
+++ b/bin/setup.sh
@@ -65,6 +65,7 @@ create_symlink ../dotfiles/ssh/config .ssh/config
if which i3 >/dev/null; then
mkdir -p .i3
create_symlink ../dotfiles/i3/config .i3/config
+ create_symlink dotfiles/i3status.conf .i3status.conf
else
printf "${orange}[SKIPPED]${none} i3 not installed.\n"
fi
diff --git a/i3/config b/i3/config
index fbba967..6f4cfa3 100644
--- a/i3/config
+++ b/i3/config
@@ -25,7 +25,7 @@ bindsym Pause exec i3lock -c 2A3462
bindsym Mod4+Shift+q kill
# start dmenu (a program launcher)
-bindsym Mod4+d exec dmenu_run
+bindsym Mod4+d exec dmenu_run -fn -*-*-*-*-*-*-20-*-*-*-*-*-*-*
# change focus
bindsym Mod4+h focus left
diff --git a/i3status.conf b/i3status.conf
new file mode 100644
index 0000000..7cea47b
--- /dev/null
+++ b/i3status.conf
@@ -0,0 +1,67 @@
+general {
+ colors = true
+ interval = 5
+}
+
+order += "ipv6"
+order += "disk /"
+#order += "run_watch DHCP"
+#order += "run_watch VPN"
+order += "wireless wlp4s0"
+order += "ethernet enp0s25"
+order += "battery 0"
+order += "cpu_temperature 0"
+order += "load"
+order += "volume master"
+order += "time"
+
+volume master {
+ format = "♪: %volume"
+ format_muted = "♪: muted (%volume)"
+ device = "default"
+ mixer = "Master"
+ mixer_idx = 0
+}
+
+
+wireless wlp4s0 {
+ format_up = "%essid %ip"
+ format_down = ""
+}
+
+ethernet enp0s25 {
+ # if you use %speed, i3status requires root privileges
+ format_up = "E: %ip (%speed)"
+ format_down = ""
+}
+
+battery 0 {
+ last_full_capacity = true
+ low_threshold = 15
+ threshold_type = time
+ format = "%status %percentage %remaining (%consumption)"
+}
+
+run_watch DHCP {
+ pidfile = "/var/run/dhclient*.pid"
+}
+
+run_watch VPN {
+ pidfile = "/var/run/vpnc/pid"
+}
+
+time {
+ format = "%Y-%m-%d %H:%M:%S"
+}
+
+load {
+ format = "%1min"
+}
+
+cpu_temperature 0 {
+ format = "T: %degrees °C"
+}
+
+disk "/" {
+ format = "/: %free"
+}