Commit graph

142 commits

Author SHA1 Message Date
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