From 3f5133c63356750cf48c981441583f0c44d60001 Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 4 Oct 2016 13:53:32 +0300 Subject: [PATCH] moar i3 updates --- i3_config | 2 +- i3status.conf | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 i3status.conf diff --git a/i3_config b/i3_config index 7d23311..f5070f4 100644 --- a/i3_config +++ b/i3_config @@ -119,7 +119,7 @@ bindsym $mod+Shift+0 move container to workspace 10 # reload the configuration file bindsym $mod+Shift+r reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -#bindsym $mod+Shift+r restart +bindsym $mod+Control+r restart # exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" # lock screen diff --git a/i3status.conf b/i3status.conf new file mode 100644 index 0000000..5de5259 --- /dev/null +++ b/i3status.conf @@ -0,0 +1,57 @@ +# i3status configuration file. +# see "man i3status" for documentation. + +# It is important that this file is edited as UTF-8. +# The following line should contain a sharp s: +# ß +# If the above line is not correctly displayed, fix your editor first! + +general { + colors = true + interval = 5 +} + +#order += "ipv6" +order += "disk /" +#order += "run_watch DHCP" +#order += "run_watch VPN" +order += "wireless _first_" +order += "ethernet _first_" +order += "battery 0" +order += "load" +order += "tztime local" + +wireless _first_ { + format_up = "W: (%quality at %essid) %ip" + format_down = "W: down" +} + +ethernet _first_ { + # if you use %speed, i3status requires root privileges + format_up = "E: %ip (%speed)" + format_down = "E: down" +} + +battery 0 { + format = "%status %percentage %remaining" +} + +#run_watch DHCP { +# pidfile = "/var/run/dhclient*.pid" +#} + +#run_watch VPN { +# pidfile = "/var/run/vpnc/pid" +#} + +tztime local { + format = "%a %d %H:%M" +} + +load { + format = "%1min" +} + +disk "/" { + format = "%avail" +}