Compare commits
2 commits
a9b044b1f1
...
c8c70a13fe
Author | SHA1 | Date | |
---|---|---|---|
c8c70a13fe | |||
658eea8539 |
2 changed files with 45 additions and 3 deletions
|
@ -297,6 +297,7 @@
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
luasnip
|
||||||
mason-lspconfig-nvim
|
mason-lspconfig-nvim
|
||||||
{
|
{
|
||||||
plugin = mason-nvim;
|
plugin = mason-nvim;
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
_: {
|
{hostConfig, ...}:
|
||||||
|
{
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemd = {
|
systemd = {
|
||||||
|
@ -15,8 +16,13 @@ _: {
|
||||||
"sway/workspaces"
|
"sway/workspaces"
|
||||||
"sway/mode"
|
"sway/mode"
|
||||||
];
|
];
|
||||||
modules-right = [
|
modules-right = [ "network" ]
|
||||||
"network"
|
++ (if hostConfig.laptop then
|
||||||
|
[ "custom/sep"
|
||||||
|
"backlight"
|
||||||
|
"battery"]
|
||||||
|
else null
|
||||||
|
) ++ [
|
||||||
"custom/sep"
|
"custom/sep"
|
||||||
"memory"
|
"memory"
|
||||||
"cpu"
|
"cpu"
|
||||||
|
@ -96,6 +102,41 @@ _: {
|
||||||
"format" = "{temperatureC}°C ";
|
"format" = "{temperatureC}°C ";
|
||||||
"thermal-zone" = "6";
|
"thermal-zone" = "6";
|
||||||
};
|
};
|
||||||
|
"backlight" = {
|
||||||
|
"format" = "{percent}% {icon}";
|
||||||
|
"format-icons" = [
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
""
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"battery" = {
|
||||||
|
"tooltip" = false;
|
||||||
|
"states" = {
|
||||||
|
"full" = 100;
|
||||||
|
"warning" = 30;
|
||||||
|
"critical" = 15;
|
||||||
|
};
|
||||||
|
"format" = "{capacity}% {icon}";
|
||||||
|
"format-charging" = "{capacity}% ";
|
||||||
|
"format-plugged" = "{capacity}% ";
|
||||||
|
"format-alt" = "{time} {icon}";
|
||||||
|
"format-icons" = [
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
" "
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
style = ''
|
style = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue