This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # GIST | |
| # https://gist.github.com/bonnebulle/8a245ecbc4acee7ef49108e64cedba66 | |
| # USED BY (part of) | |
| # https://gist.github.com/bonnebulle/749b879f693a689dab10b836c2cb9745 | |
| # DEP yq | |
| # https://github.com/mikefarah/yq/releases/tag/v4.47.1 | |
| ### TODO autre piste (sans json/YQ) ==> https://github.com/emacsmirror/musicbrainz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| # GIST | |
| # https://gist.github.com/bonnebulle/749b879f693a689dab10b836c2cb9745/edit | |
| # DEP (also use) | |
| # https://gist.github.com/bonnebulle/8a245ecbc4acee7ef49108e64cedba66 | |
| # USE | |
| # FILES NAMING FOR BEST : "artist - title name.mp3" | |
| # bmp_mp3_albums.sh ./music_folder/any/ --force # default checkin if an .ok/.ok_album file exists, if yes, bypass folder (--force will check anyway) | |
| # bmp_mp3_albums.sh ./music_folder/album_name/ # search album name w/ parent folder (is a sub) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/zsh | |
| ## DEBIAN https://www.ryananddebi.com/2023/12/09/linux-adding-bpm-to-id3-tags/ | |
| # Directory containing music files | |
| MUSIC_DIR="$1" | |
| echo $MUSIC_DIR | |
| sleep 1 | |
| if [[ $2 == "--force" ]];then | |
| BYPASS_IF_OK_EXISTE="false" | |
| else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| ### | |
| ## WHAT + HOW | |
| # THUNAR ACTION fusion PDFs -- using pdftk | |
| # ACTION : /bin/bash /usr/bin/batch_pdf_fusion_inputs.sh %f %F | |
| # -- Multi select files -- | |
| # %f == current folder -> pwd | |
| # %F == files | |
| # | |
| ## ORG |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| #### HERE... hide all but NOT Focused ONE | |
| #### IF all are already minimized... raise.maximised them all back | |
| # Alt to :: SHOW/HIDE (TOGGLE) Desktop | |
| #if [ $status == "ON" ]; then | |
| # wmctrl -k off | |
| #else | |
| # wmctrl -k on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## QUICKSTART --> search : | |
| ##### GO --- EDIT ME : | |
| # V1.3 - add cleanup json files + creat md + add contents | |
| ## WHAT | |
| # - Extracts highlight marks in PDFs (input) | |
| # - Merge them by page | |
| # - Filtre/select by colors /or/ any/all | |
| # --> Output json datas /then/ md (readable) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| current=$(xprop -root | grep '^_NET_ACTIVE_W' | awk -F'# 0x' '{print $2}' | awk -F', ' '{print $1}') | |
| echo current $current | |
| class=$(xdotool getwindowfocus getwindowclassname) | |
| echo class $class | |
| currapp_windows=$(wmctrl -mlpx | grep $class | awk '{print $1}') | |
| echo currapp_windows $currapp_windows |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # DO Convert all vidéos files in all sub-folders (batch) with ffmpeg | |
| # DEP ffmpeg | |
| # TODO Change quality (-crf) + output file_name.ext | |
| # OPT "ffmpeg_batch_subfolders_each.sh infos" => GIVE ffmpeg files infos only... | |
| # GIST https://gist.github.com/bonnebulle/907026a0f96d8497fa63dc15472b07ce | |
| echo "Carefull, will find all files in sub-folders and move them here =" | |
| pwd | |
| echo ": */**.mkv" |
NewerOlder