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 bash | |
####################### | |
# btheadset_toggle.sh | |
# | |
# Toggles bluetooth headset mode between | |
# A2DP (high quality, no microphone) | |
# and headset (low quality + microphone). | |
# | |
# Usage: ./btheadset_toggle.sh | |
# |
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 bash | |
##################### | |
# toggle-screen-dimmer.sh - X screen dimmer toggler | |
# Uses xrandr to toggle between dimming/brightening connected displays | |
# See --help for usage | |
# Recommended: create a launcher for this script on the task bar! | |
##################### | |
list_displays() { | |
xrandr --verbose --current | awk '/ connected/ {print $1}' |
OlderNewer