Bladeren bron

several improvements

master
Markus Brechtel 6 jaren geleden
bovenliggende
commit
cfba7d9895
3 gewijzigde bestanden met toevoegingen van 106 en 16 verwijderingen
  1. +1
    -0
      defaults/main.yml
  2. +66
    -0
      files/xdg/xfce4/panel/whiskermenu-1.rc
  3. +39
    -16
      templates/xfce4-panel.xml.j2

+ 1
- 0
defaults/main.yml Bestand weergeven

@@ -6,6 +6,7 @@ application_starters:
- libreoffice-writer
- libreoffice-calc
- libreoffice-impress
- xfce4-screenshooter
- fotowall
- org.kde.gwenview



+ 66
- 0
files/xdg/xfce4/panel/whiskermenu-1.rc Bestand weergeven

@@ -0,0 +1,66 @@
favorites=exo-file-manager.desktop,exo-mail-reader.desktop,exo-web-browser.desktop
recent=
button-title=Anwendungen
button-icon=applications-other
button-single-row=false
show-button-title=false
show-button-icon=true
launcher-show-name=false
launcher-show-description=true
launcher-show-tooltip=true
item-icon-size=3
hover-switch-category=false
category-icon-size=1
load-hierarchy=false
recent-items-max=10
favorites-in-recent=true
display-recent-default=false
position-search-alternate=false
position-commands-alternate=false
position-categories-alternate=false
menu-width=600
menu-height=600
menu-opacity=70
command-settings=xfce4-settings-manager
show-command-settings=true
command-lockscreen=xflock4
show-command-lockscreen=true
command-switchuser=gdmflexiserver
show-command-switchuser=true
command-logout=xfce4-session-logout
show-command-logout=true
command-menueditor=menulibre
show-command-menueditor=true
command-profile=mugshot
show-command-profile=true
search-actions=5

[action0]
name=Handbuchseiten
pattern=#
command=exo-open --launch TerminalEmulator man %s
regex=false

[action1]
name=Internetsuche
pattern=?
command=exo-open --launch WebBrowser https://www.google.de/search?q=%u
regex=false

[action2]
name=Wikipedia
pattern=!w
command=exo-open --launch WebBrowser https://de.wikipedia.org/wiki/%u
regex=false

[action3]
name=Im Terminal ausführen
pattern=!
command=exo-open --launch TerminalEmulator %s
regex=false

[action4]
name=Adresse öffnen
pattern=^(file|http|https):\\/\\/(.*)$
command=exo-open \\0
regex=true

+ 39
- 16
templates/xfce4-panel.xml.j2 Bestand weergeven

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>

{% set i = 10 %}
{% set i = 12 %}

<channel name="xfce4-panel" version="1.0" locked="*" unlocked="leitung">
<channel name="xfce4-panel" version="1.0" locked="*" unlocked="root">
<property name="configver" type="int" value="2"/>
<property name="panels" type="array">
<value type="int" value="1"/>
@@ -24,16 +24,24 @@
<value type="int" value="7"/>
<value type="int" value="8"/>
<value type="int" value="9"/>
<value type="int" value="10"/>
<value type="int" value="11"/>
</property>
<property name="nrows" type="empty"/>
<property name="nrows" type="uint" value="2"/>
<property name="disable-struts" type="empty"/>
<property name="background-style" type="uint" value="1"/>
<property name="background-alpha" type="uint" value="50"/>
<property name="background-color" type="array">
<value type="uint" value="54965"/>
<value type="uint" value="54965"/>
<value type="uint" value="54965"/>
<value type="uint" value="65535"/>
</property>

</property>
</property>
<property name="plugins" type="empty">

<property name="plugin-1" type="string" value="applicationsmenu">
<property name="button-icon" type="string" value="applications-other"/>
</property>
<property name="plugin-1" type="string" value="whiskermenu"/>

{% for app in application_starters %}
<property name="plugin-{{ loop.index0 + i }}" type="string" value="launcher">
@@ -43,7 +51,15 @@
</property>
{% endfor %}

<property name="plugin-2" type="string" value="tasklist"/>
<property name="plugin-2" type="string" value="tasklist">
<property name="include-all-workspaces" type="bool" value="false"/>
<property name="include-all-monitors" type="bool" value="true"/>
<property name="grouping" type="uint" value="0"/>
<property name="middle-click" type="uint" value="1"/>
<property name="show-wireframes" type="bool" value="false"/>
<property name="flat-buttons" type="bool" value="true"/>
<property name="show-labels" type="bool" value="true"/>
</property>

<property name="plugin-3" type="string" value="separator">
<property name="expand" type="bool" value="true"/>
@@ -54,23 +70,29 @@
<property name="digital-format" type="empty"/>
</property>

<property name="plugin-5" type="string" value="pager"/>
<property name="plugin-5" type="string" value="windowmenu">
<property name="style" type="uint" value="0"/>
<property name="workspace-actions" type="bool" value="true"/>
<property name="workspace-names" type="bool" value="true"/>
<property name="urgentcy-notification" type="bool" value="true"/>
<property name="all-workspaces" type="bool" value="true"/>
</property>

<property name="plugin-6" type="string" value="systray"/>

<property name="plugin-7" type="string" value="pulseaudio">
<property name="items" type="array">
<value type="string" value="15375422901.desktop"/>
</property>
<property name="plugin-7" type="string" value="pager"/>

<property name="plugin-8" type="string" value="pulseaudio">
<property name="enable-keyboard-shortcuts" type="bool" value="true"/>
</property>
<property name="plugin-9" type="string" value="power-manager-plugin"/>

<property name="plugin-8" type="string" value="clock">
<property name="digital-format" type="string" value="%a %x %R"/>
<property name="plugin-10" type="string" value="clock">
<property name="digital-format" type="string" value="%a %d.%m. – %H:%M"/>
<property name="mode" type="uint" value="2"/>
</property>

<property name="plugin-9" type="string" value="actions">
<property name="plugin-11" type="string" value="actions">
<property name="items" type="array">
<value type="string" value="-separator"/>
<value type="string" value="-logout-dialog"/>
@@ -83,6 +105,7 @@
<value type="string" value="-shutdown"/>
</property>
<property name="appearance" type="uint" value="0"/>
<property name="invert-orientation" type="bool" value="true"/>
</property>

</property>


Laden…
Annuleren
Opslaan