summaryrefslogtreecommitdiff
path: root/src/helpers/Workspace.cpp
Commit message (Collapse)AuthorAgeFilesLines
* refactor: move a few things to desktop/Vaxry2024-02-291-180/+0
|
* config: add defaultName for workspace rulesVaxry2024-02-271-0/+4
| | | | alas, fixes #665
* Migrate the config to hyprlang (#4656)Vaxry2024-02-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Migrate to hyprlang * pop up errors * fix swapped args * Meson & Nix: build with hyprlang * CI: add hyprlang to setup action * add infra for plugin stuff * fix hyprctl getoption * fix hyprctl getoption with json * format * fix post parse logic * fix autogen config * oops missed exec-once * fmt * fix ws rules * require 0.3.0 for hyprlang * nix: flaek * minor type fixes * fix cfg usages in swipe * use cvarlist for ws rules * fix throw in addPluginConfigVar * Nix: update hyprlang * minor fixes * fix disableLogs * mention hyprlang docs * bump hyprlang dep in cmake * Meson: bump min hyprlang version Nix: update hyprlang * minor fix * Nix: update meson patch --------- Co-authored-by: Mihai Fufezan <fufexan@protonmail.com>
* style/ci: apply clang-format and verify it in ci (#4039)François Conzelmann2023-12-061-2/+2
| | | | | * style: apply clang-format * ci: add new clang-format job to CI
* general: add workspace gaps (#3877)end-42023-11-191-5/+8
| | | | | | | | | | | | | | | | | | | | | * anims: workspace gap * anims: ws gaps: on swipe end * anims: ws gaps: add missing parentheses * format * refractor * Update Swipe.cpp * format * fix swipe to right * ws gaps: move animations:workspace_gap to general:gaps_workspace * ws gaps: general:gaps_workspace -> general:gaps_workspaces
* cleanup: Replace find() with C++20 starts_with(), ends_with() and contains() ↵Philip Damianik2023-10-151-2/+2
| | | | | | | (#3572) * Replace find() with C++20 starts_with() and ends_with() * Replace find() with C++20 contains()
* keybinds: unify changeworkspace dispatcher (#3250)memchr2023-09-111-1/+1
| | | | | | | | | | | * refactor: changeworkspace dispatcher * refactor: remove redundant focusWindow calls * refactor(changeworkspace): warp cursor to middle of last focused window * refactor: use rememberPrevWorkspace * Fix: `CWorkspace::rememberPreWorkspace` condition is illogical
* internal: Formatter rework (#3186)Vaxry2023-09-061-1/+1
|
* wlr-ext-workspace: remove protocol implvaxerski2023-09-011-40/+2
| | | | Various reasons: 1st, memory issues. 2nd, MR got closed (see https://gitlab.freedesktop.org/wlroots/wlr-protocols/-/merge_requests/35) 3rd, not needed anymore (waybar has its own hyprland/workspaces module)
* internal: allow opening empty special workspacesvaxerski2023-08-251-3/+12
| | | | Fixes point 2 of #2596
* animations: add slidefade and slidefadevert styles for workspaces (#3008)end-42023-08-171-1/+40
| | | | | | | | | | | | | | | * add slidefade and slidefadevert animations * fix swiping for slidefadevert * rename minPerc to movePerc for slidefade anim styles * change default slidefade percentage to 100% * remove useless comments * findlastof + 1 * debug logging for slidefade/slidefadevert percentage
* eventmanager: drop obsoleted ignore events flag (#2660)Mykola Perehudov2023-07-061-2/+2
| | | | This flag became obsoleted in commit 287e6c4ede30c8e5e85863cd85f157e17e24879c
* keybinds: simulate workspace switch on focusWindow to another wsvaxerski2023-05-011-0/+11
|
* workspace: don't check LS-es in startAnimvaxerski2023-04-301-9/+0
|
* Implement window move (#2018)Hilmar Wiegand2023-04-101-0/+16
|
* Added an Event Hook System (#1578)Vaxry2023-02-191-0/+2
| | | | | * added an eventHookSystem * Add all socket2 events to hooks
* remove old comment and fixup lsl var namevaxerski2023-01-221-1/+1
|
* Normalize color storagevaxerski2023-01-051-6/+6
| | | | | | Colors are now normalized to 0 - 1 values instead of 0 - 255 causes calculations to be simpler and generally cleans up the codebase.
* Added clang format (#1239)Vaxry2022-12-161-5/+7
| | | * clang-format stuff and format files
* don't change alpha on special animsvaxerski2022-11-241-1/+1
|
* Multiple animation optimization and xwayland wine fixesvaxerski2022-11-041-0/+3
|
* Remove trailing whitespace.Felix Dick2022-09-251-1/+1
|
* fix LS fading out on ws changevaxerski2022-09-201-1/+2
|
* fix ws switching with LS opacityvaxerski2022-09-191-0/+8
|
* sanity check on last windowvaxerski2022-09-011-1/+8
|
* added a specialWorkspace anim leafvaxerski2022-08-261-2/+2
|
* Animation config reworkvaxerski2022-07-281-3/+3
|
* force workspace eventsvaxerski2022-06-291-2/+2
|
* added createworkspace destroyworkspace eventsvaxerski2022-06-281-2/+6
|
* fix stupid error in anim stylesvaxerski2022-06-011-1/+1
|
* added slidevert for workspacesvaxerski2022-05-311-0/+12
|
* Added a special workspacevaxerski2022-05-311-11/+15
|
* notify workspace protocol of workspace group changevaxerski2022-05-301-0/+22
|
* Added moving workspacesvaxerski2022-05-301-1/+8
|
* workspace set activevaxerski2022-05-251-0/+6
|
* fix workspaces disappearing on switch anim modevaxerski2022-05-181-1/+5
|
* fix workspace fade damagevaxerski2022-05-171-0/+1
|
* Added workspace fade transitionvaxerski2022-05-161-0/+26
|
* Added workspace animationsvaxerski2022-05-121-0/+5
|
* set hidden and urgent flags for new workspacesvaxerski2022-04-121-0/+2
|
* Added zext_workspace protocol support 🎉vaxerski2022-04-111-0/+29