summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-09-18 23:32:40 -0400
committerAmin Bandali <bandali@kelar.org>2024-09-18 23:32:40 -0400
commit66f39fc4503139c226217e37aa9eb309c01ddcb2 (patch)
tree22f22aab82c8a268839714d66430bc4b1bce2336
parentced352e9e7f12c0dab976f3f0e4f71a0f77b32f3 (diff)
downloadconfigs-66f39fc4503139c226217e37aa9eb309c01ddcb2.tar.gz
configs-66f39fc4503139c226217e37aa9eb309c01ddcb2.tar.xz
configs-66f39fc4503139c226217e37aa9eb309c01ddcb2.zip
Various updates
Diffstat (limited to '')
-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)"