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/bash | |
| # Put highlighted text into the clipboard buffer | |
| xclip -out -selection primary | |
| # Start the gnome-dictionary and search for the clipboard buffer | |
| gnome-dictionary --look-up="$(xclip -o selection clipboard)" |
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/bash | |
| echo "Disconnect Airpods..." | |
| bluetoothctl disconnect 00:00:00:00:00:00 |
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/python3 | |
| import signal | |
| import gi | |
| import os | |
| gi.require_version('Gtk', '3.0') | |
| from gi.repository import Gtk as gtk | |
| gi.require_version('AppIndicator3', '0.1') | |
| from gi.repository import AppIndicator3 as appindicator | |
| gi.require_version('Notify', '0.7') |
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/bash | |
| echo "Connect to JBL Headphones..." | |
| while true | |
| do | |
| bluetoothctl connect 00:00:00:00:00:00 | |
| if [[ $? -eq 0 ]] | |
| then |