Skip to content

Spacer with Mouse gestures for the KDE Plasma Panel featuring Latte Dock/Gnome/Unity drag window gesture. Run any shortcut, command, application or URL/file with up to ten configurable mouse actions.

Notifications You must be signed in to change notification settings

luisbocanegra/plasma-panel-spacer-extended

Repository files navigation

Panel Spacer Extended

nixpkgs unstable package Dynamic JSON Badge Liberapay

Spacer with Mouse gestures for the KDE Plasma Panel featuring Latte Dock/Gnome/Unity drag window gesture. Run any shortcut, command, application or URL/file with up to ten configurable mouse actions!

2023-07-19_18-34-55.mp4
Screenshots widget actions config

Current and planned features

  • Mouse actions
    • Single click
    • Double click
    • Middle click
    • Mouse wheel up/down
      • Min wheel steps
    • Mouse drag (four axis)
      • Min track distance
    • Long press
      • Hold duration
  • Actions
    • Run any keyboard shortcut (detects all available shortcuts in System Settings > Shortcuts)
    • Run custom commands
    • Launch Applications/Urls/Files
  • Sync configuration across widget instances
  • Quick disable/reset defaults
  • Popup/Notification showing shortcut being run
  • Panel visual feedback

Installing

Important

Development has switched to Plasma 6, PRs to backport changes to Plasma 5 version are welcomed

Arch Linux

aur/plasma6-applets-panel-spacer-extended use your preferred AUR helper (e.g yay -S plasma6-applets-panel-spacer-extended)

KDE Store

  1. Right click on the Panel > Add Widgets > Get New Widgets > Download New Plasma Widgets
  2. Search for "Panel Spacer Extended", install and add to your panel(s).
  3. Click on Add new videos pick your video(s) and apply.

Nix package

For those using NixOS or the Nix package manager, there is a package available in nixpkgs.

To install the widget use one of these methods:

  • NixOS

    environment.systemPackages = [
      pkgs.plasma-panel-spacer-extended
    ];
  • Home-manager

    home.packages = [
      pkgs.plasma-panel-spacer-extended
    ];
  • Plasma-manager: If the widget gets added to a panel it will automatically be installed

  • Other distros using Nix package manager

    # without flakes:
    nix-env -iA nixpkgs.plasma-panel-spacer-extended
    # with flakes:
    nix profile install nixpkgs#plasma-panel-spacer-extended

Manual install

  • Install dependencies (please let me know if I missed something)

      cmake extra-cmake-modules plasma-framework kdeplasma-addons
  • Install the plasmoid

    ./install.sh

How does it work?

  1. Runs calls dbus method org.kde.kglobalaccel /component/$COMPONENT org.kde.kglobalaccel.Component.invokeShortcut "ACTION NAME" for shortcuts
  2. App/URL/File actions depend on kdeplasma-addons

Support the development

If you like the project you can

"Buy Me A Coffee" Liberapay

Credits & Resources