Enable networkmanager-applet, add to on-click for waybar module
This commit is contained in:
parent
d0771d3418
commit
f80f3a8bdd
|
@ -145,9 +145,10 @@
|
||||||
format-icons = [" " " " " " " "];
|
format-icons = [" " " " " " " "];
|
||||||
format-wifi = "{icon}";
|
format-wifi = "{icon}";
|
||||||
format-ethernet = " ";
|
format-ethernet = " ";
|
||||||
tooltip-format = "{essid} ({signalStrength}%)";
|
|
||||||
format-linked = " ";
|
format-linked = " ";
|
||||||
format-disconnected = " ";
|
format-disconnected = " ";
|
||||||
|
tooltip-format = "{essid} ({signalStrength}%)";
|
||||||
|
on-click = "${pkgs.networkmanagerapplet}/bin/nm-connection-editor";
|
||||||
};
|
};
|
||||||
bluetooth = {
|
bluetooth = {
|
||||||
format = "";
|
format = "";
|
||||||
|
@ -156,8 +157,7 @@
|
||||||
format-on = "";
|
format-on = "";
|
||||||
format-connected = "";
|
format-connected = "";
|
||||||
tooltip-format = "{status} | {device_alias}";
|
tooltip-format = "{status} | {device_alias}";
|
||||||
on-click = "${pkgs.bluez}/bin/bluetoothctl power on";
|
on-click = "${pkgs.blueman}/bin/blueman-manager";
|
||||||
on-click-right = "${pkgs.bluez}/bin/bluetoothctl power off";
|
|
||||||
};
|
};
|
||||||
"clock#calendar" = {
|
"clock#calendar" = {
|
||||||
format = " {:%Y-%m-%d}";
|
format = " {:%Y-%m-%d}";
|
||||||
|
@ -202,24 +202,24 @@
|
||||||
"custom/notification" = let
|
"custom/notification" = let
|
||||||
swaync = pkgs.swaynotificationcenter;
|
swaync = pkgs.swaynotificationcenter;
|
||||||
in {
|
in {
|
||||||
"tooltip" = false;
|
tooltip = false;
|
||||||
"format" = "{icon}{}";
|
format = "{icon}{}";
|
||||||
"format-icons" = {
|
format-icons = {
|
||||||
"notification" = " ";
|
notification = " ";
|
||||||
"none" = " ";
|
none = " ";
|
||||||
"dnd-notification" = " ";
|
dnd-notification = " ";
|
||||||
"dnd-none" = " ";
|
dnd-none = " ";
|
||||||
"inhibited-notification" = " ";
|
inhibited-notification = " ";
|
||||||
"inhibited-none" = " ";
|
inhibited-none = " ";
|
||||||
"dnd-inhibited-notification" = " ";
|
dnd-inhibited-notification = " ";
|
||||||
"dnd-inhibited-none" = " ";
|
dnd-inhibited-none = " ";
|
||||||
};
|
};
|
||||||
"return-type" = "json";
|
return-type = "json";
|
||||||
"exec-if" = "which ${swaync}/bin/swaync-client";
|
exec-if = "which ${swaync}/bin/swaync-client";
|
||||||
"exec" = "${swaync}/bin/swaync-client -swb";
|
exec = "${swaync}/bin/swaync-client -swb";
|
||||||
"on-click" = "${swaync}/bin/swaync-client -t -sw";
|
on-click = "${swaync}/bin/swaync-client -t -sw";
|
||||||
"on-click-right" = "${swaync}/bin/swaync-client -d -sw";
|
on-click-right = "${swaync}/bin/swaync-client -d -sw";
|
||||||
"escape" = true;
|
escape = true;
|
||||||
};
|
};
|
||||||
"custom/weather" = let
|
"custom/weather" = let
|
||||||
date-format = "%Y-%m-%d";
|
date-format = "%Y-%m-%d";
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
programs = {
|
programs = {
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
light.enable = true;
|
light.enable = true;
|
||||||
|
nm-applet.enable = true;
|
||||||
noisetorch.enable = true;
|
noisetorch.enable = true;
|
||||||
kdeconnect.enable = true;
|
kdeconnect.enable = true;
|
||||||
file-roller.enable = true;
|
file-roller.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue