Browse Source

Provide clean prefs tree under docs/, read from ../fxde-data. this provides persistent prefs.

master
Mid Favila 1 year ago
parent
commit
b2ae8df509
  1. 1
      .data/prefs/cosmetics/cursor
  2. 1
      .data/prefs/cosmetics/pape
  3. 1
      .data/prefs/cosmetics/small_font
  4. 1
      .data/prefs/cosmetics/small_font_bold
  5. 1
      .data/prefs/cosmetics/std_font
  6. 1
      .data/prefs/cosmetics/std_font_bold
  7. 1
      .data/prefs/cosmetics/theme
  8. 1
      .data/prefs/cosmetics/ui_font
  9. 1
      .data/prefs/cosmetics/ui_font_bold
  10. 1
      .data/prefs/progs/calc
  11. 1
      .data/prefs/progs/compositor
  12. 1
      .data/prefs/progs/deditor
  13. 1
      .data/prefs/progs/dview
  14. 1
      .data/prefs/progs/editor
  15. 1
      .data/prefs/progs/fbrowse
  16. 1
      .data/prefs/progs/filer
  17. 1
      .data/prefs/progs/ide
  18. 1
      .data/prefs/progs/iedit
  19. 1
      .data/prefs/progs/im
  20. 1
      .data/prefs/progs/iview
  21. 1
      .data/prefs/progs/lbrowse
  22. 1
      .data/prefs/progs/locker
  23. 1
      .data/prefs/progs/mail
  24. 1
      .data/prefs/progs/man
  25. 1
      .data/prefs/progs/music
  26. 1
      .data/prefs/progs/news
  27. 1
      .data/prefs/progs/pmon
  28. 1
      .data/prefs/progs/term
  29. 1
      .data/prefs/progs/torrent
  30. 1
      .data/prefs/progs/video
  31. 60
      docs/data-default/prefrc
  32. 0
      docs/data-default/prefs/cosmetics/cursor
  33. 0
      docs/data-default/prefs/cosmetics/pape
  34. 1
      docs/data-default/prefs/cosmetics/small_font
  35. 1
      docs/data-default/prefs/cosmetics/small_font_bold
  36. 1
      docs/data-default/prefs/cosmetics/std_font
  37. 1
      docs/data-default/prefs/cosmetics/std_font_bold
  38. 0
      docs/data-default/prefs/cosmetics/theme
  39. 1
      docs/data-default/prefs/cosmetics/ui_font
  40. 1
      docs/data-default/prefs/cosmetics/ui_font_bold
  41. 0
      docs/data-default/prefs/progs/calc
  42. 0
      docs/data-default/prefs/progs/compositor
  43. 0
      docs/data-default/prefs/progs/deditor
  44. 0
      docs/data-default/prefs/progs/dview
  45. 0
      docs/data-default/prefs/progs/editor
  46. 0
      docs/data-default/prefs/progs/fbrowse
  47. 0
      docs/data-default/prefs/progs/filer
  48. 0
      docs/data-default/prefs/progs/ide
  49. 0
      docs/data-default/prefs/progs/iedit
  50. 0
      docs/data-default/prefs/progs/im
  51. 0
      docs/data-default/prefs/progs/iview
  52. 0
      docs/data-default/prefs/progs/lbrowse
  53. 0
      docs/data-default/prefs/progs/locker
  54. 0
      docs/data-default/prefs/progs/mail
  55. 0
      docs/data-default/prefs/progs/man
  56. 0
      docs/data-default/prefs/progs/music
  57. 0
      docs/data-default/prefs/progs/news
  58. 0
      docs/data-default/prefs/progs/pmon
  59. 0
      docs/data-default/prefs/progs/term
  60. 0
      docs/data-default/prefs/progs/torrent
  61. 0
      docs/data-default/prefs/progs/video
  62. 2
      mainrc
  63. 138
      scripts/fvwmscript/fxde-systemscheck
  64. 541
      scripts/fvwmscript/sysinfo.old
  65. 23
      scripts/fvwmscript/test

1
.data/prefs/cosmetics/cursor

@ -1 +0,0 @@
Lambda

1
.data/prefs/cosmetics/pape

@ -1 +0,0 @@
lain_god.png

1
.data/prefs/cosmetics/small_font

@ -1 +0,0 @@
"xft:Exo:style=Regular:size=8"

1
.data/prefs/cosmetics/small_font_bold

@ -1 +0,0 @@
"xft:Exo:style=Bold:size=8"

1
.data/prefs/cosmetics/std_font

@ -1 +0,0 @@
"xft:Exo:style=Regular:size=14"

1
.data/prefs/cosmetics/std_font_bold

@ -1 +0,0 @@
"xft:Exo:style=Bold:size=14"

1
.data/prefs/cosmetics/theme

@ -1 +0,0 @@
Lambda

1
.data/prefs/cosmetics/ui_font

@ -1 +0,0 @@
"xft:Exo:style=Regular:size=12"

1
.data/prefs/cosmetics/ui_font_bold

@ -1 +0,0 @@
"xft:Exo:style=Bold:size=12"

1
.data/prefs/progs/calc

@ -1 +0,0 @@
xcalc

1
.data/prefs/progs/compositor

@ -1 +0,0 @@
xcompmgr

1
.data/prefs/progs/deditor

@ -1 +0,0 @@
emacsclient -c

1
.data/prefs/progs/dview

@ -1 +0,0 @@
epdfview

1
.data/prefs/progs/editor

@ -1 +0,0 @@
tine

1
.data/prefs/progs/fbrowse

@ -1 +0,0 @@
Navigator

1
.data/prefs/progs/filer

@ -1 +0,0 @@
rox

1
.data/prefs/progs/ide

@ -1 +0,0 @@
geany

1
.data/prefs/progs/iedit

@ -1 +0,0 @@
mtpaint

1
.data/prefs/progs/im

@ -1 +0,0 @@
Pidgin

1
.data/prefs/progs/iview

@ -1 +0,0 @@
gpicview

1
.data/prefs/progs/lbrowse

@ -1 +0,0 @@
netsurf-gtk2

1
.data/prefs/progs/locker

@ -1 +0,0 @@
slock

1
.data/prefs/progs/mail

@ -1 +0,0 @@
claws-mail

1
.data/prefs/progs/man

@ -1 +0,0 @@
xman

1
.data/prefs/progs/music

@ -1 +0,0 @@
xawmms

1
.data/prefs/progs/news

@ -1 +0,0 @@
xrn

1
.data/prefs/progs/pmon

@ -1 +0,0 @@
lxtask

1
.data/prefs/progs/term

@ -1 +0,0 @@
xterm

1
.data/prefs/progs/torrent

@ -1 +0,0 @@
transmission-gtk

1
.data/prefs/progs/video

@ -1 +0,0 @@
ffplay

60
.data/prefrc → docs/data-default/prefrc

@ -1,35 +1,35 @@
# [Preferred Programs]
PipeRead 'echo "InfoStoreAdd term `cat $FVWM_USERDIR/.data/prefs/progs/term`"'
PipeRead 'echo "InfoStoreAdd editor `cat $FVWM_USERDIR/.data/prefs/progs/editor`"'
PipeRead 'echo "InfoStoreAdd deditor `cat $FVWM_USERDIR/.data/prefs/progs/deditor`"
PipeRead 'echo "InfoStoreAdd ide `cat $FVWM_USERDIR/.data/prefs/progs/ide`"'
PipeRead 'echo "InfoStoreAdd filer `cat $FVWM_USERDIR/.data/prefs/progs/filer`"'
PipeRead 'echo "InfoStoreAdd fbrowse `cat $FVWM_USERDIR/.data/prefs/progs/fbrowse`"'
PipeRead 'echo "InfoStoreAdd lbrowse `cat $FVWM_USERDIR/.data/prefs/progs/lbrowse`"'
PipeRead 'echo "InfoStoreAdd im `cat $FVWM_USERDIR/.data/prefs/progs/im`"'
PipeRead 'echo "InfoStoreAdd mail `cat $FVWM_USERDIR/.data/prefs/progs/mail`"'
PipeRead 'echo "InfoStoreAdd news `cat $FVWM_USERDIR/.data/prefs/progs/news`"'
PipeRead 'echo "InfoStoreAdd mplay `cat $FVWM_USERDIR/.data/prefs/progs/music`"'
PipeRead 'echo "InfoStoreAdd vplay `cat $FVWM_USERDIR/.data/prefs/progs/video`"'
PipeRead 'echo "InfoStoreAdd iedit `cat $FVWM_USERDIR/.data/prefs/progs/iedit`"'
PipeRead 'echo "InfoStoreAdd iview `cat $FVWM_USERDIR/.data/prefs/progs/iview`"'
PipeRead 'echo "InfoStoreAdd calc `cat $FVWM_USERDIR/.data/prefs/progs/calc`"'
PipeRead 'echo "InfoStoreAdd dview `cat $FVWM_USERDIR/.data/prefs/progs/dview`"'
PipeRead 'echo "InfoStoreAdd pmon `cat $FVWM_USERDIR/.data/prefs/progs/pmon`"'
PipeRead 'echo "InfoStoreAdd torrent `cat $FVWM_USERDIR/.data/prefs/progs/torrent`"'
PipeRead 'echo "InfoStoreAdd man `cat $FVWM_USERDIR/.data/prefs/progs/man`"'
PipeRead 'echo "InfoStoreAdd term `cat $FVWM_USERDIR/../fxde-data/prefs/progs/term`"'
PipeRead 'echo "InfoStoreAdd editor `cat $FVWM_USERDIR/../fxde-data/prefs/progs/editor`"'
PipeRead 'echo "InfoStoreAdd deditor `cat $FVWM_USERDIR/../fxde-data/prefs/progs/deditor`"
PipeRead 'echo "InfoStoreAdd ide `cat $FVWM_USERDIR/../fxde-data/prefs/progs/ide`"'
PipeRead 'echo "InfoStoreAdd filer `cat $FVWM_USERDIR/../fxde-data/prefs/progs/filer`"'
PipeRead 'echo "InfoStoreAdd fbrowse `cat $FVWM_USERDIR/../fxde-data/prefs/progs/fbrowse`"'
PipeRead 'echo "InfoStoreAdd lbrowse `cat $FVWM_USERDIR/../fxde-data/prefs/progs/lbrowse`"'
PipeRead 'echo "InfoStoreAdd im `cat $FVWM_USERDIR/../fxde-data/prefs/progs/im`"'
PipeRead 'echo "InfoStoreAdd mail `cat $FVWM_USERDIR/../fxde-data/prefs/progs/mail`"'
PipeRead 'echo "InfoStoreAdd news `cat $FVWM_USERDIR/../fxde-data/prefs/progs/news`"'
PipeRead 'echo "InfoStoreAdd mplay `cat $FVWM_USERDIR/../fxde-data/prefs/progs/music`"'
PipeRead 'echo "InfoStoreAdd vplay `cat $FVWM_USERDIR/../fxde-data/prefs/progs/video`"'
PipeRead 'echo "InfoStoreAdd iedit `cat $FVWM_USERDIR/../fxde-data/prefs/progs/iedit`"'
PipeRead 'echo "InfoStoreAdd iview `cat $FVWM_USERDIR/../fxde-data/prefs/progs/iview`"'
PipeRead 'echo "InfoStoreAdd calc `cat $FVWM_USERDIR/../fxde-data/prefs/progs/calc`"'
PipeRead 'echo "InfoStoreAdd dview `cat $FVWM_USERDIR/../fxde-data/prefs/progs/dview`"'
PipeRead 'echo "InfoStoreAdd pmon `cat $FVWM_USERDIR/../fxde-data/prefs/progs/pmon`"'
PipeRead 'echo "InfoStoreAdd torrent `cat $FVWM_USERDIR/../fxde-data/prefs/progs/torrent`"'
PipeRead 'echo "InfoStoreAdd man `cat $FVWM_USERDIR/../fxde-data/prefs/progs/man`"'
# [Daemons]
PipeRead 'echo "InfoStoreAdd compositor `cat $FVWM_USERDIR/.data/prefs/progs/compositor`"'
PipeRead 'echo "InfoStoreAdd locker `cat $FVWM_USERDIR/.data/prefs/progs/locker`"'
PipeRead 'echo "InfoStoreAdd compositor `cat $FVWM_USERDIR/../fxde-data/prefs/progs/compositor`"'
PipeRead 'echo "InfoStoreAdd locker `cat $FVWM_USERDIR/../fxde-data/prefs/progs/locker`"'
# [Current Theme]
PipeRead 'echo "InfoStoreAdd theme `cat $FVWM_USERDIR/.data/prefs/cosmetics/theme`"'
PipeRead 'echo "InfoStoreAdd cursor `cat $FVWM_USERDIR/.data/prefs/cosmetics/cursor`"'
PipeRead 'echo "InfoStoreAdd pape `cat $FVWM_USERDIR/.data/prefs/cosmetics/pape`"'
PipeRead 'echo "InfoStoreAdd std_font `cat $FVWM_USERDIR/.data/prefs/cosmetics/std_font`"'
PipeRead 'echo "InfoStoreAdd ui_font `cat $FVWM_USERDIR/.data/prefs/cosmetics/ui_font`"'
PipeRead 'echo "InfoStoreAdd small_font `cat $FVWM_USERDIR/.data/prefs/cosmetics/ui_font`"'
PipeRead 'echo "InfoStoreAdd std_font_bold `cat $FVWM_USERDIR/.data/prefs/cosmetics/std_font`"'
PipeRead 'echo "InfoStoreAdd ui_font_bold `cat $FVWM_USERDIR/.data/prefs/cosmetics/ui_font`"'
PipeRead 'echo "InfoStoreAdd small_font_bold `cat $FVWM_USERDIR/.data/prefs/cosmetics/ui_font`"'
PipeRead 'echo "InfoStoreAdd theme `cat $FVWM_USERDIR/../fxde-data/prefs/cosmetics/theme`"'
PipeRead 'echo "InfoStoreAdd cursor `cat $FVWM_USERDIR/../fxde-data/prefs/cosmetics/cursor`"'
PipeRead 'echo "InfoStoreAdd pape `cat $FVWM_USERDIR/../fxde-data/prefs/cosmetics/pape`"'
PipeRead 'echo "InfoStoreAdd std_font `cat $FVWM_USERDIR/../fxde-data/prefs/cosmetics/std_font`"'
PipeRead 'echo "InfoStoreAdd ui_font `cat $FVWM_USERDIR/../fxde-data/prefs/cosmetics/ui_font`"'
PipeRead 'echo "InfoStoreAdd small_font `cat $FVWM_USERDIR/../fxde-data/prefs/cosmetics/ui_font`"'
PipeRead 'echo "InfoStoreAdd std_font_bold `cat $FVWM_USERDIR/../fxde-data/prefs/cosmetics/std_font`"'
PipeRead 'echo "InfoStoreAdd ui_font_bold `cat $FVWM_USERDIR/../fxde-data/prefs/cosmetics/ui_font`"'
PipeRead 'echo "InfoStoreAdd small_font_bold `cat $FVWM_USERDIR/../fxde-data/prefs/cosmetics/ui_font`"'

0
docs/data-default/prefs/cosmetics/cursor

0
docs/data-default/prefs/cosmetics/pape

1
docs/data-default/prefs/cosmetics/small_font

@ -0,0 +1 @@
"xft::style=Regular:size=8"

1
docs/data-default/prefs/cosmetics/small_font_bold

@ -0,0 +1 @@
"xft::style=Bold:size=8"

1
docs/data-default/prefs/cosmetics/std_font

@ -0,0 +1 @@
"xft::style=Regular:size=14"

1
docs/data-default/prefs/cosmetics/std_font_bold

@ -0,0 +1 @@
"xft::style=Bold:size=14"

0
docs/data-default/prefs/cosmetics/theme

1
docs/data-default/prefs/cosmetics/ui_font

@ -0,0 +1 @@
"xft::style=Regular:size=12"

1
docs/data-default/prefs/cosmetics/ui_font_bold

@ -0,0 +1 @@
"xft::style=Bold:size=12"

0
docs/data-default/prefs/progs/calc

0
docs/data-default/prefs/progs/compositor

0
docs/data-default/prefs/progs/deditor

0
docs/data-default/prefs/progs/dview

0
docs/data-default/prefs/progs/editor

0
docs/data-default/prefs/progs/fbrowse

0
docs/data-default/prefs/progs/filer

0
docs/data-default/prefs/progs/ide

0
docs/data-default/prefs/progs/iedit

0
docs/data-default/prefs/progs/im

0
docs/data-default/prefs/progs/iview

0
docs/data-default/prefs/progs/lbrowse

0
docs/data-default/prefs/progs/locker

0
docs/data-default/prefs/progs/mail

0
docs/data-default/prefs/progs/man

0
docs/data-default/prefs/progs/music

0
docs/data-default/prefs/progs/news

0
docs/data-default/prefs/progs/pmon

0
docs/data-default/prefs/progs/term

0
docs/data-default/prefs/progs/torrent

0
docs/data-default/prefs/progs/video

2
mainrc

@ -1,6 +1,6 @@
# StartFunction executes every time FVWM executes.
# Load in necessary data.
Read .data/prefrc
Read ../fxde-data/prefrc
Read infra/funcrc
Read infra/varrc
Read infra/cosmrc

138
scripts/fvwmscript/fxde-systemscheck

@ -1,138 +0,0 @@
WindowTitle {Workstation Information}
WindowSize 486 352
Init
Begin
Set $ip = { } (GetOutput {echo `ifconfig | sed -ne '2s/.*inet addr:\([0-9]*\.[0
ChangeTitle 50 $ip
End
Widget 50
Property
Title {}
Size 100 100
Position 100 100
Type ItemDraw
Flags NoReliefString Nofocus
Colorset 9
End
Widget 1
Property
Title {User Name:}
Size 200 30
Position 75 10
Type ItemDraw
Flags NoReliefString NoFocus
Colorset 9
End
Widget 2
Property
Title {Workstation Name:}
Size 100 15
Position 125 54
Type ItemDraw
Flags NoReliefString NoFocus
Colorset 9
End
Widget 3
Property
Title {ISA:}
Size 100 15
Position 113 74
Type ItemDraw
Flags NoReliefString NoFocus
Colorset 9
End
Widget 4
Property
Title {Local IP:}
Size 100 15
Position 125 94
Type ItemDraw
Flags NoReliefString NoFocus
Colorset 9
End
Widget 5
Property
Title {Domain:}
Size 80 15
Position 125 114
Type ItemDraw
Flags NoReliefString NoFocus
Colorset 9
End
Widget 6
Property
Title {ID:}
Size 80 15
Position 125 114
Type ItemDraw
Flags NoReliefString NoFocus
Colorset 9
End
Widget 7
Property
Title {RAM:}
Size 80 15
Position 125 114
Type ItemDraw
Flags NoReliefString NoFocus
Colorset 9
End
Widget 8
Property
Title {In Use:}
Size 80 15
Position 125 114
Type ItemDraw
Flags NoReliefString NoFocus
Colorset 9
End
Widget 9
Property
Title {MB Available:}
Size 80 15
Position 125 114
Type ItemDraw
Flags NoReliefString NoFocus
Colorset 9
End
Widget 10
Property
Title {RAM:}
Size 80 15
Position 125 114
Type ItemDraw
Flags NoReliefString NoFocus
Colorset 9
End
Widget 11
Property
Title {In Use:}
Size 80 15
Position 125 114
Type ItemDraw
Flags NoReliefString NoFocus
Colorset 9
End
Widget 12
Property
Title {MB Available:}
Size 80 15
Position 125 114
Type ItemDraw
Flags NoReliefString NoFocus
Colorset 9
End

541
scripts/fvwmscript/sysinfo.old

@ -1,541 +0,0 @@
WindowLocaleTitle {Workstation Information}
WindowSize 486 352
Font "xft::Regular:pixelsize=12"
Colorset 22
Init
Begin
Key Escape A 36 1 {Quit}
Key Return A 36 1 {Quit}
Set $WidgetFont = (GetOutput {} 1 -1)
ChangeFont 36 $WidgetFont
ChangeFont 1 $TextFont
ChangeFont 2 $TextFont
ChangeFont 3 $TextFont
ChangeFont 4 $TextFont
ChangeFont 5 $TextFont
ChangeFont 6 $TextFont
ChangeFont 7 $TextFont
ChangeFont 8 $TextFont
ChangeFont 9 $TextFont
ChangeFont 10 $TextFont
ChangeFont 11 $TextFont
ChangeFont 12 $TextFont
ChangeFont 13 $TextFont
ChangeFont 14 $TextFont
ChangeFont 19 $TextFont
ChangeFont 20 $TextFont
ChangeFont 21 $TextFont
ChangeFont 22 $TextFont
ChangeFont 23 $TextFont
ChangeFont 24 $TextFont
ChangeFont 25 $TextFont
ChangeFont 26 $TextFont
ChangeFont 27 $TextFont
ChangeFont 28 $TextFont
ChangeFont 29 $TextFont
ChangeFont 30 $TextFont
ChangeFont 31 $TextFont
ChangeFont 32 $TextFont
ChangeFont 33 $TextFont
ChangeFont 34 $TextFont
Set $username = { } (GetOutput {id -un} 1 -1)
Set $hostname = { } (GetOutput {uname -n} 1 1)
Set $machtype = { } (GetOutput {uname -mpi} 1 -1)
Set $ipaddr = { } (GetOutput {$NSCDE_ROOT/bin/sysinfo.py} 4 -1)
Set $hostid = { } (GetOutput {hostid} 1 -1)
Set $domainname = { } (GetOutput {domainname} 1 -1)
Set $inetdomain = { } (GetOutput {$NSCDE_ROOT/bin/sysinfo.py} 5 -1)
Set $mem = { } (GetOutput {$HOME/.fvwm/scripts/posix/memmb} 0 -1) { MB}
Set $mempct = { } (GetOutput {$HOME/.fvwm/scripts/posix/memusemb} 0 -1)
Set $swapinfo = { } (GetOutput {$HOME/.fvwm/scripts/posix/memfree} 0 -1) {MB Available}
Set $swap = { } (GetOutput {$HOME/.fvwm/scripts/posix/swapmb} 0 -1) { MB}
Set $swappct = { } (GetOutput {$HOME/.fvwm/scripts/posix/} 0 -1)
Set $swapinfo = { } (GetOutput {$HOME/.fvwm/scripts/posix/swapfree} 0 -1) { MB Available}
Set $sysname = (GetOutput {uname -s} 1 -1)
Set $osname = (GetOutput {uname -o} 1 -1)
Set $osver = (GetOutput {uname -r} 1 -1)
Set $sysstring = { } $sysname { Release } $osver { } $osname
Set $winmgr = { } (GetOutput {fvwm -version} 1 -1)
If $sysname == {Linux} Then
Begin
Set $lastboot = { } (GetOutput {x=`uptime | cut -b 17` ; y=`uptime | cut -b 19,20` ; printf "$x hours and $y minutes\n"} 1 -1)
End
Else
Begin
Set $lastboot = { Not available/displayed on } $sysname
End
ChangeTitle 21 $username
ChangeTitle 22 $hostname
ChangeTitle 23 $machtype
ChangeTitle 24 $ipaddr
ChangeTitle 25 $hostid
ChangeTitle 26 $domainname
ChangeTitle 27 $inetdomain
ChangeTitle 28 $mem
ChangeTitle 29 $swap
ChangeTitle 30 $swapinfo
ChangeTitle 31 $sysstring
ChangeTitle 32 $winmgr
ChangeTitle 33 $nscdever
ChangeTitle 34 $lastboot
ChangeValue 20 $swappct
End
Widget 1
Property
Size 150 0
Position 10 15
Type ItemDraw
Flags NoReliefString Right
LocaleTitle {User Name:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 21
Property
Size 100 0
Position 159 15
Type ItemDraw
Flags NoReliefString Left
Title {<username>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 2
Property
Size 150 0
Position 10 32
Type ItemDraw
Flags NoReliefString Right
LocaleTitle {Workstation Name:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 22
Property
Size 100 0
Position 159 32
Type ItemDraw
Flags NoReliefString Left
Title {<hostname>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 3
Property
Size 150 0
Position 10 48
Type ItemDraw
Flags NoReliefString Right
LocaleTitle {Type:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 23
Property
Size 100 0
Position 159 48
Type ItemDraw
Flags NoReliefString Left
Title {<machtype>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 4
Property
Size 150 0
Position 10 77
Type ItemDraw
Flags NoReliefString Right
LocaleTitle {Internet (IP) Address:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 24
Property
Size 100 0
Position 159 77
Type ItemDraw
Flags NoReliefString Left
Title {<ipaddr>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 5
Property
Size 150 0
Position 10 94
Type ItemDraw
Flags NoReliefString Right
LocaleTitle {Host ID:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 25
Property
Size 100 0
Position 159 94
Type ItemDraw
Flags NoReliefString Left
Title {<hostid>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 6
Property
Size 150 0
Position 10 110
Type ItemDraw
Flags NoReliefString Right
LocaleTitle {Network Domain:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 26
Property
Size 100 0
Position 159 110
Type ItemDraw
Flags NoReliefString Left
Title {<domainname>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 7
Property
Size 150 0
Position 10 128
Type ItemDraw
Flags NoReliefString Right
LocaleTitle {Internet Domain:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 27
Property
Size 200 0
Position 159 128
Type ItemDraw
Flags NoReliefString Left
Title {<domain>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 8
Property
Size 154 0
Position 6 162
Type ItemDraw
Flags NoReliefString Right
LocaleTitle {Physical Memory (RAM):}
Main
Case message of
SingleClic :
Begin
End
End
Widget 28
Property
Size 200 0
Position 159 162
Type ItemDraw
Flags NoReliefString Left
Title {<mem>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 9
Property
Size 150 0
Position 6 179
Type ItemDraw
Flags NoReliefString Right
LocaleTitle {Virtual Memory (Swap):}
Main
Case message of
SingleClic :
Begin
End
End
Widget 29
Property
Size 200 0
Position 159 179
Type ItemDraw
Flags NoReliefString Left
Title {<swap>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 10
Property
Size 150 0
Position 10 196
Type ItemDraw
Flags NoReliefString Right
LocaleTitle {Virtual Memory in Use:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 30
Property
Size 256 0
Position 264 196
Type ItemDraw
Flags NoReliefString Left
Title {<swapused>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 20
Property
Position 166 198
Type HDipstick
Size 102 16
Title {}
MinValue 0
MaxValue 100
Value 1
Colorset 3
Main
Case message of
SingleClic :
Begin
End
End
Widget 11
Property
Size 150 0
Position 10 220
Type ItemDraw
Flags NoReliefString Right
LocaleTitle {Operating System:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 31
Property
Size 324 0
Position 159 220
Type ItemDraw
Flags NoReliefString Left
Title {<sysstring>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 12
Property
Size 150 0
Position 10 238
Type ItemDraw
Flags NoReliefString Right
LocaleTitle {Window Manager:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 32
Property
Size 314 0
Position 159 238
Type ItemDraw
Flags NoReliefString Left
Title {<winmgr>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 13
Property
Size 150 0
Position 10 256
Type ItemDraw
Flags NoReliefString Right
LocaleTitle { }
Main
Case message of
SingleClic :
Begin
End
End
Widget 33
Property
Size 256 0
Position 159 256
Type ItemDraw
Flags NoReliefString Left
Title {<nscdever>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 14
Property
Size 150 0
Position 10 284
Type ItemDraw
Flags NoReliefString Right
LocaleTitle {System Uptime:}
Main
Case message of
SingleClic :
Begin
End
End
Widget 34
Property
Size 256 0
Position 159 284
Type ItemDraw
Flags NoReliefString Left
Title {<lastboot>}
Main
Case message of
SingleClic :
Begin
End
End
Widget 36
Property
Size 72 0
Position 204 312
Type PushButton
LocaleTitle {Dismiss}
Flags NoReliefString
Main
Case message of
SingleClic :
Begin
SendSignal 36 1
End
1 :
Begin
Quit
End
End
Widget 19
Property
Size 48 48
Position 300 8
Type ItemDraw
Flags NoReliefString Left
Title {}
Icon CDE/SDtsysinfo.m.pm
Main
Case message of
SingleClic :
Begin
End
End

23
scripts/fvwmscript/test

@ -1,23 +0,0 @@
WindowTitle {Run...}
WindowSize 512 64
Init
Begin
Set $ip = { } (GetOutput {echo `ifconfig | sed -ne '2s/.*inet addr:\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\) .*/\1/p'`} 1 -1)
ChangeTitle 1 $ip
End
Widget 1
Property
Title {}
Size 496 24
Position 8 4
Flags NoReliefString
Type ItemDraw
Value 1
Main
Case message of
SingleClic :
Begin
End
End
Loading…
Cancel
Save