Good i3 Config file to use?
#5
i use this

#!/bin/sh
while [ true ]
do
date=$(date +"%r  %d/%m/%Y ")
batt=$(cat /sys/devices/platform/ff3d0000.i2c/i2c-4/4-0062/power_supply/cw2015-battery/capacity)
echo $batt% $date
sleep 17
done

called via
status_command 
in the bar{}  directive
  Reply


Messages In This Thread
Good i3 Config file to use? - by User 22018 - 05-04-2021, 07:49 AM
RE: Good i3 Config file to use? - by shjim - 05-04-2021, 09:07 AM
RE: Good i3 Config file to use? - by User 22018 - 05-04-2021, 12:53 PM
RE: Good i3 Config file to use? - by shjim - 05-05-2021, 03:04 AM
RE: Good i3 Config file to use? - by user526 - 06-16-2021, 06:09 PM
RE: Good i3 Config file to use? - by user526 - 06-16-2021, 06:11 PM
RE: Good i3 Config file to use? - by user526 - 06-17-2021, 09:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 1,946 08-08-2023, 04:58 AM
Last Post: moobythegoldensock
  extlinux.conf file error, can it be edited in bootloader? Abandoned Brain 2 2,760 09-26-2021, 01:28 PM
Last Post: Abandoned Brain
Brick Anyone know of a good firewall? SpaceLord 6 6,372 07-24-2021, 12:04 PM
Last Post: globaltree
  PostmarketOS - Why swap file not on at boot? stozi 3 4,232 06-24-2021, 12:27 AM
Last Post: craftyguy
  Network settings, where to find the config files? hvdkooij 1 3,027 11-20-2020, 02:47 PM
Last Post: xyzzy
  Pinebook Pro Sleep/Resume bug: The (Kinda sorta) Good, The Bad, and the (Very) Ugly. feoh 12 13,931 09-30-2020, 09:01 AM
Last Post: feoh
  Restoring img file to eMMC GloriousCoffee 5 6,048 08-08-2020, 10:49 AM
Last Post: GloriousCoffee
  Anyone planning on ZFS or BTRFS for file systems? Arwen 16 19,439 06-17-2020, 02:04 PM
Last Post: DrYak
  Manjaro Arm users - What does your trackpad/keyboard conf file look like? Eggmonkey 7 8,747 04-21-2020, 08:27 AM
Last Post: Surehand53
  Which keyboard config file with Ubuntu Mate Linux-Rob 1 2,434 11-19-2019, 01:57 PM
Last Post: agD0i7rY

Forum Jump:


Users browsing this thread: 1 Guest(s)