Commit graph

87 commits

Author SHA1 Message Date
jonathanforhan
09c5750656 Add cwd.sh to display the tmux pane's current working directory, updated README to reflect change 2023-04-07 20:40:53 -04:00
Ethan Edwards
b346d10306
Merge pull request #174 from nunojsa/dev/git-remote-info 2023-02-01 07:22:31 -05:00
Bryan Hoang
e057d06c0d
fix(dracula.sh): fix execution errors
Resolves an issue cause by a syntax error and a removed executable bit
introduced by dracula/tmux#153.

The syntax/permissions issue stops the plugin from running properly when
I ran into the issue earlier today.

The missing executable bit is likely what's causing dracula/tmux#178
given that `man bash` has the following excerpt:

> If a command is found but is not executable, the return status is 126.
2022-11-07 12:59:39 -05:00
Ethan Edwards
62b1a6d0a4
Merge branch 'master' into spotify-tui 2022-11-06 16:01:58 -05:00
Nuno Sá
eedd33771f git: add remote info support
With this new option, we get information about which remote branch we're
tracking. On top of this, we'll get information about ahead/behind
commits when we diverged from remote. The output format will be in the
form:

'local...remote +ahead -behind',

where ahead and behind are the number of commits ahead and behind.

This functionality is controlled by a new option called
'@dracula-git-show-remote-status'.

Note that for this to be properly displayed, we need to increase the
size of the right status bar when the git plugin is enabled.

In order to be easier to introduce the change, getMessage() was also a
bit changed in order to be easier to append the remote info.

Signed-off-by: Nuno Sá <noname.nuno@gmail.com>
2022-10-26 11:04:30 +02: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
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
b06419366c Enable custom location for weather plugin 2021-12-03 18:49:34 +01:00
Marc
c558b6b024
Fix typos in network_bandwith -> network_bandwidth 2021-09-13 22:00:18 +01: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
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
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
Joe Perri
6cac0951d4 Add git functionality 2021-06-05 12:21:05 -04: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
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
Ethan Edwards
8d1a7fa41b Fix for #89 , problem with padding option 2021-02-17 18:02:04 -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
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
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
Niam Patel
cb27ca216d
Merge branch 'master' into master 2020-09-03 20:39:36 +01: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
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
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
David Spreekmeester
bc8530a14a added option to hide timezone 2020-08-01 16:02:50 +02:00
Ethan Edwards
dcb6f48a4d added gpu usage 2020-06-29 22:44:51 -04:00
Ethan Edwards
e41cabee1c Changed naming of some things 2020-06-07 19:36:26 -04:00
Ethan Edwards
eeff7ec82d Trying to get this to work 2020-06-07 19:19:52 -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
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