add niri config

This commit is contained in:
Alexander Navarro 2025-10-26 16:19:47 -03:00
parent 7c1b64881b
commit 5b5e426d94
7 changed files with 501 additions and 3 deletions

View file

@ -9,7 +9,7 @@
"margin-left": 10,
"margin-right": 10,
"modules-left": ["hyprland/workspaces"],
"modules-left": ["niri/workspaces", "niri/window"],
"modules-center": ["clock"],
"modules-right": [
"tray",
@ -23,6 +23,21 @@
],
"hyprland/workspaces": {
"all-outputs": false,
"format": "{icon}",
"format-icons": {
"1": "",
"2": "",
"3": "",
"9": "",
"10": "󰌳",
"default": ""
},
"sort-by-number": true,
"active-only": false
},
"niri/workspaces": {
"all-outputs": false,
"format": "{icon}",
"format-icons": {
@ -38,6 +53,16 @@
"sort-by-number": true,
"active-only": false
},
"niri/window": {
"format": "{app_id}: {title}",
"rewrite": {
"(.*): (.*)": "$2",
"brave-browser: (.*) - Brave": "🌎 $1",
"Kitty: (.*)": " $1"
}
},
"backlight": {
"format": "<span color='#8ccf7e'>󱩖 </span> {percent}% ",
"device": "intel_backlight",

View file

@ -14,6 +14,12 @@
border-radius:5px;
}
#window {
border-radius: 20px;
padding-left: 10px;
padding-right: 10px;
}
#workspaces button{
padding: .25rem .5rem;
margin-right: .5rem;