Update tmux-session search-dir order, add btop config
This commit is contained in:
@@ -11,8 +11,8 @@ ${=BOX_SETUP_INSTALL_COMMAND} \
|
||||
parallel \
|
||||
make \
|
||||
cmake \
|
||||
gettext
|
||||
# TODO: add to above a system info monitor like htop, btop, gotop, or something similar
|
||||
gettext \
|
||||
btop
|
||||
|
||||
utils_package_name_pandoc="pandoc"
|
||||
case $BOX_SETUP_DISTRO in
|
||||
|
||||
@@ -4,20 +4,20 @@
|
||||
|
||||
idea from the ThePrimeagen: designated workspace/label/desktop per app/purpose
|
||||
|
||||
### current layout/plan
|
||||
### current layout
|
||||
|
||||
| workspace number | wm layout/mode |
|
||||
|--------------------------------------------------------------|------------------------|
|
||||
| 1. notes (stack: nvim, obsidian) | stack |
|
||||
| 2. music makeing - misc | stack |
|
||||
| 3. music making - daw | floating (workaround) |
|
||||
| 4. drawing (currently: gimp) | stack |
|
||||
| 5. music/audio listening | stack |
|
||||
| 6. comms (stack: emails, chats, av/calls) | stack |
|
||||
| 7. web browser | stack |
|
||||
| 8. terminal (primary; one-offs & tui apps can be anywhere) | stack |
|
||||
| 9. programming - misc (whatever is not in terminal) | stack |
|
||||
| 0. general - misc (catch-all) | stack |
|
||||
| key | app/focus |
|
||||
|-----|-----------|
|
||||
| 1. | notes (nvim, obsidian) |
|
||||
| 2. | music makeing - misc |
|
||||
| 3. | music making - daw |
|
||||
| 4. | drawing (gimp) |
|
||||
| 5. | music/audio listening |
|
||||
| 6. | comms (emails, chats, av/calls) |
|
||||
| 7. | web browser |
|
||||
| 8. | terminal (primary; one-off terminals & tui apps can be anywhere) |
|
||||
| 9. | programming - misc (whatever is not in primary terminal) |
|
||||
| 0. | general - misc (catch-all) |
|
||||
|
||||
### ideas/guidelines:
|
||||
- use this consistently accross all machines
|
||||
|
||||
83
src_files/.config/btop/btop.conf
Normal file
83
src_files/.config/btop/btop.conf
Normal file
@@ -0,0 +1,83 @@
|
||||
#? Config file for btop v. 1.4.5
|
||||
|
||||
vim_keys = True # shift+h help, shift+k kill
|
||||
log_level = "WARNING" #* opt: ERROR, WARNING, INFO, DEBUG
|
||||
|
||||
update_ms = 4000
|
||||
|
||||
show_battery = True
|
||||
selected_battery = "Auto"
|
||||
show_battery_watts = True
|
||||
|
||||
color_theme = "$DIR_THEME_SETTINGS/.current-theme/btop.theme"
|
||||
theme_background = False #* True: show theme background, False: needed for transparency
|
||||
truecolor = True
|
||||
rounded_corners = False
|
||||
force_tty = False
|
||||
|
||||
#* graph options: default, block, tty, braille
|
||||
graph_symbol = "braille"
|
||||
graph_symbol_cpu = "default"
|
||||
graph_symbol_mem = "default"
|
||||
graph_symbol_net = "default"
|
||||
graph_symbol_proc = "default"
|
||||
|
||||
#* presets boxname:pos:graph - pos (0, 1), graph (default, block, tty, braille)
|
||||
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
|
||||
shown_boxes = "proc mem net cpu" # opt: cpu mem net proc gpu0 gpu1 gpu2 gpu3 gpu4 gpu5
|
||||
|
||||
proc_sorting = "cpu lazy"
|
||||
proc_reversed = False
|
||||
proc_left = True
|
||||
proc_tree = False
|
||||
proc_colors = True #* cpu graph colors in proc list
|
||||
proc_gradient = False
|
||||
proc_per_core = False
|
||||
proc_mem_bytes = True
|
||||
proc_cpu_graphs = False
|
||||
proc_info_smaps = False #* /proc/[pid]/smaps for proc memory info, accurate but slow
|
||||
proc_filter_kernel = False
|
||||
proc_aggregate = False #* aggregate child procs under parent in tree view
|
||||
|
||||
cpu_graph_upper = "user" #* opt: Auto, total, idle, system, user (maybe others per system)
|
||||
cpu_graph_lower = "total"
|
||||
cpu_invert_lower = False
|
||||
cpu_single_graph = False
|
||||
cpu_bottom = False
|
||||
show_uptime = True
|
||||
show_cpu_watts = True #* requires `make setcap`, `make setuid`, or sudo
|
||||
check_temp = True
|
||||
cpu_sensor = "Auto"
|
||||
show_coretemp = True
|
||||
cpu_core_map = "" #* form x:y x:y, x is core with wrong temp, y is core with correct temp
|
||||
temp_scale = "celsius" #* opt: celsius, fahrenheit, kelvin, rankine
|
||||
base_10_sizes = False #* False to use KiB = 1024, True to use KB = 1000
|
||||
show_cpu_freq = True
|
||||
clock_format = "%H /host"
|
||||
background_update = True #* set False if menu flicker
|
||||
custom_cpu_name = ""
|
||||
|
||||
#* disks_filter: mountpoint full paths; can prepend exclude= to show all non-matches
|
||||
disks_filter = ""
|
||||
|
||||
mem_graphs = True #* True for graphs, False for meters
|
||||
mem_below_net = False #* mem box below net box
|
||||
zfs_arc_cached = True #* cached and available mem include ZFS ARC
|
||||
show_swap = True
|
||||
swap_disk = True #* swap as a disk, overrides show_swap setting
|
||||
show_disks = True
|
||||
only_physical = True #* True for physical disks only, False includes network/RAM/etc
|
||||
use_fstab = True #* disks from /etc/fstab, overrides only_physical value
|
||||
zfs_hide_datasets = False #* hide datasets and show zfs pools instead
|
||||
disk_free_priv = False #* show free space for privileged users
|
||||
show_io_stat = True
|
||||
io_mode = False #* show big graphs for disk read/write
|
||||
io_graph_combined = False #* graph shows combined read/write
|
||||
io_graph_speeds = "" #* graph top speed in MiB/s (default 100), format "mountpoint:speed"
|
||||
|
||||
net_download = 100 #* network graph fixed values, Mebibits, only used if net_auto False
|
||||
net_upload = 100
|
||||
net_auto = True #* graph auto rescaling mode, ignores net_download and net_upload values
|
||||
net_sync = True #* sync download/upload, auto scale to highest
|
||||
net_iface = "" #* start with this interface
|
||||
base_10_bitrate = "Auto"
|
||||
@@ -26,6 +26,9 @@ export XDG_STATE_HOME="$DIR_LOCAL/state"
|
||||
export XDG_DATA_DIRS="/usr/local/share:/usr/share"
|
||||
#export XDG_CONFIG_DIRS="/etc/xdg" # TODO: does this work on macOS?
|
||||
|
||||
# directory for theme/style stuff
|
||||
export DIR_THEME_SETTINGS="$XDG_CONFIG_HOME/this-box-theme"
|
||||
|
||||
# zsh
|
||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh" # may already be set, set anyway
|
||||
|
||||
|
||||
@@ -12,9 +12,9 @@ tmux_hydrate() {
|
||||
|
||||
tmux_existing_sessions=$(tmux list-sessions 2> /dev/null || echo '')
|
||||
tmux_search_dirs=(
|
||||
$DIR_HOME_BOX
|
||||
$DIR_DEV
|
||||
$DIR_GIT_PROJECTS/*
|
||||
$DIR_DEV
|
||||
$DIR_HOME_BOX
|
||||
)
|
||||
tmux_target_name=''
|
||||
tmux_target_path=''
|
||||
|
||||
Reference in New Issue
Block a user