Coder Social home page Coder Social logo

Scripting / Extensibility about fancywm HOT 2 CLOSED

fancywm avatar fancywm commented on May 27, 2024 1
Scripting / Extensibility

from fancywm.

Comments (2)

veselink1 avatar veselink1 commented on May 27, 2024

v2.4.0 introduces experimental scripting support. Users can now use fancywm.exe --action <Action> to execute one of the following actions.

  • PullWindowUp
  • CreateHorizontalPanel
  • CreateVerticalPanel
  • CreateStackPanel
  • MoveFocus
  • Move
  • Swap
  • Increase|Decrease<Width|Height>
  • SwitchToDesktop
  • MoveToDesktop
  • ToggleFloatingMode

There is an new option under Settings > Advanced to create an AutoHotkey script template.

from fancywm.

riotrah avatar riotrah commented on May 27, 2024

Ah awesome, thanks for the work !!

This also scratches the direct hotkeys itch, at least for those familiar/comfortable with AHK.

Perhaps in order to then support custom layouts ( which you could create a github tag for, or a community "Shared Layouts/scripts" repo for ), we would prob also need querying/reading FancyWM state in some digestible manner, so we can respond to it, or even events from FancyWM. Obviously this is potentially a huge undertaking depending on how state is represented under the hood.

In any case, I could imagine sufficient state read/query capacity, and then the capacity to directly "set" certain state ( like setting panel/window dimensions directly in px or something, instead of repeated "increase height" statements ), would go a tremendous way for all kinds of customizability, and would prob solve #5 or #12 out the gate ( for AHK users at least ).

Thanks again!

from fancywm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.