X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/6a0568227ca836d8c3769e0e832e842c753600cd..e939ef1a57eb3717398d32f9c3fd3ed71bb4ad72:/rc.org?ds=inline diff --git a/rc.org b/rc.org index f3c86e6..ce39dff 100644 --- a/rc.org +++ b/rc.org @@ -923,31 +923,38 @@ general { interval = 5 } -order += "ipv6" +# order += "ipv6" order += "disk /" +order += "disk /data" order += "wireless _first_" -order += "ethernet _first_" -order += "battery all" +# order += "ethernet _first_" +order += "battery 0" order += "load" order += "tztime local" wireless _first_ { - format_up = "W: (%quality at %essid) %ip" + format_up = "W:%quality %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" +# 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 (%consumption)" + path = "/sys/class/power_supply/BAT%d/uevent" + low_threshold = "30" + threshold_type = "time" + last_full_capacity = false + integer_battery_capacity = true + hide_seconds = true } tztime local { - format = "%Y-%m-%d %H:%M:%S" + format = "%-I:%M%P %a %b %d" } load { @@ -955,7 +962,11 @@ load { } disk "/" { - format = "%avail" + format = "/ %avail" +} + +disk "/data" { + format = "/data %avail" } #+end_src @@ -3816,6 +3827,9 @@ input "1:1:AT_Translated_Set_2_keyboard" { # start your launcher bindsym $mod+d exec $menu + # password manager + bindsym $mod+$mod2+space exec rofi-pass + # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod. # Despite the name, also works for non-floating windows. @@ -3982,9 +3996,9 @@ include /etc/sway/config.d/* ** TLP *** TODO enigma -*** plasma +*** archy -#+begin_src conf :tangle (when (and (eq system-type 'gnu/linux) (string= (system-name) "plasma")) "/sudo::/etc/default/tlp") +#+begin_src conf :tangle (when (and (eq system-type 'gnu/linux) (string= (system-name) "archy")) "/sudo::/etc/default/tlp") # ------------------------------------------------------------------------------ # tlp - Parameters for power saving # See full explanation: http://linrunner.de/en/tlp/docs/tlp-configuration.html