[rc/fontconfig] use Liberation Sans over Nimbus Sans for Helvetica
[~bandali/configs] / rc.org
diff --git a/rc.org b/rc.org
index f3c86e6..ebd752f 100644 (file)
--- a/rc.org
+++ b/rc.org
@@ -625,9 +625,9 @@ timeout = 0
  <!-- Use Liberation Sans for Helvetica (instead of Nimbus Sans) -->
  <alias binding="same">
   <family>Helvetica</family>
-  <accept>
+  <prefer>
    <family>Liberation Sans</family>
-  </accept>
+  </prefer>
 </alias>
 </fontconfig>
 #+end_src
@@ -923,31 +923,45 @@ 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 += "volume master"
 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"
+# 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 = "10"
+        threshold_type = "percentage"
+        last_full_capacity = true
+        integer_battery_capacity = true
+        hide_seconds = true
 }
 
-battery all {
-        format = "%status %percentage %remaining"
+tztime local {
+        format = "%-I:%M%P %a %b %d"
 }
 
-tztime local {
-        format = "%Y-%m-%d %H:%M:%S"
+volume master {
+        format = "♪ %volume"
+        format_muted = "🔇 %volume"
+        device = "pulse"
 }
 
 load {
@@ -955,7 +969,11 @@ load {
 }
 
 disk "/" {
-        format = "%avail"
+        format = "/ %avail"
+}
+
+disk "/data" {
+        format = "/data %avail"
 }
 #+end_src
 
@@ -2272,14 +2290,19 @@ notmuch tag +inbox +unread +latest -new -- tag:new
 notmuch tag -inbox +lists/hackernewsletter -- folder:amin/lists/hackernewsletter
 notmuch tag -inbox +lists/haskell-weekly   -- folder:amin/lists/haskell-weekly
 
-notmuch tag -inbox +pay -- folder:amin/pay
+notmuch tag -inbox +pay     -- folder:amin/pay
 notmuch tag -inbox +banking -- folder:amin/banking
+notmuch tag -inbox +work    -- folder:amin/work
 # </aminb>
 
 # <uw>
-notmuch tag -inbox +uw/cs136 -- folder:uwaterloo/lists/cs136
-notmuch tag -inbox +uw/se463 -- folder:uwaterloo/lists/se463
+notmuch tag -inbox +uw/cs136  -- folder:uwaterloo/lists/cs136
+notmuch tag -inbox +uw/cs846  -- folder:uwaterloo/lists/cs846
+notmuch tag -inbox +uw/ece750 -- folder:uwaterloo/lists/ece750
+notmuch tag -inbox +uw/se212  -- folder:uwaterloo/lists/se212
+notmuch tag -inbox +uw/se463  -- folder:uwaterloo/lists/se463
 
+notmuch tag -inbox +lists/alloytools       -- folder:uwaterloo/lists/alloytools
 notmuch tag -inbox +lists/clvsingle        -- folder:uwaterloo/lists/Clvsingle
 notmuch tag -inbox +lists/gsa              -- folder:uwaterloo/lists/GSA
 notmuch tag -inbox +lists/math-grad        -- folder:uwaterloo/lists/Math-grad
@@ -3816,6 +3839,9 @@ input "1:1:AT_Translated_Set_2_keyboard" {
     # start your launcher
     bindsym $mod+d exec $menu
 
+    # password manager
+    bindsym $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 +4008,9 @@ include /etc/sway/config.d/*
 ** TLP
 
 *** TODO enigma
-*** plasma
+*** pary
 
-#+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) "pary")) "/sudo::/etc/default/tlp")
 # ------------------------------------------------------------------------------
 # tlp - Parameters for power saving
 # See full explanation: http://linrunner.de/en/tlp/docs/tlp-configuration.html
@@ -4908,7 +4934,7 @@ ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red')
 setopt globdots
 
 source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
-source ~/.zsh/zsh-autopair/autopair.zsh
+source ~/.zsh/zsh-autopair/autopair.zsh
 
 
 ### fzf ###