Browse Source

Добавлены шаблоны x11-misc

x11-misc/compton
x11-misc/lightdm
x11-misc/pcmanfm-qt
x11-misc/qlipper
x11-misc/qt5ct
x11-misc/sddm
x11-misc/snixembed
x11-misc/xkeyboard-config
master
parent
commit
dfbedfa96f
  1. 1
      merge/x11-misc/.calculate_directory
  2. 1
      merge/x11-misc/compton/.calculate_directory
  3. 1
      merge/x11-misc/compton/compton.autostart.desktop
  4. 18
      merge/x11-misc/compton/compton.conf
  5. 4
      merge/x11-misc/compton/compton.desktop
  6. 1
      merge/x11-misc/lightdm/.calculate_directory
  7. 5
      merge/x11-misc/lightdm/99lightdm
  8. 1
      merge/x11-misc/lightdm/99lightdm.remove
  9. 14
      merge/x11-misc/lightdm/lightdm
  10. 19
      merge/x11-misc/lightdm/lightdm-greeter
  11. 10
      merge/x11-misc/lightdm/lightdm.conf
  12. 1
      merge/x11-misc/pcmanfm-qt/.calculate_directory
  13. 3
      merge/x11-misc/pcmanfm-qt/lxqt-desktop.desktop
  14. 1
      merge/x11-misc/qlipper/.calculate_directory
  15. 3
      merge/x11-misc/qlipper/qlipper.desktop
  16. 1
      merge/x11-misc/qt5ct/.calculate_directory
  17. 9
      merge/x11-misc/qt5ct/qt5ct.desktop
  18. 1
      merge/x11-misc/sddm/.calculate_directory
  19. 11
      merge/x11-misc/sddm/group
  20. 1
      merge/x11-misc/sddm/scripts/.calculate_directory
  21. 10
      merge/x11-misc/sddm/scripts/Xlogin
  22. 10
      merge/x11-misc/sddm/scripts/Xlogout
  23. 8
      merge/x11-misc/sddm/scripts/Xstop
  24. 4
      merge/x11-misc/sddm/sddm
  25. 22
      merge/x11-misc/sddm/sddm-greeter
  26. 1
      merge/x11-misc/snixembed/.calculate_directory
  27. 5
      merge/x11-misc/snixembed/snixembed.desktop
  28. 1
      merge/x11-misc/xkeyboard-config/.calculate_directory
  29. 9
      merge/x11-misc/xkeyboard-config/xfree86

1
merge/x11-misc/.calculate_directory

@ -0,0 +1 @@
{% calculate append='skip' %}

1
merge/x11-misc/compton/.calculate_directory

@ -0,0 +1 @@
{% calculate append='skip', package='x11-misc/compton' %}

1
merge/x11-misc/compton/compton.autostart.desktop

@ -0,0 +1 @@
{% calculate path='/etc/xdg/autostart', name='compton.desktop', source='/usr/share/applications/compton.desktop', mirror %}

18
merge/x11-misc/compton/compton.conf

@ -0,0 +1,18 @@
{% calculate comment='#', path='/etc/xdg' %}
shadow = true;
shadow-radius = 9;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-opacity = 0.4;
shadow-ignore-shaped = true;
backend = "glx";
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 0;
vsync = "none";
dbe = false;
paint-on-overlay = true;

4
merge/x11-misc/compton/compton.desktop

@ -0,0 +1,4 @@
{% calculate format='kde', path='/usr/share/applications' %}
[Desktop Entry]
NoDisplay=true

1
merge/x11-misc/lightdm/.calculate_directory

@ -0,0 +1 @@
{% calculate path='/etc', name='pam.d', package='x11-misc/lightdm' %}

5
merge/x11-misc/lightdm/99lightdm

@ -0,0 +1,5 @@
{% calculate path='/usr/share/calculate/xdm/logout.d', pkg('sys-apps/calculate-utils[desktop]') %}
#!/bin/bash
chvt $(ps ax | grep -v root/$DISPLAY | sed -rn 's/^.*lightdm\/root.*vt([0-9]+).*$/\1/p' | awk '{print $1}')
exit 0

1
merge/x11-misc/lightdm/99lightdm.remove

@ -0,0 +1 @@
{% calculate append='remove', path='/usr/share/calculate/xdm/logout.d', name='99lightdm', not pkg('sys-apps/calculate-utils[desktop]') %}

14
merge/x11-misc/lightdm/lightdm

@ -0,0 +1,14 @@
{% calculate path='/etc/pam.d', name='lightdm' %}
#%PAM-1.0
auth optional pam_env.so
auth include system-login
auth required pam_nologin.so
account include system-login
password include system-login
session include system-auth
{% if pkg('gnome-base/gnome-keyring') and not pkg('mate-base/mate-session-manager') %}
session optional pam_gnome_keyring.so auto_start
{% endif %}

19
merge/x11-misc/lightdm/lightdm-greeter

@ -0,0 +1,19 @@
#%PAM-1.0
# Load environment from /etc/environment and ~/.pam_environment
auth required pam_env.so
# Always let the greeter start without authentication
auth required pam_permit.so
# No action required for account management
account required pam_permit.so
# Can't change password
password required pam_deny.so
# Setup session
session required pam_unix.so
{% if pkg('sys-apps/systemd') %}
session optional pam_systemd.so
{% endif %}

10
merge/x11-misc/lightdm/lightdm.conf

@ -0,0 +1,10 @@
{% calculate format='kde', path='/etc/lightdm' %}
[SeatDefaults]
{% if pkg('sys-apps/calculate-utils[desktop]') %}
session-setup-script=/usr/share/calculate/xdm/xdm --login
session-cleanup-script=/usr/share/calculate/xdm/xdm --logout
{% else %}
!session-setup-script=
!session-cleanup-script=
{% endif %}

1
merge/x11-misc/pcmanfm-qt/.calculate_directory

@ -0,0 +1 @@
{% calculate append='skip', package='x11-misc/pcmanfm-qt' %}

3
merge/x11-misc/pcmanfm-qt/lxqt-desktop.desktop

@ -0,0 +1,3 @@
{% calculate format='kde', path='/etc/xdg/autostart' %}
[Desktop Entry]
Exec=pcmanfm-qt --desktop

1
merge/x11-misc/qlipper/.calculate_directory

@ -0,0 +1 @@
{% calculate append='skip', package='x11-misc/qlipper' %}

3
merge/x11-misc/qlipper/qlipper.desktop

@ -0,0 +1,3 @@
{% calculate format='kde', path='/etc/xdg/autostart', name='qlipper.desktop', source='/usr/share/applications/qlipper.desktop', mirror %}
[Desktop Entry]
X-LXQt-Need-Tray=true

1
merge/x11-misc/qt5ct/.calculate_directory

@ -0,0 +1 @@
{% calculate path='/usr/share', name='applications', package='x11-misc/qt5ct' %}

9
merge/x11-misc/qt5ct/qt5ct.desktop

@ -0,0 +1,9 @@
{% calculate format='kde' %}
[Desktop Entry]
Name=Qt5 Settings
Exec=qt5ct
{% if pkg('x11-themes/calculate-icon-theme') >= '15-r8' %}
Icon=qt5logo
Categories=Settings;Qt;
OnlyShowIn=XFCE;MATE;LXQt;
{% endif %}

1
merge/x11-misc/sddm/.calculate_directory

@ -0,0 +1 @@
{% calculate path='/etc', name='pam.d', package='x11-misc/sddm' %}

11
merge/x11-misc/sddm/group

@ -0,0 +1,11 @@
{% calculate format='regex', multiline, path='/etc', unbound %}
<reg>^(video:x?:[^:]+:)(.*),sddm(.*)$</reg>
<text>\1\2\3</text>
<reg>^(video:x?:[^:]+:)sddm,(.*)$</reg>
<text>\1\2</text>
<reg>^(video:x?:[^:]+:)sddm$</reg>
<text>\1</text>
<reg>^(video:x?:[^:]+:)(.+)</reg>
<text>\1\2,sddm</text>
<reg>^(video:x?:[^:]+:)$</reg>
<text>\1sddm</text>

1
merge/x11-misc/sddm/scripts/.calculate_directory

@ -0,0 +1 @@
{% calculate path='/usr/share/sddm' %}

10
merge/x11-misc/sddm/scripts/Xlogin

@ -0,0 +1,10 @@
{% calculate chmod='755' %}
#!/bin/sh
# Xlogin - run as root before user login
{% if pkg('sys-apps/calculate-utils[desktop]') %}
VT="vt$(( ${DISPLAY#:} + 7 ))"
XAUTHORITY=$(ps ax | sed -nr "s/.*usr\/bin\/X.*-auth (\S+).*$VT.*/\1/p")
export XAUTHORITY
/usr/share/calculate/xdm/xdm --login
{% endif %}

10
merge/x11-misc/sddm/scripts/Xlogout

@ -0,0 +1,10 @@
{% calculate chmod='755' %}
#!/bin/sh
# Xlogout - run as root after user logout
{% if pkg('sys-apps/calculate-utils[desktop]') %}
VT="vt$(( ${DISPLAY#:} + 7 ))"
XAUTHORITY=$(ps ax | sed -nr "s/.*usr\/bin\/X.*-auth (\S+).*$VT.*/\1/p")
export XAUTHORITY
/usr/share/calculate/xdm/xdm --logout
{% endif %}

8
merge/x11-misc/sddm/scripts/Xstop

@ -0,0 +1,8 @@
{% calculate chmod='755' %}
#!/bin/sh
# Xstop - run as root after stopping X
if ! pgrep -f /usr/bin/X
then
[[ -x /usr/sbin/logout ]] && /usr/sbin/logout
fi

4
merge/x11-misc/sddm/sddm

@ -0,0 +1,4 @@
{% calculate format='regex' %}
<reg>session\s+optional\s+pam_keyinit.so\s+force\s+revoke\s*
</reg>
<text></text>

22
merge/x11-misc/sddm/sddm-greeter

@ -0,0 +1,22 @@
#%PAM-1.0
# Load environment from /etc/environment and ~/.pam_environment
auth required pam_env.so
# Always let the greeter start without authentication
auth required pam_permit.so
# No action required for account management
account required pam_permit.so
# Can't change password
password required pam_deny.so
# Setup session
session required pam_unix.so
{% if pkg('sys-apps/systemd') %}
session optional pam_systemd.so
{% endif %}
{% if pkg('sys-auth/elogind') %}
session optional pam_elogind.so
{% endif %}

1
merge/x11-misc/snixembed/.calculate_directory

@ -0,0 +1 @@
{% calculate path='/etc/xdg', name='autostart', package='x11-misc/snixembed' %}

5
merge/x11-misc/snixembed/snixembed.desktop

@ -0,0 +1,5 @@
[Desktop Entry]
Type=Application
Name=StatusNotifierItems as XEmbedded
Exec=snixembed
NoDisplay=true

1
merge/x11-misc/xkeyboard-config/.calculate_directory

@ -0,0 +1 @@
{% calculate append='skip', package='x11-misc/xkeyboard-config' %}

9
merge/x11-misc/xkeyboard-config/xfree86

@ -0,0 +1,9 @@
{% calculate format='regex', path='/usr/share/X11/xkb/compat' %}
<reg>\s*interpret\s+XF86_Ungrab\s+{
\s*action = Private\([^)]+\);
\s*};</reg>
<text></text>
<reg>interpret\s+XF86_ClearGrab\s+{
\s*action = Private\([^)]+\);
\s*};</reg>
<text></text>
Loading…
Cancel
Save