From 1e7456b11b0dcdbecf81bb8bf4eb583cb21787ed Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Thu, 18 Feb 2021 10:47:03 -0500 Subject: [PATCH] [i3] Even more back to qutebrowser --- i3/.config/i3/config | 35 ++++++++++++++++++------------ rofi/.config/rofi/web-search.sh | 2 +- rofi/.config/rofi/www-incognito.sh | 2 +- rofi/.config/rofi/www.sh | 2 +- x/.config/mimeapps.list | 10 ++++----- 5 files changed, 29 insertions(+), 22 deletions(-) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 0bbd6a1..0197139 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -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 diff --git a/rofi/.config/rofi/web-search.sh b/rofi/.config/rofi/web-search.sh index 805e0ee..8e7877a 100755 --- a/rofi/.config/rofi/web-search.sh +++ b/rofi/.config/rofi/web-search.sh @@ -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 diff --git a/rofi/.config/rofi/www-incognito.sh b/rofi/.config/rofi/www-incognito.sh index 003931a..299a65d 100755 --- a/rofi/.config/rofi/www-incognito.sh +++ b/rofi/.config/rofi/www-incognito.sh @@ -18,4 +18,4 @@ if [ "$URL" = "" ]; then exit 0 fi -~/.asdf/shims/qutebrowser --private-window "$URL" +qutebrowser --target private-window "$URL" diff --git a/rofi/.config/rofi/www.sh b/rofi/.config/rofi/www.sh index 6d65145..ba6377c 100755 --- a/rofi/.config/rofi/www.sh +++ b/rofi/.config/rofi/www.sh @@ -22,4 +22,4 @@ if [ "$URL" = "" ]; then exit 0 fi -~/.asdf/shims/qutebrowser --target window "$URL" +qutebrowser --target window "$URL" diff --git a/x/.config/mimeapps.list b/x/.config/mimeapps.list index 99146ed..1854821 100644 --- a/x/.config/mimeapps.list +++ b/x/.config/mimeapps.list @@ -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