Integrate networkmanager_dmenu with i3 and polybar
This commit is contained in:
parent
ea1a22a5e1
commit
1345847603
|
@ -179,6 +179,9 @@ bindsym $mod+Shift+r restart
|
||||||
# exit i3 (logs you out of your X session)
|
# exit i3 (logs you out of your X session)
|
||||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
||||||
|
|
||||||
|
# networkmanager dmenu plugin
|
||||||
|
bindsym $mod+n exec --no-startup-id networkmanager_dmenu
|
||||||
|
|
||||||
# Gap config
|
# Gap config
|
||||||
gaps inner 5
|
gaps inner 5
|
||||||
|
|
||||||
|
|
|
@ -97,20 +97,20 @@ interface = ${config.interface}
|
||||||
|
|
||||||
interval = 3
|
interval = 3
|
||||||
|
|
||||||
format-connected = <ramp-signal> <label-connected>
|
format-connected = %{A1:networkmanager_dmenu:}<ramp-signal> <label-connected>%{A}
|
||||||
format-connected-foreground = ${colors.success}
|
format-connected-foreground = ${colors.success}
|
||||||
|
|
||||||
label-connected = %essid% %downspeed:9% %upspeed:9%
|
label-connected = %essid% %downspeed:9% %upspeed:9%
|
||||||
|
|
||||||
format-disconnected = <label-disconnected>
|
format-disconnected = %{A1:networkmanager_dmenu:}<label-disconnected>%{A}
|
||||||
format-disconnected-foreground = ${colors.urgent}
|
format-disconnected-foreground = ${colors.urgent}
|
||||||
|
|
||||||
label-disconnected =
|
label-disconnected =
|
||||||
|
|
||||||
ramp-signal-0 =
|
ramp-signal-0 = ▂
|
||||||
ramp-signal-1 =
|
ramp-signal-1 = ▂▄
|
||||||
ramp-signal-2 =
|
ramp-signal-2 = ▂▄▆
|
||||||
ramp-signal-3 =
|
ramp-signal-3 = ▂▄▆█
|
||||||
|
|
||||||
[module/temperature]
|
[module/temperature]
|
||||||
type = internal/temperature
|
type = internal/temperature
|
||||||
|
|
Loading…
Reference in a new issue