No matter what i put, the multipixmap wont show
File:
DestroyDecor 23oz
AddToDecor 23oz
+ TitleStyle LeftJustified Height 25
+ AddTitleStyle Active MultiPixmap \
Main TiledPixmap /home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/title_active.xmp, \
LeftEnd AdjustedPixmap /home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/titleleft_active.xmp, \
RightEnd AdjustedPixmap /home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/titleright_active.xmp, \
+ AddTitleStyle Inactive MultiPixmap \
Main TiledPixmap /home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/title_inactive.xmp, \
LeftEnd AdjustedPixmap /home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/titleleft_inactive.xmp, \
RightEnd AdjustedPixmap /home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/titleright_inactive.xmp, \
+ AddButtonStyle 1 \
ActiveUp Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/options_activeup.xmp) \
ActiveDown Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/options_activedown.xmp) \
Inactive Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/options_inactive.xmp) \
+ AddButtonStyle 2 \
ActiveUp Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/close_activeup.xmp) \
ActiveDown Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/close_activedown.xmp) \
Inactive Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/close_inactive.xmp) \
+ AddButtonStyle 4 \
ActiveUp Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/maximise_activeup.xmp) \
ActiveDown Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/maximise_activedown.xmp) \
Inactive Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/maximise_inactive.xmp) \
+ AddButtonStyle 6 \
ActiveUp Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/iconify_activeup.xmp) \
ActiveDown Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/iconify_activedown.xmp) \
Inactive Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/icnoify_inactive.xmp) \
+ BorderStyle -- HiddenHandles !NoInset Raised
Style * HandleWidth 4, ForeColor #B0B0B0, BackColor #808080, HilightFore #D0D0D0, HilightBack #909090, Button 1, Button 2, !Button 3, Button 4, !Button 5, Button 6, !Button 8, UseDecor 23oz
Despite this my borders look like this:
Is there anything I am missing?
EDIT: the lines dont go onto new lines, the website just has word wrap
somiaj
26 September 2022 01:45
2
I edited your post so the code appears correct.
I don’t see anything obviously incorrect. Though the ForeColor/BackColor/etc styles are the old method, instead you should use colorsets. Though I’m unsure if that is your issue or not, only thing I noticed.
What I would do is try a working setup, and then modify it. You can find an MultiPixmap example here:
https://www.fvwm.org/Wiki/Decor/Mech/
I tried followind your advice and changed my code :
DestroyDecor 23oz
AddToDecor 23oz
BorderStyle – HiddenHandles !NoInset Raised
TitleStyle LeftJustified Height 25
TitleStyle Active MultiPixmap
Main TiledPixmap /home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/title_active.xmp,
LeftEnd AdjustedPixmap /home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/titleleft_active.xmp,
RightEnd AdjustedPixmap /home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/titleright_active.xmp, \
TitleStyle Inactive MultiPixmap
Main TiledPixmap /home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/title_inactive.xmp,
LeftEnd AdjustedPixmap /home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/titleleft_inactive.xmp,
RightEnd AdjustedPixmap /home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/titleright_inactive.xmp, \
ButtonStyle 1
ActiveUp Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/options_activeup.xmp)
ActiveDown Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/options_activedown.xmp)
Inactive Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/options_inactive.xmp) \
ButtonStyle 2
ActiveUp Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/close_activeup.xmp)
ActiveDown Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/close_activedown.xmp)
Inactive Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/close_inactive.xmp) \
ButtonStyle 4
ActiveUp Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/maximise_activeup.xmp)
ActiveDown Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/maximise_activedown.xmp)
Inactive Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/maximise_inactive.xmp) \
ButtonStyle 6
ActiveUp Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/iconify_activeup.xmp)
ActiveDown Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/iconify_activedown.xmp)
Inactive Pixmap (/home/techharis/.fvwm/ASSETS/Themes/Multi-Pixmap Themes/23oz/icnoify_inactive.xmp) \
Style * HandleWidth 4, Button 1, Button 2, !Button 3, Button 4, !Button 5, Button 6, !Button 8, UseDecor 23oz
I got rid of the old colour options as i just want to test multipixmap and i removed all of the “Add” text from the styles, however now my titlebars look like this:
After checking that the mech style works and going over my config again i realised i types XMP instead of XPM. Sorry for wasting your time. Its works now