Tridactyl!
This commit is contained in:
parent
0cdee7b7d8
commit
392dfed89a
|
@ -232,7 +232,7 @@ bindsym $mod+Ctrl+Shift+Down move workspace to output below
|
|||
|
||||
# Open specific applications in floating mode
|
||||
for_window [title="pacmixer"] floating enable border pixel 2
|
||||
for_window [class="Firefox"] layout tabbed
|
||||
for_window [class="Firefox"] layout tabbed # Doesn't seem to work anymore
|
||||
for_window [class="qutebrowser"] layout tabbed
|
||||
|
||||
for_window [window_role="pop-up"] floating enable
|
||||
|
|
|
@ -36,6 +36,9 @@ curl "https://raw.githubusercontent.com/0xdec/base16-rofi/master/themes/base16-$
|
|||
# qutebrowser
|
||||
curl "https://raw.githubusercontent.com/theova/base16-qutebrowser/master/themes/base16-${scheme}.config.py" > ~/.config/qutebrowser/theme.py
|
||||
|
||||
# Tridactyl
|
||||
curl "https://raw.githubusercontent.com/bezmi/base16-tridactyl/master/base16-${scheme}.css" > ~/.config/tridactyl/themes/theme.css
|
||||
|
||||
# TODO dunst (template online, but not to my liking)
|
||||
# TODO bar (might change bar in the future, so...)
|
||||
# TODO highlight (there IS a template but the colors look different from vim and mostly the same from when there's no config)
|
||||
|
@ -44,6 +47,7 @@ curl "https://raw.githubusercontent.com/theova/base16-qutebrowser/master/themes/
|
|||
~/.local/bin/colorSchemeApply
|
||||
~/.local/bin/colorSchemeApplyFzf
|
||||
# Error masking in case X not running
|
||||
xrdb -load ~/.config/Xresources/main 2> /dev/null
|
||||
#xrdb -load ~/.config/Xresources/main 2> /dev/null
|
||||
xrdb -I$HOME ~/.config/Xresources/main 2> /dev/null
|
||||
i3-msg reload 2> /dev/null
|
||||
|
||||
|
|
1
config/tridactyl/themes/.gitignore
vendored
Normal file
1
config/tridactyl/themes/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
theme.css
|
101
config/tridactyl/tridactylrc
Normal file
101
config/tridactyl/tridactylrc
Normal file
|
@ -0,0 +1,101 @@
|
|||
" Trydactyl (vim-like keybindings for Firefox) configuration file
|
||||
" Make sure to have the native messenger installed (:native)
|
||||
|
||||
" Fair part took from https://gist.github.com/BurntSushi/393546a65db38d57cedcfd72c6d89bf3
|
||||
|
||||
" Reset parameters to tridactyl's default
|
||||
" so there's nothing being kept when :source ing
|
||||
sanitise tridactyllocal tridactylsync
|
||||
|
||||
colors dark
|
||||
" For when https://github.com/bezmi/base16-tridactyl/issues/2 will be closed
|
||||
" colors theme
|
||||
|
||||
" I use H and L for moving accross windows,
|
||||
" so I'd rather use those for tabs too
|
||||
bind H tabprev
|
||||
bind L tabnext
|
||||
bind J back
|
||||
bind K forward
|
||||
|
||||
" I prefer the qutebrowser-style keybindings for opening stuff in a new tab
|
||||
" Also it is consistent with f/F p/P s/S... in tridactyl itself
|
||||
bind o fillcmdline open
|
||||
bind O fillcmdline tabopen
|
||||
" Let's reuse t/T to use that useful feature of editing the current URL before
|
||||
" opening
|
||||
" bind t current_url open
|
||||
" bint T current_url tabopen
|
||||
bind t composite url2args | fillcmdline open
|
||||
bind T composite url2args | fillcmdline tabopen
|
||||
" We will let the w/W the same, as in my case tab=window
|
||||
|
||||
" Add to ...
|
||||
unbind a
|
||||
unbind A
|
||||
|
||||
" Reorder bookmarks/quickmarks
|
||||
bind M current_url bmark
|
||||
|
||||
" Activate the rudimentary search feature
|
||||
" Not activated by default because `incsearch` is not implemented,
|
||||
" so since I don't know what it is I don't care about it
|
||||
bind / fillcmdline find
|
||||
bind ? fillcmdline find -?
|
||||
bind n findnext 1
|
||||
bind N findnext -1
|
||||
" Remove search highlighting
|
||||
bind ,<Space> nohlsearch
|
||||
|
||||
" Ctrl-F should use the browser's native 'find' functionality.
|
||||
unbind <C-f>
|
||||
|
||||
" Subscribe to RSS
|
||||
bind af rssexec
|
||||
set rsscmd tabopen add_rss %u
|
||||
set searchurls.add_rss https://rss.frogeye.fr/i/?c=feed&a=add&url_rss=%s
|
||||
|
||||
bind as composite get_current_url | tabopen add_links
|
||||
set searchurls.add_links https://links.frogeye.fr/?post=%s
|
||||
|
||||
" New tab page (this link won't work for you :P)
|
||||
set newtab https://geoffrey.frogeye.fr/home.php
|
||||
|
||||
" Search engines
|
||||
set searchengine qwant
|
||||
|
||||
set searchurls.arch https://wiki.archlinux.org/?search=%s
|
||||
set searchurls.archp https://www.archlinux.org/packages/?q=%s
|
||||
set searchurls.aur https://aur.archlinux.org/packages/?K=%s
|
||||
set searchurls.aw http://www.amp-what.com/unicode/search/%s
|
||||
set searchurls.gfr https://www.google.fr/search?hl=fr&q=%s
|
||||
set searchurls.g https://www.google.fr/search?q=%s
|
||||
set searchurls.gihpy https://giphy.com/search/%s
|
||||
set searchurls.gi http://images.google.com/search?q=%s
|
||||
set searchurls.github https://github.com/search?q=%s
|
||||
set searchurls.npm https://www.npmjs.com/search?q=%s
|
||||
set searchurls.pypi https://pypi.org/search/?q=%s
|
||||
set searchurls.python https://docs.python.org/3/search.html?q=%s
|
||||
set searchurls.qwant https://www.qwant.com/?t=web&q=%s
|
||||
set searchurls.wa https://www.wolframalpha.com/input/?i=%s
|
||||
set searchurls.yt https://www.youtube.com/results?search_query=%s
|
||||
|
||||
" Firefox GUI
|
||||
" This can still be shown with F6!
|
||||
guiset_quiet gui none
|
||||
" Thse don't seem to be affected by "gui"
|
||||
guiset_quiet hoverlink none
|
||||
guiset_quiet statuspanel none
|
||||
|
||||
" Never autofocus
|
||||
set allowautofocus false
|
||||
|
||||
" Hint chars
|
||||
" As I take more time finding the key I need to type (even if it's on the home
|
||||
" row) than moving my fingers to get it, I prefer to reduce the number of keys
|
||||
" to type rather than the movement of my fingers, hence the big amount of
|
||||
" hint chars
|
||||
set hintchars asdfhjklgqweryuioptzxcbnmv1234678905
|
||||
|
||||
" This will have to do until someone writes us a nice syntax file :)
|
||||
" vim: set filetype=vim:
|
|
@ -72,7 +72,9 @@ Plug 'autozimu/LanguageClient-neovim', {
|
|||
|
||||
|
||||
" Automatically closes brackets, quotes and parentheses
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
" Plug 'jiangmiao/auto-pairs'
|
||||
" Disabled : While it works correctly when typing code,
|
||||
" when modifying existing one it's another thing
|
||||
|
||||
call plug#end()
|
||||
|
||||
|
|
Loading…
Reference in a new issue