update mp3 link handling and i3/config
Prithu Goswami prithugoswami524@gmail.com
Sun, 01 Dec 2019 16:51:26 +0530
2 files changed,
4 insertions(+),
1 deletions(-)
M
bin/scripts/linkhandler
→
bin/scripts/linkhandler
@@ -37,7 +37,8 @@ setsid youtube-viewer $cq "$1" >/dev/null 2>&1 & ;;
*png|*jpg|*jpe|*jpeg) setsid feh "$1" >/dev/null 2>&1 & ;; *mp3|*flac|*opus|*mp3?source) - setsid tsp curl -LO "$1" >/dev/null 2>&1 & ;; + # setsid tsp curl -LO "$1" >/dev/null 2>&1 & ;; + setsid st -e mpv "$1" >/dev/null 2>&1 & ;; *springer.com*) setsid curl -sO "$(curl -s "$scihub$*" | grep -Po "(?<=location.href=').+.pdf")" >/dev/null 2>&1 & ;; *)
M
i3/config
→
i3/config
@@ -353,6 +353,8 @@ for_window [class="Thus"] floating enable border normal
for_window [class="Timeset-gui"] floating enable border normal for_window [class="(?i)virtualbox"] floating enable border normal for_window [class="Xfburn"] floating enable +for_window [title="Nam Console v1.15"] floating enable move scratchpad +for_window [title="nam: (?i)"] floating enable resize set 800 720, move position 560 25 # Resize floating file chooser for_window [window_role="GtkFileChooserDialog"] resize set 840 580, move position center