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
Christopher Sardegna
15a078a7dd
Fix typo in shebang
2020-07-23 10:47:18 -04:00
Christopher Sardegna
633ab4776b
Fix reporting negative memory usage on MacOS
2020-07-23 10:45:49 -04:00
Hugo Licon
304dd700c9
Show unicode characters for forecast, remove plus
...
Show unicode characters for forecast instead of an emoji.
Remove the plus sign for positive degrees.
Show city, region instead of city, country
2020-07-13 22:02:47 -06:00
Hugo Licon
107d7ab440
add international support for weather module
...
It uses [wttr.in](https://github.com/chubin/wttr.in ) to get the weather information and the current city based on the IP address
2020-07-05 18:22:47 -06:00
Ethan Edwards
dcb6f48a4d
added gpu usage
2020-06-29 22:44:51 -04:00
Dane Williams
393b4fa5a2
removed swp file
2020-06-28 15:48:24 -07:00
Ethan Edwards
0516471e72
mac compatability is working
2020-06-28 13:34:08 -04:00
Ethan Edwards
ac2f789ff4
Fixed reviews
2020-06-13 21:42:27 -04:00
Ethan Edwards
e41cabee1c
Changed naming of some things
2020-06-07 19:36:26 -04:00
Ethan Edwards
420eed6fd4
dont mind the commits, Im testing it on a mac, and editing and pushing
...
it from my desktop
2020-06-07 19:21:46 -04:00
Ethan Edwards
eeff7ec82d
Trying to get this to work
2020-06-07 19:19:52 -04:00
Ethan Edwards
167260211a
Found a nice lil trick
2020-06-07 19:16:55 -04:00
Ethan Edwards
8ba9b20152
realized the command i was trying to use was depreciated
2020-06-07 19:08:55 -04:00
Ethan Edwards
4cf72d94c3
I hope this works lol
2020-06-06 22:41:30 -04:00
Ethan Edwards
3ec3f2f08b
Fixed weird spacing on session/window/smiley on left side
2020-06-04 12:01:53 -04:00
Ethan Edwards
833baa9616
I think this will add Mac/Darwin support
2020-06-04 00:33:47 -04:00
Ethan Edwards
3d5a3cbb8f
Added ram percentage support
2020-06-03 23:44:17 -04:00
Dane Williams
614d012352
fix space for non powerline
2020-06-03 20:33:41 -07:00
Ethan Edwards
87ef58abfc
Fixed the uname -s output case statement issue
2020-06-03 22:58:26 -04:00
Ethan Edwards
3ec7e1a038
For some reason branch wasnt up to date? Fixed
2020-06-02 22:55:14 -04:00
Ethan Edwards
1451ccaff7
Fixed it for powerline, removed 'testing' on Mac
2020-06-01 19:27:15 -04:00
Ethan Edwards
a17746e0d1
Fixed a bug
2020-06-01 11:53:16 -04:00
Ethan Edwards
3e4add6918
Added Mac (? testing) support, added comments
2020-06-01 10:39:17 -04:00
Ethan Edwards
b10c4dcf18
Added cpu percentage, works on powerline and normal, will add memory
...
later :)
2020-06-01 02:10:10 -04:00
Dane Williams
83cb547db9
considers if there is AC but no battery percent
2020-05-31 16:47:48 -07:00
Dane Williams
b416c21421
battery spacing for real
2020-05-31 16:42:37 -07:00
Dane Williams
4849e304a6
battery spacing
2020-05-31 16:41:00 -07:00
Dane Williams
ab9a46105e
fix extra space network mac
2020-05-31 16:33:38 -07:00
Dane Williams
4646624706
extra space left side not necessary for non powerline
2020-05-31 16:24:54 -07:00
Moisés Carvalho
69a833def5
Fix spacing on status-right
2020-05-31 00:30:45 -03:00
Moisés Carvalho
26758776bd
Fix spacing when using double-width characters
2020-05-30 23:46:30 -03:00
Moisés Carvalho
54ebc1ac76
Readd comments
2020-05-30 19:15:48 -03:00
Moisés Carvalho
542ea5d3a5
Merge branch 'master' into coherent-design
2020-05-30 19:13:51 -03:00
Moisés Carvalho
13ae1a0090
Move space from network script to main script
2020-05-30 12:13:42 -03:00
Moisés Carvalho
5ceaf612f2
Remove spaces after battery, network and weather status
2020-05-30 12:09:14 -03:00
Moisés Carvalho
2607300beb
Fix spacing when battery percentage isn't available
2020-05-30 11:51:16 -03:00
Moisés Carvalho
ba6412a5b9
Fix spacing when temperatures isn't available
2020-05-30 11:32:28 -03:00
Dane Williams
078b59f065
cleaned up comments/formatting
2020-05-29 16:50:58 -07:00
Dane Williams
6b18fd2d23
fixed weather and network extra spaces
2020-05-29 16:42:18 -07:00
Ethan Edwards
d0412b13ad
forgot to add dracula file and did the INSTALL.md file
2020-05-28 22:46:23 -04:00
Ethan Edwards
0c4558d206
added option for window and fixed session
2020-05-28 22:44:22 -04:00
Dane Williams
9e2851a6e7
Merge pull request #31 from ImperadorSid/network-linux
...
Improve wireless detection when interface is down
2020-05-27 14:17:40 -07:00
Moisés Carvalho
ec2739e9ba
Use of "printf" command to avoid shell interpretation of dashes ("-") or percent sign ("%")
2020-05-27 15:37:26 -03:00
Moisés Carvalho
131bcdae10
Improve wireless detection when interface is down
2020-05-27 15:24:30 -03:00
Moisés Carvalho
9c9cde3e44
Add option to enable high contrast on pane borders
2020-05-27 02:43:13 -03:00
Dane Williams
80b710bd03
fixed #25
2020-05-26 15:30:17 -07:00
Dane Williams
69181985a9
Update dracula.sh
...
missing space on right hand side
2020-05-26 14:48:46 -07:00
Uttarayan Mondal
e71b0d9e03
Merge branch 'master' of github.com:dracula/tmux
...
resolved conflicts and added entries to INSTALL.md
2020-05-23 14:45:21 +05:30
Nicholas Young
63a53b07bd
Fix Linux implementation of battery.sh
2020-05-21 13:36:59 -06:00
Uttarayan Mondal
b8e8f6913c
Added option to change the powerline seperators from
...
the tmux config file
2020-05-21 21:28:33 +05:30
Uttarayan Mondal
46ee6f75a4
Merge branch 'master' of github.com:dracula/tmux
...
pulled from upsteam
2020-05-21 21:10:05 +05:30
Uttarayan Mondal
92d00a228a
Added option to toggle between smiley and session name
...
as the left icons also restructured the linux battery command to make it
work on acpi as well as /sys/class/power_supply/BAT0 (and BAT1)
2020-05-21 21:02:20 +05:30
Ethan Edwards
b1757f3ff8
Fixed everything, working on both powerline and normal mode
2020-05-20 13:31:39 -04:00
Ethan Edwards
b92fc323e6
Tested, working on both powerline mode, and normal mode
2020-05-20 13:28:35 -04:00
Ethan Edwards
cbb299eb5c
Nope fixed this time
2020-05-19 23:38:39 -04:00
Ethan Edwards
31e5422e30
Fixed merge conflict
2020-05-19 23:38:09 -04:00
Ethan Edwards
fadbdc6267
Added else statement
2020-05-19 15:55:13 -04:00
Ethan Edwards
82ad5a7405
MOre testing
2020-05-19 15:50:34 -04:00
Ethan Edwards
fcac1f8902
testing
2020-05-19 15:47:51 -04:00
Dane Williams
52022a22a3
fine tune after powerline PR
2020-05-14 23:47:21 -07:00
Uttarayan Mondal
a005d37fb2
Revert to the old theme when powerline is set to false
2020-05-15 11:08:33 +05:30
Uttarayan Mondal
a936b9638b
Added option to set set -g @dracula-show-powerline false
2020-05-12 00:54:00 +05:30
Uttarayan Mondal
a8ab770bec
Added powerline symbols
...
Changed it so that battery can be read from BAT1 and BAT0
2020-05-11 23:38:13 +05:30
Ethan Edwards
7373d45b97
Switched to military time
2020-05-09 01:03:56 -04:00
Dane Williams
60675a1710
celsius option
2020-04-29 11:33:51 -07:00
Dane Williams
0b5735373b
fixed a couple shebang typos
2020-04-29 08:35:35 -07:00
Peter Bui
62537a8c6b
scripts/network.sh: use a list of hosts
...
- Use a list of hosts: google.com, github.com, example.com
- Script will try each in turn, stopping at the first one that connects
- Also fix she-bang and some quotes
- Tested with Wifi and Offline.
2020-04-29 09:36:11 -04:00
Dane Williams
845a3631c5
changed ping from google.com to github.com for users in countries where google is blocked
2020-04-20 17:17:33 -07:00
Sergio D. Márquez
8842bdf849
Add options to disable battery and network
2020-04-21 00:35:04 +02:00
Conor Murphy
da1845eb8a
Handling the 429 response limit error ( #10 )
...
* switching over
* should just be a little schemeski
* changed exit to exit_codes idk if that matters
* yuh
* yuh
* yuh
* yuh
* wtf
* yuh
* trying out new format
* trying out new format
* trying out new format
* trying out new format
* trying out new format
* so annoying having to push every time you test
* so annoying having to push every time you test
* this might actually work now
* this might actually work now
* this might actually work now
* yeet
* yeet
* wtf
* wtf
* wtf
* bet
* final edit for handling request limit reached on weather
* possibly functional error checking method
* did we do it
* properly utilizing global variables
2020-04-11 10:25:44 -07:00
Cam Spiers
01f6825ee0
[Feature] Provides ability to disable weather fetching and display
...
Personally, displying the weather doesn't have a lot of use for me
but additionally I ran into an issue where the API you are using
ratelimited call from my IP address, I guess because it was
overfetching.
This doesn't fix the ratelimited issue, but instead at least gives
people the ability to turn the feature off.
Test Plan:
In `~/.tmux.conf` set the following:
```
set -g @plugin 'tmux-plugins/tpm'
set -g @dracula-show-weather false
set -g @plugin 'camspiers/tmux'
run -b '~/.local/share/tmux/plugins/tpm/tpm'
```
Ensure that weather module no longer loads.
In `~/.tmux.conf` set the following:
```
set -g @plugin 'tmux-plugins/tpm'
set -g @dracula-show-weather true
set -g @plugin 'camspiers/tmux'
run -b '~/.local/share/tmux/plugins/tpm/tpm'
```
Ensure that weather module does stil load.
2020-04-10 13:35:43 +12:00
Dane Williams
712a951942
Merge pull request #2 from ginglis13/linux-bat
...
battery: add support for linux
2020-04-07 22:26:39 -07:00
Gavin Inglis
b3614321da
add support for linux network
2020-04-07 15:53:34 -04:00
Gavin Inglis
a1871106e9
add support for linux
2020-04-07 15:52:41 -04:00
Dane Williams
4d1383b522
slowed down refresh rate of weather
2020-03-31 12:13:42 -07:00
Dane Williams
b1df587d6e
reorganized files
2020-03-15 23:15:26 -07:00