From 00f804c99f8b875c6ee75229e836ed2b65a052a5 Mon Sep 17 00:00:00 2001 From: c0dev0id Date: Tue, 28 Jan 2025 07:47:16 +0100 Subject: [PATCH] Update 2025-01-28 07:47 OpenBSD/amd64-t14 --- .bin/blog | 10 ++++++++++ .bin/update-adlist | 2 +- .config/luakit/rc.lua | 2 +- .config/nsxiv/exec/key-handler | 4 ++-- .vim/vimrc | 1 + 5 files changed, 15 insertions(+), 4 deletions(-) diff --git a/.bin/blog b/.bin/blog index 67dea59..cad280f 100755 --- a/.bin/blog +++ b/.bin/blog @@ -6,6 +6,16 @@ cd "$HOME/blog" +for _arg +do + case $_arg in + update) + make update + exit 0 + ;; + esac +done + # extra options appended to the menu _extra="--- maintenance * Maintenance Mode diff --git a/.bin/update-adlist b/.bin/update-adlist index 1a1eac6..ab6fd85 100755 --- a/.bin/update-adlist +++ b/.bin/update-adlist @@ -99,7 +99,7 @@ _disabled() { _domainfilter() { # chain grep commands used in assemble pipe - grep -Ev "torrent|instagram.com" + grep -Ev "torrent|instagram\.com|tattoo|whatsapp\.com" } _assemble() { diff --git a/.config/luakit/rc.lua b/.config/luakit/rc.lua index 0751828..53ba488 100644 --- a/.config/luakit/rc.lua +++ b/.config/luakit/rc.lua @@ -182,7 +182,7 @@ follow.stylesheet = follow.stylesheet .. [===[ ]===] -- Hide scrollbars on all pages -local hide_scrollbars = require "hide_scrollbars" +-- local hide_scrollbars = require "hide_scrollbars" -- local vertical_tabs = require "vertical_tabs" diff --git a/.config/nsxiv/exec/key-handler b/.config/nsxiv/exec/key-handler index 48e808d..896788c 100755 --- a/.config/nsxiv/exec/key-handler +++ b/.config/nsxiv/exec/key-handler @@ -109,8 +109,8 @@ remove_set() { while read file do case "$1" in - "Left") jpegtran -rotate 270 -outfile "$file" "$file" ;; - "Right") jpegtran -rotate 90 -outfile "$file" "$file" ;; + "Right") jpegtran -rotate 270 -outfile "$file" "$file" ;; + "Left") jpegtran -rotate 90 -outfile "$file" "$file" ;; "c") copy_to_clipboard "$file" ;; "d") rm -f "$file" ;; "e") edit_image "$file" ;; diff --git a/.vim/vimrc b/.vim/vimrc index b1835ac..f42ee95 100644 --- a/.vim/vimrc +++ b/.vim/vimrc @@ -69,6 +69,7 @@ set fillchars=vert:\│ set fillchars+=foldsep:\│,fold:\— set fillchars+=foldclose:\🗁 set fillchars+=foldopen:\🗁 +set foldlevel=2 set wildmode=full