Commit graph

27 commits

Author SHA1 Message Date
Ivailo Monev
3d78c01c4b kwin: load additional rules from .kwinrules files everywhere
these bits are in 3 places now, have to do something about it but more
importantly the .kwinrules files are now loaded and shown by the KCM

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 07:38:27 +03:00
Ivailo Monev
045749b5d5 kwin: implement demand attention rule
note that this rule is kinda special - if a window is activated the window
will no longer demand attention regardless if set in rule (i.e. it is like
temporary rule but will apply if the initial window state is iconified or
minimized for whatever reason)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-19 04:07:03 +03:00
Ivailo Monev
0a5808cc21 kwin: break the rules dialog hints text into lines
this can be done automagically tho

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-05-14 13:13:23 +03:00
Ivailo Monev
c7173b98af kwin: use MIME type instead of glob for the window rules
requires the following commit from kdelibs:
31553f8958bb3aa36957ae5d2ebe0b315cad27d8

the MIME type is translated while globs passed to
KFileDialog::getSaveFileName() (and the related getters) have to be
translated in each application

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-27 00:24:09 +03:00
Ivailo Monev
108f16a997 kwin: correct patterns for window rules in kwinrules KCM
plasma-desktop for example installs such file and it is suffixed with
".kwinrules" (see
plasma/containments/desktop/plasma_desktop_containment.kwinrules). also a
new MIME type for such file was added, see the following commit in the
kdelibs repo:
31553f8958bb3aa36957ae5d2ebe0b315cad27d8

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-08-10 10:31:08 +03:00
Ivailo Monev
ce48bc0997 generic: preperations for kdelibs changes
automatically replaced via:
find -name CMakeLists.txt -exec sed -e 's|${KDE4_PLASMA_LIBS}|KDE4::plasma|g' -e 's|${KDE4_KIO_LIBS}|KDE4::kio|g' -e 's|${KDE4_SOLID_LIBS}|KDE4::solid|g' -e 's|${KDE4_KFILE_LIBS}|KDE4::kfile|g' -e 's|${KDE4_KDECORE_LIBS}|KDE4::kdecore|g' -e 's|${KDE4_KDEUI_LIBS}|KDE4::kdeui|g' -e 's|${KDE4_KCMUTILS_LIBS}|KDE4::kcmutils|g' -e 's|${KDE4_KDECLARATIVE_LIBS}|KDE4::kdeclarative|g' -e 's|${KDE4_KPTY_LIBS}|KDE4::kpty|g' -e 's|${KDE4_KEMAIL_LIBS}|KDE4::kemail|g' -e 's|${KDE4_KMEDIAPLAYER_LIBS}|KDE4::kmediaplayer|g' -e 's|${KDE4_KPARTS_LIBS}|KDE4::kparts|g' -e 's|${KDE4_KIDLETIME_LIBS}|KDE4::kidletime|g' -e 's|${KDE4_KTEXTEDITOR_LIBS}|KDE4::ktexteditor|g' -e 's|${KDE4_KPASSWDSTORE_LIBS}|KDE4::kpasswdstore|g' -e 's|${KDE4_KARCHIVE_LIBS}|KDE4::karchive|g' -e 's|${KDE4_KDNSSD_LIBS}|KDE4::kdnssd|g' -e 's|${KDE4_KNOTIFYCONFIG_LIBS}|KDE4::knotifyconfig|g' -e 's|${KDE4_KEXIV2_LIBS}|KDE4::kexiv2|g' -i {} +

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-06-17 23:27:11 +03:00
Ivailo Monev
936c69c827 generic: prepare for Katie changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-14 16:19:24 +03:00
Ivailo Monev
5d6df47b6c kwin: remove activities support leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2021-06-17 14:44:21 +03:00
Ivailo Monev
591b538337 generic: replace installation paths with KDE4_ prefixed
see commit in kdelibs repository

Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2020-02-08 20:13:13 +00:00
Ivailo Monev
043bd6b0bc generic: fix build with QStringBuilder enabled
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-06 06:19:57 +00:00
Ivailo Monev
e97e0ab60f generic: get rid of TopMenu window mask
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 17:43:07 +00:00
Ivailo Monev
3be53bc265 generic: get rid of TopMenu window mask
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-03-26 17:28:08 +00:00
Ivailo Monev
2baf4467d1 generic: major build system cleanup 2015-09-01 04:37:19 +03:00
Ivailo Monev
840c8a25cc generic: make changes required for building against katie 2015-08-12 13:11:16 +03:00
Ivailo Monev
1a547a0d05 generic: remove KDE prefix from header inclusions 2015-05-20 13:39:58 +00:00
Ivailo Monev
3ef94d4d1a generic: stop using kdeinit for main applications 2015-05-09 16:39:54 +00:00
Ivailo Monev
30e798dbf9 kwin: remove support for override/unmanaged window type (part 2) 2015-04-20 07:29:33 +00:00
Ivailo Monev
80b11f4d0e kwin: remove support for override/unmanaged window type 2015-04-20 07:24:50 +00:00
Ivailo Monev
c433e4502a generic: adjust for use with CMake moc 2015-02-27 09:28:46 +00:00
Ivailo Monev
e2ab69e6bf kcontrol: improve categorization
* move ksplash KCM module to kcontrol sub-directory, ksplash it
  build always and there is no reason to keep it out of the
  kcontrol directory holding all major KCM modules

* merge some sub-category modules into other major categories
  almost the same way it is done in KDE5 as it makes much more
  sense and users do not have to go to in-and-out of
  sub-categories to configure the overall desktop appearance
  - application-appearance -> desktop-appearance
  - window-behaviour -> workspace-behavior
  - workspace-appearance-and-behavior -> workspace-behaviour
2015-01-16 23:12:19 +00:00
Ivailo Monev
24a753cd7a remove activities support 2014-12-08 14:13:49 +00:00
Ivailo Monev
4102286a73 adjust for kactivities 2014-11-22 19:54:24 +00:00
Ivailo Monev
ce1ec51173 kactivities adjustments 2014-11-21 22:43:15 +00:00
Ivailo Monev
c37ae22f67 fixed build against kactivities (part 1) 2014-11-21 21:42:42 +00:00
Ivailo Monev
abb696b030 merged kactivities 2014-11-21 17:46:13 +00:00
Ivailo Monev
24b6d92809 changed bash scripts shebangs 2014-11-15 05:48:13 +02:00
Ivailo Monev
a7fd791926 initial import 2014-11-13 19:30:51 +02:00