Compare commits

..

No commits in common. "7ab4d72769b4149aa8e6fd9908e6d17a84054d22" and "f35db645a2cc9113fcd26cb97a51233e23cbfa60" have entirely different histories.

3 changed files with 0 additions and 23 deletions

View File

@ -1,10 +0,0 @@
#!/bin/bash
input=$1
input=${input%\%}
re_num='^100$|(^[0-9]{1,2}$)' #100 nebo [0-9] jednou az dvakrat
[[ $input =~ $re_num ]] && val=$(($input*240)) || echo "NavN"
su -c "sudo brightnessctl s $val" bash >/dev/null
#echo "brightness set to $val"

View File

@ -1,10 +0,0 @@
#!/bin/bash
current=$(setxkbmap -print | grep symbols)
current=${current#*\+}
current=${current%\+*}
new=$( [[ $current == "us" ]] && echo "cz" || echo "us" )
setxkbmap $new
echo "$current -> $new"

View File

@ -1,3 +0,0 @@
#!/bin/bash
[[ "$(systemctl is-active bluetooth)" == 'active' ]] && $(systemctl stop bluetooth || :) || systemctl restart bluetooth