From 394bca4b8511ec5f41115e29f0dcebb4387771cc Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 8 Jan 2022 17:17:57 +0100 Subject: Update --- .config/env | 2 +- .config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc | 2 +- .config/mutt/defaults.muttrc | 2 +- .local/bin/kb | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.config/env b/.config/env index f60cf3d..b6ad41e 100644 --- a/.config/env +++ b/.config/env @@ -16,7 +16,7 @@ export PATH="$HOME"/.local/bin:"$PATH":/usr/local/llvm10/bin:/usr/local/llvm11/b # Apps export EDITOR='emacsclient -t -a nvim' -export VISUAL='emacsclient -t -a nvim' +export VISUAL="$EDITOR" export PAGER='less' export TERMINAL='st' export BROWSER='firefox' diff --git a/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc b/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc index fc006cb..88d82d9 100644 --- a/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc +++ b/.config/mutt/accounts/1-bousset.rudy@gmail.com.muttrc @@ -14,7 +14,7 @@ bind index,pager g noop bind index,pager M noop bind index,pager C noop bind index gg first-entry -macro index o "mw -y bousset.rudy@gmail.com" "run mbsync to sync bousset.rudy@gmail.com" +macro index o "mbsync -c /usr/home/jozan/.config/mbsync/mbsyncrc -a" "run mbsync to sync bousset.rudy@gmail.com" unmailboxes * mailboxes "=INBOX" "=[Gmail].Sent\ Mail" "=[Gmail].Drafts" "=[Gmail].Spam" "=[Gmail].Trash" diff --git a/.config/mutt/defaults.muttrc b/.config/mutt/defaults.muttrc index 0126aa5..aa04ead 100644 --- a/.config/mutt/defaults.muttrc +++ b/.config/mutt/defaults.muttrc @@ -3,7 +3,7 @@ # mutt-wizard will have this file sourced from your muttrc. # In the interest of seamless updating, do not edit this file. # If you want to override any settings, set those in your muttrc. -set mailcap_path = /usr/local/share/mutt-wizard/mailcap +set mailcap_path = /usr/home/jozan/.config/mutt/mailcap set date_format="%y/%m/%d %I:%M%p" set index_format="%2C %Z %?X?A& ? %D %-15.15F %s (%-4.4c)" set new_mail_command = "notify-send -u normal 'NeoMutt' ' %n new mail(s)' &" diff --git a/.local/bin/kb b/.local/bin/kb index f2ea9f4..0a73c24 100755 --- a/.local/bin/kb +++ b/.local/bin/kb @@ -3,10 +3,10 @@ xset r rate 200 150 setxkbmap -layout us,fr -option grp:alt_shift_toggle setxkbmap -option caps:none +setxkbmap -option ctrl:swapcaps screens=$(xrandr | grep ' connected' | awk '{print $1}') if ! echo "$screens" | grep 'HDMI-1' >/dev/null 2>&1; then if ! echo "$screens" | grep 'VGA-1' >/dev/null 2>&1; then - setxkbmap -option ctrl:swapcaps xmodmap -e 'keycode 9 = Tab' xmodmap -e 'keycode 23 = Escape' xmodmap -e 'remove Lock = Caps_Lock' @@ -15,7 +15,7 @@ if ! echo "$screens" | grep 'HDMI-1' >/dev/null 2>&1; then else xmodmap -e 'keycode 9 = Tab' xmodmap -e 'keycode 23 = Escape' - xmodmap -e 'keycode 66 = Escape' + # xmodmap -e 'keycode 66 = Escape' fi mouse=$(xinput list | grep 'HARPOON' | awk '{print $10}' | sed 's/id=//') xinput --set-prop "$mouse" 'libinput Accel Speed' -0.40 -- cgit v1.2.3