X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/a106372e1dd284d6f2169a20e6e668e6cf2f22b2..ba8fa06bd61b31db9868d19a25cd239e4cfd51e8:/rc.org?ds=sidebyside
diff --git a/rc.org b/rc.org
index 1b07980..2819060 100644
--- a/rc.org
+++ b/rc.org
@@ -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,80 @@ title= ï
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 += "disk /data"
+order += "wireless _first_"
+# order += "ethernet _first_"
+order += "battery 0"
+order += "volume master"
+order += "load"
+order += "tztime local"
+
+wireless _first_ {
+ 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 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
+}
+
+tztime local {
+ format = "%-I:%M%P %a %b %d"
+}
+
+volume master {
+ format = "⪠%volume"
+ format_muted = "ð %volume"
+ device = "pulse"
+}
+
+load {
+ format = "%1min"
+}
+
+disk "/" {
+ format = "/ %avail"
+}
+
+disk "/data" {
+ format = "/data %avail"
+}
+#+end_src
+
** isync
*** mbsyncrc
@@ -2218,12 +2292,15 @@ notmuch tag -inbox +lists/haskell-weekly -- folder:amin/lists/haskell-weekly
notmuch tag -inbox +pay -- folder:amin/pay
notmuch tag -inbox +banking -- folder:amin/banking
+notmuch tag -inbox +work -- folder:amin/work
#
#
notmuch tag -inbox +uw/cs136 -- folder:uwaterloo/lists/cs136
+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
@@ -3760,6 +3837,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.
@@ -3917,7 +3997,7 @@ bar {
background #323232
inactive_workspace #32323200 #32323200 #5c5c5c
}
- status_command i3gs ~/.config/i3gs/config
+ status_command i3status
}
include /etc/sway/config.d/*
@@ -3926,9 +4006,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
@@ -4911,7 +4991,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 +5154,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