Commit graph

473 commits

Author SHA1 Message Date
dev-onejun
a43fd55235 UPDATE: the power_supply device selection 2024-01-03 11:21:25 +09:00
Ethan Edwards
3f2466af44
Merge pull request #243 from aftaylor2/fix_ram_info_darwin_total_mem
Fix: Avoid potential delay in calc of RAM (darwin)
2023-12-16 22:59:56 -05:00
Andrew Taylor
bb44e5c842 Fix: Avoid potential delay in calc of RAM (darwin)
The system_profiler command used to determine the total memory on darwin
systems performs an "Activation Lock" check. This can produce a delay in
returning total memory. I began experiencing delays of around 10 seconds.

Switching from system_profiler to sysctl to calculate total memory
bypasses the "Activation Lock" check / timeout scenario.

Results of "time" command using system_profiler:
system_profiler SPHardwareDataType  0.17s user 0.23s system 3% cpu 10.165 total
grep -a "Memory:"  0.00s user 0.00s system 0% cpu 10.164 total
awk '{print $2 $3}'  0.00s user 0.00s system 0% cpu 10.163 total

Results of "time" command using sysctl:
sysctl -n hw.memsize  0.00s user 0.00s system 83% cpu 0.004 total
awk '{print $0/1024/1024/1024 " GB"}'  0.00s user 0.00s system 86% cpu 0.004 total
2023-12-15 10:57:07 -05:00
Ethan Edwards
d8b7d01b72
Merge pull request #235 from AbelAnaya/master
Add ssh-session plugin
2023-12-03 18:35:41 -05:00
Ethan Edwards
892e659b11
Merge branch 'master' into master 2023-12-03 18:35:33 -05:00
Ethan Edwards
1b328c11f8
Merge pull request #234 from sourhub226/master
Update README.md
2023-12-03 18:32:40 -05:00
Ethan Edwards
57f6f0b4a9
Merge pull request #240 from taflaj/hostname
Added `shortname` option to @dracula-show-left-icon
2023-12-03 18:32:09 -05:00
Ethan Edwards
2d1253f611
Merge pull request #239 from pspiagicw/master
MPD Plugin
2023-12-01 20:22:47 -05:00
AbelAnaya
b908ce803b refactor: Avoid if statements with double quotes and use single quotes instead to improve portability of plugin 2023-11-14 23:17:38 +01:00
AbelAnaya
ad59ebcf3a refactor: Improve script maintainability and readability with cleaner functions 2023-11-14 23:16:55 +01:00
AbelAnaya
31c8af3446 refactor: Remove code duplication and check local config file exists before parsing 2023-11-13 23:55:20 +01:00
AbelAnaya
e8b07bedf6
Merge branch 'dracula:master' into master 2023-11-07 19:09:57 +01:00
AbelAnaya
ffa8d28142 refactor: Check both /etc/ssh/ssh_config and ~/.ssh/config to retrieve user under host 2023-11-07 18:43:49 +01:00
AbelAnaya
ac4639be61 fix: Use correct path for ssh configuration file 2023-11-06 22:21:57 +01:00
José Tafla
a96c825515 Spell checked INSTALL.md
Documented `hostname` option for @dracula-show-left-icon
Added `shortname` option to @dracula-show-left-icon
2023-10-25 14:38:54 -07:00
pspiagicw
0fafe37197 feat: Added tmux.conf customizations 2023-10-19 16:09:27 +05:30
pspiagicw
187a57d1a2 feat: Added MPC documentation 2023-10-19 16:05:49 +05:30
pspiagicw
a486050c22 feat: Added mpc plugin 2023-10-19 15:48:43 +05:30
Ethan Edwards
77bad73881
Merge pull request #237 from djfpaagman/patch-1 2023-10-17 17:33:54 -04:00
Dennis Paagman
42af610b66
Update network.sh to not cut off SSIDs starting with ^ 2023-10-16 21:44:27 +02:00
Ethan Edwards
a8da118e99
Merge pull request #236 from deanc/master
Add hostname option for show_left_icon
2023-10-15 18:14:34 -04:00
anonymous
c9334a6b49 Add hostname option 2023-10-14 10:49:11 +03:00
AbelAnaya
bda4fdaf21 docs: Add documentation for ssh-session plugin 2023-10-12 00:10:36 +02:00
AbelAnaya
c9c08f58e0 feat: Add ssh-session plugin
Shows user and hostname of active ssh session if any in the current tmux pane. Connected port
is also available to show under configuration option (default false)
2023-10-12 00:10:35 +02:00
Ethan Edwards
f61d1b8d21
Merge pull request #233 from dashorty/master
check for bc program and show info if not found
2023-10-02 15:03:19 -04:00
Sourabh Sathe
171d0cc9d5
Update README.md
Grammatical changes
2023-10-02 21:37:35 +05:30
Thomas Kurz
c03375f93e check for bc program and show info if not found 2023-10-01 10:35:42 +02:00
Ethan Edwards
ff25428868
Merge pull request #191 from rbucker/master
Add OpenBSD (cpu, ram) and Fossil SCM
2023-09-25 13:31:12 -04:00
Ethan Edwards
59e4fe7dbe
Merge branch 'master' into master 2023-09-25 13:30:27 -04:00
Ethan Edwards
038b1d4b6b
Merge pull request #211 from dormunis/feature/eks-support
Added eks support for kubernetes prompt
2023-09-25 13:23:09 -04:00
Ethan Edwards
c200b96b2f
Merge branch 'master' into feature/eks-support 2023-09-25 13:23:00 -04:00
Ethan Edwards
ce10069d15
Merge pull request #230 from FriendlyTroll/patch-1
Update INSTALL.md
2023-08-29 10:32:17 -04:00
FriendlyTroll
73a2bf2b22
Update INSTALL.md
Add info on how to set custom time format
2023-08-29 13:39:09 +02:00
Ethan Edwards
1b6e44e15c
Merge pull request #221 from aaronkollasch/feat/tmux-continuum
Add tmux-continuum status plugin
2023-07-24 19:34:35 -04:00
Aaron Kollasch
cf474c9342
Add tmux-continuum feature to README.md 2023-07-22 18:12:38 -04:00
Aaron Kollasch
7a8c436807
Trim tmux-continuum status if no save present 2023-07-22 18:12:37 -04:00
Aaron Kollasch
e0dd39def5
Improve tmux-continuum status if no save present 2023-07-22 18:12:37 -04:00
Aaron Kollasch
67cde9d1ae
Improve date compat in tmux-continuum status 2023-07-22 18:12:37 -04:00
Aaron Kollasch
14300a6e75
Improve tmux-continuum status plugin 2023-07-22 18:12:37 -04:00
Aaron Kollasch
5af1faa367
Add plugin for tmux-continuum status 2023-07-22 18:12:36 -04:00
Ethan Edwards
b603b24bd6
Merge pull request #228 from magnuslarsen/SyncPanesFix 2023-07-15 16:45:00 -04:00
Magnus Larsen
3ef141f829 [fix] 'synchronize-panes' is not runnable 2023-07-14 11:00:47 +02:00
Ethan Edwards
ef42ec68ff
Merge pull request #138 from JannoTjarks/synchronize-panes
Added plugin for the window option "Synchronize panes"
2023-07-12 14:22:32 -04:00
Ethan Edwards
7c38079992
Merge branch 'master' into synchronize-panes 2023-07-12 14:15:02 -04:00
Ethan Edwards
bd87fa7d16
Merge pull request #226 from pele1410/master
Add mercurial script
2023-07-09 16:24:38 -04:00
Ethan Edwards
5e9c4e1dc1
Merge pull request #220 from aaronkollasch/feat/tmux-ram-usage
Add tmux-ram-usage plugin
2023-07-09 16:21:50 -04:00
Aaron Kollasch
640eb4c809
Fix shellcheck warnings 2023-07-09 01:07:22 -04:00
Aaron Kollasch
b6fe033952
Add fallback for tmux-ram-usage without pstree 2023-07-08 20:53:18 -04:00
Christopher Thompson
a6aaf65856 Add missing flags to INSTALL.md 2023-07-08 19:04:42 -05:00
Christopher Thompson
601696fd7f Fix symbol for deleted files 2023-07-04 07:35:30 -05:00