📑 Treefmt formatter for nix, json, css, sh and more

This commit is contained in:
2025-01-05 20:36:01 +01:00
parent b30376cdcf
commit 573f2c459e
11 changed files with 390 additions and 274 deletions

View File

@ -5,13 +5,8 @@
// Waybar position (top|bottom|left|right)
// "width": 1280, // Waybar width
// Choose the order of the modules
"modules-left": [
"hyprland/workspaces",
"custom/music"
],
"modules-center": [
"hyprland/window"
],
"modules-left": ["hyprland/workspaces", "custom/music"],
"modules-center": ["hyprland/window"],
"modules-right": [
"hyprland/language",
"wireplumber",
@ -60,28 +55,14 @@
"backlight": {
"device": "intel_backlight",
"format": "{icon}",
"format-icons": [
"",
"",
"",
"",
"",
"",
"",
"",
""
]
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"wireplumber": {
// "scroll-step": 1, // %, can be a float
"format": "{icon} {volume}%",
"format-muted": " ",
"format-icons": {
"default": [
"",
" ",
" "
]
"default": ["", " ", " "]
},
"on-click": "pavucontrol"
},

View File

@ -1,37 +1,37 @@
@import "mocha.css";
* {
font-family: JetBrainsMono Nerd Font;
font-size: 15px;
min-height: 0;
font-family: JetBrainsMono Nerd Font;
font-size: 15px;
min-height: 0;
}
#waybar {
background: transparent;
color: @text;
margin: 5px 5px;
background: transparent;
color: @text;
margin: 5px 5px;
}
#workspaces {
border-radius: 1rem;
background-color: @surface0;
margin: 5px 5px 5px 1rem;
border-radius: 1rem;
background-color: @surface0;
margin: 5px 5px 5px 1rem;
}
#workspaces button {
color: @lavender;
border-radius: 1rem;
padding: 0.4rem;
color: @lavender;
border-radius: 1rem;
padding: 0.4rem;
}
#workspaces button.active {
color: @sky;
border-radius: 1rem;
color: @sky;
border-radius: 1rem;
}
#workspaces button:hover {
color: @sapphire;
border-radius: 1rem;
color: @sapphire;
border-radius: 1rem;
}
#language,
@ -44,61 +44,61 @@
#wireplumber,
#custom-lock,
#custom-power {
background-color: @surface0;
padding: 0.5rem 1rem;
margin: 5px 0;
background-color: @surface0;
padding: 0.5rem 1rem;
margin: 5px 0;
}
#clock {
color: @blue;
color: @blue;
}
#backlight {
color: @yellow;
color: @yellow;
}
#backlight {
border-radius: 0;
border-radius: 0;
}
#language {
color: @red;
border-radius: 1rem 0 0 1rem;
margin-left: 1rem;
color: @red;
border-radius: 1rem 0 0 1rem;
margin-left: 1rem;
}
#wireplumber {
color: @maroon;
color: @maroon;
}
#custom-music {
color: @mauve;
border-radius: 1rem;
color: @mauve;
border-radius: 1rem;
}
#window {
color: @mauve;
border-radius: 1rem;
color: @mauve;
border-radius: 1rem;
}
#custom-lock {
border-radius: 1rem 0 0 1rem;
color: @lavender;
border-radius: 1rem 0 0 1rem;
color: @lavender;
}
#custom-power {
margin-right: 1rem;
border-radius: 0 1rem 1rem 0;
color: @red;
margin-right: 1rem;
border-radius: 0 1rem 1rem 0;
color: @red;
}
#custom-notification {
margin-right: 1rem;
border-radius: 0 1rem 1rem 0;
color: @sapphire;
margin-right: 1rem;
border-radius: 0 1rem 1rem 0;
color: @sapphire;
}
#tray {
margin-right: 1rem;
border-radius: 1rem;
margin-right: 1rem;
border-radius: 1rem;
}