summaryrefslogtreecommitdiff
path: root/config/common
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-06-19 10:30:03 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-06-19 10:30:03 +0200
commitff6c38d3364165a7bae431888a87aab1e53a80b9 (patch)
treec0ac13cdbf388d59193522eb8775788a6fae3e81 /config/common
parent4bf952169c5d94044a6dd3c868c990716d22c58b (diff)
parent05e1216b45340702f82a4946002015a05cebe9b1 (diff)
Merge branch 'main' of debuc.com:dotfiles
Diffstat (limited to 'config/common')
-rwxr-xr-xconfig/common/mpv/mpv.conf5
m---------config/common/mpv/scripts/mpv-skipsilence0
-rw-r--r--config/common/newsraft/feeds12
-rwxr-xr-xconfig/common/tmux/tmux.conf17
4 files changed, 19 insertions, 15 deletions
diff --git a/config/common/mpv/mpv.conf b/config/common/mpv/mpv.conf
index 1fd96da..2e7318e 100755
--- a/config/common/mpv/mpv.conf
+++ b/config/common/mpv/mpv.conf
@@ -17,10 +17,11 @@ ytdl-raw-options=extractor-args="youtube:player-client=android"
# Default demuxer is 150/75 MB, note that this uses RAM so set a reasonable amount.
# 150MB, Max pre-load for network streams (1 MiB = 1048576 Bytes).
-demuxer-max-bytes=150000000
+demuxer-max-bytes=150MiB
+demuxer-readahead-secs=20
# 75MB, Max loaded video kept after playback.
-demuxer-max-back-bytes=75000000
+demuxer-max-back-bytes=75MiB
# Force stream to be seekable even if disabled.
force-seekable=yes
diff --git a/config/common/mpv/scripts/mpv-skipsilence b/config/common/mpv/scripts/mpv-skipsilence
new file mode 160000
+Subproject 2d6fd04dca3c70edf816e9af6fc30b302eb1c7a
diff --git a/config/common/newsraft/feeds b/config/common/newsraft/feeds
index 77e5420..683490c 100644
--- a/config/common/newsraft/feeds
+++ b/config/common/newsraft/feeds
@@ -25,8 +25,12 @@ https://arthurmelton.com/blogs.rss "Arthur Melton's blog'"
@ Linux
https://www.youtube.com/feeds/videos.xml?channel_id=UC-V8FVQCUpRRUPNClviki3w "Luke Smith"
-https://youtube.com/feeds/video.xml?channel_id=UCngn7SVujlvskHRvRKc1cTw "Bugswriter"
-https://youtube.com/feeds/video.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg "DistroTube"
+https://www.youtube.com/feeds/videos.xml?channel_id=UCngn7SVujlvskHRvRKc1cTw "Bugswriter"
+https://www.youtube.com/feeds/videos.xml?channel_id=UCVls1GmFKf6WlTraIb_IaJg "DistroTube"
+https://www.youtube.com/feeds/videos.xml?channel_id=UCuGS5mN1_CpPzuOUAu2LluA "NixHero"
+https://www.youtube.com/feeds/videos.xml?channel_id=UCWQaM7SpSECp9FELz-cHzuQ "Dreams of Code"
+https://www.youtube.com/feeds/videos.xml?channel_id=UCCuoqzrsHlwv1YyPKLuMDUQ "Jonathan Blow"
+
@ Entertainment
https://www.youtube.com/feeds/videos.xml?channel_id=UCi8C7TNs2ohrc6hnRQ5Sn2w "Programmers are also human"
@@ -37,5 +41,5 @@ https://www.youtube.com/feeds/videos.xml?channel_id=UCVk4b-svNJoeytrrlOixebQ "Th
https://www.youtube.com/feeds/videos.xml?channel_id=UCd3dNckv1Za2coSaHGHl5aA "TJ DeVries"
@ News
-https://rss.rtbf.be/article/rss/highlight_rtbf_info.xml?source=internal
-https://news.ycombinator.com/rss
+https://rss.rtbf.be/article/rss/highlight_rtbf_info.xml?source=internal "RTBF"
+https://news.ycombinator.com/rss "HackerNews"
diff --git a/config/common/tmux/tmux.conf b/config/common/tmux/tmux.conf
index d8a4969..8cf10e5 100755
--- a/config/common/tmux/tmux.conf
+++ b/config/common/tmux/tmux.conf
@@ -43,11 +43,11 @@ bind X confirm -p "Kill Window?" kill-window
bind M-x confirm -p "Kill Session?" kill-session
bind M-X confirm -p "Kill Server?" kill-server
# Restart pane
-bind k run -C "respawn-pane -k; send-keys !! 'C-j'"
-bind K respawn-pane -k
+bind C-r run -C "respawn-pane -k; send-keys !! 'C-j'"
+bind C-R respawn-pane -k
# Splitting
bind v split-window -h -c "#{pane_current_path}"
-bind h split-window -v -c "#{pane_current_path}"
+bind s split-window -v -c "#{pane_current_path}"
# Swapping left and right a la vim
bind -n M-H swap-pane -U
bind -n M-L swap-pane -D
@@ -64,8 +64,10 @@ bind b break-pane -t :
# Reset length and shit
bind z select-layout main-vertical
-
-
+bind-key h select-pane -L
+bind-key j select-pane -D
+bind-key k select-pane -U
+bind-key l select-pane -R
# Pane navigating with h|j|k|l a la vim
# Smart pane switching with awareness of Vim splits.
@@ -88,9 +90,6 @@ bind-key -T copy-mode-vi 'M-k' select-pane -U
bind-key -T copy-mode-vi 'M-l' select-pane -R
bind-key -T copy-mode-vi 'M-\' select-pane -l
-
-
-
bind -n M-u previous-window
bind -n M-i next-window
# Session navigeting with S-M-u|i
@@ -121,7 +120,7 @@ set -g status on
#+--- Layout ---+
set -g set-titles-string "[#S: #W] #T"
set -g set-titles on
-set -g status-position top
+set -g status-position bottom
set -g window-status-current-style "underscore"
set -g status-justify left
set -g status-left-length 16