Skip to content

Commit bfe3dab

Browse files
Merge branch 'master' into current-window-status-colors
2 parents a446f47 + 3323120 commit bfe3dab

40 files changed

+3256
-432
lines changed

.github/workflows/check-syntax.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
test:
7-
runs-on: ubuntu-20.04
7+
runs-on: ubuntu-latest
88
steps:
99
- name: checkout
1010
uses: actions/checkout@master

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
data/weather.txt
2+
tmux.conf

INSTALL.md

Lines changed: 1 addition & 229 deletions
Original file line numberDiff line numberDiff line change
@@ -44,232 +44,4 @@ programs.tmux = {
4444

4545
#### Configuration
4646

47-
To enable plugins set up the `@dracula-plugins` option in you `.tmux.conf` file, separate plugin by space.
48-
The order that you define the plugins will be the order on the status bar left to right.
49-
50-
```bash
51-
# available plugins: battery, cpu-usage, git, gpu-usage, ram-usage, network, network-bandwidth, network-ping, attached-clients, network-vpn, weather, time, spotify-tui, kubernetes-context
52-
53-
set -g @dracula-plugins "cpu-usage gpu-usage ram-usage"
54-
```
55-
56-
For each plugin is possible to customize background and foreground colors
57-
58-
```bash
59-
# available colors: white, gray, dark_gray, light_purple, dark_purple, cyan, green, orange, red, pink, yellow
60-
# set -g @dracula-[plugin-name]-colors "[background] [foreground]"
61-
set -g @dracula-cpu-usage-colors "pink dark_gray"
62-
```
63-
64-
#### Status bar options
65-
66-
Enable powerline symbols
67-
68-
```bash
69-
set -g @dracula-show-powerline true
70-
```
71-
72-
Switch powerline symbols
73-
74-
```bash
75-
# for left
76-
set -g @dracula-show-left-sep 
77-
78-
# for right symbol (can set any symbol you like as seperator)
79-
set -g @dracula-show-right-sep 
80-
```
81-
82-
Enable window flags
83-
84-
```bash
85-
set -g @dracula-show-flags true
86-
```
87-
88-
Adjust the refresh rate for the status bar
89-
90-
```bash
91-
# the default is 5, it can accept any number
92-
set -g @dracula-refresh-rate 5
93-
```
94-
95-
Switch the left smiley icon
96-
97-
```bash
98-
# it can accept `session`, `smiley`, `window`, or any character.
99-
set -g @dracula-show-left-icon session
100-
```
101-
102-
Add padding to the left smiley icon
103-
104-
```bash
105-
# default is 1, it can accept any number and 0 disables padding.
106-
set -g @dracula-left-icon-padding 1
107-
```
108-
109-
Enable high contrast pane border
110-
111-
```bash
112-
set -g @dracula-border-contrast true
113-
```
114-
115-
Hide empty plugins
116-
117-
```bash
118-
set -g @dracula-show-empty-plugins false
119-
```
120-
121-
#### cpu-usage options
122-
123-
Customize label
124-
125-
```bash
126-
set -g @dracula-cpu-usage-label "CPU"
127-
```
128-
129-
Show system load average instead of CPU usage percentage (default)
130-
131-
```bash
132-
set -g @dracula-cpu-display-load true
133-
```
134-
135-
CPU usage percentage (default) - in percentage (output: %)
136-
Load average – is the average system load calculated over a given period of time of 1, 5 and 15 minutes (output: x.x x.x x.x)
137-
138-
#### battery options
139-
140-
Customize label
141-
142-
```bash
143-
set -g @dracula-battery-label "Battery"
144-
```
145-
146-
#### gpu-usage options
147-
148-
Note, currently only the Linux NVIDIA Proprietary drivers are supported. Nouveau and AMD Graphics Cards support are still under development.
149-
150-
Customize label
151-
152-
```bash
153-
set -g @dracula-gpu-usage-label "GPU"
154-
```
155-
156-
#### ram-usage options
157-
158-
Customize label
159-
160-
```bash
161-
set -g @dracula-ram-usage-label "RAM"
162-
```
163-
164-
#### network-bandwidth
165-
166-
You can configure which network interface you want to view the bandwidth,
167-
Displaying of the interface name, The interval between each bandwidth update.
168-
The most common interfaces name are `eth0` for a wired connection and `wlan0` for a wireless connection.
169-
170-
```bash
171-
set -g @dracula-network-bandwidth eth0
172-
set -g @dracula-network-bandwidth-interval 0
173-
set -g @dracula-network-bandwidth-show-interface true
174-
```
175-
176-
#### network-ping options
177-
178-
You can configure which server (hostname, IP) you want to ping and at which rate (in seconds). Default is google.com at every 5 seconds.
179-
180-
```bash
181-
set -g @dracula-ping-server "google.com"
182-
set -g @dracula-ping-rate 5
183-
```
184-
185-
#### time options
186-
187-
Disable timezone
188-
189-
```bash
190-
set -g @dracula-show-timezone false
191-
```
192-
193-
Swap date to day/month
194-
195-
```bash
196-
set -g @dracula-day-month true
197-
```
198-
199-
Enable military time
200-
201-
```bash
202-
set -g @dracula-military-time true
203-
```
204-
205-
#### git options
206-
207-
Hide details of git changes
208-
```bash
209-
set -g @dracula-git-disable-status true
210-
```
211-
212-
Set symbol to use for when branch is up to date with HEAD
213-
```bash
214-
# default is ✓. Avoid using non unicode characters that bash uses like $, * and !
215-
set -g @dracula-git-show-current-symbol ✓
216-
```
217-
218-
Set symbol to use for when branch diverges from HEAD
219-
```bash
220-
# default is unicode !. Avoid bash special characters
221-
set -g @dracula-git-show-diff-symbol !
222-
```
223-
224-
Set symbol or message to use when the current pane has no git repo
225-
```bash
226-
# default is unicode no message
227-
set -g @dracula-git-no-repo-message ""
228-
```
229-
230-
Hide untracked files from being displayed as local changes
231-
```bash
232-
# default is false
233-
set -g @dracula-git-no-untracked-files true
234-
```
235-
236-
Show remote tracking branch together with diverge/sync state
237-
```bash
238-
# default is false
239-
set -g @dracula-git-show-remote-status true
240-
```
241-
242-
#### weather options
243-
244-
Switch from default fahrenheit to celsius
245-
246-
```bash
247-
set -g @dracula-show-fahrenheit false
248-
```
249-
250-
Set your location manually
251-
252-
```bash
253-
set -g @dracula-fixed-location "Some City"
254-
```
255-
256-
Hide your location
257-
258-
```bash
259-
set -g @dracula-show-location false
260-
```
261-
262-
#### attached-clients options
263-
264-
Set the minimum number of clients to show (otherwise, show nothing)
265-
266-
```bash
267-
set -g @dracula-clients-minimum 1
268-
```
269-
270-
Set the label when there is one client, or more than one client
271-
272-
```bash
273-
set -g @dracula-clients-singular client
274-
set -g @dracula-clients-plural clients
275-
```
47+
The configuration options are documented on [our GitHub](https://github.com/dracula/tmux/blob/master/docs/CONFIG.md)

README.md

Lines changed: 31 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,35 +6,50 @@
66

77
## Install
88

9-
All instructions can be found at [draculatheme.com/tmux](https://draculatheme.com/tmux).
9+
All instructions can be found [in the docs](./INSTALL.md).
1010

1111
## Configuration
1212

13-
Configuration and options can be found at [draculatheme.com/tmux](https://draculatheme.com/tmux).
13+
Configuration and options can be found [in the docs](/docs/CONFIG.md).
14+
15+
## Color Theming
16+
17+
In depth configuration of Colors and alternative themes can be found [in the docs](/docs/color_theming/README.md)
1418

1519
## Features
1620

1721
- Support for powerline
22+
- Support for NerdFonts
1823
- Day, date, time, timezone
24+
- [Fully custom color theming](/docs/color_theming/README.md)
1925
- Current location based on network with temperature and forecast icon (if available)
20-
- Network connection status, bandwidth and SSID
26+
- SSH session user, hostname and port of active tmux pane
27+
- Network connection status, bandwidth, SSID and public IP (requires `curl`)
2128
- Git branch and status
22-
- Battery percentage and AC power connection status
29+
- Battery percentage and AC power connection status with icons
2330
- Refresh rate control
2431
- CPU usage (percentage or load average)
25-
- RAM usage
26-
- GPU usage
32+
- CPU architecture
33+
- RAM usage (system and/or tmux server)
2734
- Custom status texts from external scripts
28-
- GPU VRAM usage
29-
- GPU power draw
30-
- Color code based on if prefix is active or not
31-
- List of windows with current window highlighted
32-
- When prefix is enabled smiley face turns from green to yellow
33-
- When charging, 'AC' is displayed
35+
- GPU stats
36+
- usage, power draw, and VRAM usage for NVIDIA on Linux, with partial support for amd/ intel
37+
- usage, and power draw for MacOS. **requires sudo privileges**
38+
- Color code based on whether a prefix is active or not
39+
- List of windows with the current window highlighted
40+
- When prefix is enabled, the left status bar widget turns from green to yellow
3441
- If forecast information is available, a ☀, ☁, ☂, or ❄ unicode character corresponding with the forecast is displayed alongside the temperature
35-
- Spotify playback (needs the tool spotify-tui installed)
42+
- Read system temperature
43+
- Read system uptime
44+
- Info if the Panes are synchronized
45+
- Spotify playback (needs the tool spotify-tui installed). max-len can be configured.
46+
- Music Player Daemon status (needs the tool mpc installed)
47+
- Playerctl, get current track metadata
3648
- Current kubernetes context
49+
- Countdown to tmux-continuum save
3750
- Current working directory of tmux pane
51+
- Kerberos TGT expiration date
52+
- Show your Libre Freestyle 3 readings [Setup instructions](./scripts/libre.sh)
3853

3954
## Compatibility
4055

@@ -45,9 +60,9 @@ FreeBSD compatibility is in development
4560

4661
This theme is maintained by the following person(s) and a bunch of [awesome contributors](https://github.com/dracula/tmux/graphs/contributors).
4762

48-
| [![Dane Williams](https://avatars2.githubusercontent.com/u/22798229?s=70&v=4",)](https://github.com/danerwilliams) | [![Ethan Edwards](https://avatars1.githubusercontent.com/u/60861925?s=70&v=4)](https://github.com/ethancedwards8) |
49-
| ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- |
50-
| [Dane Williams](https://github.com/danerwilliams) | [Ethan Edwards](https://github.com/ethancedwards8) |
63+
| [![Ethan Edwards](https://avatars1.githubusercontent.com/u/60861925?s=70&v=4)](https://github.com/ethancedwards8) | [![Hugo Meinhof](https://avatars.githubusercontent.com/u/19731833?s=70&v=4)](https://github.com/theoreticallyhugo) | [![Dane Williams](https://avatars2.githubusercontent.com/u/22798229?s=70&v=4)](https://github.com/danerwilliams) |
64+
|-------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|
65+
| [Ethan Edwards](https://github.com/ethancedwards8) | [Hugo Meinhof](https://github.com/theoreticallyhugo) | [Dane Williams](https://github.com/danerwilliams) |
5166

5267
## Community
5368

0 commit comments

Comments
 (0)