Calendar: Difference between revisions
Jump to navigation
Jump to search
(Created page with "right|150px|link=Calendar|Image '''Calendar''' <small>''(modules)''</small> is made of FvwmButtons and a time/date script that is swallowed, which displays the current time and date. And the Yad script displays the calendar. <pre> ## FILE 1: timeDayB.txt ## Time/Day panel color *FvwmScript: DefaultColorset 10 Module FvwmButtons TimeDayButton DestroyModuleConfig TimeDayButton:* *TimeDayButton: Geometry 90x70-0-60 *TimeDayButton: Colorset 10 *...") |
No edit summary |
||
| Line 38: | Line 38: | ||
esac | esac | ||
</pre> | </pre> | ||
''' | '''HOW TO''': | ||
Copy the code and paste it into your config. Or create FILE 1 and run the below line:<br> | |||
''Read $[ | ''Read $[HOME]/timeDayB.txt'' | ||
__NOTOC____NOEDITSECTION__ | __NOTOC____NOEDITSECTION__ | ||
Revision as of 04:11, 12 July 2025
Calendar (modules) is made of FvwmButtons and a time/date script that is swallowed, which displays the current time and date. And the Yad script displays the calendar.
## FILE 1: timeDayB.txt ## Time/Day panel color *FvwmScript: DefaultColorset 10 Module FvwmButtons TimeDayButton DestroyModuleConfig TimeDayButton:* *TimeDayButton: Geometry 90x70-0-60 *TimeDayButton: Colorset 10 *TimeDayButton: Columns 120 *TimeDayButton: Font "xft:Sans:Bold:size=10:antialias=True" *TimeDayButton: (25x10, Frame 0) *TimeDayButton: (120x30, Title Calendar, Action(Mouse 1) "Exec exec $[HOME]/script/Calendar.sh", Font "xft:Sans:size=11:antialias=True", Frame 0) *TimeDayButton: (120x45, Swallow DateTime 'Module FvwmScript FvwmScript-DateTime', Frame 0) *TimeDayButton: (120x25, Frame 0) Style TimeDayButton !Borders, !Title, WindowListSkip, Sticky, StaysOnTop Style Calendar* NoTitle # no titel bar Style MyRightPanel StaysOnBottom ## Check Functions: yadPos.sys Read $[HOME]/yadPos.txt
## FILE 2: /scripts/calendar.sh #!/bin/bash CAL_GET=`yad --calendar --text "" --list --button=Close:0 --title "Calendar"` case $? in 0) exit ;; esac
HOW TO:
Copy the code and paste it into your config. Or create FILE 1 and run the below line:
Read $[HOME]/timeDayB.txt
