This commit is contained in:
iFargle 2024-01-04 22:22:55 +09:00
parent e9f0f7ba53
commit 0cdbaa40f7
4 changed files with 11 additions and 87 deletions

View file

@ -1,4 +1,4 @@
{ ...}: { { inputs, ... }: {
imports = [ ../../common/waybar/scripts.nix ]; imports = [ ../../common/waybar/scripts.nix ];
programs.waybar = { programs.waybar = {
@ -13,7 +13,7 @@
"clock" "clock"
"mpris" "mpris"
]; ];
module-center = [ modules-center = [
"hyprland/workspaces" "hyprland/workspaces"
]; ];
modules-right = [ modules-right = [
@ -126,7 +126,6 @@
* { * {
border: none; border: none;
border-radius: 0; border-radius: 0;
font-family: JetbrainsMono Regular;
} }
#waybar { #waybar {
@ -172,7 +171,7 @@
#custom-wlogout, #custom-wlogout,
#window { #window {
font-size: 16px; font-size: 16px;
padding: 0px 10px; // padding: 0px 10px;
margin: 5px; margin: 5px;
border-radius: 5px; border-radius: 5px;
font-weight: bold; font-weight: bold;

View file

@ -10,7 +10,7 @@
settings = { settings = {
hostname-only-if-ssh = true; hostname-only-if-ssh = true;
cwd-max-depth = 1; cwd-max-depth = 1;
condensed = true; condensed = false;
# valid choices: default, low-contrast, gruvbox, solarized-dark16, solarized-light16 # valid choices: default, low-contrast, gruvbox, solarized-dark16, solarized-light16
# theme = "gruvbox"; # theme = "gruvbox";
}; };

View file

@ -1,83 +1,8 @@
{ ... }: { { ... }: {
home.file.".config/btop/btop.conf".text = '' programs.btop = {
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" enable = true;
color_theme = "tty" settings = {
theme_background = True color_theme = "TTY";
truecolor = True };
force_tty = False };
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
vim_keys = False
rounded_corners = True
#* Default symbols to use for graph creation, "braille", "block" or "tty".
#* "braille" offers the highest resolution but might not be included in all fonts.
#* "block" has half the resolution of braille but uses more common characters.
#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY.
#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view.
graph_symbol = "braille"
graph_symbol_cpu = "default"
graph_symbol_mem = "default"
graph_symbol_net = "default"
graph_symbol_proc = "default"
shown_boxes = "cpu net proc mem"
update_ms = 1000
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
proc_sorting = "cpu lazy"
proc_reversed = False
proc_tree = True
proc_colors = True
proc_gradient = True
proc_per_core = False
proc_mem_bytes = True
proc_cpu_graphs = True
proc_info_smaps = False
proc_left = False
proc_filter_kernel = False
cpu_graph_upper = "total"
cpu_graph_lower = "total"
cpu_invert_lower = True
cpu_single_graph = False
cpu_bottom = False
show_uptime = True
check_temp = True
cpu_sensor = "Auto"
show_coretemp = True
cpu_core_map = ""
temp_scale = "celsius"
base_10_sizes = False
show_cpu_freq = True
#* Special formatting: /host = hostname | /user = username | /uptime = system uptime
clock_format = "[/user@/host] [/uptime] [%X]"
background_update = True
custom_cpu_name = ""
disks_filter = ""
mem_graphs = True
mem_below_net = False
zfs_arc_cached = True
show_swap = True
swap_disk = True
show_disks = True
only_physical = True
use_fstab = True
zfs_hide_datasets = False
disk_free_priv = False
show_io_stat = True
io_mode = False
io_graph_combined = False
io_graph_speeds = ""
net_download = 100
net_upload = 100
net_auto = True
net_sync = False
net_iface = ""
show_battery = True
selected_battery = "Auto"
log_level = "WARNING"
'';
} }

View file

@ -47,7 +47,7 @@
enable = true; enable = true;
settings = { settings = {
default_session = { default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland -g 'Authorized Personnel Only'"; command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland";
user = "greeter"; user = "greeter";
}; };
}; };