Copied i3blocks scripts from orig dir

Some were modified from original but can't be bothered to check which.
'backlight' is custom. Changed both PC/laptop i3blocks config to
reference new i3blocks-scripts location.

system: Fixed keyboard repeat rate for PC/laptop.
Git: Added amending commit and forcing push aliases.
i3: Changed '$mod+F[1-3]' mappings to just 'F[1-3]'.
This commit is contained in:
2018-03-08 06:37:28 -05:00
parent a4d1cd0776
commit c87546e75c
18 changed files with 488 additions and 27 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/sh
# https://askubuntu.com/a/179949/794515
round()
{
echo $(printf %.$2f $(echo "scale=$2;(((10^$2)*$1)+0.5)/(10^$2)" | bc))
};
cur_bl=$(xbacklight -get)
echo "$(round "$cur_bl" 0)%"