From d171071e7dfffb4902c01bead975c721f6a9e176 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Sat, 16 Nov 2024 00:53:53 -0500 Subject: [PATCH] AutoYADM commit: 2024-11-16 00:53:53 --- .config/tridactyl/tridactylrc | 180 +++++++++++++++++++++++++++++ .config/tridactyl/tridactylrc.bak | 181 ++++++++++++++++++++++++++++++ .config/zellij/config.kdl | 2 +- 3 files changed, 362 insertions(+), 1 deletion(-) create mode 100644 .config/tridactyl/tridactylrc create mode 100644 .config/tridactyl/tridactylrc.bak diff --git a/.config/tridactyl/tridactylrc b/.config/tridactyl/tridactylrc new file mode 100644 index 00000000..7a33e8f5 --- /dev/null +++ b/.config/tridactyl/tridactylrc @@ -0,0 +1,180 @@ +" General Settings +set update.lastchecktime 1731706223220 +set update.nag true +set update.nagwait 7 +set update.lastnaggedversion 1.14.0 +set update.checkintervalsecs 86400 +set configversion 2.0 + +" Binds +bind ;x hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + window.devicePixelRatio * pos.x + " " + window.devicePixelRatio * pos.y + "; xdotool click 1")} +bind ;c hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + window.devicePixelRatio * pos.x + " " + window.devicePixelRatio * pos.y + "; xdotool click 3")} +bind ;: hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + window.devicePixelRatio * pos.x + " " + window.devicePixelRatio * pos.y)} +bind ;X hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + window.devicePixelRatio * pos.x + " " + window.devicePixelRatio * pos.y + "; xdotool keydown ctrl+shift; xdotool click 1; xdotool keyup ctrl+shift")} +bind pin +bind mute toggle +bind help +bind o fillcmdline open +bind O current_url open +bind w fillcmdline winopen +bind W current_url winopen +bind t fillcmdline tabopen +bind ]] followpage next +bind [[ followpage prev +bind [c urlincrement -1 +bind ]c urlincrement 1 +bind urlincrement -1 +bind urlincrement 1 +bind T current_url tabopen +bind yy clipboard yank +bind ys clipboard yankshort +bind yq text2qr --timeout 5 +bind yc clipboard yankcanon +bind ym clipboard yankmd +bind yo clipboard yankorg +bind yt clipboard yanktitle +bind gh home +bind gH home true +bind p clipboard open +bind P clipboard tabopen +bind j scrollline 10 +bind scrollline 10 +bind k scrollline -10 +bind scrollline -10 +bind h scrollpx -50 +bind l scrollpx 50 +bind G scrollto 100 +bind gg scrollto 0 +bind scrollpage -0.5 +bind scrollpage 0.5 +bind scrollpage 1 +bind scrollpage -1 +bind nmode ignore 1 mode normal +bind $ scrollto 100 x +bind ^ scrollto 0 x +bind H back +bind L forward +bind jumpprev +bind jumpnext +bind d tabclose +bind D composite tabprev; tabclose # +bind gx0 tabclosealltoleft +bind gx$ tabclosealltoright +bind << tabmove -1 +bind >> tabmove +1 +bind u undo +bind U undo window +bind r reload +bind R reloadhard +bind x stop +bind gi focusinput -l +bind g? rot13 +bind g! jumble +bind g; changelistjump -1 +bind J tabprev +bind K tabnext +bind gt tabnext_gt +bind gT tabprev +bind g^ tabfirst +bind g0 tabfirst +bind g$ tablast +bind ga tabaudio +bind gr reader --old +bind gu urlparent +bind gU urlroot +bind gf viewsource +bind : fillcmdline_notrail +bind s fillcmdline open search +bind S fillcmdline tabopen search +bind M back +bind B fillcmdline taball +bind b fillcmdline tab +bind ZZ qall +bind f hint +bind F hint -b +bind gF hint -qb +bind ;i hint -i +bind ;b hint -b +bind ;o hint +bind ;I hint -I +bind ;k hint -k +bind ;K hint -K +bind ;y hint -y +bind ;Y hint -cF img i => tri.excmds.yankimage(tri.urlutils.getAbsoluteURL(i.src)) +bind ;p hint -p +bind ;h hint -h +bind v hint -h +bind ;P hint -P +bind ;r hint -r +bind ;s hint -s +bind ;S hint -S +bind ;a hint -a +bind ;A hint -A +bind ;; hint -; * +bind ;# hint -# +bind ;v hint -W mpvsafe +bind ;V hint -V +bind ;w hint -w +bind ;t hint -W tabopen +bind ;O hint -W fillcmdline_notrail open +bind ;W hint -W fillcmdline_notrail winopen +bind ;T hint -W fillcmdline_notrail tabopen +bind ;d hint -W tabopen --discard +bind ;gd hint -qW tabopen --discard +bind ;z hint -z +bind ;m hint -JFc img i => tri.excmds.open('https://lens.google.com/uploadbyurl?url='+i.src) +bind ;M hint -JFc img i => tri.excmds.tabopen('https://lens.google.com/uploadbyurl?url='+i.src) +bind ;gi hint -qi +bind ;gI hint -qI +bind ;gk hint -qk +bind ;gy hint -qy +bind ;gp hint -qp +bind ;gP hint -qP +bind ;gr hint -qr +bind ;gs hint -qs +bind ;gS hint -qS +bind ;ga hint -qa +bind ;gA hint -qA +bind ;g; hint -q; +bind ;g# hint -q# +bind ;gv hint -qW mpvsafe +bind ;gw hint -qw +bind ;gb hint -qb +bind ;gF hint -qb +bind ;gf hint -q +bind mode ignore +bind mode ignore +bind mode ignore +bind mode ignore +bind composite mode normal ; hidecmdline +bind composite mode normal ; hidecmdline +bind a current_url bmark +bind A bmark +bind zi zoom 0.1 true +bind zo zoom -0.1 true +bind zm zoom 0.5 true +bind zr zoom -0.5 true +bind zM zoom 0.5 true +bind zR zoom -0.5 true +bind zz zoom 1 +bind zI zoom 3 +bind zO zoom 0.3 +bind . repeat +bind ba open https://www.youtube.com/watch?v=M3iOROuTuMA +bind m scrollpx -50 +bind ` gobble 1 markjumpglobal +bind back +bind forward +bind tabnext +bind tabprev +unbind " +bind n scrollline 10 +bind e scrollline -10 +bind i scrollpx 50 +bind N tabnext +bind E tabprev +bind I forward +bind gobble 1 markaddglobal +" seturl ^https://chatgpt.com/* superignore true +" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl +" vim: set filetype=tridactyl diff --git a/.config/tridactyl/tridactylrc.bak b/.config/tridactyl/tridactylrc.bak new file mode 100644 index 00000000..61769959 --- /dev/null +++ b/.config/tridactyl/tridactylrc.bak @@ -0,0 +1,181 @@ +" General Settings +set update.lastchecktime 1731706223220 +set update.nag true +set update.nagwait 7 +set update.lastnaggedversion 1.14.0 +set update.checkintervalsecs 86400 +set configversion 2.0 + +" Binds +bind S-Left back +bind ;x hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + window.devicePixelRatio * pos.x + " " + window.devicePixelRatio * pos.y + "; xdotool click 1")} +bind ;c hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + window.devicePixelRatio * pos.x + " " + window.devicePixelRatio * pos.y + "; xdotool click 3")} +bind ;: hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + window.devicePixelRatio * pos.x + " " + window.devicePixelRatio * pos.y)} +bind ;X hint -F e => { const pos = tri.dom.getAbsoluteCentre(e); tri.excmds.exclaim_quiet("xdotool mousemove --sync " + window.devicePixelRatio * pos.x + " " + window.devicePixelRatio * pos.y + "; xdotool keydown ctrl+shift; xdotool click 1; xdotool keyup ctrl+shift")} +bind pin +bind mute toggle +bind help +bind o fillcmdline open +bind O current_url open +bind w fillcmdline winopen +bind W current_url winopen +bind t fillcmdline tabopen +bind ]] followpage next +bind [[ followpage prev +bind [c urlincrement -1 +bind ]c urlincrement 1 +bind urlincrement -1 +bind urlincrement 1 +bind T current_url tabopen +bind yy clipboard yank +bind ys clipboard yankshort +bind yq text2qr --timeout 5 +bind yc clipboard yankcanon +bind ym clipboard yankmd +bind yo clipboard yankorg +bind yt clipboard yanktitle +bind gh home +bind gH home true +bind p clipboard open +bind P clipboard tabopen +bind j scrollline 10 +bind scrollline 10 +bind k scrollline -10 +bind scrollline -10 +bind h scrollpx -50 +bind l scrollpx 50 +bind G scrollto 100 +bind gg scrollto 0 +bind scrollpage -0.5 +bind scrollpage 0.5 +bind scrollpage 1 +bind scrollpage -1 +bind nmode ignore 1 mode normal +bind $ scrollto 100 x +bind ^ scrollto 0 x +bind H back +bind L forward +bind jumpprev +bind jumpnext +bind d tabclose +bind D composite tabprev; tabclose # +bind gx0 tabclosealltoleft +bind gx$ tabclosealltoright +bind << tabmove -1 +bind >> tabmove +1 +bind u undo +bind U undo window +bind r reload +bind R reloadhard +bind x stop +bind gi focusinput -l +bind g? rot13 +bind g! jumble +bind g; changelistjump -1 +bind J tabprev +bind K tabnext +bind gt tabnext_gt +bind gT tabprev +bind g^ tabfirst +bind g0 tabfirst +bind g$ tablast +bind ga tabaudio +bind gr reader --old +bind gu urlparent +bind gU urlroot +bind gf viewsource +bind : fillcmdline_notrail +bind s fillcmdline open search +bind S fillcmdline tabopen search +bind M back +bind B fillcmdline taball +bind b fillcmdline tab +bind ZZ qall +bind f hint +bind F hint -b +bind gF hint -qb +bind ;i hint -i +bind ;b hint -b +bind ;o hint +bind ;I hint -I +bind ;k hint -k +bind ;K hint -K +bind ;y hint -y +bind ;Y hint -cF img i => tri.excmds.yankimage(tri.urlutils.getAbsoluteURL(i.src)) +bind ;p hint -p +bind ;h hint -h +bind v hint -h +bind ;P hint -P +bind ;r hint -r +bind ;s hint -s +bind ;S hint -S +bind ;a hint -a +bind ;A hint -A +bind ;; hint -; * +bind ;# hint -# +bind ;v hint -W mpvsafe +bind ;V hint -V +bind ;w hint -w +bind ;t hint -W tabopen +bind ;O hint -W fillcmdline_notrail open +bind ;W hint -W fillcmdline_notrail winopen +bind ;T hint -W fillcmdline_notrail tabopen +bind ;d hint -W tabopen --discard +bind ;gd hint -qW tabopen --discard +bind ;z hint -z +bind ;m hint -JFc img i => tri.excmds.open('https://lens.google.com/uploadbyurl?url='+i.src) +bind ;M hint -JFc img i => tri.excmds.tabopen('https://lens.google.com/uploadbyurl?url='+i.src) +bind ;gi hint -qi +bind ;gI hint -qI +bind ;gk hint -qk +bind ;gy hint -qy +bind ;gp hint -qp +bind ;gP hint -qP +bind ;gr hint -qr +bind ;gs hint -qs +bind ;gS hint -qS +bind ;ga hint -qa +bind ;gA hint -qA +bind ;g; hint -q; +bind ;g# hint -q# +bind ;gv hint -qW mpvsafe +bind ;gw hint -qw +bind ;gb hint -qb +bind ;gF hint -qb +bind ;gf hint -q +bind mode ignore +bind mode ignore +bind mode ignore +bind mode ignore +bind composite mode normal ; hidecmdline +bind composite mode normal ; hidecmdline +bind a current_url bmark +bind A bmark +bind zi zoom 0.1 true +bind zo zoom -0.1 true +bind zm zoom 0.5 true +bind zr zoom -0.5 true +bind zM zoom 0.5 true +bind zR zoom -0.5 true +bind zz zoom 1 +bind zI zoom 3 +bind zO zoom 0.3 +bind . repeat +bind ba open https://www.youtube.com/watch?v=M3iOROuTuMA +bind m scrollpx -50 +bind ` gobble 1 markjumpglobal +bind back +bind forward +bind tabnext +bind tabprev +unbind " +bind n scrollline 10 +bind e scrollline -10 +bind i scrollpx 50 +bind N tabnext +bind E tabprev +bind I forward +bind gobble 1 markaddglobal + +" For syntax highlighting see https://github.com/tridactyl/vim-tridactyl +" vim: set filetype=tridactyl \ No newline at end of file diff --git a/.config/zellij/config.kdl b/.config/zellij/config.kdl index 7e0225e5..e1a21667 100644 --- a/.config/zellij/config.kdl +++ b/.config/zellij/config.kdl @@ -123,8 +123,8 @@ keybinds clear-defaults=true { bind "Alt -" { Resize "Increase"; } bind "Alt esc" { Resize "Decrease"; } bind "Alt h" { PreviousSwapLayout; } - bind "Alt ," { NextSwapLayout; } bind "Alt f" { ToggleFocusFullscreen; } + bind "Alt ," { NextSwapLayout; } bind "Alt w" { ToggleFloatingPanes; } bind "Alt z" { TogglePaneFrames; } bind "Ctrl g" { SwitchToMode "locked"; }