Skip to content
/ scripts Public

A collection of utility shell scripts for day to day usage of my computer.

License

Notifications You must be signed in to change notification settings

wlhlm/scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scripts

Collection of various shell scripts.

chkblayout

Switch keyboard layout. For use in window managers/desktop environments.

Requirements: bash, awk/grep, setxkbmap

chvol

Change the volume of the pulseaudio defaukt sink. Optionally, it can display a notification showing the volume as progress.

Requirements: egrep, pulseaudio, ponymix, notify-send` (libnotify)

dict.cc.py

Query the dict.cc online-dictionary. Adapted from raaapha/dict.cc.py and reworked/extended.

The script's output is tab-delimited, meaning each line begins with the searched phrase, then a tab character and then the translation. This normally does not look very pleasing, so I recommend piping the output to column:

$ ./dict.cc.py "spam" | column -t -s $'\t'

Requirements: python>=3.3

merge_mp3s.py

Merges a directory of MP3 files into a single file and adding duration and title of the individual tracks as chapters. This is a solution to make CD rips of audio books easier to handle by combining tracks while keeping the metadata.

Note: I haven't really found many programs that can acutally read and show the chapters. The only one I found is ffmpeg.

Requirements: python3 (tested with 3.7), eyed3 (tested with 0.9), natsort (tested with 7.0), ffmpeg (optional)


All scripts are released under a MIT license. See LICENSE for more details.

About

A collection of utility shell scripts for day to day usage of my computer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published