mirror of
https://github.com/dzaczek/Uconsole-i3.git
synced 2026-01-30 06:49:40 +00:00
new screenshoot some test about bluetooth
This commit is contained in:
parent
233b608d95
commit
9abfaa4e4b
4 changed files with 29 additions and 1 deletions
2
config
2
config
|
|
@ -313,4 +313,6 @@ exec --no-startup-id picom --config ~/.config/compton.conf &
|
||||||
# Autostart
|
# Autostart
|
||||||
#exec --no-startup-id firefox &
|
#exec --no-startup-id firefox &
|
||||||
#exec --no-startup-id /home/ice/.Telegram/Telegram &
|
#exec --no-startup-id /home/ice/.Telegram/Telegram &
|
||||||
|
|
||||||
|
|
||||||
exec --no-startup-id numlockx &
|
exec --no-startup-id numlockx &
|
||||||
|
|
|
||||||
|
|
@ -39,7 +39,13 @@ markup=none
|
||||||
##instance=PCM
|
##instance=PCM
|
||||||
##interval=once
|
##interval=once
|
||||||
##signal=10
|
##signal=10
|
||||||
#
|
|
||||||
|
[bluetooth]
|
||||||
|
label=
|
||||||
|
interval=10
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##[microphone]
|
##[microphone]
|
||||||
##label=
|
##label=
|
||||||
##interval=5
|
##interval=5
|
||||||
|
|
|
||||||
BIN
screen2.png
Normal file
BIN
screen2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 92 KiB |
20
scripts/bluetooth
Normal file
20
scripts/bluetooth
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue