Restart Shutdown: Difference between revisions
Jump to navigation
Jump to search
(Created page with "right|150px|link=Restart Shutdown|Image '''Restart Shutdown''' <small>''(modules)''</small> is made of FvwmButtons contaner. Has four functions: Logout, Restart, Power-off and Cancel. <pre> ## FILE 1: restartSDown.txt SetEnv logo-image $[HOME]/images Module FvwmButtons RestartShutdown DestroyModuleConfig RestartShutdown: * *RestartShutdown: Geometry 450x96-735-492 #*RestartShutdown: PressColorset 5 *RestartShutdown: Fore #2b4e5e *RestartS...") |
No edit summary |
||
| Line 3: | Line 3: | ||
<pre> | <pre> | ||
## FILE 1: restartSDown.txt | ## FILE 1: restartSDown.txt | ||
## Modules | |||
SetEnv logo-image $[HOME]/images | SetEnv logo-image $[HOME]/.fvwm/images | ||
Module FvwmButtons RestartShutdown | Module FvwmButtons RestartShutdown | ||
| Line 34: | Line 35: | ||
'''HOW TO''': | '''HOW TO''': | ||
Copy the code and paste it into your config. Or create FILE 1 and run the below line:<br> | Copy the code and paste it into your config. Or create FILE 1 and run the below line:<br> | ||
''Read restartSDown.sys'' | ''Read $[HOME]/.fvwm/restartSDown.sys'' | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ | ||
Latest revision as of 12:13, 12 July 2025
Restart Shutdown (modules) is made of FvwmButtons contaner. Has four functions: Logout, Restart, Power-off and Cancel.
## FILE 1: restartSDown.txt ## Modules SetEnv logo-image $[HOME]/.fvwm/images Module FvwmButtons RestartShutdown DestroyModuleConfig RestartShutdown: * *RestartShutdown: Geometry 450x96-735-492 #*RestartShutdown: PressColorset 5 *RestartShutdown: Fore #2b4e5e *RestartShutdown: Back #88b2b1 *RestartShutdown: Frame 1 *RestartShutdown: Rows 2 *RestartShutdown: Font "xft:Sans:size=14:antialias=True" *RestartShutdown: Padding 2 2 *RestartShutdown: (Icon "$[logo-image]/fvwm-logo-small.png", Colorset 20) *RestartShutdown: (3x1, Title "Power Off", Colorset 202, Font "xft:Sans:size=16:antialias=True") *RestartShutdown: (4x1,Container(Rows 1,Frame 1)) *RestartShutdown: (Title Cancel, Action(Mouse 1) KillModule FvwmButtons RestartShutdown) *RestartShutdown: (Title Logout, Action(Mouse 1) Quit) #*RestartShutdown: (Title Restart, Action(Mouse 1) Exec systemctl reboot) #1Systemd Linux distro #*RestartShutdown: (Title OK, Action(Mouse 1) Exec systemctl poweroff) #2Systemd Linux distro *RestartShutdown: (Title Restart, Action(Mouse 1) Exec sudo /sbin/reboot) #3Non-systemd *RestartShutdown: (Title OK, Action(Mouse 1) Exec sudo /sbin/poweroff) #4Non-systemd # Style Setting Style RestartShutdown !Borders, !Title, WindowListSkip, StaysOnTop, Sticky
HOW TO:
Copy the code and paste it into your config. Or create FILE 1 and run the below line:
Read $[HOME]/.fvwm/restartSDown.sys
