This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: NakamuraOS | |
# https://github.com/nakamuraos | |
# Last update: 2021/24/11 | |
# ================= | |
# Default value | |
# Token string | |
TOKEN='' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Fix touchscreen position, see | |
# https://forums.linuxmint.com/viewtopic.php?f=49&t=333354&p=1908272#p1908272 | |
# https://askubuntu.com/questions/1061452/making-xinput-map-to-output-permanent/1285897#1285897 | |
# Make sure you are running correctly in case of multiple OS usage | |
if [ $(uname -n) == 'Zenbook-UX8402ZE' ] | |
then | |
sleep 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# vol down | |
pactl set-sink-volume @DEFAULT_SINK@ -5% | |
# get current vol | |
STATUS=$(pactl list sinks | grep '^[[:space:]]Volume:' | \ | |
head -n $(( $SINK + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,') | |
# show current vol |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deny From All |