commit d75d17e2f67907de3f6b92e9c9ad142933669b9e
parent 754f069ec7ef5ff00c13934f1111b0446595703c
Author: AndrewLockVI <andrew@laack.co>
Date: Tue, 11 Feb 2025 23:34:12 -0600
Added configuration for vimium browser plugin
Diffstat:
5 files changed, 30 insertions(+), 221 deletions(-)
diff --git a/mimeapps.list b/mimeapps.list
@@ -5,7 +5,6 @@ x-scheme-handler/mid=userapp-Thunderbird-2CP6Y2.desktop
x-scheme-handler/feed=userapp-Thunderbird-TGBB02.desktop
application/rss+xml=userapp-Thunderbird-TGBB02.desktop
application/x-extension-rss=userapp-Thunderbird-TGBB02.desktop
-application/pdf=okular.desktop
application/x-extension-burp=install4j_vap7k-BurpSuiteCommunity.desktop
[Added Associations]
@@ -14,4 +13,3 @@ x-scheme-handler/mid=userapp-Thunderbird-2CP6Y2.desktop;
x-scheme-handler/feed=userapp-Thunderbird-TGBB02.desktop;
application/rss+xml=userapp-Thunderbird-TGBB02.desktop;
application/x-extension-rss=userapp-Thunderbird-TGBB02.desktop;
-application/pdf=okularApplication_pdf.desktop;
diff --git a/okularpartrc b/okularpartrc
@@ -1,21 +0,0 @@
-[Core General]
-ObeyDRM=false
-
-[Document]
-PaperColor=0,0,0
-RenderMode=Paper
-
-[General]
-DisplayDocumentTitle=false
-ShowOSD=false
-ttsEngine=flite
-ttsVoice=slt
-
-[PageView]
-BackgroundColor=0,0,0
-MouseMode=TextSelect
-UseCustomBackgroundColor=true
-
-[Reviews]
-BuiltinAnnotationTools=<tool id="1" type="highlight"><engine color="#ffff00" type="TextSelector"><annotation color="#ffffff00" type="Highlight"/></engine></tool>,<tool id="2" type="underline"><engine color="#ff0000" type="TextSelector"><annotation color="#ffff0000" type="Underline"/></engine></tool>,<tool id="3" type="squiggly"><engine color="#ff0000" type="TextSelector"><annotation color="#ffff0000" type="Squiggly"/></engine></tool>,<tool id="4" type="strikeout"><engine color="#ff0000" type="TextSelector"><annotation color="#ffff0000" type="StrikeOut"/></engine></tool>,<tool id="5" type="typewriter"><engine block="true" type="PickPoint"><annotation color="#00ffffff" font="Noto Sans\\,10\\,-1\\,5\\,50\\,0\\,0\\,0\\,0\\,0\\,Regular" textColor="#000000" type="Typewriter" width="0"/></engine></tool>,<tool id="6" type="note-inline"><engine block="true" color="#ffff00" hoverIcon="tool-note-inline" type="PickPoint"><annotation color="#ffffff00" font="Noto Sans\\,10\\,-1\\,5\\,50\\,0\\,0\\,0\\,0\\,0\\,Regular" type="FreeText"/></engine></tool>,<tool id="7" type="note-linked"><engine color="#ffff00" hoverIcon="tool-note" type="PickPoint"><annotation color="#ffffff00" icon="Note" type="Text"/></engine></tool>,<tool id="8" type="ink"><engine color="#00ff00" type="SmoothLine"><annotation color="#ff00ff00" type="Ink" width="2"/></engine></tool>,<tool id="9" name="Arrow" type="straight-line"><engine color="#000000" points="2" type="PolyLine"><annotation color="#ff000000" endStyle="3" type="Line" width="2"/></engine></tool>,<tool id="10" type="straight-line"><engine color="#000000" points="2" type="PolyLine"><annotation color="#ff000000" type="Line" width="2"/></engine></tool>,<tool id="11" type="rectangle"><engine block="true" color="#ff0000" type="PickPoint"><annotation color="#ffff0000" type="GeomSquare" width="3"/></engine></tool>,<tool id="12" type="ellipse"><engine block="true" color="#00ffff" type="PickPoint"><annotation color="#ff00ffff" type="GeomCircle" width="3"/></engine></tool>,<tool id="13" type="polygon"><engine color="#007eee" points="-1" type="PolyLine"><annotation color="#ff007eee" type="Line" width="2"/></engine></tool>,<tool id="14" type="stamp"><engine block="true" hoverIcon="Approved" size="64" type="PickPoint"><annotation icon="Approved" type="Stamp"/></engine></tool>
-QuickAnnotationTools=<tool default="true" id="1" name="Yellow Highlighter" type="highlight"><engine color="#ffff00" type="TextSelector"><annotation color="#ffffff00" type="Highlight"/></engine><shortcut>1</shortcut></tool>,<tool default="true" id="2" name="Green Highlighter" type="highlight"><engine color="#00ff00" type="TextSelector"><annotation color="#ff00ff00" type="Highlight"/></engine><shortcut>2</shortcut></tool>,<tool id="3" type="underline"><engine color="#ff0000" type="TextSelector"><annotation color="#ffff0000" type="Underline"/></engine><shortcut>3</shortcut></tool>,<tool default="true" id="4" name="Insert Text" type="typewriter"><engine block="true" type="PickPoint"><annotation color="#00ffffff" textColor="#000000" type="Typewriter" width="0"/></engine><shortcut>4</shortcut></tool>,<tool id="5" type="note-inline"><engine block="true" color="#ffff00" hoverIcon="tool-note-inline" type="PickPoint"><annotation color="#ffffff00" textColor="#ff000000" type="FreeText"/></engine><shortcut>5</shortcut></tool>,<tool id="6" type="note-linked"><engine color="#ffff00" hoverIcon="tool-note" type="PickPoint"><annotation color="#ffffff00" icon="Note" type="Text"/></engine><shortcut>6</shortcut></tool>
diff --git a/okularrc b/okularrc
@@ -1,197 +0,0 @@
-[ColorEffects:Disabled]
-Color=150,150,150
-ColorAmount=0
-ColorEffect=0
-ContrastAmount=0.65
-ContrastEffect=1
-IntensityAmount=0.1
-IntensityEffect=2
-
-[ColorEffects:Inactive]
-ChangeSelectionColor=true
-Color=150,150,150
-ColorAmount=0.025
-ColorEffect=2
-ContrastAmount=0.1
-ContrastEffect=2
-Enable=false
-IntensityAmount=0
-IntensityEffect=0
-
-[Colors:Button]
-BackgroundAlternate=80,80,80
-BackgroundNormal=71,71,71
-DecorationFocus=204,204,204
-DecorationHover=224,224,224
-ForegroundActive=255,255,255
-ForegroundInactive=223,223,223,100
-ForegroundLink=66,133,244
-ForegroundNegative=218,68,83
-ForegroundNeutral=255,109,0
-ForegroundNormal=223,223,223
-ForegroundPositive=1,162,153
-ForegroundVisited=0,188,212
-
-[Colors:Complementary]
-BackgroundAlternate=0,0,0
-BackgroundNormal=0,0,0
-DecorationFocus=204,204,204
-DecorationHover=224,224,224
-ForegroundActive=242,242,242
-ForegroundInactive=223,223,223,100
-ForegroundLink=66,133,244
-ForegroundNegative=218,68,83
-ForegroundNeutral=255,109,0
-ForegroundNormal=223,223,223
-ForegroundPositive=1,162,153
-ForegroundVisited=0,188,212
-
-[Colors:Header]
-BackgroundAlternate=10,10,10
-BackgroundNormal=5,5,5
-DecorationFocus=204,204,204
-DecorationHover=224,224,224
-ForegroundActive=242,242,242
-ForegroundInactive=223,223,223,100
-ForegroundLink=66,133,244
-ForegroundNegative=218,68,83
-ForegroundNeutral=255,109,0
-ForegroundNormal=223,223,223
-ForegroundPositive=1,162,153
-ForegroundVisited=0,188,212
-
-[Colors:Header][Inactive]
-BackgroundAlternate=0,0,0
-BackgroundNormal=0,0,0
-DecorationFocus=204,204,204
-DecorationHover=224,224,224
-ForegroundActive=242,242,242
-ForegroundInactive=223,223,223,70
-ForegroundLink=66,133,244
-ForegroundNegative=218,68,83
-ForegroundNeutral=255,109,0
-ForegroundNormal=223,223,223,150
-ForegroundPositive=1,162,153
-ForegroundVisited=0,188,212
-
-[Colors:Selection]
-BackgroundAlternate=224,224,224
-BackgroundNormal=204,204,204
-DecorationFocus=36,36,36
-DecorationHover=85,85,85
-ForegroundActive=0,0,0
-ForegroundInactive=0,0,0,150
-ForegroundLink=57,194,253
-ForegroundNegative=218,68,83
-ForegroundNeutral=255,109,0
-ForegroundNormal=0,0,0
-ForegroundPositive=1,162,153
-ForegroundVisited=136,136,136
-
-[Colors:Tooltip]
-BackgroundAlternate=0,0,0
-BackgroundNormal=0,0,0
-DecorationFocus=204,204,204
-DecorationHover=224,224,224
-ForegroundActive=242,242,242
-ForegroundInactive=223,223,223,150
-ForegroundLink=66,133,244
-ForegroundNegative=218,68,83
-ForegroundNeutral=255,109,0
-ForegroundNormal=223,223,223
-ForegroundPositive=1,162,153
-ForegroundVisited=0,188,212
-
-[Colors:View]
-BackgroundAlternate=0,0,0
-BackgroundNormal=0,0,0
-DecorationFocus=204,204,204
-DecorationHover=224,224,224
-ForegroundActive=242,242,242
-ForegroundInactive=223,223,223,100
-ForegroundLink=66,133,244
-ForegroundNegative=218,68,83
-ForegroundNeutral=255,109,0
-ForegroundNormal=223,223,223
-ForegroundPositive=1,162,153
-ForegroundVisited=0,188,212
-
-[Colors:Window]
-BackgroundAlternate=0,0,0
-BackgroundNormal=0,0,0
-DecorationFocus=204,204,204
-DecorationHover=224,224,224
-ForegroundActive=242,242,242
-ForegroundInactive=223,223,223,100
-ForegroundLink=66,133,244
-ForegroundNegative=218,68,83
-ForegroundNeutral=255,109,0
-ForegroundNormal=223,223,223
-ForegroundPositive=1,162,153
-ForegroundVisited=0,188,212
-
-[Desktop Entry]
-FullScreen=false
-
-[General]
-ColorScheme=Blackbriar
-LockSidebar=true
-Name=Blackbriar
-ShowSidebar=false
-shadeSortColumn=true
-
-[KDE]
-contrast=4
-
-[MainWindow]
-2 screens: Height=1373
-2 screens: Width=1239
-2 screens: XPosition=1254
-2 screens: YPosition=27
-5106x1436 screen: Height=1364
-5106x1436 screen: Width=1267
-5106x1436 screen: XPosition=2558
-5106x1436 screen: YPosition=67
-5120x1440 screen: Height=1378
-5120x1440 screen: Width=1697
-5120x1440 screen: XPosition=1711
-5120x1440 screen: YPosition=57
-:0.0=:0.0
-DP-0=DP-0
-DP-1-3=DP-1-3
-DP-1-3 eDP-1=eDP-1
-DP-3-3 eDP-1=DP-3-3
-ToolBarsMovable=Disabled
-
-[Recent Files]
-File1[$e]=$HOME/Downloads/2.png
-File10[$e]=$HOME/20250211_18h22m43s_grim.png
-File2[$e]=$HOME/Downloads/APznzaZSvKPA3dPvJLMFk4KJFnnsTgwuCmrXyPR-qnPqtFxHUZkBo2FEoOeDDijzLqH4b0y1DIf6NhPO2MG8SbNw4i45IFOOMOAXYEyOfJHuUrsUdc9Q97ebEdO_j7nmpQEchOUSAWFkeN6qaT8usfksjQHwpvazT3q3JhQMUShz0her_TAQc1VuHbYCu90N80UosnanpcRRn3VBoKe9bHRnN97XGKx.pdf
-File3[$e]=$HOME/Downloads/w3.pdf
-File4[$e]=$HOME/downloads/Scanned_20250208-2224.pdf
-File5[$e]=$HOME/downloads/Introduction To Linear Algebra - Gilbert Strang.pdf
-File6[$e]=$HOME/gitRepos/cs370/hw2/hw2.pdf
-File7[$e]=$HOME/downloads/black vintage newspaper birthday party poster(1).png
-File8[$e]=$HOME/downloads/Tracks -- Louise Erdrich -- 1989 -- Harper Perennial -- 9780060972455 -- db9b24fa272f8fc3327edcb32e525ad4 -- Anna’s Archive.pdf
-File9[$e]=$HOME/20250211_18h04m17s_grim.png
-Name1[$e]=2.png
-Name10[$e]=20250211_18h22m43s_grim.png
-Name2[$e]=APznzaZSvKPA3dPvJLMFk4KJFnnsTgwuCmrXyPR-qnPqtFxHUZkBo2FEoOeDDijzLqH4b0y1DIf6NhPO2MG8SbNw4i45IFOOMOAXYEyOfJHuUrsUdc9Q97ebEdO_j7nmpQEchOUSAWFkeN6qaT8usfksjQHwpvazT3q3JhQMUShz0her_TAQc1VuHbYCu90N80UosnanpcRRn3VBoKe9bHRnN97XGKx.pdf
-Name3[$e]=w3.pdf
-Name4[$e]=Scanned_20250208-2224.pdf
-Name5[$e]=Introduction To Linear Algebra - Gilbert Strang.pdf
-Name6[$e]=hw2.pdf
-Name7[$e]=black vintage newspaper birthday party poster(1).png
-Name8[$e]=Tracks -- Louise Erdrich -- 1989 -- Harper Perennial -- 9780060972455 -- db9b24fa272f8fc3327edcb32e525ad4 -- Anna’s Archive.pdf
-Name9[$e]=20250211_18h04m17s_grim.png
-
-[UiSettings]
-ColorScheme=Breeze Dark
-
-[WM]
-activeBackground=0,0,0
-activeBlend=0,0,0
-activeForeground=223,223,223
-inactiveBackground=0,0,0
-inactiveBlend=0,0,0
-inactiveForeground=223,223,223,100
diff --git a/sway/config b/sway/config
@@ -152,7 +152,8 @@ for_window [class="^.*"] border pixel 5
#LibreOffice
#bindsym $mod+Shift+l "exec libreoffice --writer"
-bindsym $mod+d exec "~/bin/dmenu.sh"
+# open dmenu (or select any other opening tool)
+bindsym $mod+o exec "~/bin/dmenu.sh"
bindsym $mod+Shift+f exec "firefox"
# class border bground text indicator child_border
diff --git a/vimium.conf b/vimium.conf
@@ -0,0 +1,28 @@
+# Note: This file is not sourced by the browser.
+# Once the vimium extension is installed these must be set
+# as the custom keymappings.
+
+# These mappings make it so that 's' selects links to follow,
+# similar to how pounce defaults to searching with 's', forward
+# and backward with arrow keys, and copying a specifyable link with
+# 'ys', great for use in concatination with my mpv script that loads
+# the current url into mpv and plays the video.
+
+# Also, while not explicitly necessary, to make this work
+# with new tabs override the following to be true in firefox:
+# privacy.resistFingerprinting.block_mozAddonManager
+
+unmap f
+map s LinkHints.activateMode
+map S LinkHints.activateModeToOpenInNewTab
+unmap f
+unmap F
+unmap H
+unmap L
+
+map <c-left> previousTab
+map <c-right> nextTab
+
+map <left> goBack
+map <right> goForward
+map ys LinkHints.activateModeToCopyLinkUrl