mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: add stylix as custom module
This commit is contained in:
parent
ec82754ae1
commit
821d5cb78e
8 changed files with 157 additions and 67 deletions
|
|
@ -46,7 +46,9 @@
|
|||
};
|
||||
};
|
||||
|
||||
targets.emacs.enable = false;
|
||||
targets.waybar.enable = false;
|
||||
targets = {
|
||||
emacs.enable = false;
|
||||
waybar.enable = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ ... }:
|
||||
{ config, ... }:
|
||||
{
|
||||
programs.waybar = {
|
||||
|
||||
|
|
@ -137,6 +137,7 @@
|
|||
tooltip-format = "Memory: {used:0.1f}G/{total:0.1f}G\nSwap: {swapUsed}G/{swapTotal}G";
|
||||
};
|
||||
cpu = {
|
||||
format = config.swarselsystems.cpuString;
|
||||
min-length = 6;
|
||||
interval = 5;
|
||||
format-icons = [ "▁" "▂" "▃" "▄" "▅" "▆" "▇" "█" ];
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{ pkgs, home-manager, ... }:
|
||||
{
|
||||
stylix = {
|
||||
|
||||
|
|
@ -48,4 +48,10 @@
|
|||
|
||||
targets.grub.enable = false; # the styling makes grub more ugly
|
||||
};
|
||||
home-manager.users.swarsel = {
|
||||
stylix.targets = {
|
||||
emacs.enable = false;
|
||||
waybar.enable = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
# waybar config - TEMPLATE - update for cores and temp
|
||||
programs.waybar.settings.mainBar = {
|
||||
cpu.format = "{icon0} {icon1} {icon2} {icon3} {icon4} {icon5} {icon6} {icon7}";
|
||||
# temperature.hwmon-path = "/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon4/temp1_input";
|
||||
temperature.hwmon-path.abs = "/sys/devices/platform/thinkpad_hwmon/hwmon/";
|
||||
temperature.input-filename = "temp1_input";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue