mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Setup xmobar network + networkmanager-dmenu
This commit is contained in:
parent
5cdda32900
commit
65e5842867
|
@ -39,6 +39,7 @@
|
|||
dmenu
|
||||
rofi
|
||||
keepmenu
|
||||
networkmanager_dmenu
|
||||
feh
|
||||
git
|
||||
|
||||
|
@ -158,6 +159,18 @@
|
|||
pref("webgl"webgl.disabled",false);
|
||||
'';
|
||||
|
||||
home.file.".config/networkmanager-dmenu/config.ini".text = ''
|
||||
[dmenu]
|
||||
dmenu_command = rofi -show dmenu
|
||||
compact = True
|
||||
wifi_chars = ▂▄▆█
|
||||
list_saved = True
|
||||
|
||||
[editor]
|
||||
terminal = alacritty
|
||||
# gui_if_available = <True or False> (Default: True)
|
||||
'';
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "emacsclient";
|
||||
};
|
||||
|
|
|
@ -36,9 +36,11 @@ Config { font = "Inconsolata 18"
|
|||
, "--off", "<fc=#{{base0F-hex}}> <fn=1>\xf026</fn> Mute </fc>"
|
||||
, "--offc", "#{{base0F-hex}}"
|
||||
] 1
|
||||
, Run DynNetwork
|
||||
[ "-t", "<fc=#{{base0D-hex}}><fn=1>\xf0200</fn> <dev></fc>"] 1
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " %battery% %bright%<action=`xdotool key Super_L+y`>%default:Master%</action>}%XMonadLog%{<action=`xdotool key Super_L+c`>%date%</action> "
|
||||
, template = " %battery% %bright%<action=`xdotool key Super_L+y`>%default:Master%</action>}%XMonadLog%{<action='networkmanager_dmenu'>%dynnetwork%</action><action=`xdotool key Super_L+c`>%date%</action> "
|
||||
}
|
||||
}
|
||||
|
|
|
@ -759,10 +759,12 @@ Config { font = "Inconsolata 18"
|
|||
, "--off", "<fc=#{{base0F-hex}}> <fn=1>\xf026</fn> Mute </fc>"
|
||||
, "--offc", "#{{base0F-hex}}"
|
||||
] 1
|
||||
, Run DynNetwork
|
||||
[ "-t", "<fc=#{{base0D-hex}}><fn=1>\xf0200</fn> <dev></fc>"] 1
|
||||
]
|
||||
, sepChar = "%"
|
||||
, alignSep = "}{"
|
||||
, template = " %battery% %bright%<action=`xdotool key Super_L+y`>%default:Master%</action>}%XMonadLog%{<action=`xdotool key Super_L+c`>%date%</action> "
|
||||
, template = " %battery% %bright%<action=`xdotool key Super_L+y`>%default:Master%</action>}%XMonadLog%{<action='networkmanager_dmenu'>%dynnetwork%</action><action=`xdotool key Super_L+c`>%date%</action> "
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue