all repos — dotfiles @ d0450982411601386141b6dfe7caeebec3e0916c

linux dotfiles

update mp3 link handling and i3/config
Prithu Goswami prithugoswami524@gmail.com
Sun, 01 Dec 2019 16:51:26 +0530
commit

d0450982411601386141b6dfe7caeebec3e0916c

parent

9c0ce716b6ce2a4a1b1911b8b2b0cd94fee5ec7f

2 files changed, 4 insertions(+), 1 deletions(-)

jump to
M bin/scripts/linkhandlerbin/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/configi3/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