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"
theme_background = True
color_theme = "catppuccin_macchiato.theme"
theme_background = False
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"
@ -11,7 +11,7 @@ graph_symbol_mem = "default"
graph_symbol_net = "default"
graph_symbol_proc = "default"
shown_boxes = "cpu mem net proc"
update_ms = 2000
update_ms = 1000
proc_sorting = "cpu lazy"
proc_reversed = 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/rofi".source = "${configDir}/rofi";
".config/mako".source = "${configDir}/mako";
".config/scripts".source = "${configDir}/scripts";
".config/starship.toml".source = "${configDir}/starship/starship.toml";
".config/macchiato.toml".source = "${configDir}/starship/macchiato.toml";

View file

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

View file

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

View file

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