aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/cmus/rc2
-rw-r--r--.config/newsboat/config40
-rw-r--r--.config/qutebrowser/config.py84
m---------.config/qutebrowser/dracula0
-rw-r--r--.config/sway/config3
-rw-r--r--.gitmodules4
6 files changed, 131 insertions, 2 deletions
diff --git a/.config/cmus/rc b/.config/cmus/rc
new file mode 100644
index 0000000..0103ed9
--- /dev/null
+++ b/.config/cmus/rc
@@ -0,0 +1,2 @@
+set scroll_offset=5
+
diff --git a/.config/newsboat/config b/.config/newsboat/config
new file mode 100644
index 0000000..9e39cfe
--- /dev/null
+++ b/.config/newsboat/config
@@ -0,0 +1,40 @@
+# vi: ft=config
+# general settings
+auto-reload false
+max-items 0
+scrolloff 5
+
+# externel browser
+#browser "w3m %u"
+browser "xdg-open %u"
+
+bind-key RIGHT open
+bind-key LEFT quit
+
+# unbind keys
+#unbind-key ENTER
+unbind-key j
+unbind-key k
+unbind-key J
+unbind-key K
+
+# bind keys - vim style
+bind-key j down
+bind-key k up
+bind-key l open
+bind-key h quit
+
+# bound to `sort` by default
+unbind-key g
+bind-key g home
+# bound to `rev-sort` by default
+unbind-key G
+bind-key G end
+
+# highlights
+highlight article "^(Feed|Title|Author|Link|Date): .+" blue default bold
+highlight article "^(Feed|Title|Author|Link|Date):" green default bold
+highlight article "https?://[^ ]+" red default
+highlight article "\\[image\\ [0-9]+\\]" green default
+
+
diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py
new file mode 100644
index 0000000..725efe8
--- /dev/null
+++ b/.config/qutebrowser/config.py
@@ -0,0 +1,84 @@
+import dracula.draw
+# Autogenerated config.py
+#
+# NOTE: config.py is intended for advanced users who are comfortable
+# with manually migrating the config file on qutebrowser upgrades. If
+# you prefer, you can also configure qutebrowser using the
+# :set/:bind/:config-* commands without having to write a config.py
+# file.
+#
+# Documentation:
+# qute://help/configuring.html
+# qute://help/settings.html
+
+# Change the argument to True to still load settings configured via autoconfig.yml
+config.load_autoconfig(False)
+
+# Aliases for commands. The keys of the given dictionary are the
+# aliases, while the values are the commands they map to.
+# Type: Dict
+c.aliases = {'q': 'close', 'qa': 'quit', 'w': 'session-save', 'wq': 'quit --save', 'wqa': 'quit --save'}
+
+# Time interval (in milliseconds) between auto-saves of
+# config/cookies/etc.
+# Type: Int
+c.auto_save.interval = 15000
+
+# Enable JavaScript.
+# Type: Bool
+config.set('content.javascript.enabled', True, 'chrome://*/*')
+
+# Enable JavaScript.
+# Type: Bool
+config.set('content.javascript.enabled', True, 'qute://*/*')
+
+# Enable JavaScript.
+# Type: Bool
+c.content.javascript.enabled = False
+
+# Enable smooth scrolling for web pages. Note smooth scrolling does not
+# work with the `:scroll-px` command.
+# Type: Bool
+c.scrolling.smooth = True
+
+# Search engines which can be used via the address bar. Maps a search
+# engine name (such as `DEFAULT`, or `ddg`) to a URL with a `{}`
+# placeholder. The placeholder will be replaced by the search term, use
+# `{{` and `}}` for literal `{`/`}` braces. The following further
+# placeholds are defined to configure how special characters in the
+# search terms are replaced by safe characters (called 'quoting'): *
+# `{}` and `{semiquoted}` quote everything except slashes; this is the
+# most sensible choice for almost all search engines (for the search
+# term `slash/and&amp` this placeholder expands to `slash/and%26amp`).
+# * `{quoted}` quotes all characters (for `slash/and&amp` this
+# placeholder expands to `slash%2Fand%26amp`). * `{unquoted}` quotes
+# nothing (for `slash/and&amp` this placeholder expands to
+# `slash/and&amp`). * `{0}` means the same as `{}`, but can be used
+# multiple times. The search engine named `DEFAULT` is used when
+# `url.auto_search` is turned on and something else than a URL was
+# entered to be opened. Other search engines can be used by prepending
+# the search engine name to the search term, e.g. `:open google
+# qutebrowser`.
+# Type: Dict
+c.url.searchengines = {'DEFAULT': 'https://html.duckduckgo.com/html?q={}'}
+
+# Bindings for normal mode
+config.bind(',M', 'hint links spawn mpv {hint-url}')
+config.bind(',m', 'spawn mpv {url}')
+
+c.editor.command = ["nvim-qt", "{file}"]
+c.content.cookies.accept = "never"
+c.completion.web_history.max_items = 0
+c.completion.cmd_history_max_items = 0
+# Privacy
+c.content.private_browsing = True
+config.set("content.webgl", False, "*")
+c.content.geolocation = False
+
+dracula.draw.blood(c, {
+ 'spacing': {
+ 'vertical': 6,
+ 'horizontal': 8
+ }
+})
+
diff --git a/.config/qutebrowser/dracula b/.config/qutebrowser/dracula
new file mode 160000
+Subproject 791de19ce6a43f0fa52405eea57cba43b4c05a2
diff --git a/.config/sway/config b/.config/sway/config
index 885e846..57d2cf1 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -1,4 +1,4 @@
-# vi: ft=sh
+# vi: ft=swayconfig
# Read `man 5 sway` for a complete reference.
### Variables
@@ -102,6 +102,7 @@ exec swayidle -w \
### Input configuration
input "2821:6228:Asus_Keyboard" xkb_layout us,no
input "1:1:AT_Translated_Set_2_keyboard" xkb_layout no
+input "1699:32801:Chicony_Saitek_Eclipse_II_Keyboard" xkb_layout gb,no
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
diff --git a/.gitmodules b/.gitmodules
index f515dd2..71e9c3b 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -5,4 +5,6 @@
[submodule ".config/wofi"]
path = .config/wofi
url = https://github.com/dracula/wofi.git
-
+[submodule ".config/qutebrowser/dracula"]
+ path = .config/qutebrowser/dracula
+ url = https://github.com/dracula/qutebrowser-dracula-theme.git