Applications launchers and scripts

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

3
bin/100_backlight.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
intel_backlight 100

2
bin/custom-pulse.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
pulseaudio --daemonize --log-target=syslog

3
bin/decrease_backlight.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
intel_backlight decr 10

3
bin/increase_backlight.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
intel_backlight incr 10

11
bin/pxt-launch-DevLapce.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
#
#
#
JAIL_NAME="dev"
JAIL_COMMAND="lapce -w"
JAIL_RUN_ID=$(jls | grep $JAIL_NAME | tr -s ' ' | cut -d ' ' -f 2)
jailme $JAIL_RUN_ID $JAIL_COMMAND

11
bin/pxt-launch-DevLiteIDE.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
#
#
#
JAIL_NAME="dev"
JAIL_COMMAND="liteide"
JAIL_RUN_ID=$(jls | grep $JAIL_NAME | tr -s ' ' | cut -d ' ' -f 2)
jailme $JAIL_RUN_ID $JAIL_COMMAND

11
bin/pxt-launch-StudiaFirefox.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
#
#
#
JAIL_NAME="studia"
JAIL_COMMAND="MOZ_USE_XINPUT2=1 firefox"
JAIL_RUN_ID=$(jls | grep $JAIL_NAME | tr -s ' ' | cut -d ' ' -f 2)
jailme $JAIL_RUN_ID sh -c "$JAIL_COMMAND"

View File

@ -0,0 +1,11 @@
#!/bin/sh
#
#
#
JAIL_NAME="studia"
JAIL_COMMAND="xournalpp"
JAIL_RUN_ID=$(jls | grep $JAIL_NAME | tr -s ' ' | cut -d ' ' -f 2)
jailme $JAIL_RUN_ID $JAIL_COMMAND

View File

@ -0,0 +1,11 @@
#!/bin/sh
#
#
#
JAIL_NAME="sync"
JAIL_COMMAND="seafile-applet"
JAIL_RUN_ID=$(jls | grep $JAIL_NAME | tr -s ' ' | cut -d ' ' -f 2)
jailme $JAIL_RUN_ID $JAIL_COMMAND

11
bin/pxt-launch-WebFirefox.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
#
#
#
JAIL_NAME="web"
JAIL_COMMAND="MOZ_USE_XINPUT2=1 firefox"
JAIL_RUN_ID=$(jls | grep $JAIL_NAME | tr -s ' ' | cut -d ' ' -f 2)
jailme $JAIL_RUN_ID sh -c "$JAIL_COMMAND"

11
bin/pxt-launch-template.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
#
#
#
JAIL_NAME=""
JAIL_COMMAND=""
JAIL_RUN_ID=$(jls | grep $JAIL_NAME | tr -s ' ' | cut -d ' ' -f 2)
jailme $JAIL_RUN_ID $JAIL_COMMAND

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

2
bin/xorg-fix.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
xhost si:localuser:damoon