Skip to content

abimagnus/maximized-window-gaps

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maximized Window Gaps

This is a reduced version of Window Gaps script by Natalie Clarius. All credit goes to her.

Extension for KDE's window manager to add space around maximized windows. The size of the gaps are configurable.

screenshot

Installation

Dependencies

kwin version ≥ 6.0.2.

Method 1: via graphical interface

  1. Install the script via System Settings > Window Management > KWin Scripts > Get New Scripts … > search for Maximized Window Gap > Install.
  2. Activate the script by selecting the checkbox in the Maximized Window Gap entry.

Method 2: via command line

git clone https://github.com/abimagnus/maximized-window-gaps.git
kpackagetool6 --type=KWin/Script -i maximized-window-gaps
qdbus org.kde.KWin /KWin reconfigure

Configuration

System Settings > Window Management > KWin Scripts > configuration button in the Maximized Window Gap entry.

You may have to disable the script, apply, reenable, and reapply in order for the changes to take effect.

If the configuration button is missing (this is due to a central limitation with the KWin script installation component), try the following:

mkdir -p ~/.local/share/kservices5
ln -sf ~/.local/share/kwin/scripts/maximized-window-gaps/metadata.desktop ~/.local/share/kservices5/maximized-window-gaps.desktop

Floating Panel

If you need the floating panel when maximizing windows set the bottom gap 27px

About

KWin script to add space around maximized windows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%