113 Commits

Author SHA1 Message Date
d0bc106279 Use btop when available in visor session 2025-01-01 22:31:07 +00:00
38f5bb7f9c Make install.sh work on base 3.2 (for macOS) 2024-10-10 18:16:58 +01:00
9964392ee0 Fix session-config use of old local session name 2024-08-09 10:29:00 +01:00
6580e0b883 Rename local session to config 2024-08-06 10:48:09 +01:00
c18df0825b system-info: Always have a space before battery %age 2024-07-23 23:22:05 +01:00
2005b6140f Don't split home on local session layout 2024-07-03 23:47:06 +01:00
d874f095a4 Add infra session layout 2024-07-01 23:34:48 +01:00
360f5d0115 Don't specify %age in window-auto for 50% split 2024-06-19 18:38:16 +01:00
71f3ff3659 Fix install.sh where ~ does expand inside associative array 2024-04-28 16:33:20 +01:00
0924e6174e Fixup session-local layout 2024-04-20 15:26:57 +01:00
3391ae2eb5 Tune window-auto for smaller terminals 2024-04-16 19:17:21 +01:00
7fd94d4f10 Enable standalone install with install.sh
Move away from being dependant on Ansible task.yaml config setup and
move all login into install.sh to support installing tmux config just by
cloning and running the script.
2024-04-13 16:28:55 +01:00
896a9e09d3 Fix bug in window-auto layout 2024-04-12 23:45:56 +01:00
f02e0a20f6 Add work config to local layout if extant 2024-04-12 23:43:56 +01:00
85c11bc57c Fix window-auto session to use current pane directory 2024-04-12 23:39:45 +01:00
cc475b4400 Fix hardcoded use of /usr/bin/zsh instead of via env 2024-04-12 23:23:14 +01:00
2c859ddd93 Fix window-auto when using in session layouts 2024-04-12 22:10:56 +01:00
14894bdf47 Fix garbage on session start
Use the workaround mentioned in
https://github.com/microsoft/WSL/issues/5931 to stop garbage being
output when starting a new session.
2024-04-12 21:43:50 +01:00
b9a82c93d9 Use window-auto layout in session layouts 2024-04-12 21:06:03 +01:00
7bc20823de Add meta window layout that automatically chooses split 2024-04-12 21:06:03 +01:00
905460fee4 Make layouts executable scripts with shebangs 2024-04-12 20:57:32 +01:00
6aeadd4129 Update session-local to open more config repos 2024-04-12 00:00:17 +01:00
d4ec662477 Fix todo about describing aggressive-resize 2024-04-08 21:36:13 +01:00
48f8514939 Don't hide the + sign on Intel CPU temp 2024-04-05 23:04:56 +01:00
a4fe049859 Enable set-clipboard when in an SSH session 2024-04-04 21:09:03 +01:00
97a94ec036 Add bindings to search without being in copy mode first 2024-03-12 19:16:30 +00:00
cd9e6742f4 Enable TrueColor support 2024-03-02 10:53:51 +00:00
a84ede4494 Stop using deprecated -p on split-window 2023-11-24 20:50:46 +00:00
22fef1a533 Fix Nerd Font symbols on macOS 2023-08-04 15:57:05 +01:00
78afc517ba Potentially fix showing battery on desktops
The battery indicator should only be shown on devices with a battery
power supply. It should not be shown when a wireless USB device is
attached that happens to have a battery. This patch potentially fixes
the issue of showing a 0% battery reading on desktops.
2023-06-23 22:40:27 +01:00
201ba38b2a Fix acpi -b output check to define get_battery 2023-06-04 21:58:14 +01:00
41cb522d2c Switch between battery charging/not icons 2023-06-02 19:31:14 +01:00
b5c2f8343a Add battery support for Linux system-info script 2023-06-01 22:45:50 +01:00
d852c46bc8 Port system-info-WSL.sh to work when systemd is enabled 2023-05-12 22:18:56 +01:00
2525d437fe system-info: Change AMD temp sensor source
Use `k10temp-pci-00c3` sensor output instead of
`asus_wmi_sensors-virtual-0` to read the CPU temperature because on the
ASUS Prime x470 Pro the latter is buggy and can result in the UEFI fan
control either slamming at 100% or not registering a temperature change
at full load.
2023-05-10 11:35:39 +01:00
6dbd391a56 Strip domain from hostname on macOS
Fortunately this command also works on Linux but its not required there.

```console
$ hostname -s
```
2023-04-26 17:11:55 +01:00
09379eebc0 Handle AMD CPU temp on ASUS motherboards 2023-04-14 20:13:48 +01:00
235bf058e5 system-info: Enable CPU load and battery icon on macOS 2023-01-06 21:44:05 +00:00
f4aed11002 Add battery icon in system-info-WSL.sh 2022-12-30 17:52:36 +00:00
b2158b5f93 Revert "Change default term"
This reverts commit 1e2c00aa32e97939d7d5cb447e8e2a5a8c30386e.
2022-12-10 22:15:00 +00:00
6c3c7d7373 system-info clean up cache file in WSL too 2022-12-10 17:35:39 +00:00
1e2c00aa32 Change default term
While using `tmux-256color` has been working great for the longest time,
`git` on macOS Venture with Apple Silicon does not like it. Complaints
of incorrectly configured terminal are resolved in this config by
removing this custom termdb entry. Alternative would be to install it
again but it doesn't seem to be necessary anymore.
2022-12-10 15:30:10 +00:00
6beb81f972 Switch to win32yank.exe for clipboard in WSL2
Using `xclip` or `xsel` in WSL2 started causing Windows GUI applications
to hang when pasting from the clipboard set by `xclip`/`xsel` waiting on
input from a clipboard process which had already exited. When WSL is
detected, use `win32yank.exe` instead. This is available via Chocolatey
but is also shipped with the Neovim Windows installation.

For more context, see https://github.com/microsoft/terminal/issues/11945
2022-12-03 18:40:25 +00:00
6629046ec2 Don't display battery %age on WSL system with no battery 2022-10-29 13:28:27 +01:00
2bb99ee369 Add battery %age reporting in system-info-WSL.sh 2022-10-03 22:26:18 +01:00
9a65f59273 Split some long lines in system-info-WSL.sh 2022-10-03 22:25:53 +01:00
fa263fb95e Use powershell for system-info CPU temp on WSL
Replace the query of CPU temp from the OpenHardwareMonitor's JSON served
via the network on the Windows host with a call to powershell to instead
read the WMI objects that OpenHardwareMonitor also emits. This is more
robust since powershell.exe is always available and does not require
Windows Defender firewall rules to allow connections from WSL2's VM to
the Windows host.
2022-10-01 13:21:12 +01:00
d4c2af545d Add layout for the visor sessions 2022-09-20 18:56:25 +01:00
d4ab398e3b Reduce duplication in tasks file 2022-09-20 18:40:20 +01:00
1e14c8f9c6 Add session-created hook to automate session layouts 2022-09-20 13:37:51 +01:00