mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Format with prettier
This commit is contained in:
parent
f5a827eacf
commit
6db92f021d
12 changed files with 1149 additions and 1152 deletions
|
|
@ -83,6 +83,7 @@
|
|||
(inputs.treefmt-nix.lib.evalModule pkgs {
|
||||
projectRootFile = "flake.nix";
|
||||
programs.nixfmt-rfc-style.enable = true;
|
||||
programs.prettier.enable = true;
|
||||
}).config.build.wrapper;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -236,8 +236,6 @@
|
|||
},
|
||||
"split-channels": false
|
||||
},
|
||||
"plugins_order": [
|
||||
"equalizer#0"
|
||||
]
|
||||
"plugins_order": ["equalizer#0"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -720,8 +720,6 @@
|
|||
},
|
||||
"split-channels": false
|
||||
},
|
||||
"plugins_order": [
|
||||
"equalizer#0"
|
||||
]
|
||||
"plugins_order": ["equalizer#0"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
58
wrappers/waybar/config.json
Normal file
58
wrappers/waybar/config.json
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
{
|
||||
"output": ["DP-1", "eDP-1"],
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"spacing": 10,
|
||||
|
||||
"modules-left": ["clock"],
|
||||
"modules-center": ["hyprland/workspaces"],
|
||||
"modules-right": ["tray", "network", "wireplumber", "backlight", "battery"],
|
||||
|
||||
"clock": {
|
||||
"format": " {:%H:%M}",
|
||||
"tooltip-format": "{:%d.%m.%Y}"
|
||||
},
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"active-only": false,
|
||||
"all-outputs": true
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 20,
|
||||
"spacing": 6
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format": "",
|
||||
"format-disconnected": "",
|
||||
"format-ethernet": "",
|
||||
"format-icons": ["", "", "", ""],
|
||||
"format-wifi": "{icon}",
|
||||
"interval": 10,
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"tooltip-format-ethernet": " {bandwidthDownBits} {bandwidthUpBits}",
|
||||
"tooltip-format-wifi": "{essid} {bandwidthDownBits} {bandwidthUpBits}"
|
||||
},
|
||||
|
||||
"wireplumber": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-icons": ["", "", ""],
|
||||
"format-muted": "",
|
||||
"scroll-step": "5"
|
||||
},
|
||||
|
||||
"backlight": {
|
||||
"device": "amdgpu_bl1",
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": ["", "", ""]
|
||||
},
|
||||
"battery": {
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||
"states": {
|
||||
"critical": 5,
|
||||
"warning": 15
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
{
|
||||
"output": ["DP-1", "eDP-1"],
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"spacing": 10,
|
||||
|
||||
"modules-left": ["clock"],
|
||||
"modules-center": ["hyprland/workspaces"],
|
||||
"modules-right": ["tray", "network", "wireplumber", "backlight", "battery"],
|
||||
|
||||
"clock": {
|
||||
"format": " {:%H:%M}",
|
||||
"tooltip-format": "{:%d.%m.%Y}"
|
||||
},
|
||||
|
||||
"hyprland/workspaces": {
|
||||
"active-only": false,
|
||||
"all-outputs": true
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 20,
|
||||
"spacing": 6
|
||||
},
|
||||
|
||||
"network": {
|
||||
"format": "",
|
||||
"format-disconnected": "",
|
||||
"format-ethernet": "",
|
||||
"format-icons": ["", "", "", ""],
|
||||
"format-wifi": "{icon}",
|
||||
"interval": 10,
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"tooltip-format-ethernet": " {bandwidthDownBits} {bandwidthUpBits}",
|
||||
"tooltip-format-wifi": "{essid} {bandwidthDownBits} {bandwidthUpBits}"
|
||||
},
|
||||
|
||||
"wireplumber": {
|
||||
"format": "{icon} {volume}%",
|
||||
"format-icons": ["", "", ""],
|
||||
"format-muted": "",
|
||||
"scroll-step": "5"
|
||||
},
|
||||
|
||||
"backlight": {
|
||||
"device": "amdgpu_bl1",
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": ["", "", ""]
|
||||
},
|
||||
"battery": {
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""],
|
||||
"states": {
|
||||
"critical": 5,
|
||||
"warning": 15
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6,7 +6,7 @@ assembleWrapper {
|
|||
basePackage = pkgs.waybar;
|
||||
flags = [
|
||||
"--config"
|
||||
./config.jsonc
|
||||
./config.json
|
||||
"--style"
|
||||
./style.css
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue