Applications launchers and scripts

This commit is contained in:
ITmodulo 2023-04-17 23:46:25 +02:00
commit 548912f3f4
13 changed files with 96 additions and 0 deletions

6
bin/usb-power-save.sh Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
# This oneliner turns powersave on usb hubs, excluding 0.1
# do usbconfig list and add another grep -v x.x to devices you wish not to do so
for i in $(usbconfig list | cut -f 1 -d ':' | cut -f 2 -d 'n' | grep -v 0.1); do usbconfig -d $i power_save; done