[i3] Even more back to qutebrowser

This commit is contained in:
2021-02-18 10:47:03 -05:00
parent 1a5ec56527
commit 1e7456b11b
5 changed files with 29 additions and 22 deletions

View File

@ -7,7 +7,7 @@ set $mod Mod4
font pango:Iosevka 10
# APP VARIABLES
set $browser vimb
set $browser qutebrowser
set $solobrowser surf
set $term alacritty
@ -85,6 +85,11 @@ bindsym $mod+Shift+w layout tabbed
title_align center
##### MOVEMENT ####################################
# WORKSPACES
bindsym $mod+Ctrl+Shift+h move workspace to output left
bindsym $mod+Ctrl+Shift+l move workspace to output right
bindsym $mod+Ctrl+Shift+j move workspace to output down
bindsym $mod+Ctrl+Shift+k move workspace to output up
# FOCUS
bindsym $mod+h focus left
@ -162,11 +167,11 @@ bindsym $mod+F4 exec ~/.screenlayout/titan-three-vert.sh
##### WORKSPACES ##################################
# WORKSPACES
set $ws1 number 1 logs
set $ws2 number 2 edit
set $ws3 number 3 chat
set $ws1 number 1
set $ws2 number 2
set $ws3 number 3
set $ws4 number 4
set $ws5 number 5 zoom
set $ws5 number 5
set $ws6 number 6
set $ws7 number 7
set $ws8 number 8
@ -267,12 +272,13 @@ bindsym XF86Search exec ~/.config/i3/bright.sh 1 # decrease screen brightness
# ROFI
bindsym $mod+space exec rofi -show combi -display-window "W"
bindsym $mod+P exec --no-startup-id ~/.config/rofi/rofi-pass.sh
bindsym $mod+P exec --no-startup-id ~/.config/rofi/rofi-pass.sh
bindsym $mod+Shift+p exec --no-startup-id ~/.config/rofi/rofi-otp.sh
bindsym $mod+o exec --no-startup-id ~/.config/rofi/www.sh
bindsym $mod+Shift+o exec ~/.config/rofi/web-search.sh
bindsym $mod+Shift+b exec ~/.config/rofi/books-search.sh
bindsym $mod+Shift+s exec ~/.config/rofi/slack.sh
bindsym $mod+o exec --no-startup-id ~/.config/rofi/www.sh
bindsym $mod+Shift+o exec --no-startup-id ~/.config/rofi/www-incognito.sh
bindsym $mod+s exec --no-startup-id ~/.config/rofi/web-search.sh
bindsym $mod+Shift+b exec --no-startup-id ~/.config/rofi/books-search.sh
bindsym $mod+Shift+s exec --no-startup-id ~/.config/rofi/slack.sh
# Lock with
bindsym $mod+Shift+F12 exec --no-startup-id i3lock -i ~/var/media/backgrounds/astrobin/`ls -Ar ~/var/media/backgrounds/astrobin/ | tail -n 1` -t
@ -282,8 +288,8 @@ exec hsetroot -cover ~/var/media/backgrounds/bing/`ls -A ~/var/media/backgrounds
##### APP BINDS ###################################
bindsym $mod+n exec $brwoser
bindsym $mod+Shift+n exec $browser --incognito
bindsym $mod+n exec $brwoser --target window
bindsym $mod+Shift+n exec $browser --target private-window
bindsym $mod+Shift+c exec org-capture
bindsym $mod+Shift+y exec xfreerdp /u:powellc /p:mainroot /v:telesto.local /w:1200 /h:700
@ -299,6 +305,7 @@ bindsym $mod+F9 exec --no-startup-id $solobrowser https://farm-cam.unbl.ink
bindsym $mod+F10 exec --no-startup-id $solobrowser https://goat-cam.unbl.ink/stream
bindsym $mod+F11 exec --no-startup-id $solobrowser https://weather-cam.unbl.ink/stream
bindsym $mod+F12 exec --no-startup-id $solobrowser https://garden-cam.unbl.ink/stream
bindsym $mod+Insert exec --no-startup-id zathura ~/var/documents/15five/strengths.pdf
bindsym $mod+e exec emacsclient -cnq
bindsym $mod+Shift+e exec emacs --daemon
@ -327,8 +334,8 @@ bindsym XF86AudioMute exec pulseaudio-ctl mute
bindsym XF86AudioMicMute exec pulseaudio-ctl mute-input
bindsym $mod+x exec pulseaudio-ctl up
bindsym $mod+z exec pulseaudio-ctl down
bindsym $mod+Home exec cvlc https://stream.unbl.ink/mopidy
bindsym $mod+Shift+Home exec cvlc https://playerservices.streamtheworld.com/api/livestream-redirect/WMEAFM.mp3
bindsym $mod+Home exec --no-startup-id cvlc https://stream.unbl.ink/mopidy
bindsym $mod+Shift+Home exec --no-startup-idcvlc https://playerservices.streamtheworld.com/api/livestream-redirect/WMEAFM.mp3
bindsym $mod+End exec pkill vlc
bindsym $mod+m exec pulseaudio-ctl mute

View File

@ -66,7 +66,7 @@ main() {
if [[ -n "$query" ]]; then
URL=${URLS[$platform]}$(urlencode "$query")
~/.asdf/shims/qutebrowser --target window $URL
qutebrowser --target window $URL
else
exit
fi

View File

@ -18,4 +18,4 @@ if [ "$URL" = "" ]; then
exit 0
fi
~/.asdf/shims/qutebrowser --private-window "$URL"
qutebrowser --target private-window "$URL"

View File

@ -22,4 +22,4 @@ if [ "$URL" = "" ]; then
exit 0
fi
~/.asdf/shims/qutebrowser --target window "$URL"
qutebrowser --target window "$URL"

View File

@ -7,8 +7,8 @@ application/pdf=org.pwmt.zathura-pdf-mupdf.desktop
text/html=emacs.desktop
application/python=emacs.desktop
application/javascript=emacs.desktop
x-www-browser=vimb.desktop
x-scheme-handler/http=vimb.desktop
x-scheme-handler/https=vimb.desktop
x-scheme-handler/about=vimb.desktop
x-scheme-handler/unknown=vimb.desktop
x-www-browser=qutebrowser.desktop
x-scheme-handler/http=qutebrowser.desktop
x-scheme-handler/https=qutebrowser.desktop
x-scheme-handler/about=qutebrowser.desktop
x-scheme-handler/unknown=qutebrowser.desktop