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
958590 | |
958620 | |
958622 | |
958623 | |
958646 | |
958648 | |
958657 | |
958659 | |
958700 | |
958701 |
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 | |
# With icon indicating the state of the mic | |
state=`amixer set Capture toggle | gawk 'match($0, /Front Left.*\[(.*)\]/, a) {print a[1]}'` | |
if [ $state = "off" ]; then | |
icon="audio-input-microphone-muted-symbolic" | |
else | |
icon="audio-input-microphone-symbolic" | |
fi | |
notify-send --hint=int:transient:1 -i $icon "Mic switched: $state" |
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 | |
# this script sets some parameters to get a useable configuration | |
# these changes are not persistent, you may want to include this in your autostart | |
# 1 finger = left click, 2 finger = right click, 3 finger = middle click | |
synclient TapButton2=3 | |
synclient TapButton3=2 | |
synclient ClickFinger2=3 | |
synclient ClickFinger3=2 |
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
import tempfile | |
import boto3 | |
import sys | |
class S3TempFile(object): | |
def __init__(self, bucket, key): | |
self.bucket = bucket | |
self.key = key |