Commit graph

200 commits

Author SHA1 Message Date
Stephen Szwiec
87c2950039
Handle color control sequences (#911)
* Handle color control sequences

Is: `less` outputs the raw ascii of the $chartfile, which includes escape characters to change output colors. This does not resemble a graph. 
Should be: Adding -n flag to have `less` create colored output properly.

* typo

changed to -Srf to reflect proposed change
2021-03-10 07:19:47 -05:00
Luke Smith
f47e40243f
clean up 2021-03-07 15:07:41 -05:00
Luke Smith
6bbaa96903
fix 2021-03-07 15:06:57 -05:00
narukeh
bc553f06be fix sb-forecast 2021-03-05 15:43:44 +01:00
Luke Smith
219ea40fe9
multibattery functionality returned close #899 2021-02-15 10:53:41 -05:00
Tenyun
10c2eb29ae
Prevent unnecessary caching of tsp output (#888)
Co-authored-by: Tenyun <tenyun@disroot.org>
2021-01-26 14:46:23 -05:00
Hekuran
60ed035ffd
adopting sb- (#875)
* adopting `sb-`

The 2619a88fcd update might have broken scripts, like this, that use a script from `~sc/statusbar/`

* adopt `sb-`
2020-12-26 21:15:57 -05:00
Luke Smith
9085120787
task-spooler statusbar module 2020-12-25 08:26:48 -05:00
Luke Smith
2619a88fcd
statusbar scripts now with sb- to avoid conflicts
update dwmblocks build to avoid errors
2020-12-25 08:02:50 -05:00
Luke Smith
741e9298bd
battery warning fix; zsh beam simplified 2020-12-18 11:56:46 -05:00
Luke Smith
29c8156e66
oops 2020-12-16 07:50:04 -05:00
Luke Smith
ef82a47049
conform style 2020-12-15 16:29:17 -05:00
KawaiiAmber
2548c0bc20 No longer calls cat twice 2020-12-15 14:01:53 -07:00
KawaiiAmber
c3e3dd737a Case block and function is more effecient according to the old for x in seq 10000 test 2020-12-14 19:50:09 -07:00
anntnzrb
7c96bd081a
Compatibility for FreeBSD's paste(1) (#853)
* Compatibility for FreeBSD's paste(1)

According to FreeBSD's
[paste(1)](https://www.freebsd.org/cgi/man.cgi?query=paste&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports),
the extra `-` is needed (tested by myself).
This obviously works for Linux as well, tested on Void Linux at least.

> Create a colon-separated list of directories named bin,
> suitable for use in the PATH environment variable:

`find / -name bin -type d | paste -s -d : -`

* Compatibility for FreeBSD's paste(1)

According to FreeBSD's
[paste(1)](https://www.freebsd.org/cgi/man.cgi?query=paste&sektion=1&manpath=FreeBSD+12.2-RELEASE+and+Ports),
the extra `-` is needed (tested by myself).
This obviously works for Linux as well, tested on Void Linux at least.

> Create a colon-separated list of directories named bin,
> suitable for use in the PATH environment variable:

`find / -name bin -type d | paste -s -d : -`
2020-12-01 18:21:03 -05:00
anntnzrb
1d9fda8826
read command fix (#848)
since the variable is not being used again, "_" wil suffice, "line" as the name
would also be valid.
2020-11-23 16:15:16 -05:00
Astronach
97358cfe81
add vpn indicator to internet status modul (#796)
for me /sys/class/net/tun*/operstate show unknown in every state, but ./net/tun* only exists, if vpn is on
2020-11-14 15:11:08 -05:00
Luke Smith
ce1be2e37e
weather -> forecast 2020-10-11 15:19:46 -04:00
Luke Smith
39320cf1ea
cleanup 2020-09-25 11:41:55 -04:00
Daniel Corrêa
189d9072cd
Fix typo (#817) 2020-09-18 10:29:23 -04:00
Patryk Niedźwiedziński
3936ffe5e2
Use mutt-wizard sync (#815) 2020-09-17 09:52:30 -04:00
LordRusk
0582b49593
right clicking on nettraf now opens bmon (bandwidth monitor) (#681) 2020-08-27 16:07:01 -04:00
Luke Smith
ae185dc3b1
Merge branch 'master' of github.com:LukeSmithxyz/voidrice into master 2020-08-04 10:13:28 -04:00
Luke Smith
20a03e9062
use default location for calcurse; close #787 2020-08-04 10:13:06 -04:00
M. Yas. Davoodeh
2a1b7fc3d1
Make kbselect independent from xkblayout-state (#775) 2020-07-28 11:52:33 -04:00
Luke Smith
ed6f8b0fde
xbacklight 2020-07-08 08:58:12 -04:00
Luke Smith
7d25d7368a
Merge branch 'patch-1' of https://github.com/Sadoon-AlBader/voidrice into Sadoon-AlBader-patch-1 2020-07-08 08:55:56 -04:00
Luke Smith
9e110a87c7
fix 2020-07-02 21:00:39 -04:00
Luke Smith
1ca7338596
ping example.org instead of cloudflare's 1.1.1.1 2020-07-02 15:35:15 -04:00
Luke Smith
00534b7cca
posix fixes 2020-07-02 15:32:36 -04:00
Luke Smith
f26304c59b
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2020-07-02 15:28:56 -04:00
Luke Smith
ac7d2ddffc
price module update fix 2020-07-02 15:28:31 -04:00
Ddone
93f3711e39
Add cpubars script for dwmblocks (#736)
This script shows CPU load
2020-07-02 11:01:45 -04:00
jamazi
f11008c619
improve speed format (#738)
* improve speed format

Convert network speed into human-readable format using numfmt, this will handle low and high values properly.

* Update nettraf

fix jitter
2020-07-02 10:59:54 -04:00
Dennis Lee
2578719227
statusbar/clock: calcurse: use default folder (#734) 2020-06-29 06:25:29 -04:00
Sadoon Al-Bader
b4b20751c3
Add backlight control as a scroll function
This adds backlight control of monitor through scrolling.
Requires "light" pacakage and that the user can run "sudo light" without a password, easily done through sudoers edit.
Enjoy less eye strain :)
2020-06-29 03:24:44 +03:00
David Pedersen
a0c659d719
Prevent error when having no battery (#731)
* Prevent error when having no battery

* Send error to /dev/null instead of separate check
2020-06-28 14:59:36 -04:00
Luke Smith
107a99f274
quicker, suppress output 2020-06-25 09:30:04 -04:00
Luke Smith
beaa49345c
tweaks 2020-06-23 17:15:01 -04:00
tomicp
a021af59f3 add keyboard switch script 2020-06-23 22:28:55 +02:00
Luke Smith
b20f5d6350
Merge branch 'master' of gitlab.com:LukeSmithxyz/voidrice 2020-06-18 22:27:49 -04:00
Lucas Budde Mior
be11cad89e removed useless SED 2020-06-19 01:43:27 +00:00
Luke Bubar
2668bff317
Fixed Music Notification (#702)
Music no longer italicizes. The notification has been changed to match.
2020-06-15 16:45:06 -04:00
Luke Smith
efbc3f3de3
volume module only uses default. old alsa rm'd 2020-06-14 19:13:13 -04:00
Luke Smith
515d605343
middle click to update price 2020-06-06 19:59:43 -04:00
Luke Smith
0df700f504
nettraf 2020-06-02 12:45:26 -04:00
Luke Smith
ae8929205e
Merge branch 'master' of github.com:LukeSmithxyz/voidrice into chambln-refactor 2020-06-01 17:46:17 -04:00
Hekuran
88dfd0afe9
cleaning (#677)
making it a variable since its used 5 times
2020-06-01 17:45:47 -04:00
Luke Smith
51fff23636
Merge branch 'refactor' of https://github.com/chambln/voidrice into chambln-refactor 2020-06-01 15:38:55 -04:00
JameyBear
f820ccf4dd
Shellcheck (#676)
Co-authored-by: WhispersOfJ <kaotiks@gmail.com>
2020-06-01 15:29:57 -04:00
Hekuran
ad161d9363
fixes issue #663 , i3block break (#675)
i3block wont break with this
2020-05-31 17:09:02 -04:00
Gregory Chamberlain
43f0f899ae Fix arithmetic expansions 2020-05-31 21:26:05 +01:00
Gregory Chamberlain
63aef514d7 Refactor nettraf
No longer relies on paste(1p).
2020-05-31 20:59:32 +01:00
Gregory Chamberlain
16874b6716 Remove unnecessary double quotes 2020-05-31 20:59:32 +01:00
Luke Smith
88cc9e6c42
still needed in some cases 2020-05-30 20:38:08 -04:00
rickyjon
5dbff59882
Use %d for numbers instead of %s for string (#666) 2020-05-30 20:34:40 -04:00
Luke Smith
f552d9850b
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2020-05-30 18:52:31 -04:00
Luke Smith
bb8495f27d
read in previous data 2020-05-30 17:50:37 -04:00
Kian Kasad
3222354d50
make use of setsid(1)'s -f flag (#652)
Co-authored-by: Luke Smith <luke@lukesmith.xyz>
2020-05-30 17:01:18 -04:00
Luke Smith
52d9140820
dumb fix 2020-05-30 14:09:39 -04:00
Luke Smith
7ea15612b4
save the file check every time 2020-05-30 11:41:29 -04:00
Hekuran
1d95b2210e
quotes 2020-05-30 17:29:41 +02:00
Hekuran
daf2829167
create netlog if empty
it would not run without an existing nonempty log file
2020-05-30 17:27:01 +02:00
Luke Smith
d8272650bd
paste directly on files, excluding lo 2020-05-30 11:09:12 -04:00
Alexei Syssoyev
bca99b60b1
Fix sed to hide news when zero (#661) 2020-05-30 06:19:12 -04:00
Luke Smith
1379747a17
minimize file writes and use built-in arithmatic 2020-05-29 16:03:19 -04:00
Luke Smith
c153ac7fb4
mpd-module-update now mpdup
it is autostarted by the music module if not already running
2020-05-26 07:22:06 -04:00
Luke Smith
7f58bbb22d
little fixes 2020-05-25 21:29:12 -04:00
Luke Smith
31f26c73b0
use pidof to check for syncs 2020-05-25 20:52:08 -04:00
Luke Smith
06fb70a6cb
autocreate dir and show price before getting chart 2020-05-25 20:28:19 -04:00
Luke Smith
bad0b625a6
new crypto statusbar script for individual
ammounts and historical chart
2020-05-25 20:23:06 -04:00
Luke Smith
c075127aae
no spaces between icons and content 2020-05-25 17:06:24 -04:00
Luke Smith
a00e42e292
Revert "Now moonphase is correct and even more precise (#637)"
This reverts commit 4dbff2873d.
2020-05-16 10:29:28 -04:00
Hekuran
4dbff2873d
Now moonphase is correct and even more precise (#637)
As described in issue #636  using wttr.in was incorerct by 16%
Now the `~/.local/share/moonphase` looks ugly, so dont look at it.
2020-05-16 10:15:05 -04:00
Vlad Doster
8f05c7d79f
Status bar fixes for nettraf and memory (#627)
* More precise RAM measurement and fix of memory type

* Should be KiB 

kB refers to
https://en.wikipedia.org/wiki/Kibibyte
2020-05-10 07:58:09 -04:00
Kian Kasad
6577acae89
replace tr '\n' 'CHAR' with paste -sd 'CHAR' (#625) 2020-05-09 19:32:56 -04:00
Bryan Jenks
28c0ab6294
new line needed to work on i3 (#621)
i was fiddling with the block settings and couldnt get it to display on i3 until i just added the new line. also tested on the dwm build, module acts as it should on dem with this change
2020-05-09 08:40:02 -04:00
Luke Smith
26c92f886b
moonphase now has no deps
statusbarinfo obsolete and deleted
2020-05-09 08:35:02 -04:00
Luke Smith
33e329c8cb
statusbar scripts now open when shift-clicked
weather module "fixed"
other minor statusbar script tweaks
2020-05-07 17:31:42 -04:00
Luke Smith
baad9e0136
inbox search case insensitive 2020-05-07 08:09:04 -04:00
Luke Smith
14fde603b7
fix for no wifi, use case statement 2020-05-06 19:54:42 -04:00
Luke Smith
d20ba52404
wrap less, ping is unnecessary 2020-05-04 20:38:38 -04:00
Luke Smith
674f8e1a7a
music filter uses ⏸ 2020-05-04 17:24:39 -04:00
Luke Smith
3f20263444
some systems use only lowercase? acpi option added 2020-05-04 13:06:29 -04:00
Luke Smith
4920a1b363
moonphase won't run if pom-perl not installed 2020-05-04 08:07:40 -04:00
Luke Smith
77b6529947
optional network traffic module 2020-05-01 16:55:09 -04:00
Luke Smith
4e385c18b1
liberal snowflake doesn't render well in dwm/st 2020-04-30 10:32:29 -04:00
Luke Smith
60a467de7c
ugly minor intro bugfixes 2020-04-30 10:31:46 -04:00
Luke Smith
53ef201c08
optional cryptocurrencies module 2020-04-30 10:24:32 -04:00
Luke Smith
40faeb97ec
statusbar fixes 2020-04-25 08:37:38 -04:00
Hekuran
7ed651e92f
Clock with auto change emoji (#589)
* Clock with auto change emoji

i made it so it will give you an emoji for the main 12 hours. there are also halfs (one-thirty 🕜,six thirty 🕡...) though ill let someone who knows how to do it in an efficient way, since i dont.
also added an option for europeans, and made it cleaner.

* use printf instead of echo
2020-04-25 08:10:40 -04:00
mokulus
5d59b3927d
Fix minor statusbar issues (#597)
* Fix: Remove trailing space from battery

* Unify spacing in disk

* Fix news

Don't display news module when there are no news.

* Use grep -F in pacpackages

* Fix torrent

Remove trailing whitespace *after* replacing newlines.

* Quote sed command
2020-04-24 08:44:48 -04:00
Luke Smith
349668f423
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2020-04-23 19:43:14 -04:00
Luke Smith
745f12bd16
torrent statusbar opens tremc 2020-04-23 19:42:37 -04:00
Charlie39
18113aad1a
Replaced pgrep with pidof (#592)
* dwm compliant

revised PR

* replaced pgrep with pidof

because it is faster!

* Update music
2020-04-22 16:15:53 -04:00
Luke Smith
37788be5d9
ifinstalled now checks for packages, iplocate fix,
sleep removed from torwrap
2020-04-18 10:33:58 -04:00
Luke Smith
0242d8428d
help renamed to avoid conflicts 2020-04-15 14:42:36 -04:00
Luke Smith
54f691a078
language-independent volume script 2020-04-14 21:45:09 -04:00
Luke Smith
05f9c3b707
use pamixer, which is much faster 2020-04-14 20:37:22 -04:00
Luke Smith
e88b3a72b8
internet script fix 2020-04-14 11:10:26 -04:00