mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 04:26:41 +01:00
update nixos configs
- bin/screens: line to fix touchscreen rotation - add zathura config file (zathurarc) - nixos: - rearrange config files reusing most of configs in common-configuration.nix - add chuwi-configuration.nix
This commit is contained in:
6
bin/timeatlock
Executable file
6
bin/timeatlock
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
current_time=$(date +"%H:%M")
|
||||
battery_level=$(cat "/sys/class/power_supply/BAT0/capacity")
|
||||
|
||||
echo "timeatlock $current_time h, Battery level: $battery_level %"
|
||||
Reference in New Issue
Block a user