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
#! /usr/bin/env python3 | |
""" | |
List all Firefox tabs with title and URL | |
Supported input: json or jsonlz4 recovery files | |
Default output: title (URL) | |
Output format can be specified as argument | |
""" |
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
#! /bin/sh | |
# path should be /etc/NetworkManager/dispatcher.d/99-auto-wireless | |
self=${0##*/} | |
log() { logger -p user.info -t "${self}[$$]" "$*" ;} | |
iface=$1 | |
action=$2 | |
case $iface in eth*|usb*|en*) |
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
#! /bin/sh -e | |
# argument can be: | |
# - list | |
# - next (default) | |
# - any text matching a profile name or description | |
arg=${1:-next} | |
infos=$(pactl list cards | sed -n '/bluez/,/^Card/p') | |
if [ -z "$infos" ] ; then |