diff --git a/my_home/Desktop/bluetooth_off.sh b/my_home/Desktop/bluetooth_off.sh new file mode 100755 index 0000000..14bdca6 --- /dev/null +++ b/my_home/Desktop/bluetooth_off.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +if bluetoothctl show > /dev/null 2>&1; then + bluetoothctl power off +fi diff --git a/my_home/Desktop/bluetooth_on.sh b/my_home/Desktop/bluetooth_on.sh new file mode 100755 index 0000000..64f3e4b --- /dev/null +++ b/my_home/Desktop/bluetooth_on.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +if bluetoothctl show > /dev/null 2>&1; then + bluetoothctl power on +fi diff --git a/my_home/Desktop/kill_picom.sh b/my_home/Desktop/kill_picom.sh new file mode 100755 index 0000000..2a7f3a6 --- /dev/null +++ b/my_home/Desktop/kill_picom.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env sh + +if pidof picom; then + killall picom +fi diff --git a/my_home/Desktop/picom.desktop b/my_home/Desktop/picom.desktop new file mode 100644 index 0000000..9d21f6d --- /dev/null +++ b/my_home/Desktop/picom.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Type=Application +NoDisplay=false +Name=picom +GenericName=X compositor +Comment=An X compositor +Categories=Utility; +Keywords=compositor;composite manager;window effects;transparency;opacity; +TryExec=picom +Exec=picom +# Thanks to quequotion for providing this file! +Icon=picom