mirror of
https://github.com/stronk-dev/Tokyo-Night-Linux.git
synced 2024-11-21 20:36:51 -05:00
Added bpytop resource monitor
This commit is contained in:
parent
9983d75b1b
commit
14a0cc9dea
5 changed files with 255 additions and 3 deletions
2
.bashrc
2
.bashrc
|
@ -16,6 +16,8 @@ else
|
|||
export TERM='st'
|
||||
fi
|
||||
|
||||
alias repos='cd /mnt/koios/repos/'
|
||||
alias stats='bpytop'
|
||||
alias ls='ls --color=auto'
|
||||
alias info='clear && neofetch | lolcat'
|
||||
alias wisdom='fortune | cowsay | lolcat'
|
||||
|
|
153
.config/bpytop/bpytop.conf
Normal file
153
.config/bpytop/bpytop.conf
Normal file
|
@ -0,0 +1,153 @@
|
|||
#? Config file for bpytop v. 1.0.67
|
||||
|
||||
#* Color theme, looks for a .theme file in "/usr/[local/]share/bpytop/themes" and "~/.config/bpytop/themes", "Default" for builtin default theme.
|
||||
#* Prefix name by a plus sign (+) for a theme located in user themes folder, i.e. color_theme="+monokai"
|
||||
color_theme="+tokyo"
|
||||
|
||||
#* If the theme set background should be shown, set to False if you want terminal background transparency
|
||||
theme_background=True
|
||||
|
||||
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
|
||||
truecolor=True
|
||||
|
||||
#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace.
|
||||
shown_boxes="mem net proc cpu"
|
||||
|
||||
#* Update time in milliseconds, increases automatically if set below internal loops processing time, recommended 2000 ms or above for better sample times for graphs.
|
||||
update_ms=2000
|
||||
|
||||
#* Processes update multiplier, sets how often the process list is updated as a multiplier of "update_ms".
|
||||
#* Set to 2 or higher to greatly decrease bpytop cpu usage. (Only integers)
|
||||
proc_update_mult=2
|
||||
|
||||
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu responsive",
|
||||
#* "cpu lazy" updates top process over time, "cpu responsive" updates top process directly.
|
||||
proc_sorting="cpu lazy"
|
||||
|
||||
#* Reverse sorting order, True or False.
|
||||
proc_reversed=False
|
||||
|
||||
#* Show processes as a tree
|
||||
proc_tree=False
|
||||
|
||||
#* Which depth the tree view should auto collapse processes at
|
||||
tree_depth=3
|
||||
|
||||
#* Use the cpu graph colors in the process list.
|
||||
proc_colors=True
|
||||
|
||||
#* Use a darkening gradient in the process list.
|
||||
proc_gradient=True
|
||||
|
||||
#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
|
||||
proc_per_core=False
|
||||
|
||||
#* Show process memory as bytes instead of percent
|
||||
proc_mem_bytes=True
|
||||
|
||||
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available, see:
|
||||
#* https://psutil.readthedocs.io/en/latest/#psutil.cpu_times for attributes available on specific platforms.
|
||||
#* Select from a list of detected attributes from the options menu
|
||||
cpu_graph_upper="total"
|
||||
|
||||
#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available, see:
|
||||
#* https://psutil.readthedocs.io/en/latest/#psutil.cpu_times for attributes available on specific platforms.
|
||||
#* Select from a list of detected attributes from the options menu
|
||||
cpu_graph_lower="total"
|
||||
|
||||
#* Toggles if the lower CPU graph should be inverted.
|
||||
cpu_invert_lower=True
|
||||
|
||||
#* Set to True to completely disable the lower CPU graph.
|
||||
cpu_single_graph=False
|
||||
|
||||
#* Shows the system uptime in the CPU box.
|
||||
show_uptime=True
|
||||
|
||||
#* Check cpu temperature, needs "osx-cpu-temp" on MacOS X.
|
||||
check_temp=True
|
||||
|
||||
#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
|
||||
cpu_sensor=Auto
|
||||
|
||||
#* Show temperatures for cpu cores also if check_temp is True and sensors has been found
|
||||
show_coretemp=True
|
||||
|
||||
#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine"
|
||||
temp_scale="celsius"
|
||||
|
||||
#* Show CPU frequency, can cause slowdowns on certain systems with some versions of psutil
|
||||
show_cpu_freq=True
|
||||
|
||||
#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
|
||||
draw_clock="%X"
|
||||
|
||||
#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
|
||||
background_update=True
|
||||
|
||||
#* Custom cpu model name, empty string to disable.
|
||||
custom_cpu_name=""
|
||||
|
||||
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with a comma ",".
|
||||
#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot, /home/user"
|
||||
disks_filter=""
|
||||
|
||||
#* Show graphs instead of meters for memory values.
|
||||
mem_graphs=True
|
||||
|
||||
#* If swap memory should be shown in memory box.
|
||||
show_swap=True
|
||||
|
||||
#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
|
||||
swap_disk=True
|
||||
|
||||
#* If mem box should be split to also show disks info.
|
||||
show_disks=True
|
||||
|
||||
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
|
||||
only_physical=True
|
||||
|
||||
#* Read disks list from /etc/fstab. This also disables only_physical.
|
||||
use_fstab=False
|
||||
|
||||
#* Toggles if io stats should be shown in regular disk usage view
|
||||
show_io_stat=True
|
||||
|
||||
#* Toggles io mode for disks, showing only big graphs for disk read/write speeds.
|
||||
io_mode=False
|
||||
|
||||
#* Set to True to show combined read/write io graphs in io mode.
|
||||
io_graph_combined=False
|
||||
|
||||
#* Set the top speed for the io graphs in MiB/s (10 by default), use format "device:speed" separate disks with a comma ",".
|
||||
#* Example: "/dev/sda:100, /dev/sdb:20"
|
||||
io_graph_speeds=""
|
||||
|
||||
#* Set fixed values for network graphs, default "10M" = 10 Mibibytes, possible units "K", "M", "G", append with "bit" for bits instead of bytes, i.e "100mbit"
|
||||
net_download="10M"
|
||||
net_upload="10M"
|
||||
|
||||
#* Start in network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
|
||||
net_auto=True
|
||||
|
||||
#* Sync the scaling for download and upload to whichever currently has the highest scale
|
||||
net_sync=False
|
||||
|
||||
#* If the network graphs color gradient should scale to bandwidth usage or auto scale, bandwidth usage is based on "net_download" and "net_upload" values
|
||||
net_color_fixed=False
|
||||
|
||||
#* Starts with the Network Interface specified here.
|
||||
net_iface=""
|
||||
|
||||
#* Show battery stats in top right if battery is present
|
||||
show_battery=True
|
||||
|
||||
#* Show init screen at startup, the init screen is purely cosmetical
|
||||
show_init=False
|
||||
|
||||
#* Enable check for new version from github.com/aristocratos/bpytop at start.
|
||||
update_check=True
|
||||
|
||||
#* Set loglevel for "~/.config/bpytop/error.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
|
||||
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
|
||||
log_level=WARNING
|
96
.config/bpytop/themes/tokyo.theme
Normal file
96
.config/bpytop/themes/tokyo.theme
Normal file
|
@ -0,0 +1,96 @@
|
|||
#Bashtop theme in the style of Tokyo Night
|
||||
|
||||
# All graphs and meters can be gradients
|
||||
# For single color graphs leave "mid" and "end" variable empty.
|
||||
# Use "start" and "end" variables for two color gradient
|
||||
# Use "start", "mid" and "end" for three color gradient
|
||||
|
||||
# Main background, empty for terminal default, need to be empty if you want transparent background
|
||||
theme[main_bg]=""
|
||||
|
||||
# Main text color
|
||||
theme[main_fg]="#c0caf5"
|
||||
|
||||
# Title color for boxes
|
||||
theme[title]="#c0caf5"
|
||||
|
||||
# Highlight color for keyboard shortcuts
|
||||
theme[hi_fg]="#7aa2f7"
|
||||
|
||||
# Background color of selected item in processes box
|
||||
theme[selected_bg]="#1a1b26"
|
||||
|
||||
# Foreground color of selected item in processes box
|
||||
theme[selected_fg]="#9ece6a"
|
||||
|
||||
# Color of inactive/disabled text
|
||||
theme[inactive_fg]="#a9b1d6"
|
||||
|
||||
# Color of text appearing on top of graphs, i.e uptime and current network graph scaling
|
||||
theme[graph_text]="#bb9af7"
|
||||
|
||||
# Background color of the percentage meters
|
||||
theme[meter_bg]="#9ece6a"
|
||||
|
||||
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
|
||||
theme[proc_misc]="#7aa2f7"
|
||||
|
||||
# Cpu box outline color
|
||||
theme[cpu_box]="#73daca"
|
||||
|
||||
# Memory/disks box outline color
|
||||
theme[mem_box]="#e0af68"
|
||||
|
||||
# Net up/down box outline color
|
||||
theme[net_box]="#7aa2f7"
|
||||
|
||||
# Processes box outline color
|
||||
theme[proc_box]="#f7768e"
|
||||
|
||||
# Box divider line and small boxes line color
|
||||
theme[div_line]="#73daca"
|
||||
|
||||
# Temperature graph colors
|
||||
theme[temp_start]="#7dcfff"
|
||||
theme[temp_mid]="#7aa2f7"
|
||||
theme[temp_end]="#bb9af7"
|
||||
|
||||
# CPU graph colors
|
||||
theme[cpu_start]="#9ece6a"
|
||||
theme[cpu_mid]="#e0af68"
|
||||
theme[cpu_end]="#f7768e"
|
||||
|
||||
# Mem/Disk free meter
|
||||
theme[free_start]="#9ece6a"
|
||||
theme[free_mid]="#e0af68"
|
||||
theme[free_end]="#ff9e64"
|
||||
|
||||
# Mem/Disk cached meter
|
||||
theme[cached_start]="#414868"
|
||||
theme[cached_mid]="#9aa5ce"
|
||||
theme[cached_end]="#c0caf5"
|
||||
|
||||
# Mem/Disk available meter
|
||||
theme[available_start]="#634f30"
|
||||
theme[available_mid]="#965027"
|
||||
theme[available_end]="#ff9e64"
|
||||
|
||||
# Mem/Disk used meter
|
||||
theme[used_start]="#8c4351"
|
||||
theme[used_mid]="#f7768e"
|
||||
theme[used_end]="#ff9e64"
|
||||
|
||||
# Download graph colors
|
||||
theme[download_start]="#414868"
|
||||
theme[download_mid]="#9aa5ce"
|
||||
theme[download_end]="#7dcfff"
|
||||
|
||||
# Upload graph colors
|
||||
theme[upload_start]="#5a4a78"
|
||||
theme[upload_mid]="#bb9af7"
|
||||
theme[upload_end]="#dacef0"
|
||||
|
||||
# Process box color gradient for threads, mem and cpu usage
|
||||
theme[process_start]="#73daca"
|
||||
theme[process_mid]="#e0af68"
|
||||
theme[process_end]="#f7768e"
|
|
@ -2,6 +2,6 @@
|
|||
i3-msg "workspace 1; append_layout /home/marco/.config/i3/terminals.json"
|
||||
urxvt -name "audio" -e $SHELL -c "echo -en '\033]0;audio\a';cava;$SHELL -i"&
|
||||
urxvt -name "pipes" -e $SHELL -c "echo -en '\033]0;pipes\a';pipes -t 0 -p 3 -R -f 50 -r 6000;$SHELL -i"&
|
||||
urxvt -name "processes" -e $SHELL -c "echo -en '\033]0;processes\a';htop;$SHELL -i"&
|
||||
urxvt -name "processes" -e $SHELL -c "echo -en '\033]0;processes\a';bpytop;$SHELL -i"&
|
||||
urxvt -name "info" -e $SHELL -c "cd /dev/shm;echo -en '\033]0;info\a';clear && neofetch | lolcat;fortune | cowsay | lolcat;$SHELL -i"&
|
||||
urxvt -name "bonsai" -e $SHELL -c "echo -en '\033]0;bonsai\a';cbonsai --life 40 --live --multiplier 5 --time 0.1 --infinite;$SHELL -i"&
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Tokyo Night Linux theme
|
||||
|
||||
This collection is aimed to make your Linux environment look like the vscode <a href="https://github.com/enkia/tokyo-night-vscode-theme">Tokyo Night</a> theme. This is currently still a WIP, so expect colour or unthemed applications.
|
||||
This collection is aimed to make your Linux environment look like the vscode <a href="https://github.com/enkia/tokyo-night-vscode-theme">Tokyo Night</a> theme. This is currently still a WIP, so expect colour inconsistencies or unthemed applications.
|
||||
|
||||
Although replacing your icon theme or cursor is not required, this theme goes well with the <a href="https://github.com/numixproject/numix-icon-theme">Numix</a> icon theme.
|
||||
Although replacing your icon theme is not required, this theme goes well with the <a href="https://github.com/numixproject/numix-icon-theme">Numix</a> icon theme.
|
||||
|
||||
The GTK theme was made by modifying the <a href="https://www.gnome-look.org/p/1316887">Material Black</a> theme
|
||||
|
||||
|
@ -24,6 +24,7 @@ Optional Utils
|
|||
- gvim: Contains vim with clipboard support and more
|
||||
- vim-airline: Status bar for vim
|
||||
- kava, neofetch, lolcat, cowsay, wisdom-mod, bash-pipes, cbonsai: important stuff
|
||||
- bpytop: resource monitor
|
||||
- nm-applet: manage your (wireless) connections and has a tray icon
|
||||
- kalu-kde: Notifies you about Arch news or updates and has a tray icon
|
||||
- logiops: Used to trigger keyboard combinations using gestures
|
||||
|
|
Loading…
Reference in a new issue