Commit graph

226 commits

Author SHA1 Message Date
Jihed Mastouri
8012d2164a
Battery Status for Fedora 36 2022-08-10 14:14:17 +01:00
Yusuke Uchida
597f7bed29 dracula.sh: deleted use_arbitrary_time_format option 2022-07-25 23:12:49 +09:00
Yusuke Uchida
c39cc30213 dracula.sh: debug case statement 2022-07-25 23:12:49 +09:00
Yusuke Uchida
d4f3009800 dracula.sh: changed default value of time_format 2022-07-25 23:12:49 +09:00
Yusuke Uchida
4b6bdaf9e2 dracula.sh: fixed branch 2022-07-25 23:12:49 +09:00
Yusuke Uchida
bca34814a4 dracula.sh: add prefix dracula- 2022-07-25 23:12:49 +09:00
Yusuke Uchida
d9b6d00121 dracula.sh: add use_arbitrary_time_format and time_format options 2022-07-25 23:12:49 +09:00
pataquets
44018dede1 Add 'custom' status plugin to get status texts from external scripts. 2022-07-10 19:51:32 +02:00
Aaron Kollasch
3e75296b73
Add attached-clients plugin 2022-06-18 05:35:23 -04:00
Pholawat
49f212207e
import utils.sh in battery.sh 2022-05-11 15:53:37 +07:00
Janno Tjarks
fb043e3ac2 Added the plugin spotify-tui 2022-02-11 17:38:01 +01:00
Janno Tjarks
72e385c44d Added kubernetes-context plugin 2022-02-11 16:38:16 +01:00
adrianmihalko
a0987b8b96 Update network_ping.sh 2021-12-23 00:55:35 +01:00
adrianmihalko
45ad8cdafd Update dracula.sh 2021-12-23 00:51:47 +01:00
adrianmihalko
41d32c0af3 Ping plugin 2021-12-23 00:50:24 +01:00
adrianmihalko
2dbd75cadf Add load average support 2021-12-22 23:11:09 +01:00
adrianmihalko
b06419366c Enable custom location for weather plugin 2021-12-03 18:49:34 +01:00
Andrew Lechowicz
9b2cadc8e1
Add battery icon option 2021-10-24 20:49:23 -04:00
Ethan Edwards
952e02222e
Merge pull request #135 from xiao0yy/patch-1
Support for top version of procps-ng
2021-10-23 12:25:26 -04:00
xiao0yy
7592fdd0fd
Reduce the execution time of top command 2021-10-15 16:56:54 +08:00
Ethan Edwards
cce69791b6
Merge pull request #133 from foxtrot/step-bandwidth-units
Show network bandwidth in gB/s and mB/s when required
2021-10-14 14:38:09 -04:00
Ethan Edwards
0b4954180c
Merge pull request #130 from ethancedwards8/cleanup-ram
Cleanup RAM file
2021-10-14 14:18:07 -04:00
xiao0yy
16aa5f080c
Support for top version procps-ng 2021-10-13 16:56:34 +08:00
Marc
2f96680973
Show bandwidth in gB/s and mB/s when required 2021-10-10 04:44:40 +01:00
Ethan Edwards
67f7e5ecf8 Cleanup RAM file 2021-10-09 19:48:10 -04:00
Marc
b3f05ca19d
Merge branch 'master' of github.com:dracula/tmux into fix-bandwidth-typo 2021-10-10 00:25:43 +01:00
Mikel Bravo
4eaa335c7c
Shows leading 0. on network bandwidth values 2021-09-22 16:46:53 +02:00
Marc
c558b6b024
Fix typos in network_bandwith -> network_bandwidth 2021-09-13 22:00:18 +01:00
Artur Tsuda
d075e4d048
Fix $used_mem when page size is not 4Kb 2021-08-10 17:02:34 -03:00
August Feng
f863305ef8 Fix spacing between status elements
Only the most right status element seemed to be padded with a space, for
the non-powerline configuration. The powerline configuration seems to
embed padding by the seperator, and thus requires a pad on the last
element.

This commit moves the padding next to the seperator to the script
output instead.

Remove trailing newline

Uniformalizes to the other scripts.
2021-07-30 14:19:52 -04:00
Ethan Edwards
9705766ba2
Merge pull request #104 from joeperri95/master
Issue #67 Add git functionality
2021-07-29 14:21:12 -04:00
joeperri95
e0203af1ed Update to new plugin scheme 2021-07-26 22:57:16 -04:00
eeno
8ea687e327 fix incorrect color option being read for the time colors 2021-07-26 23:30:03 +02:00
Sabato Luca Guadagno
832d06405b start weather script only when weather is present in plugins 2021-07-22 12:23:57 +02:00
Sabato Luca Guadagno
9fcf4515b8 wait for $datafile if weather plugin is active 2021-07-22 12:17:11 +02:00
Sabato Luca Guadagno
58619bd3c6 fix too many arguments in utils.sh 2021-07-19 08:19:41 +02:00
Sabato Luca Guadagno
90c2748a39 remove commented code 2021-07-06 13:44:31 +02:00
Sabato Luca Guadagno
4abfcf2799 resolve #42, Enhancement: Make status bar modules / color more configurable 2021-07-06 13:39:01 +02:00
Sabato Luca Guadagno
87df275c6e get_tmux_option(), normalize_percent_len() in scripts/utils.sh
source scripts/utils.sh in dracula.sh, cpu_info.sh, gpu_usage.sh, ram_info.sh
normalize_percent_len for ram_info
custom labels for cpu-usage, gpu-usage, ram-usage
2021-07-06 11:21:21 +02:00
Sabato Luca Guadagno
151cd3e45f resolve #106, Bug: GiGB in RAM usage (Ubuntu) 2021-07-06 10:29:37 +02:00
Sabato Luca Guadagno
d00c245d4e consistent formatting across all scripts 2021-07-06 10:22:36 +02:00
Mark Cornick
a84b57943f
Correct location of weather data file
following change in 8748783
2021-06-30 19:06:07 -04:00
Ethan Edwards
8748783b60
Fix for immutable Nix store 2021-06-20 22:02:57 -04:00
Joe Perri
6cac0951d4 Add git functionality 2021-06-05 12:21:05 -04:00
Rodrigo Nascimento
2b5906140f Change from backticks to $() as command substitution 2021-05-02 19:29:23 -03:00
Rodrigo Nascimento
4616ee9ebe Only set status-right-length when the network_bandwidth option is enabled 2021-05-02 19:24:57 -03:00
Rodrigo Nascimento
910d648d67 Fixing shebang to follow script files convention 2021-04-30 10:59:22 -03:00
Rodrigo Nascimento
2e48e24b70 installation and readme instructions 2021-04-11 17:27:44 -03:00
Rodrigo Nascimento
550e8ce144 checking if network_name exists and call network_bandwith script 2021-04-10 00:38:43 -03:00
Rodrigo Nascimento
6ac5897ac1 increased status-right-length to show bandwith values 2021-04-10 00:37:12 -03:00
Rodrigo Nascimento
d5afb7822f gets the RX and TX values and transform to kB/s 2021-04-10 00:35:06 -03:00
Iago Tito Oliveira
698cbc2191 create function to normalize cpu usage width 2021-03-27 15:41:07 -03:00
Ethan Edwards
8d1a7fa41b Fix for #89 , problem with padding option 2021-02-17 18:02:04 -05:00
Ankush Menat
33dc0396bf
Fix: False AC charging message on MacOS
Fixes dracula/tmux/issues/91
2021-01-26 17:03:10 +05:30
Ethan Edwards
6757a53299 Fix cpu usage bug on MacOSX/darwin 2020-12-28 11:41:54 -05:00
Daniel Memije
3a2538ac2e
Fixed @dracula-left-icon-padding not disabling padding when 0 2020-12-16 11:12:33 -06:00
Daniel Memije
5b31360b95
Added left icon padding configuration 2020-12-16 10:59:24 -06:00
Daniel Memije
857d57df7c
Added padding at the end of left icon for custom args 2020-11-20 17:57:20 -06:00
yzenati
8aa94372c3 Fix the merge conflicts 2020-10-17 20:37:01 +02:00
Ethan Edwards
461ef98582
Merge pull request #79 from ethancedwards8/freebsd_support
FreeBSD support - Battery and Ram
2020-10-16 19:08:34 -04:00
Ethan Edwards
ca26328453
Fix Locale issue
Caused some users to have incorrect info because some text manipulation
tools were getting confused.
2020-10-16 18:38:29 -04:00
yzenati
e7a4bcf09f Only one space between the unicode and the temperature 2020-10-16 13:33:21 +02:00
yzenati
4020ae1d86 Remove the extra space at the beginning of the result of curl command 2020-10-16 13:32:28 +02:00
yzenati
06f257d482 Change the way the separation of weater_condition and temperature are made, so it can take minus 0 temperature in celcius 2020-10-16 13:26:28 +02:00
yzenati
9d9a5d2b14 Correct the comment of the curl command 2020-10-16 12:41:02 +02:00
yzenati
87d43d0cc2 Remove a extra curl in fetch_weather_information 2020-10-16 12:32:43 +02:00
yzenati
f5c0789d07 Add an option to disable the location information in the weather 2020-10-16 12:06:16 +02:00
Ethan Edwards
e18c92743f
Merge pull request #75 from spoulson/47_window-flags
47: Enable window flags with `set -g @dracula-show-flags true`.
2020-10-07 03:47:22 -04:00
Ethan Edwards
2cd953d40e Added 24 hour time to prefix + t: Issue #74 2020-10-05 18:54:12 -04:00
Shawn Poulson
ba59d4647f 47: Enable window flags with set -g @dracula-show-flags true.
Enbolden window titles on activity or bell status.  This is more readable, IMO, than the default reverse text, especially when window flags appear in different colors.
2020-10-05 10:46:55 -04:00
Moisés Carvalho
3e28428880 Fix blocking loop when weather is not enabled 2020-09-20 15:03:06 -03:00
Ben Aaron Goldberg
d9cc97a1d9 Change weather_sleep to avoid writing to tracked files
Changed weather_sleep.sh and dracula.sh so that they do
not assume that weather.txt exist.  As a result I was
able to remove weather.txt as a tracked file.
2020-09-12 19:11:25 -04:00
Max Drasbeck
764f267dbe
Reintroduced fix. 2020-09-12 07:27:32 +02:00
Max Drasbeck
8effb120dd
Revert to original. 2020-09-12 07:25:48 +02:00
Max Drasbeck
b2d99517d0
Added conditional for linux boxes with < 1 GB Ram 2020-09-12 00:12:38 +02:00
Ethan Edwards
cac4731e56 Cleaned up the Memory scripts by removing undeeded greps and using awk
This will speed up execution because bash only needs to call the awk
binary and not grep along with it.
2020-09-10 17:45:55 -04:00
Ethan Edwards
fbc02ca665
Merge pull request #52 from HugoLiconV/feature/weather-international-support
add international support for weather module
2020-09-06 18:40:57 -04:00
Ethan Edwards
f5fd574501 Merge branch 'master' of https://github.com/dracula/tmux into freebsd_support 2020-09-03 15:43:07 -04:00
Niam Patel
cb27ca216d
Merge branch 'master' into master 2020-09-03 20:39:36 +01:00
Ethan Edwards
8f235a8b09 Merge branch 'master' of https://github.com/dracula/tmux into freebsd_support 2020-09-03 15:11:15 -04:00
Ethan Edwards
7f8bb35543
Merge pull request #58 from jaywonchung/better-gpu-usage
Support multi-gpu environment
2020-09-03 15:11:04 -04:00
Ethan Edwards
e602d9b4eb
Merge pull request #63 from gaganpreet/locale-aware-parsing
Specify numeric locale for parsing top output
2020-09-03 13:02:22 -04:00
Ethan Edwards
3ccb5359ac added battery support 2020-09-02 12:41:30 -04:00
Ethan Edwards
47fe175441 Merge branch 'master' of https://github.com/ethancedwards8/tmux into freebsd_support 2020-09-01 21:40:47 -04:00
Ethan Edwards
ae51792d19 Merge branch 'freebsd_support' of github.com:ethancedwards8/tmux into freebsd_support 2020-09-01 21:36:30 -04:00
Ethan Edwards
a2874eed95 Revert "adding the option to turn off time on powerline"
This reverts commit 288cdc5a99.

Revert "Option to remove the time"

This reverts commit c933dae67e.
2020-09-01 21:36:05 -04:00
Ethan Edwards
e2004baa51 added ram support 2020-09-01 21:24:39 -04:00
Gaganpreet
33703eb2d3 specify numeric locale for parsing top output 2020-08-31 11:41:45 +02:00
Niam Patel
a4581712bc Add flag for dd/mm date format that works with military time. 2020-08-25 17:29:28 +01:00
Ethan Edwards
b662f2e10d documentation 2020-08-10 08:04:51 -04:00
Ethan Edwards
e290571fee added the refresh rate by pulling from the .tmux.conf file and running
the get_tmux_option function and using that as the variable for the
refresh rate on sleep
2020-08-10 07:57:48 -04:00
Ethan Edwards
695a67531f init for refresh_rate NOT WORKING 2020-08-09 01:50:07 -04:00
Ethan Edwards
288cdc5a99 adding the option to turn off time on powerline 2020-08-06 19:05:43 -04:00
Jaewon Chung
14ad891d3d Support multi-gpu environment 2020-08-07 00:56:00 +09:00
osdamv
c933dae67e
Option to remove the time
A simple if to remove the time option, I do not like it because I already have a huge watch in my desktop environment
2020-08-06 08:22:03 -06:00
Hugo Licon
4c5cd4a9e3 replace awk by cut 2020-08-04 19:50:02 -06:00
Collin Simpson
eeb19aba41 Prevent multiple instances of sleep_weather.sh from running at once 2020-08-02 19:00:54 -04:00
Dane Williams
4f3bf8a9be
Merge pull request #54 from ReagentX/master
Fix #53: report MacOS memory correctly
2020-08-01 16:38:43 -07:00
David Spreekmeester
bc8530a14a added option to hide timezone 2020-08-01 16:02:50 +02:00
Christopher Sardegna
8d52547025
Update ram_info.sh
Fix brace
2020-07-23 23:12:23 -04:00