mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 09:53:55 -05:00
home/waybar: use rofi with networkmanager_dmenu for wifi
This commit is contained in:
parent
e4bac1ec6f
commit
a52f7fdbb8
|
@ -46,5 +46,18 @@ in {
|
||||||
window-thumbnail = false;
|
window-thumbnail = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.configFile."networkmanager-dmenu/config.ini".text = ''
|
||||||
|
[dmenu]
|
||||||
|
dmenu_command = ${lib.getExe config.programs.rofi.package}
|
||||||
|
l = 40
|
||||||
|
rofi_highlight = True
|
||||||
|
|
||||||
|
[dmenu_passphrase]
|
||||||
|
rofi_obscure = True
|
||||||
|
|
||||||
|
[editor]
|
||||||
|
gui_if_available = True
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -159,7 +159,7 @@
|
||||||
"tooltip-format-wifi" = "{essid} ({signalStrength}%) {icon}";
|
"tooltip-format-wifi" = "{essid} ({signalStrength}%) {icon}";
|
||||||
"tooltip-format-ethernet" = "{ifname} ";
|
"tooltip-format-ethernet" = "{ifname} ";
|
||||||
"tooltip-format-disconnected" = "Disconnected";
|
"tooltip-format-disconnected" = "Disconnected";
|
||||||
"on-click" = "${lib.getExe config.ar.home.defaultApps.terminalEditor} --class nmtui -e ${pkgs.networkmanager}/bin/nmtui";
|
"on-click" = lib.getExe pkgs.networkmanager_dmenu;
|
||||||
};
|
};
|
||||||
|
|
||||||
"tray" = {"spacing" = 15;};
|
"tray" = {"spacing" = 15;};
|
||||||
|
@ -193,7 +193,7 @@
|
||||||
|
|
||||||
"group/hardware" = {
|
"group/hardware" = {
|
||||||
"orientation" = "horizontal";
|
"orientation" = "horizontal";
|
||||||
modules = ["pulseaudio" "power-profiles-daemon" "battery" "custom/logout"];
|
modules = ["pulseaudio" "network" "power-profiles-daemon" "battery" "custom/logout"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -125,7 +125,6 @@ in {
|
||||||
scripts.idleD
|
scripts.idleD
|
||||||
(lib.getExe pkgs.wayland-pipewire-idle-inhibit)
|
(lib.getExe pkgs.wayland-pipewire-idle-inhibit)
|
||||||
(lib.getExe' pkgs.blueman "blueman-applet")
|
(lib.getExe' pkgs.blueman "blueman-applet")
|
||||||
(lib.getExe' pkgs.networkmanagerapplet "nm-applet")
|
|
||||||
(lib.getExe' pkgs.playerctl "playerctld")
|
(lib.getExe' pkgs.playerctl "playerctld")
|
||||||
(lib.getExe' pkgs.swayosd "swayosd-server")
|
(lib.getExe' pkgs.swayosd "swayosd-server")
|
||||||
(lib.getExe pkgs.mako)
|
(lib.getExe pkgs.mako)
|
||||||
|
|
|
@ -159,7 +159,6 @@ in {
|
||||||
{command = "${scripts.idleD}";}
|
{command = "${scripts.idleD}";}
|
||||||
{command = lib.getExe pkgs.autotiling;}
|
{command = lib.getExe pkgs.autotiling;}
|
||||||
{command = lib.getExe' pkgs.blueman "blueman-applet";}
|
{command = lib.getExe' pkgs.blueman "blueman-applet";}
|
||||||
{command = lib.getExe' pkgs.networkmanagerapplet "nm-applet";}
|
|
||||||
{command = lib.getExe' pkgs.playerctl "playerctld";}
|
{command = lib.getExe' pkgs.playerctl "playerctld";}
|
||||||
{command = lib.getExe' pkgs.swayosd "swayosd-server";}
|
{command = lib.getExe' pkgs.swayosd "swayosd-server";}
|
||||||
{command = lib.getExe pkgs.mako;}
|
{command = lib.getExe pkgs.mako;}
|
||||||
|
|
Loading…
Reference in a new issue