This commit is contained in:
beanigen 2025-01-30 14:03:13 +08:00
parent 83d9282898
commit 0d0ac80bb5
No known key found for this signature in database
6 changed files with 38 additions and 7 deletions

View file

@ -56,5 +56,17 @@
user.signingkey = "~/.ssh/id_ed25519.pub";
init.defaultBranch = "main";
};
};
};
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
};
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-backgroundremoval
obs-pipewire-audio-capture
];
};
}

View file

@ -37,6 +37,7 @@
vlc
playerctl
firefox
v4l-utils
libreoffice
];
}

View file

@ -9,7 +9,7 @@
"position": "top",
"modules-center": ["group/mpdg"],
"modules-left": ["group/dtray"],
"modules-right": ["clock", "wireplumber"],
"modules-right": ["battery", "battery#bat1", "battery#bat2", "clock", "wireplumber"],
"group/dtray": {
@ -60,5 +60,20 @@
"format": "{title} - {album} - {artist}",
"format-paused": "{title} - {album} - {artist}",
},
"battery": {
"bat": "BAT0",
"interval": 5,
"format-icons": [" ", " ", " ", " ", " "],
"format": "{icon} {capacity}%",
"tooltip-format": "BAT0, {power}W"
},
"battery#bat1": {
"bat": "BAT1",
"tooltip-format": "BAT1, {power}W"
},
"battery#bat2": {
"bat": "BAT2",
"tooltip-format": "BAT2, {power}W"
},
}
]