format stuff

This commit is contained in:
Veneficium 2024-12-29 23:25:45 +01:00
parent 039ece57cf
commit 5b77289525
8 changed files with 149 additions and 172 deletions

View file

@ -0,0 +1 @@

View file

@ -15,9 +15,7 @@
"nix.serverSettings": { "nix.serverSettings": {
"nixd": { "nixd": {
"formatting": { "formatting": {
"command": [ "command": ["nixfmt"]
"nixfmt"
]
}, },
"options": { "options": {
"home-manager": { "home-manager": {

View file

@ -1,6 +1,6 @@
return { return {
front_end = "WebGpu"; front_end = "WebGpu",
integrated_title_button_style = "Gnome"; integrated_title_button_style = "Gnome",
window_decorations = "TITLE | RESIZE"; window_decorations = "TITLE | RESIZE",
-- nix-replace -- nix-replace
} }

View file

@ -2,22 +2,9 @@
"layer": "top", "layer": "top",
"position": "top", "position": "top",
"spacing": 10, "spacing": 10,
"modules-left": [ "modules-left": ["niri/workspaces"],
"niri/workspaces" "modules-center": ["clock#1", "clock#2", "clock#3"],
], "modules-right": ["pulseaudio", "memory", "cpu", "battery", "disk", "tray"],
"modules-center": [
"clock#1",
"clock#2",
"clock#3"
],
"modules-right": [
"pulseaudio",
"memory",
"cpu",
"battery",
"disk",
"tray"
],
"sway/workspaces": { "sway/workspaces": {
"disable-scroll": true, "disable-scroll": true,
"format": "{name}" "format": "{name}"
@ -40,10 +27,7 @@
"format-muted": "", "format-muted": "",
"format-icons": { "format-icons": {
"headphones": "", "headphones": "",
"default": [ "default": ["", ""]
"",
""
]
}, },
"scroll-step": 5, "scroll-step": 5,
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", "on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
@ -65,13 +49,7 @@
"critical": 15 "critical": 15
}, },
"format": "{icon} {capacity}%", "format": "{icon} {capacity}%",
"format-icons": [ "format-icons": ["", "", "", "", ""]
"",
"",
"",
"",
""
]
}, },
"disk": { "disk": {
"interval": 5, "interval": 5,