aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--README.md2
-rw-r--r--config/alacritty/alacritty.darwin.yml1
-rw-r--r--config/gdb/gdbinit (renamed from config/gdb/init)2
-rw-r--r--config/mimeapps.list13
-rw-r--r--config/qutebrowser/config.py6
-rw-r--r--config/readline/inputrc2
-rw-r--r--config/sc-im/scimrc10
m---------config/tmux/plugins/tpm0
-rwxr-xr-xinstall7
-rw-r--r--local/share/applications/qutebrowser.desktop4
11 files changed, 41 insertions, 9 deletions
diff --git a/.gitmodules b/.gitmodules
index 59e6a72..a79b48d 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -4,3 +4,6 @@
[submodule "local/share/mutt/gruvbox"]
path = local/share/mutt/gruvbox
url = https://git.sthu.org/repos/mutt-gruvbox.git
+[submodule "config/tmux/plugins/tpm"]
+ path = config/tmux/plugins/tpm
+ url = https://github.com/tmux-plugins/tpm
diff --git a/README.md b/README.md
index 5cd8a21..3037653 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# dotfiles [![Build Status](https://api.travis-ci.com/cacharle/dotfiles.svg?branch=master)](https://travis-ci.com/cacharle/dotfiles)
+# dotfiles [![Build Status](https://api.travis-ci.com/cacharle/dotfiles.svg?branch=master)](https://app.travis-ci.com/github/cacharle/dotfiles)
## Installation
diff --git a/config/alacritty/alacritty.darwin.yml b/config/alacritty/alacritty.darwin.yml
index 1e1debc..beb10ac 100644
--- a/config/alacritty/alacritty.darwin.yml
+++ b/config/alacritty/alacritty.darwin.yml
@@ -8,6 +8,7 @@ font:
offset:
x: 0
y: 0
+ # brew install font-fira-code-nerd-font
normal:
family: FiraCode Nerd Font Mono
style: Retina
diff --git a/config/gdb/init b/config/gdb/gdbinit
index 9d56111..1b488ae 100644
--- a/config/gdb/init
+++ b/config/gdb/gdbinit
@@ -1,5 +1,5 @@
set disassembly-flavor intel
set print pretty on
-set prompt \ngdb>
+set prompt \n(gdb)
set confirm off
set listsize 25
diff --git a/config/mimeapps.list b/config/mimeapps.list
index db8d517..2f7ada6 100644
--- a/config/mimeapps.list
+++ b/config/mimeapps.list
@@ -24,3 +24,16 @@ application/rss+xml=newsboat.desktop
video/x-matroska=mpv.desktop
# x-scheme-handler/lbry=lbry.desktop
# inode/directory=file.desktop
+
+x-scheme-handler/http=qutebrowser.desktop
+x-scheme-handler/https=qutebrowser.desktop
+text/html=qutebrowser.desktop
+application/xhtml_xml=qutebrowser.desktop
+image/webp=qutebrowser.desktop
+
+[Added Associations]
+text/html=qutebrowser.desktop
+text/xml=qutebrowser.desktop
+application/xhtml_xml=qutebrowser.desktop
+image/webp=qutebrowser.desktop
+x-scheme-handler/https=qutebrowser.desktop
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py
index 269a38c..a6778d9 100644
--- a/config/qutebrowser/config.py
+++ b/config/qutebrowser/config.py
@@ -44,7 +44,8 @@ config.bind("<Command-Return>", "config-cycle window.hide_decoration true false"
c.fonts.default_family = ["Fira Mono", "Baekmuk", "Noto Color Emoji", "Symbola"]
c.fonts.hints = "bold 11pt default_family"
if platform.system() == 'Darwin':
- c.fonts.default_size = '13pt'
+ c.fonts.default_family = ["FiraCode Nerd Font Mono", "FiraMono"]
+ c.fonts.default_size = "13pt"
c.fonts.hints = "bold 12pt default_family"
c.hints.chars = "asdfghjkl;" # use key in the main row for hints
@@ -438,6 +439,3 @@ c.colors.tabs.selected.even.bg = base05
# Background color for webpages if unset (or empty to use the theme"s
# color).
c.colors.webpage.bg = base00
-
-# vim:TSBufDisable highlight
-# vim:LspStop
diff --git a/config/readline/inputrc b/config/readline/inputrc
index b2cc9d6..a13ad4c 100644
--- a/config/readline/inputrc
+++ b/config/readline/inputrc
@@ -1 +1,3 @@
set editing-mode vi
+
+"\C-l": clear-screen
diff --git a/config/sc-im/scimrc b/config/sc-im/scimrc
index 12fd258..ac757c1 100644
--- a/config/sc-im/scimrc
+++ b/config/sc-im/scimrc
@@ -1,3 +1,11 @@
+set input_bar_bottom
+set half_page_scroll=1
+
+# nunmap "<C-u>"
+# nunmap "<C-d>"
+# nnoremap "<C-u>" "<C-b>"
+# nnoremap "<C-d>" "<D-f>"
+
DEFINE_COLOR "red" 251 73 52
DEFINE_COLOR "orange" 254 128 25
DEFINE_COLOR "green" 184 187 38
@@ -38,5 +46,3 @@ color "type=INPUT fg=white bg=black"
color "type=INFO_MSG italic=1 bold=1 fg=orange bg=black"
color "type=ERROR_MSG bold=1 fg=red bg=black"
color "type=HELP_HIGHLIGHT bold=1 fg=white bg=black1"
-
-set input_bar_bottom
diff --git a/config/tmux/plugins/tpm b/config/tmux/plugins/tpm
-Subproject 693e5a2a0f6acfd2666882655d5dfd32e8c6c50
+Subproject b699a7e01c253ffb7818b02d62bce24190ec101
diff --git a/install b/install
index 46a9fa8..87c447a 100755
--- a/install
+++ b/install
@@ -96,7 +96,12 @@ parallel_start update_zsh_plugin 'https://github.com/zsh-users/zsh-syntax-highli
parallel_start update_zsh_plugin 'https://github.com/MichaelAquilina/zsh-you-should-use'
parallel_wait
-[ "$(uname)" = Darwin ] && exit
+if [ "$(uname)" = Darwin ]
+then
+ # xdg vars not defined for qutebrowser
+ ln -svfF "$XDG_CONFIG_HOME/qutebrowser" "$HOME/.qutebrowser"
+ exit
+fi
###############################################################################
# Linux specific
diff --git a/local/share/applications/qutebrowser.desktop b/local/share/applications/qutebrowser.desktop
new file mode 100644
index 0000000..f8fd86d
--- /dev/null
+++ b/local/share/applications/qutebrowser.desktop
@@ -0,0 +1,4 @@
+[Desktop Entry]
+Type=Application
+Name=Navigator
+Exec=/usr/bin/qutebrowser %u