commit a0fc6a4bbda68b8b96f3c4a0d490d6a92d42698e parent aa76ba51c92a475c4c95d0e701e2bab02ef7462f Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Wed, 14 May 2014 19:50:13 +0200 added dwb configuration Diffstat:
A | .config/dwb/keys | | | 175 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
A | .config/dwb/searchengines | | | 4 | ++++ |
A | .config/dwb/settings | | | 162 | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
A | .config/dwb/userscripts/youtube-mplayer.js | | | 9 | +++++++++ |
M | .i3/config | | | 9 | +++++---- |
5 files changed, 355 insertions(+), 4 deletions(-)
diff --git a/.config/dwb/keys b/.config/dwb/keys @@ -0,0 +1,175 @@ +[default] +save_search_field= gs +tab_new= ga +allow_session_cookie_tmp= CT +allow_cookie= CC +allow_session_cookie= CS +bookmark= M +buffers= gt +cancel_download= ad +sanitize= +clear_tab= gc +only= co +close_tab= d +entry_escape=Control c +entry_confirm=Control g +entry_history_back=Control k +entry_history_forward=Control j +entry_delete_letter=Control h +entry_delete_active=Control d +entry_delete_line=Control u +entry_delete_line_end=Control e +entry_delete_word=Control w +entry_delete_word_forward=Control e +entry_word_back=Control b +entry_word_forward=Control f +complete_bookmarks=Control B +complete_history=Control H +complete_path=Control p +complete_searchengines=Control S +complete_userscript=Control U +download= gd +download_set_execute=Control x +command_mode= : +tabdo= +execute_javascript= +eval= +execute_userscript= eu +find_backward_ic= c? +find_backward= ? +find_forward_ic= c/ +find_forward= / +find_next= n +find_previous= N +tabgrep= +focus_input= gi +focus_next= J +focus_tab= T +focus_prev= K +win_hist_back= wh +tab_hist_back= th +history_back= H +win_hist_forward= wl +tab_hist_forward= tl +history_forward= L +insert_mode= i +jump= ' +show_keys= Sk +load_html= +load_html_tab= +lock_domain= xd +lock_uri= xu +mark= ` +tab_move_left= gl +tab_move_right= gr +tab_move= gm +normal_mode=Control n +open_editor=Control e +quickmark= b +tab_quickmark= B +win_quickmark= wb +start_page=Control h +web_inspector= wi +paste= pp +tab_paste= Pp +win_paste= wp +paste_primary= pP +win_paste_primary= wP +tab_paste_primary= PP +print=Control Mod1 p +protect=Control P +quit=Control q +adblock_reload_rules= +reload_bookmarks= +reload= r +reload_bypass_cache= R +reload_quickmarks= +reload_userscripts= +repeat= . +save= sf +save_session= ZZ +save_named_session= gZZ +save_quickmark= m +scroll_down= j +scroll_right= l +scroll_left= h +scroll_page_down=Control f +scroll_page_up=Control b +scroll_halfpage_down=Control d +scroll_halfpage_up=Control u +scroll_bottom= G +scroll_top= gg +scroll_up= k +local_set= +set= +set_key= sk +set_local_setting= sl +set_setting= ss +show_settings= Ss +print_preview= +show_bookmarks= Sb +show_downloads= Sd +show_history= Sh +show_quickmarks= Sq +stop_loading=Control s +toggle_local_setting= +toggle_setting= +toggle_tab=Control @Tab@ +toggle_plugins_host_tmp= pth +toggle_scripts_host= tsh +toggle_scripts_host_tmp= tth +toggle_scripts_uri= tsu +toggle_plugins_uri_tmp= ptu +toggle_scripts_uri_tmp= ttu +fullscreen= @F11@ +toggle_hidden_files= g. +toggle_plugins_host= ph +toggle_plugins_uri= pu +presentation_mode= @F12@ +proxy=Control p +visible= xv +toggle_bars= xx +toggle_statusbar= xb +toggle_tabbar= xt +undo= u +view_source= gf +visual_mode= v +dump= +yank_title= yt +yank_title_primary= yT +yank= yy +yank_primary= yY +zoom= = +zoom_in= + +zoom_out= - +hints_background= ;b +hints_images_background= ;Ib +hints_url_background= ;Ob +backopen_url= xO +backopen= xo +bookmarks= gb +hints_selector= +hints= f +hints_clipboard= ;y +hints_download= ;d +hints_editable= ;e +hints_images= ;i +hints_links= ;; +hints_primary= ;Y +hints_rapid= ;r +hints_url= ;o +new_tab=Control T +new_win= W +open_url= go +open= o +hints_tab= F +hints_images_tab= ;It +hints_url_tab= ;Ot +tab_bookmarks= gB +tabopen_url= gO +tabopen= O +hints_win= wf +hints_rapid_win= ;R +win_bookmarks= wB +winopen_url= wO +winopen= wo diff --git a/.config/dwb/searchengines b/.config/dwb/searchengines @@ -0,0 +1,4 @@ +startpage https://startpage.com/do/search?query=_dwb_search_submit_ +wikipedia https://en.wikipedia.org/w/index.php?search=_dwb_search_submit_&title=Special:Search +duckduckgo https://duckduckgo.com/?q=_dwb_search_submit_ +debian http://packages.debian.org/search?keywords=_dwb_search_submit_&searchon=names&suite=stable§ion=all diff --git a/.config/dwb/settings b/.config/dwb/settings @@ -0,0 +1,162 @@ +[default] +enable-private-browsing=false +enable-spell-checking=true +cookie-expiration=1h +cookies-accept-policy=nothirdparty +cookies-store-policy=persistent +minimum-font-size=6 +minimum-logical-font-size=6 +adblocker=true +javascript-can-access-clipboard=false +hint-offset-top=0 +file-sync-interval=120 +download-gradient-end=#00aa00 +status-allowed-color=#00ff00 +tab-number-color=#7ac5cd +enable-default-context-menu=true +editable=false +background-tabs=false +enable-webgl=false +enable-page-cache=false +cache-model=webbrowser +sans-serif-font-family=sans-serif +prompt-color=#00ff00 +complete-searchengines=false +update-search-delay=200 +fantasy-font-family=serif +hint-fg-color=#000000 +sync-files=all +default-height=600 +javascript-api=automatic +scrollbars=false +hint-bg-color=#ffffff +show-single-tab=true +private-color=#505050 +enable-developer-extras=false +complete-bookmarks=true +zoom-level=1.00 +download-use-external-program=false +enable-xss-auditor=true +custom-encoding= +print-previewer= +normal-completion-fg-color=#eeeeee +close-tab-focus-policy=left +enable-dns-prefetching=true +new-tab-position-policy=right +mouse-cycles-through-tabs=true +auto-shrink-images=true +print-backgrounds=true +enable-caret-browsing=false +enable-scripts=true +adblocker-filterlist= +proxy=false +user-agent= +full-content-zoom=false +editor=xterm -e vim dwb_uri +hsts=false +enable-favicon=true +hint-active-color=#00ff00 +resizable-text-areas=true +javascript-schemes=true +load-on-focus=false +adblocker-element-hider=true +download-gradient-start=#0000aa +hint-normal-color=#ffff99 +spell-checking-languages= +font-nofocus= +status-blocked-color=#ffffff +enable-plugins=true +download-fg-color=#ffffff +tabbar-height=0 +enable-frame-flattening=false +statusbar-height=0 +ssl-use-system-ca-file=true +bars-padding=0 +active-completion-fg-color=#53868b +hint-font=bold 10px monospace +progress-bar-full-color=#ffffff +tabbed-browsing=true +hint-highlight-links=false +active-completion-bg-color=#000000 +font-hidden-statusbar=normal 10px helvetica +tab-normal-fg-color-2=#dddddd +tab-normal-fg-color-1=#cccccc +default-monospace-font-size=10 +save-session=true +enable-ipc=true +tabbar-visible=2.00 +auto-insert-mode=false +tab-normal-bg-color-2=#707070 +tab-normal-bg-color-1=#505050 +serif-font-family=serif +accept-language= +enable-html5-local-storage=true +tab-protected-color=#ff0000 +hint-letter-seq=FDSARTGBVECWXQYIOPMNHZULKJ +progress-bar-style=default +maximum-tabs=0 +passthrough-keys=webkit +enable-html5-database=true +hint-autofollow=true +enable-dom-paste=false +javascript-can-open-windows-automatically=false +max-visible-completions=11 +hint-border=1px solid #000000 +widget-packing=dtws +favicon-size=0 +ssl-trusted-color=#00ff00 +enable-java-applet=true +hints-key-lock=250 +navigation-history-max=500 +hint-style=letter +enable-site-specific-quirks=false +auto-resize-window=false +zoom-step=0.10 +default-font-family=sans-serif +ssl-untrusted-color=#ff0000 +plugin-blocker=true +startpage=dwb:bookmarks +normal-completion-bg-color=#151515 +cursive-font-family=serif +default-encoding= +error-color=#ff0000 +searchengine-submit-pattern= +hint-opacity=0.80 +font-entry= +proxy-url= +font=monospace 8 +monospace-font-family=monospace +addressbar-dns-lookup=false +enable-universal-access-from-file-uris=true +background-color=#000000 +do-not-track=true +progress-bar-empty-color=#ffffff +default-width=800 +single-instance=true +auto-completion=false +font-completion= +enable-spatial-navigation=false +block-insecure-content=false +download-directory= +download-external-command=xterm -e wget dwb_uri -O dwb_output --load-cookies dwb_cookies +user-stylesheet-uri= +auto-load-images=true +tab-active-fg-color=#ffffff +hint-offset-left=0 +history-length=500 +tab-active-bg-color=#000000 +download-bg-color=#000000 +download-no-confirm=false +enable-file-access-from-file-uris=true +complete-history=true +close-last-tab-policy=ignore +tab-key-cycles-through-elements=true +enforce-96-dpi=false +ssl-strict=true +scroll-step=0.00 +complete-userscripts=false +foreground-color=#ffffff +message-delay=2 +scheme-handler= +default-font-size=12 +enable-offline-web-application-cache=true diff --git a/.config/dwb/userscripts/youtube-mplayer.js b/.config/dwb/userscripts/youtube-mplayer.js @@ -0,0 +1,9 @@ +//!javascript +// opens YouTube videos with mplayer after youtube-dl download +var regex = new RegExp("http(.*)://www.youtube.com/watch\\?(.*&)*v=.*); + +Signal.connect("navigation", function (wv, frame, request) { + if (wv.mainFrame == frame && regex.test(request.uri)) + system.spawn("sh -c 'mplayer \"$(youtube-dl -g " + request-uri + ")\"'"); + return false; +}); diff --git a/.i3/config b/.i3/config @@ -66,7 +66,8 @@ bindsym $mod+Shift+Return exec i3-sensible-terminal # other application launchers #bindsym $mod+b exec uzbl-browser -bindsym $mod+b exec firefox +#bindsym $mod+b exec firefox +bindsym $mod+b exec dwb bindsym $mod+c exec emacs bindsym $mod+t exec tor-browser.sh @@ -244,6 +245,6 @@ bar { } # auto-start programs -#exec --no-startup-id urxvt -e tmux-utility.sh -#exec --no-startup-id nm-applet -exec --no-startup-id wicd-client --tray +#exec --no-startup-id wicd-client --tray +exec --no-startup-id nm-applet +exec --no-startup-id i3-msg 'workspace 2; exec emacs; workspace 3; exec dwb; workspace 1; exec urxvt -e tmux-utility.sh'