mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
feat(console): add bottom config
This commit is contained in:
parent
631ffda878
commit
66b836e5fa
3 changed files with 32 additions and 2 deletions
7
.config/bottom/bottom.toml
Normal file
7
.config/bottom/bottom.toml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[flags]
|
||||
hide_table_gap = true # Remove space in tables
|
||||
color = "default-light"
|
||||
process_command = true
|
||||
|
||||
[processes]
|
||||
columns = ["PID", "State", "Name", "CPU%", "Mem%", "R/s", "W/s", "User"]
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
(specifications->manifest
|
||||
'(
|
||||
"bottom-bin"
|
||||
"openssl"
|
||||
"ncdu"
|
||||
"megacmd"
|
||||
|
|
@ -23,6 +22,7 @@
|
|||
"bat"
|
||||
"exa"
|
||||
"ncurses"
|
||||
"bottom-bin"
|
||||
"alacritty"
|
||||
"xclip"
|
||||
"python-tmuxp"
|
||||
|
|
|
|||
25
Console.org
25
Console.org
|
|
@ -848,6 +848,30 @@ key_bindings:
|
|||
- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||
- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
|
||||
#+end_src
|
||||
* Bottom
|
||||
| Guix dependency | Description |
|
||||
|-----------------------+---------------------------------------------|
|
||||
| bottom-bin | resource monitor |
|
||||
|
||||
[[https://github.com/ClementTsang/bottom][bottom]] is a TUI system monitor.
|
||||
|
||||
See the [[https://github.com/ClementTsang/bottom/blob/master/sample_configs/default_config.toml][default config]] for the avaliable options.
|
||||
|
||||
#+NAME: bottom-theme
|
||||
#+begin_src elisp
|
||||
(if (my/light-p) "default-light" "default")
|
||||
#+end_src
|
||||
|
||||
#+begin_src toml :tangle ~/.config/bottom/bottom.toml :noweb yes
|
||||
[flags]
|
||||
hide_table_gap = true # Remove space in tables
|
||||
color = "<<bottom-theme()>>"
|
||||
process_command = true
|
||||
|
||||
[processes]
|
||||
columns = ["PID", "State", "Name", "CPU%", "Mem%", "R/s", "W/s", "User"]
|
||||
#+end_src
|
||||
|
||||
* Various console applications
|
||||
| Guix dependency | Description |
|
||||
|-----------------------+---------------------------------------------|
|
||||
|
|
@ -873,7 +897,6 @@ key_bindings:
|
|||
| megacmd | mega.nz client |
|
||||
| ncdu | disk usage analyzer |
|
||||
| openssl | |
|
||||
| bottom-bin | resource monitor |
|
||||
|
||||
** ripgrep config
|
||||
Occasionally I can't exclude certain files from ripgrep via the VCS settings, so here is a simple config to ignore certain files globally.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue