fix: btop config

This commit is contained in:
DACHXY 2025-01-03 20:08:29 +08:00
parent 5951b04024
commit 43bb08b86d
6 changed files with 25 additions and 45 deletions

View file

@ -1,5 +1,5 @@
color_theme = "/home/gpskwlkr/.config/btop/themes/catppuccin_macchiato.theme" color_theme = "catppuccin_macchiato.theme"
theme_background = True theme_background = False
truecolor = True truecolor = True
force_tty = False 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" presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
@ -11,7 +11,7 @@ graph_symbol_mem = "default"
graph_symbol_net = "default" graph_symbol_net = "default"
graph_symbol_proc = "default" graph_symbol_proc = "default"
shown_boxes = "cpu mem net proc" shown_boxes = "cpu mem net proc"
update_ms = 2000 update_ms = 1000
proc_sorting = "cpu lazy" proc_sorting = "cpu lazy"
proc_reversed = False proc_reversed = False
proc_tree = False proc_tree = False

View file

@ -1,27 +0,0 @@
sort=-time
layer=overlay
width=300
height=110
border-size=2
border-radius=15
icons=0
max-icon-size=64
default-timeout=5000
ignore-timeout=1
font=monospace 14
[urgency=high]
border-color=#f5a97f
[category=mpd]
default-timeout=2000
group-by=category
# Colors
background-color=#24273a
text-color=#cad3f5
border-color=#8aadf4
progress-color=over #363a4f

View file

@ -16,7 +16,6 @@ in
}; };
".config/btop".source = "${configDir}/btop"; ".config/btop".source = "${configDir}/btop";
".config/rofi".source = "${configDir}/rofi"; ".config/rofi".source = "${configDir}/rofi";
".config/mako".source = "${configDir}/mako";
".config/scripts".source = "${configDir}/scripts"; ".config/scripts".source = "${configDir}/scripts";
".config/starship.toml".source = "${configDir}/starship/starship.toml"; ".config/starship.toml".source = "${configDir}/starship/starship.toml";
".config/macchiato.toml".source = "${configDir}/starship/macchiato.toml"; ".config/macchiato.toml".source = "${configDir}/starship/macchiato.toml";

View file

@ -43,7 +43,7 @@ in
qt = { qt = {
enable = true; enable = true;
style.name = "adwaita-dark"; style.name = "adwaita";
style.package = pkgs.adwaita-qt; style.package = pkgs.adwaita-qt6;
}; };
} }

View file

@ -1,4 +1,6 @@
# config from https://github.com/shub39/dotfiles
{ ... }: { ... }:
{ {
services.swaync = { services.swaync = {
enable = true; enable = true;
@ -39,9 +41,12 @@
@define-color borderc #ebdbb2; @define-color borderc #ebdbb2;
@define-color textc #282828; @define-color textc #282828;
.SwayNotificationCenterNotificationWindow { * {
background: @bgc; font-family: JetBrainsMonoNerdFontMono;
background-color: @bgc; font-weight: bold;
font-size: 15px;
border-width: 3px;
border-color: #ebdbb2;
} }
.control-center .notification-row:focus, .control-center .notification-row:focus,
@ -59,7 +64,7 @@
.notification { .notification {
background: @textc; background: @textc;
margin: 0px; margin: 0px;
border-radius: 0px; border-radius: 6px;
border-width: 3px; border-width: 3px;
border-color: #ebdbb2; border-color: #ebdbb2;
} }
@ -84,7 +89,7 @@
box-shadow: none; box-shadow: none;
background: @borderc; background: @borderc;
color: @textc; color: @textc;
transition: all 0.15s ease-in-out; transition: all .15s ease-in-out;
border: none; border: none;
} }
@ -120,7 +125,7 @@
} }
.control-center-list-placeholder { .control-center-list-placeholder {
opacity: 0.5; opacity: .5;
} }
.floating-notifications { .floating-notifications {
@ -138,7 +143,7 @@
font-size: 1.5rem; font-size: 1.5rem;
} }
.widget-title > button { .widget-title>button {
font-size: 1rem; font-size: 1rem;
color: @borderc; color: @borderc;
padding: 10px; padding: 10px;
@ -148,7 +153,7 @@
border-radius: 5px; border-radius: 5px;
} }
.widget-title > button:hover { .widget-title>button:hover {
background: @borderc; background: @borderc;
color: #282828; color: #282828;
} }
@ -157,7 +162,7 @@
margin: 10px 10px 10px 10px; margin: 10px 10px 10px 10px;
} }
.widget-label > label { .widget-label>label {
font-size: 1rem; font-size: 1rem;
color: @textc; color: @textc;
} }
@ -169,7 +174,7 @@
border-radius: 20px; border-radius: 20px;
} }
.widget-mpris > box > button { .widget-mpris>box>button {
border-radius: 20px; border-radius: 20px;
} }

View file

@ -1,7 +1,10 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ polkit polkit_gnome ]; environment.systemPackages = with pkgs; [
polkit
polkit_gnome
];
# polkit-gnome execution is handled by Hyprland exec.nix # polkit-gnome execution is handled by Hyprland exec.nix
# as hyprland do not cooperate with graphical-session.target # as hyprland do not cooperate with graphical-session.target
services.gnome.gnome-keyring.enable = true; services.gnome.gnome-keyring.enable = true;