From b6238b8a07f1e30f4259b6655da98148900b8006 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 28 Oct 2020 13:51:44 -0400 Subject: just loads of small changes --- .config/fontconfig/fonts.conf | 4 ++-- .config/mutt/goobook | 10 ---------- .config/mutt/my-configs | 19 +++++++++++++++++++ .config/newsboat/urls | 6 ++++-- .config/nvim/init.vim | 1 + .local/bin/colorhandler | 9 +++++++++ .local/bin/newsup | 2 +- .xinitrc | 2 -- 8 files changed, 36 insertions(+), 17 deletions(-) delete mode 100644 .config/mutt/goobook create mode 100644 .config/mutt/my-configs create mode 100755 .local/bin/colorhandler diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf index 352c31a..a11d3ba 100644 --- a/.config/fontconfig/fonts.conf +++ b/.config/fontconfig/fonts.conf @@ -4,7 +4,7 @@ serif - Linux Libertine + CMU Serif Roman Joy Pixels Noto Color Emoji @@ -12,7 +12,7 @@ sans-serif - Linux Biolinum + Titillium Joy Pixels Noto Color Emoji diff --git a/.config/mutt/goobook b/.config/mutt/goobook deleted file mode 100644 index 3f540f4..0000000 --- a/.config/mutt/goobook +++ /dev/null @@ -1,10 +0,0 @@ -# To utilize goobook with mutt, add the following line to your muttrc: -# source $HOME/.config/mutt/goobook - -set query_command="goobook query %s" - -# Note that if you use an old version of mutt-wizard, -# you will need to disable abook in it's script: -# sed -i "s/^set\squery_command.*$//" /usr/share/mutt-wizard/mutt-wizard.muttrc - -# vim: filetype=neomuttrc diff --git a/.config/mutt/my-configs b/.config/mutt/my-configs new file mode 100644 index 0000000..f73c6a3 --- /dev/null +++ b/.config/mutt/my-configs @@ -0,0 +1,19 @@ +# These are my personal configs on top of mutt-wizard. +# Add the following line to your muttrc to have them: +# source $HOME/.config/mutt/goobook + +# GOOBOOK: +# goobook let's you query google for contact information. +# You install it with pip: pip install --user goobook +set query_command="goobook query %s" +# Note that if you use an old version of mutt-wizard, +# you will need to disable abook in it's script: +# sed -i "s/^set\squery_command.*$//" /usr/share/mutt-wizard/mutt-wizard.muttrc + +# PGP Encryption: +# I want pgp encryption by default when possible. +# The following line makes this possible: +set crypt_use_gpgme=yes +set crypt_autosign + +# vim: filetype=neomuttrc diff --git a/.config/newsboat/urls b/.config/newsboat/urls index 5d37125..55cb21e 100644 --- a/.config/newsboat/urls +++ b/.config/newsboat/urls @@ -23,8 +23,9 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCBa659QWEk1AI4Tg--mrJ2A "Yo # https://www.youtube.com/feeds/videos.xml?channel_id=<++> "Youtube" "~Youtube: <++>" # #---Twitter---# # -http://twitrss.me/twitter_user_to_rss/?user=SpaceX "Twitter" "~Twitter: SpaceX " -http://twitrss.me/twitter_user_to_rss/?user=Erdayastronaut "Twitter" "~Twitter: Everyday Astronaut " +http://rss-bridge.bb8.fun/?action=display&bridge=Twitter&context=By+username&u=benchausse&norep=on&nopic=on&format=Atom "Twitter" "~Twitter: Me " +http://rss-bridge.bb8.fun/?action=display&bridge=Twitter&context=By+username&u=SpaceX&norep=on&nopic=on&format=Atom "Twitter" "~Twitter: SpaceX " +http://rss-bridge.bb8.fun/?action=display&bridge=Twitter&context=By+username&u=Erdayastronaut&norep=on&nopic=on&format=Atom "Twitter" "~Twitter: Everyday Astronaut " # #---Websites---# # https://www.spacex.com/news.xml "Website" "~Website: SpaceX Feed " @@ -37,6 +38,7 @@ https://lukesmith.xyz/rss.xml "Website" "~Website: Luke # #---Facebook---# # https://rss-bridge.bb8.fun/?action=display&bridge=Facebook&context=User&u=LaDebarqueEscalade&media_type=all&limit=-1&format=Atom "Facebook" "~Facebook: La Debarque" +https://rss-bridge.bb8.fun/?action=display&bridge=Facebook&context=User&u=Poule-Sauvage-1529939780438862&media_type=all&limit=-1&format=Atom "Facebook" "~Facebook: Poule Sauvage" # #---Flickr---# # https://www.flickr.com/services/feeds/photos_public.gne?id=130608600@N05&lang=en-us&format=rss_200 "Flickr" "~Flickr: Spacex Latest" diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index d4151ab..720a832 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -120,6 +120,7 @@ set t_Co=256 set encoding=utf-8 set path+=** " Provides tab-completion for all file related tasks set wildmenu " Display all matching file when we tab complete +runtime macros/matchit.vim " Spelling set complete+=kspell " Better Spell Checking set spelllang=fr diff --git a/.local/bin/colorhandler b/.local/bin/colorhandler new file mode 100755 index 0000000..dabff18 --- /dev/null +++ b/.local/bin/colorhandler @@ -0,0 +1,9 @@ +#!/bin/sh + +col=$(colorpicker --short --one-shot) + +sed "s/fill=.*>/fill=\"$col\">/g" $HOME/.cache/circle.svg > /tmp/circle.svg + +echo "$col" > xsel -b + +notify-send -i "/tmp/circle.svg" -a "Colorpicker" "$col was successfully copied to your clipboard." diff --git a/.local/bin/newsup b/.local/bin/newsup index 7cef34c..b94ca37 100755 --- a/.local/bin/newsup +++ b/.local/bin/newsup @@ -8,7 +8,7 @@ ping -q -c 1 1.1.1.1 > /dev/null || exit pgrep -x newsboat >/dev/null && /usr/bin/xdotool key --window "$(/usr/bin/xdotool search --name newsboat)" R && exit -echo "   " > /tmp/newsupdate && kill -37 $(pidof dwmblocks) +echo "  " > /tmp/newsupdate && kill -37 $(pidof dwmblocks) /usr/bin/newsboat -x reload rm -f /tmp/newsupdate /usr/bin/notify-send -t 1 -a " RSS" "RSS feed update complete." && kill -37 $(pidof dwmblocks) diff --git a/.xinitrc b/.xinitrc index 2864f94..2f90612 100644 --- a/.xinitrc +++ b/.xinitrc @@ -1,6 +1,5 @@ xwallpaper --zoom ~/.cache/wall.png & dropbox-cli start & -/opt/piavpn/bin/pia-daemon & sxhkd & remaps & dunst & @@ -12,7 +11,6 @@ echo us > $HOME/.cache/layout xrdb -load $HOME/.Xresources flashfocus -n 30 -o 0.75 -v ERROR & dwmblocks & -sudo /opt/piavpn/bin/pia-daemon & # exec icewm exec dwm # vim:filetype=sh -- cgit v1.2.3