Skip to content

Commit 24f4833

Browse files
committed
Modified theme to use Monokai Pro colors, updated defaults
1 parent ffc6ef8 commit 24f4833

19 files changed

+138
-236
lines changed

.github/ISSUE_TEMPLATE/bug-report.md

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE/pull_request_template.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

INSTALL.md

Lines changed: 40 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -4,125 +4,97 @@
44

55
If you are a tpm user, you can install the theme and keep up to date by adding the following to your .tmux.conf file:
66

7-
set -g @plugin 'dracula/tmux'
7+
set -g @plugin 'maxpetretta/tmux-monokai-pro'
88

99
Add any configuration options below this line in your tmux config.
1010

11-
#### Install with [Nix](https://nixos.org)
12-
13-
If you're using [home-manager](https://github.com/nix-community/home-manager), an example config would look similar to this:
14-
Then run `home-manager switch`, the `Activating theme` section doesn't apply here.
15-
16-
```nix
17-
programs.tmux = {
18-
enable = true;
19-
clock24 = true;
20-
plugins = with pkgs.tmuxPlugins; [
21-
sensible
22-
yank
23-
{
24-
plugin = dracula;
25-
extraConfig = ''
26-
set -g @dracula-show-battery false
27-
set -g @dracula-show-powerline true
28-
set -g @dracula-refresh-rate 10
29-
'';
30-
}
31-
];
32-
33-
extraConfig = ''
34-
set -g mouse on
35-
'';
36-
};
37-
```
38-
3911
#### Activating theme
4012

41-
1. Make sure `run -b '~/.tmux/plugins/tpm/tpm'` is at the bottom of your .tmux.conf
13+
1. Make sure `run -b '~/.tmux/plugins/tpm/tpm'` is at the bottom of your .tmux.conf
4214
2. Run tmux
4315
3. Use the tpm install command: `prefix + I` (default prefix is ctrl+b)
4416

4517
#### Configuration
4618

47-
To enable plugins set up the `@dracula-plugins` option in you `.tmux.conf` file, separate plugin by space.
19+
To enable plugins set up the `@monokai-plugins` option in you `.tmux.conf` file, separate plugin by space.
4820
The order that you define the plugins will be the order on the status bar left to right.
4921

5022
```bash
5123
# available plugins: battery, cpu-usage, git, gpu-usage, ram-usage, network, network-bandwidth, network-ping, weather, time
52-
set -g @dracula-plugins "cpu-usage gpu-usage ram-usage"
24+
set -g @monokai-plugins "cpu-usage gpu-usage ram-usage"
5325
```
5426

5527
For each plugin is possible to customize background and foreground colors
5628

5729
```bash
58-
# available colors: white, gray, dark_gray, light_purple, dark_purple, cyan, green, orange, red, pink, yellow
59-
# set -g @dracula-[plugin-name]-colors "[background] [foreground]"
60-
set -g @dracula-cpu-usage-colors "pink dark_gray"
30+
# available colors: white, gray, black, cyan, blue, green, magenta, red, yellow
31+
# set -g @monokai-[plugin-name]-colors "[background] [foreground]"
32+
set -g @monokai-cpu-usage-colors "red black"
6133
```
6234

6335
#### Status bar options
6436

6537
Enable powerline symbols
6638

6739
```bash
68-
set -g @dracula-show-powerline true
40+
set -g @monokai-show-powerline true
6941
```
7042

7143
Switch powerline symbols
7244

7345
```bash
7446
# for left
75-
set -g @dracula-show-left-sep 
47+
set -g @monokai-show-left-sep 
7648

7749
# for right symbol (can set any symbol you like as seperator)
78-
set -g @dracula-show-right-sep 
50+
set -g @monokai-show-right-sep 
7951
```
8052

8153
Enable window flags
8254

8355
```bash
84-
set -g @dracula-show-flags true
56+
set -g @monokai-show-flags true
8557
```
8658

8759
Adjust the refresh rate for the status bar
8860

8961
```bash
9062
# the default is 5, it can accept any number
91-
set -g @dracula-refresh-rate 5
63+
set -g @monokai-refresh-rate 5
9264
```
9365

9466
Switch the left smiley icon
9567

9668
```bash
9769
# it can accept `session`, `smiley`, `window`, or any character.
98-
set -g @dracula-show-left-icon session
70+
set -g @monokai-show-left-icon session
9971
```
10072

10173
Add padding to the left smiley icon
10274

10375
```bash
10476
# default is 1, it can accept any number and 0 disables padding.
105-
set -g @dracula-left-icon-padding 1
77+
set -g @monokai-left-icon-padding 1
10678
```
10779

10880
Enable high contrast pane border
10981

11082
```bash
111-
set -g @dracula-border-contrast true
83+
set -g @monokai-border-contrast true
11284
```
11385

11486
#### cpu-usage options
11587

11688
Customize label
11789

11890
```bash
119-
set -g @dracula-cpu-usage-label "CPU"
91+
set -g @monokai-cpu-usage-label "CPU"
12092
```
12193

12294
Show system load average instead of CPU usage percentage (default)
12395

12496
```bash
125-
set -g @dracula-cpu-display-load true
97+
set -g @monokai-cpu-display-load true
12698
```
12799

128100
CPU usage percentage (default) - in percentage (output: %)
@@ -133,101 +105,106 @@ Load average – is the average system load calculated over a given period of ti
133105
Customize label
134106

135107
```bash
136-
set -g @dracula-battery-label "Battery"
108+
set -g @monokai-battery-label "Battery"
137109
```
138110

139111
#### gpu-usage options
140112

141113
Customize label
142114

143115
```bash
144-
set -g @dracula-gpu-usage-label "GPU"
116+
set -g @monokai-gpu-usage-label "GPU"
145117
```
146118

147119
#### ram-usage options
148120

149121
Customize label
150122

151123
```bash
152-
set -g @dracula-ram-usage-label "RAM"
124+
set -g @monokai-ram-usage-label "RAM"
153125
```
154126

155127
#### network-ping options
156128

157129
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.
158130

159131
```bash
160-
set -g @dracula-ping-server "google.com"
161-
set -g @dracula-ping-rate 5
132+
set -g @monokai-ping-server "google.com"
133+
set -g @monokai-ping-rate 5
162134
```
163135

164136
#### time options
165137

166138
Disable timezone
167139

168140
```bash
169-
set -g @dracula-show-timezone false
141+
set -g @monokai-show-timezone false
170142
```
171143

172144
Swap date to day/month
173145

174146
```bash
175-
set -g @dracula-day-month true
147+
set -g @monokai-day-month true
176148
```
177149

178150
Enable military time
179151

180152
```bash
181-
set -g @dracula-military-time true
153+
set -g @monokai-military-time true
182154
```
183155

184156
#### git options
185157

186158
Hide details of git changes
159+
187160
```bash
188-
set -g @dracula-git-disable-status true
161+
set -g @monokai-git-disable-status true
189162
```
190163

191164
Set symbol to use for when branch is up to date with HEAD
165+
192166
```bash
193-
# default is ✓. Avoid using non unicode characters that bash uses like $, * and !
194-
set -g @dracula-git-show-current-symbol ✓
167+
# default is ✓. Avoid using non unicode characters that bash uses like $, * and !
168+
set -g @monokai-git-show-current-symbol ✓
195169
```
196170

197171
Set symbol to use for when branch diverges from HEAD
172+
198173
```bash
199-
# default is unicode !. Avoid bash special characters
200-
set -g @dracula-git-show-diff-symbol !
174+
# default is unicode !. Avoid bash special characters
175+
set -g @monokai-git-show-diff-symbol !
201176
```
202177

203178
Set symbol or message to use when the current pane has no git repo
179+
204180
```bash
205181
# default is unicode no message
206-
set -g @dracula-git-no-repo-message ""
182+
set -g @monokai-git-no-repo-message ""
207183
```
208184

209185
Hide untracked files from being displayed as local changes
186+
210187
```bash
211188
# default is false
212-
set -g @dracula-git-no-untracked-files true
189+
set -g @monokai-git-no-untracked-files true
213190
```
214191

215192
#### weather options
216193

217194
Switch from default fahrenheit to celsius
218195

219196
```bash
220-
set -g @dracula-show-fahrenheit false
197+
set -g @monokai-show-fahrenheit false
221198
```
222199

223200
Set your location manually
224201

225202
```bash
226-
set -g @dracula-fixed-location "Some City"
203+
set -g @monokai-fixed-location "Some City"
227204
```
228205

229206
Hide your location
230207

231208
```bash
232-
set -g @dracula-show-location false
209+
set -g @monokai-show-location false
233210
```

README.md

Lines changed: 14 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,33 @@
1-
# Dracula for [tmux](https://github.com/tmux/tmux/wiki)
1+
# Monokai Pro for tmux
22

3-
> A dark theme for [tmux](https://github.com/tmux/tmux/wiki)
3+
A customized version of the [Dracula theme](https://github.com/dracula/tmux) for [tmux](https://github.com/tmux/tmux/wiki), using colors from [Monokai Pro](https://monokai.pro/).
44

55
![Screenshot](./screenshot.png)
66

77
## Install
88

9-
All instructions can be found at [draculatheme.com/tmux](https://draculatheme.com/tmux).
9+
Using [tpm](https://github.com/tmux-plugins/tpm), add the following to your `.tmux.conf`:
10+
11+
```
12+
set -g @plugin 'maxpetretta/tmux-monokai-pro'
13+
```
1014

1115
## Configuration
1216

1317
Configuration and options can be found at [draculatheme.com/tmux](https://draculatheme.com/tmux).
1418

15-
## Features
16-
17-
- Support for powerline
18-
- Day, date, time, timezone
19-
- Current location based on network with temperature and forecast icon (if available)
20-
- Network connection status, bandwidth and SSID
21-
- Git branch and status
22-
- Battery percentage and AC power connection status
23-
- Refresh rate control
24-
- CPU usage (percentage or load average)
25-
- RAM usage
26-
- GPU usage
27-
- Color code based on if prefix is active or not
28-
- List of windows with current window highlighted
29-
- When prefix is enabled smiley face turns from green to yellow
30-
- When charging, 'AC' is displayed
31-
- If forecast information is available, a ☀, ☁, ☂, or ❄ unicode character corresponding with the forecast is displayed alongside the temperature
32-
- Spotify playback (needs the tool spotify-tui installed)
33-
- Current kubernetes context
19+
**NOTE**: Replace all mentions of `@dracula` with `@monokai`
3420

3521
## Compatibility
3622

37-
Compatible with macOS and Linux. Tested on tmux 3.1b
38-
FreeBSD compatibility is in development
39-
40-
## Team
23+
Tested on macOS Monterey, with & without powerline symbols
4124

42-
This theme is maintained by the following person(s) and a bunch of [awesome contributors](https://github.com/dracula/tmux/graphs/contributors).
43-
44-
| [![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) |
45-
| ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------- |
46-
| [Dane Williams](https://github.com/danerwilliams) | [Ethan Edwards](https://github.com/ethancedwards8) |
25+
## License
4726

48-
## Community
27+
[MIT License](./LICENSE)
4928

50-
- [Twitter](https://twitter.com/draculatheme) - Best for getting updates about themes and new stuff.
51-
- [GitHub](https://github.com/dracula/dracula-theme/discussions) - Best for asking questions and discussing issues.
52-
- [Discord](https://draculatheme.com/discord-invite) - Best for hanging out with the community.
29+
## Credits
5330

54-
## License
31+
All credit goes to [dracula/tmux](https://github.com/dracula/tmux), which this theme was forked from
5532

56-
[MIT License](./LICENSE)
33+
Special thanks to [Monokai](https://monokai.nl/) for creating the One True Color Theme <3

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy