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

40
.vscode/tasks.json vendored
View file

@ -1,21 +1,21 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Rebuild",
"type": "shell",
"command": "./scripts/rebuild.sh",
"presentation": {
"reveal": "always",
"panel": "new",
"focus": true,
"showReuseMessage": false
},
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
"version": "2.0.0",
"tasks": [
{
"label": "Rebuild",
"type": "shell",
"command": "./scripts/rebuild.sh",
"presentation": {
"reveal": "always",
"panel": "new",
"focus": true,
"showReuseMessage": false
},
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}

View file

@ -1,42 +1,42 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"padding": {
"top": 2
}
},
"modules": [
"title",
"separator",
"os",
"host",
"kernel",
"uptime",
"packages",
"shell",
"editor",
"wm",
"theme",
"font",
"terminal",
{
"type": "display"
},
{
"type": "cpu",
"showPeCoreCount": true
},
{
"type": "gpu",
"driverSpecific": true
},
"memory",
"physicalmemory",
"poweradapter",
"player",
"bluetooth",
"gamepad",
"break",
"colors"
]
}
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"logo": {
"padding": {
"top": 2
}
},
"modules": [
"title",
"separator",
"os",
"host",
"kernel",
"uptime",
"packages",
"shell",
"editor",
"wm",
"theme",
"font",
"terminal",
{
"type": "display"
},
{
"type": "cpu",
"showPeCoreCount": true
},
{
"type": "gpu",
"driverSpecific": true
},
"memory",
"physicalmemory",
"poweradapter",
"player",
"bluetooth",
"gamepad",
"break",
"colors"
]
}

View file

@ -0,0 +1 @@

View file

@ -1,32 +1,30 @@
{
"update.mode": "none",
"extensions.autoCheckUpdates": false,
"workbench.iconTheme": "material-icon-theme",
"workbench.productIconTheme": "material-product-icons",
"editor.fontLigatures": true,
"terminal.integrated.fontLigatures": true,
"workbench.sideBar.location": "right",
"workbench.startupEditor": "welcomePageInEmptyWorkbench",
"editor.formatOnSave": true,
"C_Cpp.clang_format_fallbackStyle": "LLVM",
"nix.enableLanguageServer": true,
"nix.serverPath": "nixd",
"nix.serverSettings": {
"nixd": {
"formatting": {
"command": [
"nixfmt"
]
},
"options": {
"home-manager": {
"expr": "(builtins.getFlake \"/home/fedfer/Documents/sys-config\").homeConfigurations.fedfer.options"
},
"nixos": {
"expr": "(builtins.getFlake \"/home/fedfer/Documents/sys-config\").nixosConfigurations.fedfer-main-laptop-nixos.options"
}
}
}
}
}
"update.mode": "none",
"extensions.autoCheckUpdates": false,
"workbench.iconTheme": "material-icon-theme",
"workbench.productIconTheme": "material-product-icons",
"editor.fontLigatures": true,
"terminal.integrated.fontLigatures": true,
"workbench.sideBar.location": "right",
"workbench.startupEditor": "welcomePageInEmptyWorkbench",
"editor.formatOnSave": true,
"C_Cpp.clang_format_fallbackStyle": "LLVM",
"nix.enableLanguageServer": true,
"nix.serverPath": "nixd",
"nix.serverSettings": {
"nixd": {
"formatting": {
"command": ["nixfmt"]
},
"options": {
"home-manager": {
"expr": "(builtins.getFlake \"/home/fedfer/Documents/sys-config\").homeConfigurations.fedfer.options"
},
"nixos": {
"expr": "(builtins.getFlake \"/home/fedfer/Documents/sys-config\").nixosConfigurations.fedfer-main-laptop-nixos.options"
}
}
}
}
}

View file

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

View file

@ -1,48 +1,48 @@
{
"telemetry": {
"diagnostics": false,
"metrics": false
},
"auto_update": false,
"project_panel": {
"dock": "right"
},
"terminal": {
"font_family": "FiraCode Nerd Font Mono",
"env": {
"TERM": "xterm-256color"
}
},
"features": {
"inline_completion_provider": "none"
},
"assistant": {
"enabled": false,
"version": "2"
},
"lsp": {
"rust-analyzer": {
"binary": {
"path": "/home/fedfer/.nix-profile/bin/rust-analyzer"
}
},
"nixd": {
"formatting": {
"command": ["nixfmt"]
},
"options": {
"home-manager": {
"expr": "(builtins.getFlake \"/home/fedfer/Documents/sys-config\").homeConfigurations.fedfer.options"
},
"nixos": {
"expr": "(builtins.getFlake \"/home/fedfer/Documents/sys-config\").nixosConfigurations.fedfer-main-laptop-nixos.options"
}
}
}
},
"languages": {
"Nix": {
"language_servers": ["nixd", "!nil"]
}
}
"telemetry": {
"diagnostics": false,
"metrics": false
},
"auto_update": false,
"project_panel": {
"dock": "right"
},
"terminal": {
"font_family": "FiraCode Nerd Font Mono",
"env": {
"TERM": "xterm-256color"
}
},
"features": {
"inline_completion_provider": "none"
},
"assistant": {
"enabled": false,
"version": "2"
},
"lsp": {
"rust-analyzer": {
"binary": {
"path": "/home/fedfer/.nix-profile/bin/rust-analyzer"
}
},
"nixd": {
"formatting": {
"command": ["nixfmt"]
},
"options": {
"home-manager": {
"expr": "(builtins.getFlake \"/home/fedfer/Documents/sys-config\").homeConfigurations.fedfer.options"
},
"nixos": {
"expr": "(builtins.getFlake \"/home/fedfer/Documents/sys-config\").nixosConfigurations.fedfer-main-laptop-nixos.options"
}
}
}
},
"languages": {
"Nix": {
"language_servers": ["nixd", "!nil"]
}
}
}

View file

@ -1 +1 @@
{}
{}

View file

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