WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: flwm + ~/.flwm.conf support  (Read 3518 times)

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
flwm + ~/.flwm.conf support
« on: May 07, 2015, 06:27:19 PM »
Awhile back (early 2014?) I added a text-based config file to the flwm code. The changes let flwm read some settings from ~/.flwm.conf. Currently, it only supports:

* add named desktops at startup
* attach keys or key combinations to shell commands (similar to what actkbd would allow)

I would like to support flwm styles & commands, too, but never finished the code. Changing the move/max/min/shade/etc combos, font face and size without rebuild might be nice.

Yesterday, while home sick in bed, I cloned the current flwm from git.tinycorelinux.net and patched/tested this on 6.2. All working well here.

If you are interested, I've attached a current snapshot with changes. Run compileit, replace the stock flwm binary with your new binary, place .flwm.conf in your home directory. You will still need the stock flwm.tcz extension, as it provides more than just the flwm binary.

Happy Tiny Core-ing, all ~

Offline ipmeel

  • Jr. Member
  • **
  • Posts: 59
Re: flwm + ~/.flwm.conf support
« Reply #1 on: June 27, 2018, 03:33:02 PM »
Hi Dentonlt,
Could you guide how to do it with flwm_topside (TC9x) for...
Code: [Select]
#define DESKTOPS 0
#define WMX_MENU_ITEMS 0
#define XTERM_MENU_ITEM 0
as in flwm/config.h