switching back to qutebrowser
This commit is contained in:
		
							parent
							
								
									3b3d36eb03
								
							
						
					
					
						commit
						8f437de686
					
				
					 4 changed files with 18 additions and 15 deletions
				
			
		| 
						 | 
				
			
			@ -1440,7 +1440,7 @@ c.hints.border = base0A
 | 
			
		|||
 | 
			
		||||
## Characters used for hint strings.
 | 
			
		||||
## Type: UniqueCharString
 | 
			
		||||
# c.hints.chars = 'asdfghjkl'
 | 
			
		||||
c.hints.chars = 'cieahtsnould'
 | 
			
		||||
 | 
			
		||||
## Dictionary file to be used by the word hints.
 | 
			
		||||
## Type: File
 | 
			
		||||
| 
						 | 
				
			
			@ -2299,8 +2299,10 @@ config.bind("J", "tab-prev")
 | 
			
		|||
# config.bind('gu', 'navigate up')
 | 
			
		||||
# config.bind('h', 'scroll left')
 | 
			
		||||
# config.bind('i', 'enter-mode insert')
 | 
			
		||||
config.bind('j', 'cmd-run-with-count 2 scroll down')
 | 
			
		||||
config.bind('k', 'cmd-run-with-count 2 scroll up')
 | 
			
		||||
config.bind('j', 'cmd-run-with-count 5 scroll down')
 | 
			
		||||
config.bind('k', 'cmd-run-with-count 5 scroll up')
 | 
			
		||||
config.bind('<Down>', 'cmd-run-with-count 5 scroll down')
 | 
			
		||||
config.bind('<Up>', 'cmd-run-with-count 5 scroll up')
 | 
			
		||||
# config.bind('l', 'scroll right')
 | 
			
		||||
# config.bind('m', 'quickmark-save')
 | 
			
		||||
# config.bind('n', 'search-next')
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -85,17 +85,17 @@ in {
 | 
			
		|||
        "audio/opus" = "mpv-slow.desktop";
 | 
			
		||||
        "audio/x-opus" = "mpv-slow.desktop";
 | 
			
		||||
        "audio/x-opus+ogg" = "mpv-slow.desktop";
 | 
			
		||||
        "x-scheme-handler/http" = "vivaldi.desktop";
 | 
			
		||||
        "x-scheme-handler/https" = "vivaldi.desktop";
 | 
			
		||||
        "text/html" = "vivaldi.desktop";
 | 
			
		||||
        "x-scheme-handler/http" = "org.qutebrowser.qutebrowser.desktop";
 | 
			
		||||
        "x-scheme-handler/https" = "org.qutebrowser.qutebrowser.desktop";
 | 
			
		||||
        "text/html" = "org.qutebrowser.qutebrowser.desktop";
 | 
			
		||||
        "text/org" = "emacsclient.desktop";
 | 
			
		||||
        "text/md" = "emacsclient.desktop";
 | 
			
		||||
        "text/txt" = "emacsclient.desktop";
 | 
			
		||||
        "text/rs" = "emacsclient.desktop";
 | 
			
		||||
        "text/plain" = "emacsclient.desktop";
 | 
			
		||||
        "application/pdf" = "emacsclient.desktop";
 | 
			
		||||
        "x-scheme-handler/about" = "vivaldi.desktop";
 | 
			
		||||
        "x-scheme-handler/unknown" = "vivaldi.desktop";
 | 
			
		||||
        "x-scheme-handler/about" = "org.qutebrowser.qutebrowser.desktop";
 | 
			
		||||
        "x-scheme-handler/unknown" = "org.qutebrowser.qutebrowser.desktop";
 | 
			
		||||
        "x-scheme-handler/magnet" = "torrent.desktop";
 | 
			
		||||
      };
 | 
			
		||||
      defaultApplications = {
 | 
			
		||||
| 
						 | 
				
			
			@ -124,17 +124,17 @@ in {
 | 
			
		|||
        "audio/flac" = "mpv-slow.desktop";
 | 
			
		||||
        "audio/wav" = "mpv-slow.desktop";
 | 
			
		||||
        "audio/opus" = "mpv-slow.desktop";
 | 
			
		||||
        "x-scheme-handler/http" = "vivaldi.desktop";
 | 
			
		||||
        "x-scheme-handler/https" = "vivaldi.desktop";
 | 
			
		||||
        "text/html" = "vivaldi.desktop";
 | 
			
		||||
        "x-scheme-handler/http" = "org.qutebrowser.qutebrowser.desktop";
 | 
			
		||||
        "x-scheme-handler/https" = "org.qutebrowser.qutebrowser.desktop";
 | 
			
		||||
        "text/html" = "org.qutebrowser.qutebrowser.desktop";
 | 
			
		||||
        "text/org" = "emacsclient.desktop";
 | 
			
		||||
        "text/md" = "emacsclient.desktop";
 | 
			
		||||
        "text/txt" = "emacsclient.desktop";
 | 
			
		||||
        "text/rs" = "emacsclient.desktop";
 | 
			
		||||
        "text/plain" = "emacsclient.desktop";
 | 
			
		||||
        "application/pdf" = "emacsclient.desktop";
 | 
			
		||||
        "x-scheme-handler/about" = "vivaldi.desktop";
 | 
			
		||||
        "x-scheme-handler/unknown" = "vivaldi.desktop";
 | 
			
		||||
        "x-scheme-handler/about" = "org.qutebrowser.qutebrowser.desktop";
 | 
			
		||||
        "x-scheme-handler/unknown" = "org.qutebrowser.qutebrowser.desktop";
 | 
			
		||||
        "x-scheme-handler/magnet" = "torrent.desktop";
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -232,6 +232,7 @@ in
 | 
			
		|||
        "float,pulsemixer"
 | 
			
		||||
        "workspace 2,ff"
 | 
			
		||||
        "workspace 2,vivaldi-stable"
 | 
			
		||||
        "workspace 2,org.qutebrowser.qutebrowser"
 | 
			
		||||
        "workspace 1,emacs"
 | 
			
		||||
        "float,btop"
 | 
			
		||||
        "size 70% 70%,btop"
 | 
			
		||||
| 
						 | 
				
			
			@ -258,7 +259,7 @@ in
 | 
			
		|||
        "SUPER,E,exec,/home/chris/bin/emacslof"
 | 
			
		||||
        "SUPER,d,exec,emacsclient -c -e '(dired-jump)'"
 | 
			
		||||
        "SUPER,v,exec,cliphist list | rofi -p ' ' -dmenu -theme ~/.config/rofi/launchers-git/laptop-rbw-wayland.rasi | cliphist decode | wl-copy"
 | 
			
		||||
        "SUPER,B,exec,/home/chris/bin/vivlof"
 | 
			
		||||
        "SUPER,B,exec,/home/chris/bin/qblof"
 | 
			
		||||
        "SUPER,A,exec,alacritty --class pulsemixer -e pulsemixer"
 | 
			
		||||
        "SUPERCTRL,i,exec,alacritty --class btop -e btop"
 | 
			
		||||
        ",Print,exec,screenshot"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -4,7 +4,7 @@
 | 
			
		|||
if [ $(pgrep -c -f '.qutebrowser-wrapped') -gt 0 ]; then
 | 
			
		||||
 | 
			
		||||
    echo "qb running"
 | 
			
		||||
    exec hyprctl dispatch focuswindow qutebrowser
 | 
			
		||||
    exec hyprctl dispatch focuswindow "class:org.qutebrowser.qutebrowser"
 | 
			
		||||
else
 | 
			
		||||
    qutebrowser
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue