networkmanager_dmenu: ship
This commit is contained in:
@@ -87,6 +87,7 @@
|
|||||||
./msmtp.nix
|
./msmtp.nix
|
||||||
./nautilus.nix
|
./nautilus.nix
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
|
./networkmanager_dmenu
|
||||||
./newsflash.nix
|
./newsflash.nix
|
||||||
./nheko.nix
|
./nheko.nix
|
||||||
./nicotine-plus.nix
|
./nicotine-plus.nix
|
||||||
|
44
hosts/common/programs/networkmanager_dmenu/config.ini
Normal file
44
hosts/common/programs/networkmanager_dmenu/config.ini
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
[dmenu]
|
||||||
|
dmenu_command = rofi -dmenu
|
||||||
|
# # Note that dmenu_command can contain arguments as well like:
|
||||||
|
# # `dmenu_command = rofi -dmenu -i -theme nmdm`
|
||||||
|
# # `dmenu_command = rofi -dmenu -width 30 -i`
|
||||||
|
# # `dmenu_command = dmenu -i -l 25 -b -nb #909090 -nf #303030`
|
||||||
|
# # `dmenu_command = fuzzel --dmenu`
|
||||||
|
rofi_highlight = True
|
||||||
|
compact = True
|
||||||
|
# pinentry = <Pinentry command> # (Default: None) e.g. `pinentry-gtk`
|
||||||
|
# wifi_chars = <string of 4 unicode characters representing 1-4 bars strength>
|
||||||
|
wifi_chars = ▂▄▆█
|
||||||
|
# wifi_icons = <characters representing signal strength as an icon>
|
||||||
|
wifi_icons =
|
||||||
|
# format = <Python style format string for the access point entries>
|
||||||
|
# # TODO: replace `{sec}` with a locked/unlocked icon
|
||||||
|
format = {icon} {name} [{signal}%%] [{sec}]
|
||||||
|
# # Available variables are:
|
||||||
|
# # * {name} - Access point name
|
||||||
|
# # * {sec} - Security type
|
||||||
|
# # * {signal} - Signal strength on a scale of 0-100
|
||||||
|
# # * {bars} - Bar-based display of signal strength (see wifi_chars)
|
||||||
|
# # * {icon} - Icon-based display of signal strength (see wifi_icons)
|
||||||
|
# # * {max_len_name} and {max_len_sec} are the maximum lengths of {name} / {sec}
|
||||||
|
# # respectively and may be useful for formatting.
|
||||||
|
# list_saved = <True or False> # (Default: False) list saved connections
|
||||||
|
|
||||||
|
[dmenu_passphrase]
|
||||||
|
# # Uses the -password flag for Rofi, -x for bemenu. For dmenu, sets -nb and
|
||||||
|
# # -nf to the same color or uses -P if the dmenu password patch is applied
|
||||||
|
# # https://tools.suckless.org/dmenu/patches/password/
|
||||||
|
# obscure = True
|
||||||
|
# obscure_color = #222222
|
||||||
|
|
||||||
|
[pinentry]
|
||||||
|
# description = <Pinentry description> (Default: Get network password)
|
||||||
|
# prompt = <Pinentry prompt> (Default: Password:)
|
||||||
|
|
||||||
|
[editor]
|
||||||
|
# terminal = <name of terminal program>
|
||||||
|
# gui_if_available = <True or False> (Default: True)
|
||||||
|
|
||||||
|
[nmdm]
|
||||||
|
# rescan_delay = <seconds> # (seconds to wait after a wifi rescan before redisplaying the results)
|
11
hosts/common/programs/networkmanager_dmenu/default.nix
Normal file
11
hosts/common/programs/networkmanager_dmenu/default.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# source: <https://github.com/firecat53/networkmanager-dmenu>
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
sane.programs.networkmanager_dmenu = {
|
||||||
|
suggestedPrograms = [
|
||||||
|
"pidof"
|
||||||
|
];
|
||||||
|
|
||||||
|
fs.".config/networkmanager-dmenu/config.ini".symlink.target = ./config.ini;
|
||||||
|
};
|
||||||
|
}
|
@@ -148,6 +148,7 @@ in
|
|||||||
"fontconfig"
|
"fontconfig"
|
||||||
# "gnome.gnome-bluetooth" # XXX(2023/05/14): broken
|
# "gnome.gnome-bluetooth" # XXX(2023/05/14): broken
|
||||||
# "gnome.gnome-control-center" # XXX(2023/06/28): depends on webkitgtk4_1
|
# "gnome.gnome-control-center" # XXX(2023/06/28): depends on webkitgtk4_1
|
||||||
|
"networkmanager_dmenu"
|
||||||
"nwg-panel"
|
"nwg-panel"
|
||||||
"pipewire"
|
"pipewire"
|
||||||
"playerctl" # for waybar & particularly to have playerctld running
|
"playerctl" # for waybar & particularly to have playerctld running
|
||||||
|
Reference in New Issue
Block a user