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
#!/usr/bin/env bash | |
# | |
# Allows to quickly swap two workspaces with one another. | |
# | |
# Requirements: | |
# i3, jq | |
# | |
# i3 config example: | |
# set $exec_nsi exec --no-startup-id | |
# |
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
#!/usr/bin/env bash | |
# | |
# Use rofi to pick emoji because that's what this | |
# century is about apparently... | |
# | |
# Requirements: | |
# rofi, xsel, xdotool, curl, xmllint | |
# | |
# Usage: | |
# 1. Download all emoji |
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
#!/usr/bin/env python3 | |
# | |
# Most importantly: | |
# 1. Use at your own risk! | |
# 2. You may consider creating a backup because this script doesn't | |
# 3. Only tested on linux | |
# | |
# What does this script do? | |
# Whenever you scan for new items, plex will set the respective dates to | |
# the CURRENT time rather than the files mtime. |
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
#!/usr/bin/env bash | |
# | |
# Use rofi to select an entry from gpaste | |
# | |
# Requirements: | |
# rofi, gpaste | |
# | |
line=`gpaste-client --oneline | \ | |
rofi -dmenu -i -p gpaste -kb-custom-1 Ctrl+x $@` |
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
#!/usr/bin/env bash | |
curl --silent https://apt.enpass.io/dists/stable/main/binary-amd64/Packages.gz -o /tmp/enpass-packages.gz | |
gunzip /tmp/enpass-packages.gz | |
cat /tmp/enpass-packages | egrep "Package|Version|SHA256" | head -n 3 | |
rm /tmp/enpass-packages |
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/sh | |
# | |
# !!! IMPORTANT !!! | |
# As of 2017-12-14, pacaur is unmaintained (https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144) | |
# For alternatives see the arch wiki: https://wiki.archlinux.org/index.php/AUR_helpers#Active | |
# pacaur seems to get occasional updates to fix breaking changes due to pacman updates though. | |
# | |
# If you are new to arch, I encourage you to at least read and understand what | |
# this script does befor blindley running it. | |
# That's why I didn't make a one-liner out of it so you have an easier time |