summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bashrc2
-rw-r--r--.config/mpv/mpv.conf3
-rw-r--r--.config/sway/config5
3 files changed, 7 insertions, 3 deletions
diff --git a/.bashrc b/.bashrc
index dd61a06..7addfca 100644
--- a/.bashrc
+++ b/.bashrc
@@ -133,7 +133,7 @@ alias grep='grep --color=auto'
alias egrep='grep -E --color=auto'
alias fgrep='grep -F --color=auto'
# mpv
-alias mpv="mpv --ytdl-format=mp4"
+#alias mpv="mpv --ytdl-format=mp4"
alias mpva="mpv --ytdl-format=bestaudio"
# mail
alias mbsync='mbsync -c "$XDG_CONFIG_HOME"/isync/mbsyncrc'
diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf
index 2b0d324..4b22d1c 100644
--- a/.config/mpv/mpv.conf
+++ b/.config/mpv/mpv.conf
@@ -1,3 +1,6 @@
+# ytdl-format=(bestvideo[height<=720]+bestaudio)[ext=webm]/bestvideo[height<=720]+bestaudio/best[height<=720]/bestvideo+bestaudio/best
+ytdl-format=bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best
+
# Uncomment this line to load the profile by default.
# Otherwise, launch mpv with '--profile=emacsconf-talks'.
#profile=emacsconf-talks
diff --git a/.config/sway/config b/.config/sway/config
index 0110d04..f8c3801 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -202,12 +202,13 @@ for_window [app_id="^[Ff]irefox.*" title="Choose User Profile"] \
floating enable
for_window [app_id="^[Ff]irefox.*" title="Sharing Indicator"] \
floating enable, kill
+for_window [class="Chromium"] inhibit_idle open
exec mako >/tmp/mako.log 2>&1
exec dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
exec gsettings set 'org.gnome.desktop.interface' cursor-theme 'DMZ-White'
-# exec gsettings set 'org.gnome.desktop.interface' font-name 'Sans 10'
+exec gsettings set 'org.gnome.desktop.interface' font-name 'Sans 10'
exec b-pacify
-exec [ -x "$(command -v nm-applet)" ] && nm-applet --indicator
+# exec [ -x "$(command -v nm-applet)" ] && nm-applet --indicator
include ~/.config/sway/"$(hostname)"