Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update compoitor behavor #111

Merged
merged 2 commits into from Feb 18, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Next Next commit
[compositor] Add mce configs
  • Loading branch information
neochapay committed Feb 11, 2020
commit 5366e74da0156304a267076375fbde2e5a8e8e97
8 changes: 7 additions & 1 deletion glacier-home.pro
Expand Up @@ -42,14 +42,19 @@ systemd.path = /usr/lib/systemd/user
privileges.files = src/data/glacier-home.privileges
privileges.path = /usr/share/mapplauncherd/privileges.d/

mce.files = src/data/90-glacier-powerkey.conf \
src/data/90-glacier-devlock.conf
mce.path = /etc/mce

INSTALLS += styles \
qml \
settingswallpaperplugin\
settingsnotificationsplugin\
settingspluginconfig \
settingsdesktopplugin \
systemd \
privileges
privileges \
mce

CONFIG += qt link_pkgconfig
QT += quick compositor dbus
Expand Down Expand Up @@ -80,6 +85,7 @@ i18n_files.path = /usr/share/lipstick-glacier-home-qt5/
INSTALLS += i18n_files

DISTFILES += \
src/data/90-glacier-devlock.conf \
src/qml/lockscreen/AngleAnimation.qml \
translations/*.ts \
settings-plugins/*/*.qml \
Expand Down
1 change: 1 addition & 0 deletions rpm/lipstick-glacier-home-qt5.spec
Expand Up @@ -67,6 +67,7 @@ ln -s ../lipstick.service %{buildroot}%{_libdir}/systemd/user/user-session.targe

%files
%defattr(-,root,root,-)
%{_sysconfdir}/mce/90-glacier-*.conf
%{_bindir}/lipstick
%{_libdir}/systemd/user/lipstick.service
%{_libdir}/systemd/user/user-session.target.wants/lipstick.service
Expand Down
1 change: 1 addition & 0 deletions src/data/90-glacier-devlock.conf
@@ -0,0 +1 @@
/system/osso/dsm/locks/devicelock_in_lockscreen=true
2 changes: 2 additions & 0 deletions src/data/90-glacier-powerkey.conf
@@ -0,0 +1,2 @@
/system/osso/dsm/powerkey/actions_long_on=dbus1
/system/osso/dsm/powerkey/dbus_action1=power-key-menu