From 102246427979e9001cd334f3cb8c7eb1641491ef Mon Sep 17 00:00:00 2001 From: Tom Swartz Date: Wed, 30 Apr 2014 09:37:00 -0400 Subject: [PATCH] Add DWB configuration DWB is a webkit browser, similar to old Chrome and Safari. Also removed un-needed arch packer script. This can now be found in http://github.com/tomswartz07/arch-packerIO --- .gitignore | 4 + archlinux.json | 92 -------------------- dwb/default/bookmarks | 0 dwb/default/custom_keys | 0 dwb/default/plugindb | 0 dwb/default/plugins.allow | 0 dwb/keys | 175 ++++++++++++++++++++++++++++++++++++++ dwb/mimetypes | 0 dwb/searchengines | 2 + dwb/settings | 161 +++++++++++++++++++++++++++++++++++ 10 files changed, 342 insertions(+), 92 deletions(-) delete mode 100644 archlinux.json create mode 100644 dwb/default/bookmarks create mode 100644 dwb/default/custom_keys create mode 100644 dwb/default/plugindb create mode 100644 dwb/default/plugins.allow create mode 100644 dwb/keys create mode 100644 dwb/mimetypes create mode 100644 dwb/searchengines create mode 100644 dwb/settings diff --git a/.gitignore b/.gitignore index 1377554..c0e867a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ *.swp +dwb/default/* +!dwb/default/bookmarks +!dwb/default/custom_keys +!dwb/default/plugin* diff --git a/archlinux.json b/archlinux.json deleted file mode 100644 index df18815..0000000 --- a/archlinux.json +++ /dev/null @@ -1,92 +0,0 @@ -{ - "builders": [ - { - "boot_command": [ - "", - "", - "echo \"sshd: ALL\" > /etc/hosts.allow", - "passwd", - "vagrant", - "vagrant", - "systemctl start sshd.service" - ], - "disk_size": 10140, - "guest_os_type": "freebsd-64", - "iso_checksum": "b7d7d124bc4f82d1df55c17029def67dfa0e5e64", - "iso_checksum_type": "sha1", - "iso_url": "http://mirrors.gigenet.com/archlinux/iso/2014.04.01/archlinux-2014.04.01-dual.iso", - "shutdown_command": "/usr/bin/sleep 5 \u0026\u0026 umount /mnt \u0026\u0026 systemctl --no-block poweroff", - "ssh_password": "vagrant", - "ssh_username": "root", - "ssh_wait_timeout": "10000s", - "tools_upload_flavor": "linux", - "type": "vmware-iso", - "vm_name": "arch201310", - "vmx_data": { - "cpuid.coresPerSocket": "1", - "memsize": "512", - "numvcpus": "1" - } - }, - { - "boot_command": [ - "", - "", - "echo \"sshd: ALL\" > /etc/hosts.allow", - "passwd", - "vagrant", - "vagrant", - "systemctl start sshd.service" - ], - "disk_size": 10140, - "guest_os_type": "ArchLinux_64", - "iso_checksum": "b7d7d124bc4f82d1df55c17029def67dfa0e5e64", - "iso_checksum_type": "sha1", - "iso_url": "http://mirrors.gigenet.com/archlinux/iso/2014.04.01/archlinux-2014.04.01-dual.iso", - "shutdown_command": "/usr/bin/sleep 3 \u0026\u0026 umount /mnt \u0026\u0026 systemctl --no-block poweroff", - "ssh_password": "vagrant", - "ssh_username": "root", - "ssh_wait_timeout": "10000s", - "type": "virtualbox-iso", - "vboxmanage": [ - [ - "modifyvm", - "{{ .Name }}", - "--memory", - "512" - ], - [ - "modifyvm", - "{{ .Name }}", - "--cpus", - "1" - ] - ], - "vm_name": "arch201310" - } - ], - "post-processors": [ - { - "keep_input_artifact": false, - "output": "../../{{.Provider}}/arch201310.box", - "type": "vagrant" - } - ], - "provisioners": [ - { - "override": { - "virtualbox-iso": { - "execute_command": "echo 'vagrant'|{{.Vars}} bash '{{.Path}}'" - } - }, - "scripts": [ - "script/base.sh", - "script/host.sh", - "script/ssh.sh", - "script/vagrant.sh", - "script/vmtools.sh" - ], - "type": "shell" - } - ] -} diff --git a/dwb/default/bookmarks b/dwb/default/bookmarks new file mode 100644 index 0000000..e69de29 diff --git a/dwb/default/custom_keys b/dwb/default/custom_keys new file mode 100644 index 0000000..e69de29 diff --git a/dwb/default/plugindb b/dwb/default/plugindb new file mode 100644 index 0000000..e69de29 diff --git a/dwb/default/plugins.allow b/dwb/default/plugins.allow new file mode 100644 index 0000000..e69de29 diff --git a/dwb/keys b/dwb/keys new file mode 100644 index 0000000..5c168be --- /dev/null +++ b/dwb/keys @@ -0,0 +1,175 @@ +[default] +tabopen= o +open= O +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 +hints_tab= F +hints_images_tab= ;It +hints_url_tab= ;Ot +tab_bookmarks= gB +tabopen_url= gO +hints_win= wf +hints_rapid_win= ;R +win_bookmarks= wB +winopen_url= wO +winopen= wo diff --git a/dwb/mimetypes b/dwb/mimetypes new file mode 100644 index 0000000..e69de29 diff --git a/dwb/searchengines b/dwb/searchengines new file mode 100644 index 0000000..23abf7a --- /dev/null +++ b/dwb/searchengines @@ -0,0 +1,2 @@ +aw https://wiki.archlinux.org/index.php?title=Special:Search&search=XXX +wiki https://en.wikipedia.org/w/index.php?search=XXX&title=Special:Search diff --git a/dwb/settings b/dwb/settings new file mode 100644 index 0000000..7cb7025 --- /dev/null +++ b/dwb/settings @@ -0,0 +1,161 @@ +[default] +cookies-store-policy=persistent +font=DroidSansMono 8 +font-hidden-statusbar=normal 10px DroidSansMono +monospace-font-family=DroidSansMono +hint-font=bold 10px DroidSansMono +hint-offset-left=0 +hint-bg-color=#eae788 +hint-fg-color=#080808 +user-agent=dwm, bitches! +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 +minimum-logical-font-size=5 +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 +sync-files=all +default-height=600 +javascript-api=automatic +scrollbars=false +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 +full-content-zoom=false +tab-orientation=horizontal +editor=xterm -e vim dwb_uri +hsts=false +enable-private-browsing=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= +cookies-accept-policy=always +font-nofocus= +status-blocked-color=#ffffff +download-fg-color=#ffffff +enable-plugins=true +enable-frame-flattening=false +ssl-use-system-ca-file=true +bars-padding=0 +active-completion-fg-color=#53868b +progress-bar-full-color=#ffffff +tabbed-browsing=true +hint-highlight-links=false +active-completion-bg-color=#000000 +enable-spell-checking=false +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 +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 +cookie-expiration=0 +cursive-font-family=serif +default-encoding= +error-color=#ff0000 +searchengine-submit-pattern=XXX +hint-opacity=0.80 +font-entry= +proxy-url= +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 +minimum-font-size=5 +font-completion= +enable-spatial-navigation=false +block-insecure-content=false +download-directory= +adblocker=false +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 +tab-width=100 +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