This file contains 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
If this is hard to read in your browser, just copy the text and paste it into your editor. | |
Turn 'line wrapping' on. :) | |
This is a 'how to' for anyone interested in a i3 setup and also for anyone currently | |
using i3 and wants to tweak there setup a little more. I am constantly updating my | |
i3 config with cool 'stuff.' I hope you enjoy reading and if you use some of the code, | |
great! I don't know everything and am still learning, too. :) | |
This is my system settings for i3. Specifically, I use [Manjaro i3](https://forum.manjaro.org/index.php?topic=28022.0). |
This file contains 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
# rename hashes, setup id3 tags | |
set -o | |
track=$(echo "$1" | cut -d'@' -f1) | |
url=$(echo "$1" | cut -d'@' -f2) | |
name=$(echo "$1" | cut -d'@' -f3) | |
artist=$(echo "$name" | cut -d'-' -f1) | |
song=$(echo "$name" | cut -d'-' -f2) |
This file contains 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
ag "sometext" --nogroup | awk '{print substr($1,1,index($1,":")-1);}' | xargs -I {} sed -i .bak -e 's/sometext/anothertext/g' {} |