From 7efd7af689d6679b43e1606460d52258571db2e8 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Wed, 16 Aug 2017 13:47:27 +0200 Subject: [PATCH] update path for zotero, generalize i3status, add urls and add tex only vim config --- newsbeuter/.config/newsbeuter/urls | 1 + shell/.bashrc | 2 +- shell/.local/bin/update | 2 +- vim/.vim/ftplugin/tex.vim | 3 +++ vim/.vimrc | 1 + x/.config/i3status/config | 8 ++++---- 6 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 vim/.vim/ftplugin/tex.vim diff --git a/newsbeuter/.config/newsbeuter/urls b/newsbeuter/.config/newsbeuter/urls index 2a2880e..1edfb85 100644 --- a/newsbeuter/.config/newsbeuter/urls +++ b/newsbeuter/.config/newsbeuter/urls @@ -9,3 +9,4 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCz9uUFDhsPYii-ZihoKsbPg yt https://www.youtube.com/feeds/videos.xml?channel_id=UCTp0MnlTlmqC3NdrPzD08EA yt "Infidelamsterdam" https://www.youtube.com/feeds/videos.xml?channel_id=UC5I2hjZYiW9gZPVkvzM8_Cw yt "Techmoan" https://www.youtube.com/feeds/videos.xml?channel_id=UCkWQ0gDrqOCarmUKmppD7GQ yt "JayzTwoCents" +https://www.youtube.com/feeds/videos.xml?channel_id=UCc0kHafEIzm6PiqyrsC5lyg yt "#BOOS" diff --git a/shell/.bashrc b/shell/.bashrc index 1a598b5..03aef50 100644 --- a/shell/.bashrc +++ b/shell/.bashrc @@ -19,7 +19,7 @@ export CLEAN_HOME=/opt/clean export PATH=~/.local/bin:$PATH export PATH=$PATH:$CLEAN_HOME/lib/exe:$CLEAN_HOME/bin export PATH=$PATH:~/projects/esp-open-sdk/xtensa-lx106-elf/bin -export PATH=$PATH:/opt/texlive/2017/bin/x86_64-linux +export PATH=$PATH:/opt/texlive/2017/bin/x86_64-linux:/opt/zotero export GTK_IM_MODULE=xim export QT_IM_MODULE=xim diff --git a/shell/.local/bin/update b/shell/.local/bin/update index 3563918..b32ce61 100755 --- a/shell/.local/bin/update +++ b/shell/.local/bin/update @@ -14,4 +14,4 @@ cmd() { } sudo sh -c "$(cmd)" -sh -c "tlmgr update --all --self && offlineimap -u ttyui && vdirsyncer sync && khal $NUL && khard $NUL && pass git pull" +sh -c "tlmgr update --all --self && offlineimap -u ttyui && vdirsyncer sync && khal -c .config/khal/config $NUL && khard $NUL && pass git pull origin master" diff --git a/vim/.vim/ftplugin/tex.vim b/vim/.vim/ftplugin/tex.vim new file mode 100644 index 0000000..9e63b07 --- /dev/null +++ b/vim/.vim/ftplugin/tex.vim @@ -0,0 +1,3 @@ +set wrap +set tw=0 +set colorcolumn=0 diff --git a/vim/.vimrc b/vim/.vimrc index e2208df..6740250 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -23,6 +23,7 @@ set colorcolumn=80 set textwidth=79 set shiftwidth=4 set tabstop=4 +set nowrap " List characters to mark trailing whitespace etc set listchars=nbsp:¬,tab:▸\ ,eol:↩,extends:»,precedes:«,trail:• diff --git a/x/.config/i3status/config b/x/.config/i3status/config index 4ac8370..8da17fb 100644 --- a/x/.config/i3status/config +++ b/x/.config/i3status/config @@ -3,8 +3,8 @@ general { interval = 3 } -order += "wireless wlp2s0" -order += "ethernet eth0" +order += "wireless _first_" +order += "ethernet _first_" #order += "keyboard" order += "volume master" order += "disk /" @@ -22,11 +22,11 @@ battery 0 { low_threshold = 10 } -wireless wlp2s0 { +wireless _first_ { format_up = "W: (%quality at %essid) %ip" format_down = "W: down" } -ethernet eth0 { +ethernet _first_ { format_up = "E: %ip" format_down = "E: down" } -- 2.20.1