X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/009eedfdf1c385b611367ff1b8a661d676461ff1..e388ae6fc6f7376d07dd34788145fcf5fc0cc0c5:/rc.org diff --git a/rc.org b/rc.org index feee4a4..525849d 100644 --- a/rc.org +++ b/rc.org @@ -643,8 +643,8 @@ timeout = 0 #+begin_src conf [user] name = Amin Bandali - email = mab@gnu.org - signingkey = 4E05246AB0BF7FFB + email = amin@gnu.org + signingkey = CDDE75F903538E71813CDA27D1FBA36627D65876 #+end_src **** signing @@ -1461,7 +1461,8 @@ logfile ~/.msmtp.log # aminb account aminb host nix.aminb.org -tls_fingerprint 65:DD:B8:32:D8:CD:F1:DC:B6:34:EE:35:04:18:AC:09:F3:1D:6D:20:F2:4A:E2:BD:64:48:B7:1F:90:BD:C4:BA +# use `msmtp -a aminb --serverinfo --tls --tls-certcheck=off --tls-fingerprint=` to get the current fingerprint +tls_fingerprint 98:C7:F0:02:7F:2B:D8:B6:D3:BF:E8:C1:D4:07:6B:B5:6C:B1:C7:5D:97:20:70:88:AB:9E:B5:09:5D:2C:DC:8E tls_starttls on from amin@aminb.org user amin@aminb.org @@ -1477,7 +1478,11 @@ from aminb@gnu.org user aminb passwordeval gpg2 --no-tty -q -d ~/.passwd/gnu.gpg -# gnu (new address) +# gnu (amin) +account gnu-amin : gnu +from amin@gnu.org + +# gnu (mab) account gnu-mab : gnu from mab@gnu.org @@ -2112,7 +2117,7 @@ path=/home/amin/mail [user] name=Amin Bandali primary_email=amin@aminb.org -other_email=abandali@uwaterloo.ca;mab@gnu.org;aminb@gnu.org; +other_email=amin@gnu.org;abandali@uwaterloo.ca;mab@gnu.org;aminb@gnu.org; # Configuration for "notmuch new" # @@ -2198,7 +2203,7 @@ sieve-filter -eW -o postmaster_address=postmaster@aminb.org \ #+begin_src sh # apply sent tag to messages sent by me -notmuch tag -new +sent -- from:amin@aminb.org or from:mab@gnu.org or from:aminb@gnu.org or from:abandali@uwaterloo.ca +notmuch tag -new +sent -- from:amin@aminb.org or from:amin@gnu.org or from:mab@gnu.org or from:aminb@gnu.org or from:abandali@uwaterloo.ca # initial tagging notmuch tag -latest -- tag:latest @@ -4734,7 +4739,7 @@ zhighlighters=(main brackets pattern) # # Load these ssh identities with the ssh module -zssh_ids=(id_rsa plasma_id_rsa id_ed25519_mab id_rsa_aur) +zssh_ids=(id_ed25519_amin) # @@ -4995,7 +5000,7 @@ fi :header-args+: :tangle ~/.local/bin/toggle-layout :shebang "#!/bin/bash" :END: -#+begin_src bash +#+begin_src bash :tangle no lang="$(setxkbmap -print | grep xkb_symbols | cut -d'+' -f 2)" if [ "$lang" = "us" ]; then @@ -5011,7 +5016,7 @@ fi :header-args+: :tangle ~/.local/bin/toggle-presentation-mode :shebang "#!/bin/bash" :END: -#+begin_src bash +#+begin_src bash :tangle no xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -T #+end_src @@ -5030,7 +5035,7 @@ a few things: - properly rotates the stylus pen and touch screen pointers, and - toggles between RGB and Vertical BGR sub-pixel order. -#+begin_src bash +#+begin_src bash :tangle no case $(xfconf-query -c pointers -p /Wacom_ISDv4_E6_Pen_stylus/Properties/Wacom_Rotation) in 0) # Screen is not rotated, we should rotate it right (90°) xrandr -o 3 @@ -5058,7 +5063,7 @@ esac :header-args+: :tangle ~/.local/bin/unlock-def-gk.py :shebang "#!/usr/bin/env python2" :END: -#+begin_src python +#+begin_src python :tangle no import gnomekeyring as gk # list_item_ids_sync('login')[0] == 1L gk.unlock_sync('Default_keyring',gk.item_get_info_sync('login',1L).get_secret())