Init Manager

From Fvwm Extensions (configs) Archive
Jump to navigation Jump to search
image

Init Manager (functions) runs after Fvwm has loaded. It is placed at the beginning of ~/.fvwm/config or local.config. This script starts wifi, screen brightness & battery, sound volume, and root authorization.

It is depended on stalonetray, volumeicon, and policykit-1-gnome.

## FILE 1: InitMgr.txt
## Functions

## Init Manager

DestroyFunc InitFunction
AddToFunc InitFunction
+ I Test (Init) Exec nm-applet # (wifi)
+ I Test (Init) Exec xfce4-power-manager # (screen & battery)
+ I Test (Init) Exec volumeicon # (sound)
+ I Test (Init) Exec /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 & # (policykit authenticator)

HOW TO: Add the below line at the top of /.fvwm/config or local.config:
Copy the code and paste it into your config. Or create FILE 1 and run the below line:
Read $[HOME]/.fvwm/initMgr.txt


Read more:
https://www.fvwm.org/Wiki/Config/Functions/StartFunction/