commit c889eff18a88d87635ec1f2e5b3a882aca1c4751
parent 7519023b0fafc28e1a27b5ecbbdbc62c182227af
Author: jacob@nzxt <jacobouno@protonmail.com>
Date: Sun, 24 May 2020 12:13:11 -0700
Merge branch 'master' of git:/git/config
Diffstat:
9 files changed, 31 insertions(+), 39 deletions(-)
diff --git a/aliases/.aliases b/aliases/.aliases
@@ -87,13 +87,13 @@ alias gl="g log"
#-----------#
# start tmux if no other command is specified
-ssh() {
- if [ -z $2 ]; then
- /usr/bin/ssh -t "$@" "tmux a || tmux new"
- else
- /usr/bin/ssh "$@"
- fi
-}
+#ssh() {
+# if [ -z $2 ]; then
+# /usr/bin/ssh -t "$@" "tmux a || tmux new"
+# else
+# /usr/bin/ssh "$@"
+# fi
+#}
# get working directory
diff --git a/htop/.config/htop/htoprc b/htop/.config/htop/htoprc
@@ -1,7 +1,7 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
fields=20 0 48 46 47 1
-sort_key=47
+sort_key=46
sort_direction=1
hide_threads=1
hide_kernel_threads=0
diff --git a/mpv/.config/mpv/input.conf b/mpv/.config/mpv/input.conf
@@ -71,7 +71,7 @@ ctrl+- add audio-delay -0.100
alt+C add contrast -1
alt+c add contrast 1
alt+B add brightness -1
-alt+b add brightness 1
+ctrl+alt+b add brightness 1
alt+G add gamma -1
alt+g add gamma 1
alt+S add saturation -1
diff --git a/mpv/.config/mpv/mpv.conf b/mpv/.config/mpv/mpv.conf
@@ -24,8 +24,8 @@ hwdec=auto
# cache
cache=yes
-#demuxer-max-bytes=500M
-#demuxer-max-back-bytes=100M
+demuxer-max-bytes=50M
+demuxer-max-back-bytes=10M
cache-pause=yes
# etc
diff --git a/ncmpcpp/.config/ncmpcpp/bindings b/ncmpcpp/.config/ncmpcpp/bindings
@@ -149,6 +149,8 @@
## - set_volume
##
#
+def_key "S"
+ set_volume
def_key "mouse"
mouse_event
diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim
@@ -7,7 +7,7 @@ set hlsearch
set incsearch
set smartcase
-set tabstop=2
+set tabstop=4 softtabstop=0 expandtab shiftwidth=4 smarttab
set shiftwidth=2
set nowrap
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
@@ -33,7 +33,7 @@ super + d
# newsboat
super + n
- "$TERMINAL" -e newsboat || notify-send 'newsboat already running or an error occured'
+ "$TERMINAL" -e newsboat || notify-send 'newsboat already running or an error occured'
# bookmarks
shift + super + {m,alt + m, n}
@@ -51,12 +51,12 @@ alt + p
### basic utilities
-# brightness controls
+# hardware brightness controls
XF86MonBrightness{Up,Down}
xbl {--up,--down}
# brightness controls
-{Home,End}
+super + alt + {e,r}
xbl {--up,--down}
# suspend screen
@@ -73,7 +73,7 @@ alt + F{1,2,3,4,5,6}
# launch wallpaper selector
Menu
- dmenu-do-dir "$WALLPAPERS" "sxiv -rtb ./"
+ dmenu-do-dir "$WALLPAPERS" "sxiv -rtb ./"
# look at screenshots
super + alt + Print
@@ -93,11 +93,15 @@ XF86Audio{Play,Stop}
# seek (mpd)
shift + XF86Audio{Next,Prev}
- mpc seek {+,-}10
+ mpc seek {+,-}10
-# volume keys
+# hardware volume controls
XF86Audio{Raise,Lower}Volume
- notify-send $(mixerctl outputs.master | cut -d"," -f2) || volume {--inc,--dec} 5
+ notify-send $(sndioctl output.level={+,-}0.05 | cut -d"=" -f2) || volume {--inc,--dec} 5
+
+# volume controls
+super + alt + {i,o}
+ notify-send $(sndioctl output.level={+,-}0.05 | cut -d"=" -f2) || volume {--inc,--dec} 5
# mute mic and speakers
XF86Audio{_,Mic}Mute
diff --git a/vimb/.config/vimb/config b/vimb/.config/vimb/config
@@ -17,7 +17,7 @@ set tabs-to-links=true
set incsearch=true
# whether webinspecter option, on right click, is available.
-set webinspector=false
+set webinspector=true
# hide input box providing it's empty.
set input-autohide=true
@@ -45,6 +45,8 @@ shortcut-default x
nmap <C-K> :set images!<CR>
nmap <C-S> :set stylesheet!<CR>
nmap <C-J> :set scripts!<CR>r<CR>
+nmap <C-P> :set font-size+=4<CR>
+nmap <C-M> :set font-size-=4<CR>
# css:
@@ -66,15 +68,8 @@ set strict-ssl=true
set scripts=false
set allow-file-access-from-file-urls=false
set allow-universal-access-from-file-urls=false
-# this option is not availible on openBSD as of yet.
-#set geolocation=never
-
-# Notice: Cookies;
-# if anyone knows how to allow cookies for only a specific site, like a searx
-# mirror, please tell me.
-
-# always, never, or origin (only host site)
-set cookie-accept=origin
+set geolocation=never
+set cookie-accept=never
# navigation:
diff --git a/vimb/.config/vimb/style.css b/vimb/.config/vimb/style.css
@@ -7,7 +7,6 @@
*
* Style:
* - mainly dark backgrounds and white text with blue and orange highlights.
- * - images are dimmed unless you hover over them.
* - scrollbar is disabled (when using webkit)
* - 90' angle borders
*/
@@ -47,20 +46,12 @@ a:visited {
color: var(--blue)!important;
}
-/* image */
-img {
- opacity: .4;
-}
-img:hover {
- opacity: 1;
-}
-
/* scroll bar */
body::-webkit-scrollbar {
display: none;
}
-/* vimb hinting */
+/* hinting */
span[vimbhint^='label'] {
font: normal 10pt monospace!important;
text-transform: uppercase!important;