new screenshoot some test about bluetooth

This commit is contained in:
dzaczek 2023-10-17 06:53:18 +02:00
parent 233b608d95
commit 9abfaa4e4b
4 changed files with 29 additions and 1 deletions

2
config
View file

@ -313,4 +313,6 @@ exec --no-startup-id picom --config ~/.config/compton.conf &
# Autostart
#exec --no-startup-id firefox &
#exec --no-startup-id /home/ice/.Telegram/Telegram &
exec --no-startup-id numlockx &

View file

@ -39,7 +39,13 @@ markup=none
##instance=PCM
##interval=once
##signal=10
#
[bluetooth]
label=
interval=10
##[microphone]
##label=
##interval=5

BIN
screen2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 92 KiB

20
scripts/bluetooth Normal file
View file

@ -0,0 +1,20 @@
#!/bin/bash
# Left click
if [[ "${BLOCK_BUTTON}" -eq 1 ]]; then
sudo bluetooth on
# Middle click
elif [[ "${BLOCK_BUTTON}" -eq 2 ]]; then
sudo bluetooth toggle
# Right click
elif [[ "${BLOCK_BUTTON}" -eq 3 ]]; then
sudo bluetooth off
fi
STATUS=$(bluetooth | grep -wo 'on')
if [[ "${STATUS}" = "on" ]]; then
echo "on"
echo "on"
echo ""
fi