Browse Source

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

x11-apps/xinit
x11-apps/xmessage
master
parent
commit
da2f0ea7cc
  1. 2
      merge/sys-fs/udev/.calculate_directory
  2. 1
      merge/x11-apps/.calculate_directory
  3. 1
      merge/x11-apps/xinit/.calculate_directory
  4. 3
      merge/x11-apps/xinit/X11/startDM.sh
  5. 3
      merge/x11-apps/xinit/X11/xinit/xinitrc
  6. 21
      merge/x11-apps/xinit/env.d/90xsession
  7. 1
      merge/x11-apps/xmessage/.calculate_directory
  8. 18
      merge/x11-apps/xmessage/Xmessage

2
merge/sys-fs/udev/.calculate_directory

@ -1 +1 @@
{% calculate package='', path='/etc', name='modprobe.d' %}
{% calculate path='/etc', name='modprobe.d', package='sys-fs/udev' %}

1
merge/x11-apps/.calculate_directory

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

1
merge/x11-apps/xinit/.calculate_directory

@ -0,0 +1 @@
{% calculate name='etc', package='x11-apps/xinit' %}

3
merge/x11-apps/xinit/X11/startDM.sh

@ -0,0 +1,3 @@
{% calculate format='regex', comment='#' %}
<reg>\$\{START_STOP_ARGS\} \|\|</reg>
<text>${START_STOP_ARGS} &lt;/dev/null ||</text>

3
merge/x11-apps/xinit/X11/xinit/xinitrc

@ -0,0 +1,3 @@
{% calculate format='regex', comment='#', dotall %}
<reg>^\s*</reg>
<text></text>

21
merge/x11-apps/xinit/env.d/90xsession

@ -0,0 +1,21 @@
{% calculate format='openrc' %}
{% if pkg('kde-plasma/plasma-workspace') and pkg('kde-frameworks/plasma') %}
XSESSION="Plasma"
{% elif pkg('kde-base/ksmserver') %}
XSESSION="KDE-4"
{% elif pkg('mate-base/mate-session-manager') %}
XSESSION="Mate"
{% elif pkg('xfce-base/xfce4-session') %}
XSESSION="Xfce4"
{% elif pkg('lxqt-base/lxqt-session') %}
XSESSION="lxqt"
{% elif pkg('gnome-extra/cinnamon-session') %}
XSESSION="cinnamon-session"
{% elif pkg('gnome-base/gnome-session') %}
XSESSION="gnome"
{% elif pkg('x11-wm/openbox') %}
XSESSION="openbox"
{% elif pkg('media-tv/kodi') %}
XSESSION="Kodi"
{% endif %}

1
merge/x11-apps/xmessage/.calculate_directory

@ -0,0 +1 @@
{% calculate path='/usr/share/X11', name='app-defaults', package='x11-apps/xmessage' %}

18
merge/x11-apps/xmessage/Xmessage

@ -0,0 +1,18 @@
{% calculate comment='#' %}
# key esc for close dialog
*baseTranslations: #override :<Key>Return: default-exit()
# display vertical scroll
*message.scrollVertical: Always
# hide horizontal scroll
*message.scrollHorizontal: Never
# rectange button style
*Command.shapeStyle: rectangle
# thickness highlight
*Command.highlightThickness: 1
# font for messages
{% if pkg('media-fonts/droid') %}
*font: -*-droid sans-medium-r-*-*-*-*-*-*-*-*-*-uni
{% else %}
*font: -*-verdana-medium-r-*-*-*-*-*-*-*-*-*-uni
{% endif %}
Loading…
Cancel
Save