aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--stow/mpv/.config/mpv/scripts/youtube-quality.lua2
-rw-r--r--stow/newsboat/.config/newsboat/urls1
-rw-r--r--stow/qutebrowser/.config/qutebrowser/config.py8
-rwxr-xr-xstow/ranger/.config/ranger/scope.sh6
-rw-r--r--stow/rcs/.Xresources5
-rw-r--r--stow/sxhkd/.config/sxhkd/sxhkdrc1
-rw-r--r--stow/sxiv/repos/sxiv/config.h7
-rw-r--r--stow/tmux/.tmux.conf3
-rw-r--r--stow/vim/.vim/ftplugin/vimwiki/vimwiki.vim2
-rw-r--r--stow/vim/.vim/rc/vimwiki.vim2
10 files changed, 27 insertions, 10 deletions
diff --git a/stow/mpv/.config/mpv/scripts/youtube-quality.lua b/stow/mpv/.config/mpv/scripts/youtube-quality.lua
index a906e10..4ebcf09 100644
--- a/stow/mpv/.config/mpv/scripts/youtube-quality.lua
+++ b/stow/mpv/.config/mpv/scripts/youtube-quality.lua
@@ -258,7 +258,7 @@ function reload_resume()
local reload_duration = mp.get_property_native("duration")
local time_pos = mp.get_property("time-pos")
- mp.set_property_number("playlist-pos", playlist_pos)
+ mp.commandv("playlist-play-index", playlist_pos)
-- Tries to determine live stream vs. pre-recordered VOD. VOD has non-zero
-- duration property. When reloading VOD, to keep the current time position
diff --git a/stow/newsboat/.config/newsboat/urls b/stow/newsboat/.config/newsboat/urls
new file mode 100644
index 0000000..5584eea
--- /dev/null
+++ b/stow/newsboat/.config/newsboat/urls
@@ -0,0 +1 @@
+https://www.sieciprawdy.pl/rss
diff --git a/stow/qutebrowser/.config/qutebrowser/config.py b/stow/qutebrowser/.config/qutebrowser/config.py
index b0f65cb..fb4a669 100644
--- a/stow/qutebrowser/.config/qutebrowser/config.py
+++ b/stow/qutebrowser/.config/qutebrowser/config.py
@@ -1371,6 +1371,7 @@ c.url.searchengines = {
'aur': 'https://aur.archlinux.org/packages/{}', # Arch User Repository
'aurs': 'https://aur.archlinux.org/packages?O=0&K={}', # Arch User Repository search
'sf': 'https://scryfall.com/search?q={}', #scryfall
+ 'sft': 'https://tagger.scryfall.com/search?q={}', #scryfall tagger
'mkm': 'https://www.cardmarket.com/en/Magic/Products/Search?searchString={}', #mkm
'gi': 'https://game-icons.net/search.html?q={}', #game-icons
'bc': 'https://bandcamp.com/search?q={}', #bancamp
@@ -1406,7 +1407,10 @@ c.url.searchengines = {
'do': 'http://wiki.dominionstrategy.com/index.php/{}', # Dominion Wiki
'vdb': 'https://vdb.im/library?q=%7B%22text%22%3A%5B%7B%22value%22%3A%22{}%22%2C%22logic%22%3A%22and%22%2C%22in%22%3A%22name%22%7D%5D%7D', # V:TES Library
'vdbCrypt': 'https://vdb.im/crypt?q=%7B%22text%22%3A%5B%7B%22value%22%3A%22{}%22%2C%22logic%22%3A%22and%22%7D%5D%7D', # V:TES Crypt
- 'devir': 'https://devir.es/catalogsearch/result/?q={}' # Devir
+ 'devir': 'https://devir.es/catalogsearch/result/?q={}', # Devir
+ 'g': 'https://www.google.es/search?q={}', # Google
+ '5etoolsspells': 'https://5e.tools/spells.html#{}_phb', # 5etools spells PHB
+ '5etoolscreatures': 'https://5e.tools/bestiary.html#{}_mm' # 5etools creatures MM
}
## Page(s) to open at the start.
@@ -1631,6 +1635,8 @@ config.bind(',FA', 'hint all spawn youtube-dlFloatAudio.sh {hint-url}')
config.bind(',i', 'spawn showURLimage.sh {url}')
config.bind(',fi', 'hint images spawn showURLimage.sh {hint-url}')
config.bind(',fI', 'hint all spawn showURLimage.sh {hint-url}')
+# rapidly download images
+config.bind(',ri', 'hint --rapid images download')
# ripme bulk image downloading
config.bind(',rm', 'spawn ripme.sh {url}')
config.bind(',frm', 'hint links spawn ripme.sh {hint-url}')
diff --git a/stow/ranger/.config/ranger/scope.sh b/stow/ranger/.config/ranger/scope.sh
index 538f044..7819266 100755
--- a/stow/ranger/.config/ranger/scope.sh
+++ b/stow/ranger/.config/ranger/scope.sh
@@ -109,6 +109,10 @@ handle_extension() {
python -m json.tool -- "${FILE_PATH}" && exit 5
;;
+ hjson)
+ cat "${FILE_PATH}" && exit 5
+ ;;
+
## Direct Stream Digital/Transfer (DSDIFF) and wavpack aren't detected
## by file(1).
dff|dsf|wv|wvc)
@@ -315,7 +319,7 @@ handle_mime() {
exit 1;;
## Text
- text/* | */xml)
+ text/* | */xml | */javascript)
## Syntax highlight
if [[ "$( stat --printf='%s' -- "${FILE_PATH}" )" -gt "${HIGHLIGHT_SIZE_MAX}" ]]; then
exit 2
diff --git a/stow/rcs/.Xresources b/stow/rcs/.Xresources
index 8f9ad7f..a43b600 100644
--- a/stow/rcs/.Xresources
+++ b/stow/rcs/.Xresources
@@ -5,7 +5,6 @@
#include "/home/taamas/.config/colorschemes/tokyoNight/tokyoNight"
! Man pages
-URxvt.colorIT: #ff0000
URxvt.scrollBar: false
@@ -24,8 +23,10 @@ URxvt.scrollBar: false
!*.font: inconsolata:size=12
*.font: mononoki:size=12
+*.italicFont: xft:mononoki:size=12:style=Italic
! URxvt.font: xft:inconsolata:size=10,xft:symbola
-URxvt.font: xft:mononoki:size=13,xft:symbola
+URxvt.font: xft:mononoki:size=13,xft:symbola
+URxvt.italicFont: xft:mononoki:size=13:style=Italic
! URxvt.font: xft:envy code r:size=9,xft:symbola
! Leaving this blank stops perl from being initialized
diff --git a/stow/sxhkd/.config/sxhkd/sxhkdrc b/stow/sxhkd/.config/sxhkd/sxhkdrc
index 31f2e85..628ee8c 100644
--- a/stow/sxhkd/.config/sxhkd/sxhkdrc
+++ b/stow/sxhkd/.config/sxhkd/sxhkdrc
@@ -66,7 +66,6 @@ super + alt + m
cmusShow.sh
# Resize windows
-
super + {minus,plus}
setWindowSize.sh -{p,n}
diff --git a/stow/sxiv/repos/sxiv/config.h b/stow/sxiv/repos/sxiv/config.h
index f8e6233..607aa2a 100644
--- a/stow/sxiv/repos/sxiv/config.h
+++ b/stow/sxiv/repos/sxiv/config.h
@@ -78,8 +78,10 @@ static const keymap_t keys[] = {
{ ControlMask, XK_h, g_scroll_screen, DIR_LEFT },
{ ControlMask, XK_Left, g_scroll_screen, DIR_LEFT },
{ ControlMask, XK_j, g_scroll_screen, DIR_DOWN },
+ { 0, XK_d, g_scroll_screen, DIR_DOWN },
{ ControlMask, XK_Down, g_scroll_screen, DIR_DOWN },
{ ControlMask, XK_k, g_scroll_screen, DIR_UP },
+ { 0, XK_u, g_scroll_screen, DIR_UP },
{ ControlMask, XK_Up, g_scroll_screen, DIR_UP },
{ ControlMask, XK_l, g_scroll_screen, DIR_RIGHT },
{ ControlMask, XK_Right, g_scroll_screen, DIR_RIGHT },
@@ -90,7 +92,7 @@ static const keymap_t keys[] = {
{ 0, XK_m, g_toggle_image_mark, None },
{ 0, XK_M, g_mark_range, None },
{ ControlMask, XK_m, g_reverse_marks, None },
- { ControlMask, XK_u, g_unmark_all, None },
+ { 0, XK_U, g_unmark_all, None },
{ 0, XK_N, g_navigate_marked, +1 },
{ 0, XK_P, g_navigate_marked, -1 },
{ 0, XK_braceleft, g_change_gamma, -1 },
@@ -134,6 +136,7 @@ static const keymap_t keys[] = {
{ 0, XK_equal, i_set_zoom, 100 },
{ 0, XK_w, i_fit_to_win, SCALE_DOWN },
{ 0, XK_W, i_fit_to_win, SCALE_FIT },
+ { 0, XK_s, i_fit_to_win, SCALE_WIDTH },
{ 0, XK_e, i_fit_to_win, SCALE_WIDTH },
{ 0, XK_E, i_fit_to_win, SCALE_HEIGHT },
{ 0, XK_less, i_rotate, DEGREE_270 },
@@ -143,7 +146,7 @@ static const keymap_t keys[] = {
{ 0, XK_underscore, i_flip, FLIP_VERTICAL },
{ 0, XK_a, i_toggle_antialias, None },
{ 0, XK_A, i_toggle_alpha, None },
- { 0, XK_s, i_slideshow, None },
+ { 0, XK_S, i_slideshow, None },
};
/* mouse button mappings for image mode: */
diff --git a/stow/tmux/.tmux.conf b/stow/tmux/.tmux.conf
index be03787..935e019 100644
--- a/stow/tmux/.tmux.conf
+++ b/stow/tmux/.tmux.conf
@@ -2,7 +2,8 @@ unbind C-b
set -g prefix m-a
bind m-a send-prefix
-set-option -g default-terminal "screen-256color"
+#set-option -g default-terminal "screen-256color" # Old, no italics
+set-option -g default-terminal "tmux-256color"
set -g xterm-keys on
#setw -g monitor-activity on
#set -g visual-activity on
diff --git a/stow/vim/.vim/ftplugin/vimwiki/vimwiki.vim b/stow/vim/.vim/ftplugin/vimwiki/vimwiki.vim
index 7d36f10..b658c63 100644
--- a/stow/vim/.vim/ftplugin/vimwiki/vimwiki.vim
+++ b/stow/vim/.vim/ftplugin/vimwiki/vimwiki.vim
@@ -20,6 +20,8 @@ highlight Title ctermfg=blue
highlight TitleHash ctermfg=cyan
match TitleHash /^##*/
+" Conceal
+
let mapleader = " "
nnoremap <buffer> <leader>C :sp ~/.vim/ftplugin/vimwiki/vimwiki.vim<CR>
diff --git a/stow/vim/.vim/rc/vimwiki.vim b/stow/vim/.vim/rc/vimwiki.vim
index 7ef5671..d940a7a 100644
--- a/stow/vim/.vim/rc/vimwiki.vim
+++ b/stow/vim/.vim/rc/vimwiki.vim
@@ -19,7 +19,7 @@ let g:vimwiki_list = [{'path': '~/docs/notas/',
\'syntax': 'markdown',
\'ext': '.md'}]
-let g:vimwiki_conceallevel = 1
+let g:vimwiki_conceallevel = 2
" Treat files with registered extensions as vimwiki
let g:vimwiki_global_ext = 1