Update 2025-01-28 07:47 OpenBSD/amd64-t14
This commit is contained in:
		
							parent
							
								
									ee9207d716
								
							
						
					
					
						commit
						00f804c99f
					
				
							
								
								
									
										10
									
								
								.bin/blog
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								.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
 | 
			
		||||
 | 
			
		||||
@ -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() {
 | 
			
		||||
 | 
			
		||||
@ -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"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -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" ;;
 | 
			
		||||
 | 
			
		||||
@ -69,6 +69,7 @@ set fillchars=vert:\│
 | 
			
		||||
set fillchars+=foldsep:\│,fold:\—
 | 
			
		||||
set fillchars+=foldclose:\🗁
 | 
			
		||||
set fillchars+=foldopen:\🗁
 | 
			
		||||
set foldlevel=2
 | 
			
		||||
 | 
			
		||||
set wildmode=full
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user