diff options
author | Amin Bandali <amin@gnu.org> | 2018-08-17 18:53:10 -0400 |
---|---|---|
committer | Amin Bandali <amin@gnu.org> | 2018-08-17 18:53:10 -0400 |
commit | 6a0568227ca836d8c3769e0e832e842c753600cd (patch) | |
tree | 08829397c56ced0bd1a882c96802105cfcf97c13 | |
parent | a106372e1dd284d6f2169a20e6e668e6cf2f22b2 (diff) | |
download | configs-6a0568227ca836d8c3769e0e832e842c753600cd.tar.gz configs-6a0568227ca836d8c3769e0e832e842c753600cd.tar.xz configs-6a0568227ca836d8c3769e0e832e842c753600cd.zip |
[rc] switch from i3gs to i3status
-rw-r--r-- | rc.org | 64 |
1 files changed, 60 insertions, 4 deletions
@@ -856,7 +856,7 @@ gtk-font-name = Ubuntu 10 :header-args+: :tangle ~/.config/i3gs/config :END: -#+begin_src conf :comments none +#+begin_src conf :comments none :tangle no borders_width=0 0 2 0 separator_width=10 @@ -903,6 +903,62 @@ title=<span weight='heavy' fgcolor='#FFDC00'> </span> borders_color=#FFDC00 separator_width=0 #+end_src + +** i3status +:PROPERTIES: +:header-args+: :tangle ~/.config/i3status/config +:END: + +#+begin_src conf :comments none +# 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 += "wireless _first_" +order += "ethernet _first_" +order += "battery all" +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 all { + format = "%status %percentage %remaining" +} + +tztime local { + format = "%Y-%m-%d %H:%M:%S" +} + +load { + format = "%1min" +} + +disk "/" { + format = "%avail" +} +#+end_src + ** isync *** mbsyncrc @@ -3917,7 +3973,7 @@ bar { background #323232 inactive_workspace #32323200 #32323200 #5c5c5c } - status_command i3gs ~/.config/i3gs/config + status_command i3status } include /etc/sway/config.d/* @@ -4911,7 +4967,7 @@ exact brightness value. :header-args+: :tangle ~/.local/bin/battery-percentage-time :shebang "#!/bin/sh" :END: -#+begin_src sh +#+begin_src sh :tangle no dbus_send() { label=$1 dbus-send --print-reply=literal --system \ @@ -5074,7 +5130,7 @@ gk.unlock_sync('Default_keyring',gk.item_get_info_sync('login',1L).get_secret()) :header-args+: :tangle ~/.local/bin/volume-info :shebang "#!/bin/sh" :END: -#+begin_src sh +#+begin_src sh :tangle no cur_vol=$(pamixer --get-volume) if [ $(pamixer --get-mute) = true ]; then |