Git Product home page Git Product logo

python-windows-tiler's Introduction

Python Windows Tiler

PWT is the fruit of my frustration towards the traditional windowing system. There are a few tiling programs for Windows but none of them fit my needs and I wanted to learn win32 programming and Python.

Install

To run a portable version of PWT download the a directory from build/. To launch it with python run pwt.py with a python3.X executable.

Configure

The default config file currently has 3 sections, global, hotkey and window.

Global

Center_cursor expects a boolean value to either enable or disable the feature.

  • center_cursor = yes

Hotkey

The hotkey value expects the form of < modifier+modifier.. >+< key >. Possible Keys

  • remove_window_from_master = alt+shift+l
  • add_window_to_master = alt+shift+h
  • focus_next_window = alt+j
  • focus_previous_window = alt+k
  • focus_primary_window = alt+return
  • shift_focused_window_down = alt+shift+j
  • shift_focused_window_up = alt+shift+k
  • shift_focused_window_to_primary = alt+shift+return
  • decrease_master_size = alt+h
  • increase_master_size = alt+l
  • close_focused_window = alt+shift+c
  • switch_to_group_1 = alt+1
  • switch_to_group_2 = alt+2
  • switch_to_group_3 = alt+3
  • switch_to_group_4 = alt+4
  • switch_to_group_5 = alt+5
  • switch_to_group_6 = alt+6
  • switch_to_group_7 = alt+7
  • switch_to_group_8 = alt+8
  • switch_to_group_9 = alt+9
  • send_to_group_1 = alt+shift+1
  • send_to_group_2 = alt+shift+2
  • send_to_group_3 = alt+shift+3
  • send_to_group_4 = alt+shift+4
  • send_to_group_5 = alt+shift+5
  • send_to_group_6 = alt+shift+6
  • send_to_group_7 = alt+shift+7
  • send_to_group_8 = alt+shift+8
  • send_to_group_9 = alt+shift+9
  • focus_next_monitor = alt+i
  • focus_previous_monitor = alt+u
  • shift_to_next_monitor = alt+shift+i
  • shift_to_previous_monitor = alt+shift+u
  • choose_next_layout = alt+space
  • toggle_focused_window_decoration = alt+shift+d
  • stop_pythonwindowstiler = alt+shift+delete
  • toggle_taskbar_visibility = alt+v
  • print_focused_window_classname = alt+s
  • tile_focused_window = alt+t
  • float_focused_window = alt+shift+t

Window

Window holds the window rules, currently there are 2 rules defined, float and decorate. Due to the nature of some apps they struggle with being tiled. Forcing the decorations on can help get rid of some of the glitches, if that doesn't help you can force float them. If a window gets tiled that shouldn't get tiled you should also add it to float.

The expected format is < window classname >;< window classname >

  • float = progman;#32770
  • decorate = Chrome_WidgetWin_0;ConsoleWindowClass

Example

You can remove keybinds from the config to ignore the entire function as I do in my My config.

python-windows-tiler's People

Contributors

tzbob avatar 7enderhead avatar

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.