summaryrefslogtreecommitdiff
path: root/dot-config/polybar/system.ini
diff options
context:
space:
mode:
Diffstat (limited to 'dot-config/polybar/system.ini')
-rw-r--r--dot-config/polybar/system.ini25
1 files changed, 25 insertions, 0 deletions
diff --git a/dot-config/polybar/system.ini b/dot-config/polybar/system.ini
new file mode 100644
index 00000000..71a5a65d
--- /dev/null
+++ b/dot-config/polybar/system.ini
@@ -0,0 +1,25 @@
+;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
+;;
+;; System Variables (Edit according to your system)
+;;
+;; Warning : DO NOT DELETE THIS FILE
+;;
+;; Run `ls -1 /sys/class/power_supply/` to list list batteries and adapters.
+;;
+;; Run `ls -1 /sys/class/backlight/` to list available graphics cards.
+;;
+;; Run `ip link | awk '/state UP/ {print $2}' | tr -d :` to get active network interface.
+;;
+;; Polybar Variables For Modules :
+;; card = ${system.sys_graphics_card}
+;; battery = ${system.sys_battery}
+;; adapter = ${system.sys_adapter}
+;; interface = ${system.sys_network_interface}
+
+[system]
+sys_adapter = ACAD
+sys_battery = BAT1
+sys_graphics_card = amdgpu_bl0
+sys_network_interface = enp3s0
+
+;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_