Compare commits
2 Commits
f36cb204c4
...
744ffd9ff7
| Author | SHA1 | Date | |
|---|---|---|---|
| 744ffd9ff7 | |||
| 49be8f8393 |
10
README.md
10
README.md
@@ -26,9 +26,14 @@
|
|||||||
--------
|
--------
|
||||||
|
|
||||||
### todo items
|
### todo items
|
||||||
- config for: terminal (ghostty? foot? havoc?); shell; mpd, mpc, ncmpcpp; mpv
|
- config for: terminal (kitty? havoc?); shell; mpd, mpc, ncmpcpp; mpv
|
||||||
- hyprland config on linux
|
- hyprland config and install on linux
|
||||||
|
- web browsers config and install
|
||||||
|
- get find, xargs, awk (use nawk) as unified as i can across system types
|
||||||
- decide on docker? or alternatives like podman? any license concerns?
|
- decide on docker? or alternatives like podman? any license concerns?
|
||||||
|
- pick rss reader; newsboat? others? option with inbox and separate queues?
|
||||||
|
- decide if i even want a filemanager; if yes, pick one and configure
|
||||||
|
- decide what i'm doing for music streaming; spotify official? web? tui option?
|
||||||
- switch installation approach, use csv file with programs to install, install types,
|
- switch installation approach, use csv file with programs to install, install types,
|
||||||
any extra flags/opts, comments
|
any extra flags/opts, comments
|
||||||
- regarding the system-types idea i'd started to build in already, maybe have a
|
- regarding the system-types idea i'd started to build in already, maybe have a
|
||||||
@@ -37,3 +42,4 @@
|
|||||||
- alternate idea: columns for "include_in_systems" and/or "excluded_from_systems"
|
- alternate idea: columns for "include_in_systems" and/or "excluded_from_systems"
|
||||||
- if both, likely apply the include column first, then the exclude (priority)
|
- if both, likely apply the include column first, then the exclude (priority)
|
||||||
- add command in tmux to perform cd to a given dir in all windows of the current session
|
- add command in tmux to perform cd to a given dir in all windows of the current session
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,8 @@
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo "---- settings vars for system type -----"
|
||||||
|
|
||||||
# determine OS and, if linux, distro
|
# determine OS and, if linux, distro
|
||||||
[[ "$OSTYPE" = *"darwin"* ]] && setup_os="macos" || {
|
[[ "$OSTYPE" = *"darwin"* ]] && setup_os="macos" || {
|
||||||
[[ "$OSTYPE" = *"linux"* ]] && setup_os="linux" && {
|
[[ "$OSTYPE" = *"linux"* ]] && setup_os="linux" && {
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ scripts_from_dir=($(find_scripts_in_dir "./installs_and_builds"))
|
|||||||
scripts_from_dir+=($(find_scripts_in_dir "./installs_and_builds/work_placeholder"))
|
scripts_from_dir+=($(find_scripts_in_dir "./installs_and_builds/work_placeholder"))
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "---- installing programs ---------------------------------------------"
|
echo "---- installing programs ---------------"
|
||||||
echo "-------- for system types: $system_types_list"
|
echo "-------- for system types: $system_types_list"
|
||||||
install_scripts_from_list "${scripts_from_dir[@]}"
|
install_scripts_from_list "${scripts_from_dir[@]}"
|
||||||
|
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ ${=BOX_SETUP_INSTALL_COMMAND} \
|
|||||||
parallel \
|
parallel \
|
||||||
make \
|
make \
|
||||||
cmake \
|
cmake \
|
||||||
gettext
|
gettext \
|
||||||
# TODO: add to above a system info monitor like htop, btop, gotop, or something similar
|
htop
|
||||||
|
|
||||||
utils_package_name_pandoc="pandoc"
|
utils_package_name_pandoc="pandoc"
|
||||||
case $BOX_SETUP_DISTRO in
|
case $BOX_SETUP_DISTRO in
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
|
|
||||||
|
echo "---- making system dirs ----------------"
|
||||||
source ./src_files/.config/zsh/.zshenv # ensure env vars set for use below
|
source ./src_files/.config/zsh/.zshenv # ensure env vars set for use below
|
||||||
|
|
||||||
# some standard/common directories, some overlap/use in XDG directories
|
# some standard/common directories, some overlap/use in XDG directories
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
# Manual steps needed after dotfile copy and/or installs
|
# Manual steps needed after dotfile copy and/or installs
|
||||||
|
|
||||||
currently none, wooooo
|
## macOS
|
||||||
|
|
||||||
|
- skhd
|
||||||
|
- run `skhd --start-service`
|
||||||
|
- grant skhd permission in accessibility settings
|
||||||
|
- run `skhd --restart-service`
|
||||||
|
- aerospace
|
||||||
|
- grant aerospace permission in accessibility settings
|
||||||
|
- likely need system reboot before aerospace works
|
||||||
|
|
||||||
|
|||||||
@@ -4,20 +4,20 @@
|
|||||||
|
|
||||||
idea from the ThePrimeagen: designated workspace/label/desktop per app/purpose
|
idea from the ThePrimeagen: designated workspace/label/desktop per app/purpose
|
||||||
|
|
||||||
### current layout/plan
|
### current layout
|
||||||
|
|
||||||
| workspace number | wm layout/mode |
|
| key | app/focus |
|
||||||
|--------------------------------------------------------------|------------------------|
|
|-----|-----------|
|
||||||
| 1. notes (stack: nvim, obsidian) | stack |
|
| 1. | notes (nvim, obsidian) |
|
||||||
| 2. music makeing - misc | stack |
|
| 2. | music makeing - misc |
|
||||||
| 3. music making - daw | floating (workaround) |
|
| 3. | music making - daw |
|
||||||
| 4. drawing (currently: gimp) | stack |
|
| 4. | drawing (gimp) |
|
||||||
| 5. music/audio listening | stack |
|
| 5. | music/audio listening |
|
||||||
| 6. comms (stack: emails, chats, av/calls) | stack |
|
| 6. | comms (emails, chats, av/calls) |
|
||||||
| 7. web browser | stack |
|
| 7. | web browser |
|
||||||
| 8. terminal (primary; one-offs & tui apps can be anywhere) | stack |
|
| 8. | terminal (primary; one-off terminals & tui apps can be anywhere) |
|
||||||
| 9. programming - misc (whatever is not in terminal) | stack |
|
| 9. | programming - misc (whatever is not in primary terminal) |
|
||||||
| 0. general - misc (catch-all) | stack |
|
| 0. | general - misc (catch-all) |
|
||||||
|
|
||||||
### ideas/guidelines:
|
### ideas/guidelines:
|
||||||
- use this consistently accross all machines
|
- 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 = "~/.config/btop/themes/theme.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"
|
||||||
1
src_files/.config/btop/themes/theme.theme
Normal file
1
src_files/.config/btop/themes/theme.theme
Normal file
@@ -0,0 +1 @@
|
|||||||
|
placeholder, will be replaced with symlink during copy_dotfiles.sh
|
||||||
@@ -47,6 +47,48 @@
|
|||||||
(dash-offset 0)
|
(dash-offset 0)
|
||||||
(dash-info 0)
|
(dash-info 0)
|
||||||
(emulate-brush-dynamics no))
|
(emulate-brush-dynamics no))
|
||||||
|
(default-view
|
||||||
|
(show-menubar yes)
|
||||||
|
(show-statusbar no)
|
||||||
|
(show-rulers no)
|
||||||
|
(show-scrollbars yes)
|
||||||
|
(show-selection yes)
|
||||||
|
(show-layer-boundary no)
|
||||||
|
(show-canvas-boundary yes)
|
||||||
|
(show-guides yes)
|
||||||
|
(show-grid no)
|
||||||
|
(show-sample-points yes)
|
||||||
|
(snap-to-guides yes)
|
||||||
|
(snap-to-grid no)
|
||||||
|
(snap-to-canvas no)
|
||||||
|
(snap-to-path no)
|
||||||
|
(snap-to-bbox no)
|
||||||
|
(snap-to-equidistance no)
|
||||||
|
(padding-mode default)
|
||||||
|
(padding-color
|
||||||
|
(color "R'G'B'A float" 16 "\1\0\200\77\1\0\200\77\1\0\200\77\0\0\200\77" 0))
|
||||||
|
(padding-in-show-all no))
|
||||||
|
(default-fullscreen-view
|
||||||
|
(show-menubar yes)
|
||||||
|
(show-statusbar no)
|
||||||
|
(show-rulers no)
|
||||||
|
(show-scrollbars yes)
|
||||||
|
(show-selection yes)
|
||||||
|
(show-layer-boundary no)
|
||||||
|
(show-canvas-boundary yes)
|
||||||
|
(show-guides yes)
|
||||||
|
(show-grid no)
|
||||||
|
(show-sample-points yes)
|
||||||
|
(snap-to-guides yes)
|
||||||
|
(snap-to-grid no)
|
||||||
|
(snap-to-canvas no)
|
||||||
|
(snap-to-path no)
|
||||||
|
(snap-to-bbox no)
|
||||||
|
(snap-to-equidistance no)
|
||||||
|
(padding-mode default)
|
||||||
|
(padding-color
|
||||||
|
(color "R'G'B'A float" 16 "\1\0\200\77\1\0\200\77\1\0\200\77\0\0\200\77" 0))
|
||||||
|
(padding-in-show-all no))
|
||||||
|
|
||||||
|
|
||||||
# end of gimprc
|
# end of gimprc
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
(file-version 1)
|
(file-version 1)
|
||||||
(action "windows-hide-docks" "<Shift><Control>d")
|
(action "view-show-rulers" "<Shift><Control>r")
|
||||||
(action "view-zoom-fit-in" "<Shift><Control>f")
|
(action "view-zoom-fit-in" "<Shift><Control>f")
|
||||||
|
(action "windows-hide-docks" "<Shift><Control>d")
|
||||||
|
|||||||
54
src_files/.config/htop/htoprc
Normal file
54
src_files/.config/htop/htoprc
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
# Beware! This file is rewritten by htop when settings are changed in the interface.
|
||||||
|
# The parser is also very primitive, and not human-friendly.
|
||||||
|
htop_version=3.4.1
|
||||||
|
config_reader_min_version=3
|
||||||
|
fields=0 48 17 18 38 39 2 46 47 49 1
|
||||||
|
hide_kernel_threads=1
|
||||||
|
hide_userland_threads=0
|
||||||
|
hide_running_in_container=0
|
||||||
|
shadow_other_users=0
|
||||||
|
show_thread_names=0
|
||||||
|
show_program_path=1
|
||||||
|
highlight_base_name=0
|
||||||
|
highlight_deleted_exe=1
|
||||||
|
shadow_distribution_path_prefix=0
|
||||||
|
highlight_megabytes=1
|
||||||
|
highlight_threads=1
|
||||||
|
highlight_changes=0
|
||||||
|
highlight_changes_delay_secs=5
|
||||||
|
find_comm_in_cmdline=1
|
||||||
|
strip_exe_from_cmdline=1
|
||||||
|
show_merged_command=0
|
||||||
|
header_margin=1
|
||||||
|
screen_tabs=1
|
||||||
|
detailed_cpu_time=0
|
||||||
|
cpu_count_from_one=0
|
||||||
|
show_cpu_usage=1
|
||||||
|
show_cpu_frequency=0
|
||||||
|
show_cached_memory=1
|
||||||
|
update_process_names=0
|
||||||
|
account_guest_in_cpu_meter=0
|
||||||
|
color_scheme=1
|
||||||
|
enable_mouse=1
|
||||||
|
delay=40
|
||||||
|
hide_function_bar=0
|
||||||
|
header_layout=two_50_50
|
||||||
|
column_meters_0=Battery DateTime Hostname System Uptime Blank AllCPUs2 AllCPUs8 Blank
|
||||||
|
column_meter_modes_0=1 2 2 2 2 2 1 3 2
|
||||||
|
column_meters_1=Tasks LoadAverage Blank Memory Swap MemorySwap Blank DiskIO FileDescriptors Blank NetworkIO NetworkIO
|
||||||
|
column_meter_modes_1=2 2 2 1 1 3 2 2 2 2 2 3
|
||||||
|
tree_view=0
|
||||||
|
sort_key=47
|
||||||
|
tree_sort_key=0
|
||||||
|
sort_direction=-1
|
||||||
|
tree_sort_direction=1
|
||||||
|
tree_view_always_by_pid=0
|
||||||
|
all_branches_collapsed=0
|
||||||
|
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT STATE PERCENT_CPU PERCENT_MEM TIME Command
|
||||||
|
.sort_key=PERCENT_MEM
|
||||||
|
.tree_sort_key=PID
|
||||||
|
.tree_view_always_by_pid=0
|
||||||
|
.tree_view=0
|
||||||
|
.sort_direction=-1
|
||||||
|
.tree_sort_direction=1
|
||||||
|
.all_branches_collapsed=0
|
||||||
@@ -64,7 +64,7 @@ kmgAutocmd('FileType', {
|
|||||||
})
|
})
|
||||||
|
|
||||||
------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------
|
||||||
-- quickfix TODO: learn about quickfix (:help quickfix), then maybe use these
|
-- quickfix TODO: learn about quickfix (:help quickfix), then set mappings
|
||||||
|
|
||||||
-- vim.keymap.set("n", "<C-k>", "<cmd>cnext<CR>zz")
|
-- vim.keymap.set("n", "<C-k>", "<cmd>cnext<CR>zz")
|
||||||
-- vim.keymap.set("n", "<C-j>", "<cmd>cprev<CR>zz")
|
-- vim.keymap.set("n", "<C-j>", "<cmd>cprev<CR>zz")
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
{
|
{
|
||||||
"theme": "obsidian",
|
"theme": "obsidian",
|
||||||
"accentColor": "#2f930e",
|
"accentColor": "#2f930e",
|
||||||
"baseFontSize": 18
|
"baseFontSize": 18,
|
||||||
|
"enabledCssSnippets": [
|
||||||
|
"theme-transparency"
|
||||||
|
],
|
||||||
|
"translucency": false
|
||||||
}
|
}
|
||||||
18
src_files/.config/obsidian/snippets/theme-transparency.css
Normal file
18
src_files/.config/obsidian/snippets/theme-transparency.css
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
.custom-frames-frame,
|
||||||
|
.view-header,
|
||||||
|
.view-header-title-container,
|
||||||
|
.workspace-leaf,
|
||||||
|
.is-focused .workspace-leaf.mod-active .view-header,
|
||||||
|
.workspace-split.mod-root,
|
||||||
|
.workspace-split.mod-root .view-content,
|
||||||
|
.workspace-split.mod-root .view-header,
|
||||||
|
.workspace-tab-header-container {
|
||||||
|
background: transparent !important;
|
||||||
|
}
|
||||||
|
.app-container {
|
||||||
|
background: rgba(0, 0, 0, 0.7) !important;
|
||||||
|
}
|
||||||
|
svg.canvas-background {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -26,6 +26,9 @@ export XDG_STATE_HOME="$DIR_LOCAL/state"
|
|||||||
export XDG_DATA_DIRS="/usr/local/share:/usr/share"
|
export XDG_DATA_DIRS="/usr/local/share:/usr/share"
|
||||||
#export XDG_CONFIG_DIRS="/etc/xdg" # TODO: does this work on macOS?
|
#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
|
# zsh
|
||||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh" # may already be set, set anyway
|
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_existing_sessions=$(tmux list-sessions 2> /dev/null || echo '')
|
||||||
tmux_search_dirs=(
|
tmux_search_dirs=(
|
||||||
$DIR_HOME_BOX
|
|
||||||
$DIR_DEV
|
|
||||||
$DIR_GIT_PROJECTS/*
|
$DIR_GIT_PROJECTS/*
|
||||||
|
$DIR_DEV
|
||||||
|
$DIR_HOME_BOX
|
||||||
)
|
)
|
||||||
tmux_target_name=''
|
tmux_target_name=''
|
||||||
tmux_target_path=''
|
tmux_target_path=''
|
||||||
|
|||||||
Reference in New Issue
Block a user