aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
m---------config/nvim0
-rw-r--r--config/qutebrowser/config.py6
-rw-r--r--config/qutebrowser/ui.py9
-rw-r--r--config/zsh/aliases/system.zsh6
-rw-r--r--config/zsh/plugins/fzf-cd.zsh4
5 files changed, 12 insertions, 13 deletions
diff --git a/config/nvim b/config/nvim
-Subproject b0f166c0c9a971af19b600f80aa1f8671ff7b7d
+Subproject 369b93318934373ff1c27bc9a87ff3968827312
diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py
index 9e029f6..7dcfb12 100644
--- a/config/qutebrowser/config.py
+++ b/config/qutebrowser/config.py
@@ -156,8 +156,8 @@ nmap(localleader + 'td', ':toggle-darkmode')
# }}}
#### Sessions {{{
-nmap(leader + 'sl', ':cmd-set-text :session-load ');
-nmap(leader + 'sw', ':cmd-set-text :session-save');
+nmap(leader + 'sl', ':cmd-set-text -s :session-load ');
+nmap(leader + 'sw', ':cmd-set-text -s :session-save');
# }}}
#### Navigation {{{
@@ -207,7 +207,7 @@ nmap('<Ctrl-k>', 'tab-prev')
nmap('<Ctrl-j>', 'tab-next')
nmap('<Ctrl-Shift-k>', 'tab-move -')
nmap('<Ctrl-Shift-j>', 'tab-move +')
-# nmap('b', 'cmd-set-text --space :buffer') # List buffers by index
+nmap('b', 'cmd-set-text -s :tab-select') # List buffers by index
for i in range(1, 10 + 1):
key = 0 if i == 10 else i
diff --git a/config/qutebrowser/ui.py b/config/qutebrowser/ui.py
index f1479f3..85d7f09 100644
--- a/config/qutebrowser/ui.py
+++ b/config/qutebrowser/ui.py
@@ -20,11 +20,10 @@ c.fonts.default_size = '12px'
c.colors.webpage.preferred_color_scheme = 'dark'
c.colors.webpage.darkmode.enabled = False
-c.colors.webpage.darkmode.algorithm = "lightness-cielab"
-c.colors.webpage.darkmode.threshold.text = 150
-c.colors.webpage.darkmode.threshold.background = 100
-c.colors.webpage.darkmode.policy.images = 'always'
-c.colors.webpage.darkmode.grayscale.images = 0.35
+# c.colors.webpage.darkmode.algorithm = "lightness-cielab"
+# c.colors.webpage.darkmode.threshold.foreground = 150
+# c.colors.webpage.darkmode.threshold.background = 100
+# c.colors.webpage.darkmode.policy.images = 'always'
## Hints
c.colors.hints.bg = 'yellow'
diff --git a/config/zsh/aliases/system.zsh b/config/zsh/aliases/system.zsh
index 3f049a3..9e562dd 100644
--- a/config/zsh/aliases/system.zsh
+++ b/config/zsh/aliases/system.zsh
@@ -24,13 +24,13 @@ nix-rollback() {
setup_webcam_day() {
v4l2-ctl -d /dev/video2 --set-ctrl exposure_absolute=300
v4l2-ctl -d /dev/video2 --set-ctrl gamma=180
- v4l2-ctl -d /dev/video2 --set-ctrl saturation=17
- v4l2-ctl -d /dev/video2 --set-ctrl contrast=12
+ v4l2-ctl -d /dev/video2 --set-ctrl saturation=15
+ v4l2-ctl -d /dev/video2 --set-ctrl contrast=11
v4l2-ctl -d /dev/video2 --set-ctrl brightness=1
}
setup_webcam_night() {
- v4l2-ctl -d /dev/video2 --set-ctrl exposure_absolute=400
+ v4l2-ctl -d /dev/video2 --set-ctrl exposure_absolute=460
v4l2-ctl -d /dev/video2 --set-ctrl gamma=230
v4l2-ctl -d /dev/video2 --set-ctrl saturation=14
v4l2-ctl -d /dev/video2 --set-ctrl contrast=10
diff --git a/config/zsh/plugins/fzf-cd.zsh b/config/zsh/plugins/fzf-cd.zsh
index f1897c5..02b85e7 100644
--- a/config/zsh/plugins/fzf-cd.zsh
+++ b/config/zsh/plugins/fzf-cd.zsh
@@ -4,7 +4,7 @@ fzf-change-dir-cwd() { # fzf + cd in cwd
if [ ! -z "$selected" ] && [ "$selected" != "$(pwd)" ]; then
cd $selected;
fi
- zle send-break
+ zle send-break || true
}
zle -N fzf-change-dir-cwd;
@@ -15,7 +15,7 @@ fzf-change-dir() {
if ! [[ -z "$result" ]]; then
cd "$result"
fi
- zle send-break
+ zle send-break || true
}
zle -N fzf-change-dir;