"""'add last7days schema on tracking'
Revision ID: 5fac02b344fa
Revises: e8301c93985d
Create Date: 2023-06-13 00:59:13.302902
"""
import os
import ujson
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 | |
dev="platform::kbd_backlight" | |
cur=$(brightnessctl -d "$dev" g) # get current | |
max=$(brightnessctl -d "$dev" m) # get max | |
# kalau sekarang = max → balik ke 0 | |
if [ "$cur" -ge "$max" ]; then | |
brightnessctl -d "$dev" set 0 | |
else | |
brightnessctl -d "$dev" set $((cur+1)) |
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
[ids] | |
* | |
[main] | |
# Maps capslock to escape when pressed and control when held. | |
brightnessdown = f1 | |
brightnessup = f2 | |
scale = f3 |