diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-09-14 11:04:04 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2021-09-14 11:04:04 +0300 |
commit | a76aa8c932030a64ba277ed9a9cbeadb8dd910d2 (patch) | |
tree | 1e66eaf8f8bd4bfc2c9bf54ffc9dc79e1609bab7 /dotfiles/.config | |
parent | e6aa326505607988d507fc3bd33c7eab8f899a1d (diff) | |
download | swayrice-a76aa8c932030a64ba277ed9a9cbeadb8dd910d2.tar.gz swayrice-a76aa8c932030a64ba277ed9a9cbeadb8dd910d2.zip |
Trying out vimb as main browser
Diffstat (limited to 'dotfiles/.config')
-rw-r--r-- | dotfiles/.config/mimeapps.list | 16 | ||||
-rw-r--r-- | dotfiles/.config/sway/config | 14 | ||||
-rw-r--r-- | dotfiles/.config/vimb/config | 51 | ||||
-rw-r--r-- | dotfiles/.config/vimb/style.css | 25 |
4 files changed, 88 insertions, 18 deletions
diff --git a/dotfiles/.config/mimeapps.list b/dotfiles/.config/mimeapps.list index a64163f..9d207f7 100644 --- a/dotfiles/.config/mimeapps.list +++ b/dotfiles/.config/mimeapps.list @@ -1,9 +1,9 @@ [Default Applications] application/pdf=org.pwmt.zathura-pdf-mupdf.desktop; application/epub+zip=org.pwmt.zathura-pdf-mupdf.desktop; -application/rdf+xml=org.qutebrowser.qutebrowser.desktop; -application/xhtml+xml=org.qutebrowser.qutebrowser.desktop; -application/xml=org.qutebrowser.qutebrowser.desktop; +application/rdf+xml=vimb.desktop; +application/xhtml+xml=vimb.desktop; +application/xml=vimb.desktop; audio/mpeg=mpv.desktop; audio/x-xm=mpv.desktop; audio/x-mod=mpv.desktop; @@ -12,13 +12,13 @@ image/jpeg=sxiv.desktop; image/png=sxiv.desktop; image/webp=sxiv.desktop; image/svg+xml=org.inkscape.Inkscape.desktop -text/html=org.qutebrowser.qutebrowser.desktop; +text/html=vimb.desktop; text/xml=nvim.desktop; text/plain=nvim.desktop; x-scheme-handler/discord-589393213723246592=discord-589393213723246592.desktop; -x-scheme-handler/http=org.qutebrowser.qutebrowser.desktop; -x-scheme-handler/https=org.qutebrowser.qutebrowser.desktop; +x-scheme-handler/http=vimb.desktop; +x-scheme-handler/https=vimb.desktop; x-scheme-handler/qute=org.qutebrowser.qutebrowser.desktop; x-scheme-handler/discord-455712169795780630=discord-455712169795780630.desktop -x-scheme-handler/mailto=aerc.desktop -x-scheme-handler/tg=userapp-Telegram Desktop-0V8IZ0.desktop +x-scheme-handler/mailto=neomutt.desktop +x-scheme-handler/tg=userapp-Telegram Desktop-I9W870.desktop diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config index 47a2e74..8127c5f 100644 --- a/dotfiles/.config/sway/config +++ b/dotfiles/.config/sway/config @@ -6,7 +6,7 @@ set $mod Mod4 set $alt Mod1 set $term foot -set $browser qutebrowser +set $browser `$BROWSER` # set default desktop layout (default is tiling) # workspace_layout tabbed <stacking|tabbed> @@ -97,10 +97,6 @@ no_focus [title="mpvfloat"] # Dropdown-like windows -# VK Messenger -for_window [instance="vk" window_role="browser-window"] floating enable, sticky enable -# for_window [class="VK"] move scratchpad - # Telegram Desktop for_window [app_id="telegramdesktop"] floating enable, sticky enable # for_window [class="TelegramDesktop"] move scratchpad @@ -171,8 +167,8 @@ bindsym --to-code { $mod+Ctrl+Shift+space exec "makoctl restore" # Start Applications - $mod+Shift+w exec $browser - $mod+Ctrl+w exec chromium -enable-features=UseOzonePlatform -ozone-platform=wayland + $mod+Shift+w exec menuwebsurf + $mod+Ctrl+w exec menuwebsurf paste $mod+F1 exec menuman $mod+F2 exec menumako $mod+F3 exec menudisplay @@ -184,12 +180,10 @@ bindsym --to-code { $mod+s exec "xway steam" $mod+m exec $term ncmpcpp $mod+n exec $term -T "newsboat" newsboat && killall -42 waybar - $mod+a exec $term -T "aerc" aerc + $mod+a exec $term -T "neomutt" neomutt $mod+o exec notistats $mod+c exec camtoggle $mod+grave exec menuemoji - $mod+Ctrl+grave exec menuwebsurf - $mod+Shift+grave exec menuwebsurf paste $mod+apostrophe exec menupass $mod+Shift+apostrophe exec "menupass -l" $mod+Ctrl+apostrophe exec "menupass -f" diff --git a/dotfiles/.config/vimb/config b/dotfiles/.config/vimb/config new file mode 100644 index 0000000..1bdce52 --- /dev/null +++ b/dotfiles/.config/vimb/config @@ -0,0 +1,51 @@ +#set home-page=https://srx.yaroslavps.com/ +set home-page=about:blank + +set download-path=~/dls + +set editor-command=foot nvim %s + +set input-autohide=true + +set spell-checking=true +set spell-checking-languages=en,es,ru + +set webgl=true + +set incsearch=true + +set default-font=monospace + +shortcut-add s=https://srx.yaroslavps.com/search?q=$0 +shortcut-add d=http://dict.cc/?s=$0 +shortcut-add y=http://www.youtube.com/results?search_query=$0 +shortcut-add duck=https://duckduckgo.com/?q=$0 + +shortcut-default s + +nmap + zI +nmap - zO +nmap = zz + +set hint-keys-same-length=true +set hint-keys=asdfghjkl +set hint-timeout=0 + +set x-hint-command=:sh! xdg-open <C-R>; + +set geolocation=never + +set prevent-newwindow=true + +set cookie-accept=origin + +# GUI color settings +# Color scheme: Base16 Eighties (https://github.com/chriskempson/base16) +set completion-css=color:#6d974b;background-color:#151517;font:10pt monospace; +set completion-hover-css=color:#6d974b;background-color:#232328;font:10pt monospace; +set completion-selected-css=color:#6d974b;background-color:#515151;font:10pt monospace; +set input-css=color:#6d974b;background-color:#393939;font:10pt monospace; +set input-error-css=color:#b73030;background-color:#393939;font:10pt monospace; +set status-css=color:#faf6e5;background-color:#393939;font:10pt monospace; +set status-ssl-css=color:#99cc99;background-color:#393939;font:10pt monospace; +set status-ssl-invalid-css=color:#f2777a;background-color:#393939;font:10pt monospace; diff --git a/dotfiles/.config/vimb/style.css b/dotfiles/.config/vimb/style.css new file mode 100644 index 0000000..3e3d0b4 --- /dev/null +++ b/dotfiles/.config/vimb/style.css @@ -0,0 +1,25 @@ +/* Hint mode color styling + * + * The precedence of the user style is lower than that of the website so you + * have to mark your style definition to have higher priority. + */ +span[vimbhint^='label'] { + background-color: #5b8277 !important; + border: 0 !important; + color: #151517 !important; + font: bold 10pt monospace !important; + opacity: 1 !important; + padding: .1em .4em !important; + text-transform: uppercase !important; +} +span[vimbhint='label focus'] { + font: bold 13pt monospace !important; +} +*[vimbhint^='hint'] { + background-color: #e6e3d6 !important; + color: #151517 !important; +} +*[vimbhint='hint focus'] { + background-color: #e2b55a !important; + color: #151517 !important; +} |