From 6ea52a831f079a14ae7e60789140fc13664c06e6 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 9 Mar 2023 22:54:58 -0600 Subject: [PATCH] some changes --- .config/aliasrc | 6 +++--- .config/lf/pv.sh | 6 +++--- .config/ncmpcpp/bindings | 23 +++++++++++++++++++++++ .config/sfeed/sfeedrc | 5 +++++ .config/sway/config | 3 +-- .local/scripts | 2 +- 6 files changed, 36 insertions(+), 9 deletions(-) diff --git a/.config/aliasrc b/.config/aliasrc index 725f337..fb8a4cd 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -30,9 +30,9 @@ alias sfe='$EDITOR ~/.config/sfeed/sfeedrc' alias mpvyl='mpv --ytdl-format=18 ' #system power -alias poweroff='sudo poweroff' -alias reboot='sudo reboot' -alias shutdown='sudo shutdown' +#alias poweroff='sudo poweroff' +#alias reboot='sudo reboot' +#alias shutdown='sudo shutdown' #programs alias trc="tremc -c @$TRNS_IP:9091" diff --git a/.config/lf/pv.sh b/.config/lf/pv.sh index b3946ff..4c4e360 100755 --- a/.config/lf/pv.sh +++ b/.config/lf/pv.sh @@ -1,7 +1,7 @@ #!/bin/sh img () { - chafa "$1" --size="$2"x"$3" | sed 's/#/\n#/g' + chafa "$1" --size="$2"x"$3" --animate=false | sed 's/#/\n#/g' #chafa --format=symbols "$1" --size="$2"x"$3" } @@ -9,7 +9,7 @@ W="$(($(tput cols)/2 - 10))" #H="$(tput lines)" fn="$1" -w="$2" +w="$(($2 - 5))" h="$3" x="$4" y="$5" @@ -22,7 +22,7 @@ case "$fn" in *.jpg | *.JPG | *.jpeg) img "$fn" "$w" "$h";; *.webp) img "$fn" "$w" "$h";; *.png | *.svg | *.gif) img "$fn" "$w" "$h";; #viu -t "$1" -w "$W" ;; #chafa "$fn" --size="$w"x"$h" ;; - *.mp4 | *.mkv | *.webm | *.avi | *.mpg | *.mpeg | *.ogv | *.flv | *.wmv | *.WMV) ffmpegthumbnailer -i "$fn" -c jpeg -o - | img - "$w" "$h";; + *.mp4 | *.mkv | *.webm | *.avi | *.mpg | *.mpeg | *.ogv | *.flv | *.wmv | *.WMV) ffmpegthumbnailer -s 0 -i "$fn" -c jpeg -o - | img - "$w" "$h";; *.pdf) pdftotext "$1" -;; *) bat -f "$1";; #*) highlight -O ansi "$1" || cat "$1";; esac diff --git a/.config/ncmpcpp/bindings b/.config/ncmpcpp/bindings index d2cf224..6f0f488 100644 --- a/.config/ncmpcpp/bindings +++ b/.config/ncmpcpp/bindings @@ -477,3 +477,26 @@ def_key "x" delete_playlist_items def_key "P" show_playlist + +def_key "f" + seek_forward + +def_key "b" + seek_backward + +def_key "f" + seek_forward +def_key "b" + seek_backward + +def_key "f" + seek_forward + +def_key "b" + seek_backward + +def_key "f" + seek_forward + +def_key "b" + seek_backward diff --git a/.config/sfeed/sfeedrc b/.config/sfeed/sfeedrc index 44d142a..701fe75 100644 --- a/.config/sfeed/sfeedrc +++ b/.config/sfeed/sfeedrc @@ -37,12 +37,17 @@ feeds() { #feed "VIDS YT MilleniaThinker" "https://www.youtube.com/feeds/videos.xml?channel_id=UC3TUCGI-7rSjvHsE4ONXRww" #feed "VIDS YT MentalOutlaw" "https://www.youtube.com/feeds/videos.xml?channel_id=UC7YOGHUfC1Tb6E4pudI9STA" feed "VIDS YT The Bioneer" "https://www.youtube.com/feeds/videos.xml?channel_id=UCIh_TPYPqjJuS_-nOfAIlfg" + feed "VIDS YT Brody Robertson" "https://www.youtube.com/feeds/videos.xml?channel_id=UCld68syR8Wi-GY_n4CaoJGA" + feed "VIDS YT Hybrid Calisthenics" "https://www.youtube.com/feeds/videos.xml?channel_id=UCeJFgNahi--FKs0oJyeRDEw" + #Bitchute feed "VIDS BIT Paul Joseph Watson" "https://www.bitchute.com/feeds/rss/channel/pauljosephwatson/" feed "VIDS BIT Liberum Arbitrium" "https://www.bitchute.com/feeds/rss/channel/liberum-arbitrium/" #feed "VIDS BIT Keith Woods" "https://www.bitchute.com/feeds/rss/channel/keithwoods/" feed "VIDS BIT PaxTube" "https://www.bitchute.com/feeds/rss/channel/paxtube/" #feed "VIDS BIT MisterMetokur" "https://www.bitchute.com/feeds/rss/channel/mistermetokur/" +#Odysee + feed "VIDS ODSY Keith Woods" "https://odysee.com/$/rss/@keithwoods:e" #Anime #feed "VIDS YT RetroCrush" "https://www.youtube.com/feeds/videos.xml?channel_id=UCPZkYpT5XIUou8sV8zk-3jQ" diff --git a/.config/sway/config b/.config/sway/config index 408e2b4..952bb5c 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -32,8 +32,7 @@ set $menu bemenu-run | xargs swaymsg exec -- #output HDMI-A-1 bg ~/.config/wall fill #output DP-1 resolution 1920x1080 position 0,0 #output DP-1 bg ~/.config/wall fill -output * bg ~/.config/wall fill -output VGA-1 disable +output * bg ~/.config/wall fit # diff --git a/.local/scripts b/.local/scripts index ce1055b..a115ebb 160000 --- a/.local/scripts +++ b/.local/scripts @@ -1 +1 @@ -Subproject commit ce1055b7ec7f795f7cf724e67a20103d30519fb2 +Subproject commit a115ebb0e4ee338de813015a06ea2a277b963b47