waybar: add some on-click goddies
This commit is contained in:
parent
6211d21c36
commit
1f635ff6ac
1 changed files with 9 additions and 1 deletions
|
|
@ -1,6 +1,11 @@
|
||||||
{
|
{
|
||||||
flake.modules.homeManager.cholli =
|
flake.modules.homeManager.cholli =
|
||||||
{ lib, osConfig, ... }:
|
{
|
||||||
|
lib,
|
||||||
|
osConfig,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
|
|
||||||
config = lib.mkIf osConfig.programs.niri.enable {
|
config = lib.mkIf osConfig.programs.niri.enable {
|
||||||
|
|
@ -39,11 +44,13 @@
|
||||||
};
|
};
|
||||||
"wireplumber" = {
|
"wireplumber" = {
|
||||||
"format" = " {volume}%";
|
"format" = " {volume}%";
|
||||||
|
"on-click" = "${lib.getExe pkgs.pavucontrol}";
|
||||||
"max-volume" = 100;
|
"max-volume" = 100;
|
||||||
"scroll-step" = 5;
|
"scroll-step" = 5;
|
||||||
};
|
};
|
||||||
"cpu" = {
|
"cpu" = {
|
||||||
"format" = " {usage}%";
|
"format" = " {usage}%";
|
||||||
|
"on-click" = "${lib.getExe pkgs.kitty} ${lib.getExe pkgs.btop}";
|
||||||
};
|
};
|
||||||
"memory" = {
|
"memory" = {
|
||||||
"interval" = 30;
|
"interval" = 30;
|
||||||
|
|
@ -51,6 +58,7 @@
|
||||||
};
|
};
|
||||||
"bluetooth" = {
|
"bluetooth" = {
|
||||||
"format" = "";
|
"format" = "";
|
||||||
|
"on-click" = "${lib.getExe pkgs.kitty} ${lib.getExe pkgs.bluetui}";
|
||||||
"format-disabled" = "";
|
"format-disabled" = "";
|
||||||
"format-connected" = "";
|
"format-connected" = "";
|
||||||
"tooltip-format" = "{controller_alias}\t{controller_address}";
|
"tooltip-format" = "{controller_alias}\t{controller_address}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue