mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-11 19:45:25 +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
|
(specifications->manifest
|
||||||
'(
|
'(
|
||||||
"bottom-bin"
|
|
||||||
"openssl"
|
"openssl"
|
||||||
"ncdu"
|
"ncdu"
|
||||||
"megacmd"
|
"megacmd"
|
||||||
|
|
@ -23,6 +22,7 @@
|
||||||
"bat"
|
"bat"
|
||||||
"exa"
|
"exa"
|
||||||
"ncurses"
|
"ncurses"
|
||||||
|
"bottom-bin"
|
||||||
"alacritty"
|
"alacritty"
|
||||||
"xclip"
|
"xclip"
|
||||||
"python-tmuxp"
|
"python-tmuxp"
|
||||||
|
|
|
||||||
25
Console.org
25
Console.org
|
|
@ -848,6 +848,30 @@ key_bindings:
|
||||||
- { key: Minus, mods: Control, action: DecreaseFontSize }
|
- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||||
- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
|
- { key: NumpadSubtract, mods: Control, action: DecreaseFontSize }
|
||||||
#+end_src
|
#+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
|
* Various console applications
|
||||||
| Guix dependency | Description |
|
| Guix dependency | Description |
|
||||||
|-----------------------+---------------------------------------------|
|
|-----------------------+---------------------------------------------|
|
||||||
|
|
@ -873,7 +897,6 @@ key_bindings:
|
||||||
| megacmd | mega.nz client |
|
| megacmd | mega.nz client |
|
||||||
| ncdu | disk usage analyzer |
|
| ncdu | disk usage analyzer |
|
||||||
| openssl | |
|
| openssl | |
|
||||||
| bottom-bin | resource monitor |
|
|
||||||
|
|
||||||
** ripgrep config
|
** 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.
|
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