wyeb: add
This commit is contained in:
parent
055ac9cecd
commit
ebe87e9d06
|
@ -0,0 +1,22 @@
|
|||
; wyeb. GtkAccelMap rc-file -*- scheme -*-
|
||||
; this file is an automated accelerator map dump
|
||||
;
|
||||
; (gtk_accel_path "<window>/bookmark" "")
|
||||
; (gtk_accel_path "<window>/openClipboard" "")
|
||||
; (gtk_accel_path "<window>/viewSource" "")
|
||||
; (gtk_accel_path "<window>/openNewSrcURI" "")
|
||||
; (gtk_accel_path "<window>/editLabelOrTitle" "")
|
||||
; (gtk_accel_path "<window>/history" "")
|
||||
; (gtk_accel_path "<window>/quitAll" "")
|
||||
; (gtk_accel_path "<window>/duplicate" "")
|
||||
; (gtk_accel_path "<window>/openClipboardNew" "")
|
||||
; (gtk_accel_path "<window>/editMenu" "")
|
||||
; (gtk_accel_path "<window>/openSelection" "")
|
||||
; (gtk_accel_path "<window>/noSuffixProcess" "")
|
||||
; (gtk_accel_path "<window>/chromium" "")
|
||||
; (gtk_accel_path "<window>/openBackRange" "")
|
||||
; (gtk_accel_path "<window>/windowList" "")
|
||||
; (gtk_accel_path "<window>/main" "")
|
||||
; (gtk_accel_path "<window>/openWithRef" "")
|
||||
; (gtk_accel_path "<window>/openSelectionNew" "")
|
||||
; (gtk_accel_path "<window>/searchDictionary" "")
|
|
@ -0,0 +1,232 @@
|
|||
#Basically wyeb doesn't cut spaces. Also true is only 'true' not 'True'
|
||||
#
|
||||
#'all' overwrites the 'set's
|
||||
[all]
|
||||
winwidth=1000
|
||||
winheight=1000
|
||||
zoom=1.000
|
||||
ignoretlserr=false
|
||||
itp=false
|
||||
histviewsize=99
|
||||
histimgs=99
|
||||
histimgsize=222
|
||||
keepproc=false
|
||||
pointerwarp=false
|
||||
|
||||
[boot]
|
||||
enablefavicon=true
|
||||
extensionargs=adblock:true;
|
||||
multiwebprocs=true
|
||||
ephemeral=false
|
||||
#workaround
|
||||
unsetGTK_OVERLAY_SCROLLING=true
|
||||
|
||||
[search]
|
||||
searx=https://searx.projectlounge.pw/search?q=%s
|
||||
ddg=https://html.duckduckgo.com/search?q=%s
|
||||
|
||||
#Unlike the search group, the arg is not escaped
|
||||
#but can be called the same as the search
|
||||
[template]
|
||||
na=%s
|
||||
h=http://%s
|
||||
|
||||
#Settings set. You can add set:*
|
||||
#It is enabled by actions(set/set2/setstack) or included by others
|
||||
[set:v]
|
||||
enable-caret-browsing=true
|
||||
hackedhint4js=false
|
||||
|
||||
[set:script]
|
||||
enable-javascript=true
|
||||
|
||||
[set:image]
|
||||
auto-load-images=true
|
||||
linkformat=[![](wyeb:F) %.40s](%s)
|
||||
linkdata=tu
|
||||
|
||||
#
|
||||
#
|
||||
#Defaults of 'set's
|
||||
#You can use set;'s keys in set:* and uri:*
|
||||
#
|
||||
#
|
||||
[set;]
|
||||
#
|
||||
#core
|
||||
#
|
||||
#editor=xterm -e mimeopen %s
|
||||
#editor=gvim --servername wyeb --remote-silent "%s"
|
||||
editor=xdg-open %s
|
||||
mdeditor=
|
||||
#diropener=xterm -e mimeopen %s
|
||||
diropener=xdg-open %s
|
||||
generator=markdown -f -style %s
|
||||
#
|
||||
#misc
|
||||
#
|
||||
#usercss=user.css;user2.css
|
||||
usercss=user.css
|
||||
userscripts=
|
||||
#search=https://www.google.com/search?q=%s
|
||||
search=searx
|
||||
searchstrmax=99
|
||||
addressbar=false
|
||||
msgcolor=#c07
|
||||
msgmsec=600
|
||||
keepfavicondb=false
|
||||
#notnew | ignore | back | normal
|
||||
newwinhandle=normal
|
||||
scriptdialog=true
|
||||
#
|
||||
#loading
|
||||
#
|
||||
#adblock has a point only while wyebadblock is working.
|
||||
adblock=true
|
||||
reldomaindataonly=false
|
||||
reldomaincutheads=www.;wiki.;bbs.;developer.
|
||||
showblocked=false
|
||||
stdoutheaders=false
|
||||
#removeheaders=Upgrade-Insecure-Requests;Referer;
|
||||
removeheaders=
|
||||
rmnoscripttag=false
|
||||
#
|
||||
#bookmark
|
||||
#
|
||||
linkformat=[%.40s](%s)
|
||||
#t: title, u: uri, f: favicon
|
||||
linkdata=tu
|
||||
#
|
||||
#hint
|
||||
#
|
||||
hintkeys=fsedagwrvxqcz
|
||||
hackedhint4js=true
|
||||
hintrangemax=9
|
||||
rangeloopusec=90000
|
||||
#
|
||||
#download
|
||||
#
|
||||
dlwithheaders=false
|
||||
#dlmimetypes=*
|
||||
dlmimetypes=text/plain;video/;audio/;application/
|
||||
dlsubdir=Downloads
|
||||
dlwinback=true
|
||||
dlwinclosemsec=3000
|
||||
#
|
||||
#script
|
||||
#
|
||||
spawnmsg=false
|
||||
#onstartmenu exec a file in the menu dir when load started before redirect
|
||||
onstartmenu=
|
||||
#when load commited
|
||||
onloadmenu=
|
||||
#when load finished
|
||||
onloadedmenu=
|
||||
#
|
||||
#input
|
||||
#
|
||||
multiplescroll=2
|
||||
#keybindswaps=Xx;ZZ;zZ ->if typed x: x to X, if Z: Z to Z
|
||||
keybindswaps=
|
||||
#hjkl's defaults are scrolls, not arrow keys
|
||||
hjkl2arrowkeys=false
|
||||
mdlbtnlinkaction=openback
|
||||
mdlbtnspace=winlist
|
||||
mdlbtnleft=prevwin
|
||||
mdlbtnright=nextwin
|
||||
mdlbtnup=top
|
||||
mdlbtndown=bottom
|
||||
pressscrollup=top
|
||||
pressscrolldown=bottom
|
||||
rockerleft=back
|
||||
rockerright=forward
|
||||
rockerup=quitprev
|
||||
rockerdown=quitnext
|
||||
button8=back
|
||||
button9=forward
|
||||
#
|
||||
#Webkit's settings
|
||||
#
|
||||
enable-javascript=false
|
||||
auto-load-images=true
|
||||
load-icons-ignoring-image-load-setting=false
|
||||
enable-offline-web-application-cache=true
|
||||
enable-html5-local-storage=true
|
||||
enable-html5-database=true
|
||||
enable-xss-auditor=false
|
||||
enable-frame-flattening=false
|
||||
enable-plugins=false
|
||||
enable-java=false
|
||||
javascript-can-open-windows-automatically=false
|
||||
enable-hyperlink-auditing=true
|
||||
default-font-family=serif
|
||||
monospace-font-family=monospace
|
||||
serif-font-family=serif
|
||||
sans-serif-font-family=sans-serif
|
||||
cursive-font-family=serif
|
||||
fantasy-font-family=serif
|
||||
pictograph-font-family=serif
|
||||
default-font-size=13
|
||||
default-monospace-font-size=13
|
||||
minimum-font-size=0
|
||||
default-charset=iso-8859-1
|
||||
enable-private-browsing=false
|
||||
enable-developer-extras=false
|
||||
enable-resizable-text-areas=true
|
||||
enable-tabs-to-links=true
|
||||
enable-dns-prefetching=false
|
||||
enable-caret-browsing=false
|
||||
enable-fullscreen=true
|
||||
print-backgrounds=true
|
||||
enable-webaudio=true
|
||||
enable-webgl=true
|
||||
allow-modal-dialogs=false
|
||||
zoom-text-only=false
|
||||
javascript-can-access-clipboard=false
|
||||
media-playback-requires-user-gesture=false
|
||||
media-playback-allows-inline=true
|
||||
draw-compositing-indicators=false
|
||||
enable-site-specific-quirks=true
|
||||
enable-page-cache=true
|
||||
user-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15
|
||||
enable-smooth-scrolling=false
|
||||
enable-accelerated-2d-canvas=false
|
||||
enable-write-console-messages-to-stdout=false
|
||||
enable-media-stream=true
|
||||
enable-mock-capture-devices=false
|
||||
enable-spatial-navigation=false
|
||||
enable-mediasource=true
|
||||
enable-encrypted-media=false
|
||||
enable-media-capabilities=false
|
||||
allow-file-access-from-file-urls=false
|
||||
allow-universal-access-from-file-urls=false
|
||||
allow-top-navigation-to-data-urls=false
|
||||
#ON_DEMAND | ALWAYS | NEVER
|
||||
hardware-acceleration-policy=ALWAYS
|
||||
enable-back-forward-navigation-gestures=false
|
||||
enable-javascript-markup=true
|
||||
enable-media=true
|
||||
media-content-types-requiring-hardware-support=
|
||||
enable-webrtc=false
|
||||
disable-web-security=false
|
||||
|
||||
#After 'uri:' is regular expressions for the setting set.
|
||||
#preferential order of groups: lower > upper > 'set;'
|
||||
[uri:^mailto:]
|
||||
handler=xdg-open %s
|
||||
|
||||
[uri:^gemini:]
|
||||
handler=xdg-open %s
|
||||
|
||||
[uri:^https?://www\.youtube\.com/(.*)]
|
||||
handler=wyeb open https://vid.puffyan.us/%s
|
||||
|
||||
[uri:^https?://twitter\.com/(.*)]
|
||||
handler=wyeb open http://yosh.nitter.rip/%s
|
||||
|
||||
[uri:^https?://(yosh.nitter.rip|wetdry.world|vid.puffyan.us).*]
|
||||
enable-javascript=true
|
||||
|
||||
[uri:^https://wetdry\.world/deck/@lexd0g/110854727039207659]
|
||||
|
||||
[uri:^https://wetdry\.world/deck/@koko@yiff\.life/110855139762320250]
|
|
@ -0,0 +1,40 @@
|
|||
<!-- this is text/markdown -->
|
||||
<meta charset=utf8>
|
||||
<style>
|
||||
body{overflow-y:scroll} /*workaround for the delaying of the context-menu*/
|
||||
a{background:linear-gradient(to right top, #ddf, white, white, white);
|
||||
color:#109; margin:1px; padding:2px; text-decoration:none; display:inline-block}
|
||||
a:hover{text-decoration:underline}
|
||||
img{height:1em; width:1em; margin:-.1em}
|
||||
strong > code{font-size:1.4em}
|
||||
</style>
|
||||
|
||||
<html>
|
||||
<body>
|
||||
###Specific Keys:
|
||||
- **`e`** : Edit this page
|
||||
- **`E`** : Edit main config file
|
||||
- **`c`** : Open config directory
|
||||
- **`m`** : Show this page
|
||||
- **`M`** : Show **[history](wyeb:history)**
|
||||
- **`b`** : Add title and URI of a page opened to this page
|
||||
|
||||
If **e,E,c** don't work, edit values '`mimeopen -n %s`' of ~/.config/wyeb./main.conf<br>
|
||||
or change mimeopen's database by running '<code>mimeopen <i>file/directory</i></code>' in terminals.
|
||||
|
||||
For other keys, see **[help](wyeb:help)** assigned '**`:`**'.
|
||||
Since wyeb is inspired by **[dwb](https://wiki.archlinux.org/index.php/dwb)**
|
||||
and luakit, usage is similar to them.
|
||||
|
||||
---
|
||||
<!--
|
||||
wyeb:i/iconname returns an icon image of current icon theme of gtk.
|
||||
wyeb:f/uri returns a favicon of the uri loaded before.
|
||||
wyeb:F converted to the wyeb:f with a parent tag's href.
|
||||
-->
|
||||
</body>
|
||||
</html>
|
||||
[Repository search results · GitHub](https://github.com/search?q=suckless%20tabbed&type=repositories)
|
||||
[Repository search results · GitHub](https://github.com/search?q=suckless%20tabbed&type=repositories)
|
||||
[alice: "i come into wetdry world an](https://wetdry.world/deck/@lexd0g/110854727039207659)
|
||||
[ko 🦊🌸: "oh. using gnu units i](https://wetdry.world/deck/@koko@yiff.life/110855139762320250)
|
|
@ -0,0 +1 @@
|
|||
wyeb // shrange 'wyeb // openback $MEDIA_IMAGE_LINK'
|
|
@ -0,0 +1 @@
|
|||
wyeb // shhint 'wyeb // opennew $MEDIA_IMAGE_LINK'
|
|
@ -0,0 +1 @@
|
|||
wyeb // shhint 'wyeb // openwithref $MEDIA_IMAGE_LINK'
|
|
@ -0,0 +1 @@
|
|||
wyeb // openconfigdir menu
|
|
@ -0,0 +1 @@
|
|||
wyeb // bookmark "$LINK_OR_URI $LABEL_OR_TITLE"
|
|
@ -0,0 +1 @@
|
|||
wyeb // opennew $URI
|
|
@ -0,0 +1 @@
|
|||
wyeb // edituri "$LABEL_OR_TITLE"
|
|
@ -0,0 +1 @@
|
|||
wyeb // showhistory ''
|
|
@ -0,0 +1 @@
|
|||
wyeb // winlist ''
|
|
@ -0,0 +1 @@
|
|||
wyeb // open wyeb:main
|
|
@ -0,0 +1 @@
|
|||
wyeb // open "$CLIPBOARD"
|
|
@ -0,0 +1 @@
|
|||
wyeb // opennew "$CLIPBOARD"
|
|
@ -0,0 +1 @@
|
|||
wyeb // open "$PRIMARY"
|
|
@ -0,0 +1 @@
|
|||
wyeb // opennew "$PRIMARY"
|
|
@ -0,0 +1 @@
|
|||
wyeb // open "u $PRIMARY"
|
|
@ -0,0 +1 @@
|
|||
wyeb // shsrc 'd="$DLDIR/wyeb-source" && tee > "$d" && mimeopen -n "$d"'
|
|
@ -0,0 +1 @@
|
|||
chromium $LINK_OR_URI
|
|
@ -0,0 +1 @@
|
|||
wyeb / new $LINK_OR_URI
|
|
@ -0,0 +1 @@
|
|||
wyeb // quitall ''
|
|
@ -0,0 +1,30 @@
|
|||
# First char is 'w':white list or 'b':black list.
|
||||
# Second and following chars are regular expressions.
|
||||
# Preferential order: bottom > top
|
||||
# Keys 'a' and 'A' on wyeb add blocked or loaded list to this file.
|
||||
|
||||
w^https?://([a-z0-9]+\.)*githubusercontent\.com/
|
||||
|
||||
|
||||
# blocked in https://porkbun.com/
|
||||
w^https://www\.googletagmanager\.com/gtm\.js\?id=GTM-5S49FWT
|
||||
|
||||
# blocked in https://github.com/jun7/wyeb/blob/master/main.c
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
||||
w^https://collector\.github\.com/github/collect
|
Loading…
Reference in New Issue