summaryrefslogtreecommitdiff
path: root/src/helpers/MiscFunctions.cpp
Commit message (Collapse)AuthorAgeFilesLines
* bug fix (#2314)Eric_Luo2023-05-161-1/+1
| | | | | fix float check logic Co-authored-by: hnboy <hnywolf@gmail.ccom>
* Add "next on monitor or empty" workspace parameter (#2198)scorpion-262023-05-081-2/+135
| | | | | | | | | | | | | | | | | | | | | * Add "next on monitor or empty" workspace parameter Implements the following workspace parameter: r+x/r-x (i.e. r+1): Behaves similar to the "m" parameter, but can also select empty workspaces and it doesn't wrap around * Improve code comments * Implementation V2 for 'r' workspace param * Rebase to upstream Should fix CI * Always set outName * Include named workspaces Currently only considers open/active named workspaces
* Format: use %lx for all addressesvaxerski2023-04-171-1/+1
|
* Misc FreeBSD fixes (#1926)Jan Beich2023-03-311-3/+3
| | | | | | | | | | | | | | | | | | | | | * helpers: drop incomplete GNU/kFreeBSD bits Debian with FreeBSD kernel lacks Wayland-related packages and is not officially supported since Jessie. * KeybindManager: check VT ioctl availability instead of hardcoding * plugins: add missing header for libc++ after 430778293e4c src/plugins/PluginAPI.cpp:299:33: error: implicit instantiation of undefined template 'std::basic_istringstream<char>' std::istringstream inStream(SYMBOLS); ^ /usr/include/c++/v1/iosfwd:140:32: note: template is declared here class _LIBCPP_TEMPLATE_VIS basic_istringstream; ^ * plugins: prefer llvm-nm with Clang after 430778293e4c nm: invalid option -- j
* dispatchers: remember named workspaces in prevvaxerski2023-03-131-3/+3
|
* Buffer overflow fix (#1707)opsu2023-03-051-2/+2
|
* Unbreak CrashReporter on FreeBSD (#1589)Jan Beich2023-02-201-0/+4
|
* Added a crash reportervaxerski2023-02-191-0/+9
|
* add prev to getWorkspaceIDFromStringvaxerski2023-02-091-0/+16
|
* feat: border angle animations (#1469)ozwaldorf2023-02-011-0/+16
| | | Co-authored-by: vaxerski <43317083+vaxerski@users.noreply.github.com>
* Unbreak build with libc++ (#1457)Jan Beich2023-01-311-0/+1
|
* remove restrictions from setprop for intsvaxerski2023-01-241-33/+89
|
* Add 'exact' option for 'splitratio' (#1245)Julian Schuler2022-12-171-67/+38
| | | | | * Simplify getPlusMinusKeywordResult() * Add an 'exact' option for 'splitratio'
* Added clang format (#1239)Vaxry2022-12-161-73/+69
| | | * clang-format stuff and format files
* sort valid ws-es in relativevaxerski2022-12-081-0/+2
|
* optimize m+- and e+- workspace optsvaxerski2022-12-081-41/+29
|
* Added handling more special workspacesvaxerski2022-11-271-3/+14
|
* Add option for retrieving first empty workspace (#1085)Julian Schuler2022-11-231-1/+8
|
* Add bordercolor windowrule (#992)Jef2022-11-131-0/+36
| | | | | | | * Add bordercolor windowrule * remove spaces form bordercolor rule + typo Co-authored-by: Jef Steelant <jef.steelant_ext@softathome.com>
* guard empty str in removeBeginEndSpacesTabsvaxerski2022-11-101-0/+3
|
* helpers: implement getPPIDof on BSDs (#972)Jan Beich2022-11-071-0/+45
| | | | Get PPID from `struct kinfo_proc` via sysctl for the specified PID. Adjusted for minor differences between each BSD kernel.
* Change matrixProjection function stop use matrixFlip180 everywhere.Felix Dick2022-10-101-5/+5
|
* log GPU info for debuggingvaxerski2022-10-031-0/+9
|
* optimize removing trailing spacesvaxerski2022-10-031-4/+8
|
* Added window swallowingvaxerski2022-10-011-0/+35
|
* add case for empty strings in isNumbervaxerski2022-09-301-0/+3
|
* Use double literals, don't cast a integer literal to double.Felix Dick2022-09-281-3/+3
|
* rewrite isNumbervaxerski2022-09-281-1/+19
|
* allow for pure workspace names in dispatchersvaxerski2022-09-281-6/+14
|
* Replace clamp with max if there is no upper bound.Felix Dick2022-09-261-2/+2
|
* Remove trailing whitespace.Felix Dick2022-09-251-5/+5
|
* minor swipe fixesvaxerski2022-09-171-0/+3
|
* update wlroots depvaxerski2022-08-201-29/+0
|
* move absolutePath to MiscFunctionsFlafyDev2022-08-191-0/+22
|
* simplify formatsvaxerski2022-07-251-20/+2
|
* Merge upstreamDarksome2022-07-211-0/+24
|\
| * fixed issue causing hyprctl to output ill-formed json when strings include ↵Daniel Gerblick2022-07-181-0/+24
| | | | | | | | characters needing escaping
* | Impl changeworkspace(e+{n})Darksome2022-07-161-2/+4
|/
* changed C++ std to C++23, use std::string::containsvaxerski2022-07-061-3/+3
|
* finally fix scaled snapshotsvaxerski2022-06-301-2/+2
|
* mordernize pointersvaxerski2022-06-301-5/+5
|
* update wlroots depvaxerski2022-06-281-1/+57
|
* added decoration:shadow_offsetvaxerski2022-06-261-2/+2
|
* add system info loggingvaxerski2022-06-251-0/+32
|
* fix crash on number workspace with null monvaxerski2022-06-211-1/+14
|
* Added resizeactivevaxerski2022-06-061-1/+1
|
* fucking typovaxerski2022-06-021-1/+1
|
* Added locking numlockvaxerski2022-06-021-1/+1
|
* Fix special in m+1 m-1vaxerski2022-06-021-1/+1
|
* Added hyprctl devicesvaxerski2022-06-021-4/+23
|