ソースを参照

clean xsession reload script

systemd-xsession
コミット
663e1b324e
4個のファイルの変更13行の追加34行の削除
  1. +8
    -0
      tasks/apps.yaml
  2. +5
    -0
      tasks/clean.yaml
  3. +0
    -6
      tasks/x11.yaml
  4. +0
    -28
      templates/x11/xsession.fish.j2

+ 8
- 0
tasks/apps.yaml ファイルの表示

@@ -0,0 +1,8 @@
# {% if home_profile != "vdesk" %}
# blueman-applet &
# pasystray &
# nm-applet &
# {% endif %}
# {% if home_profile == "presentation" %}
# unclutter &
# {% endif %}

+ 5
- 0
tasks/clean.yaml ファイルの表示

@@ -17,3 +17,8 @@
file:
path: ~/.eralitex
state: absent

- name: remove old xsession fish script
file:
path: ~/.xsession.fish
state: absent

+ 0
- 6
tasks/x11.yaml ファイルの表示

@@ -10,12 +10,6 @@
src: x11/Xmodmap.j2
dest: ~/.Xmodmap

- name: xsession script
template:
src: x11/xsession.fish.j2
dest: ~/.xsession.fish
mode: 0755

- name: xsession reload script
template:
src: x11/xsession.reload.fish.j2


+ 0
- 28
templates/x11/xsession.fish.j2 ファイルの表示

@@ -1,28 +0,0 @@
#!/usr/bin/fish

{{ ansible_managed | comment }}

# set PATH so it includes users
# private bin directory if it exists
if test -d "$HOME/bin"
set -x PATH "$HOME/bin:$PATH"
end

# xsession reload script
source ~/.xsession.reload.fish

{% if home_profile != "vdesk" %}
blueman-applet &
pasystray &
nm-applet &
{% endif %}

{% if home_profile != "presentation" and home_profile != "vdesk" %}
/usr/local/bin/screensaver-start &
{% endif %}

{% if home_profile == "presentation" %}
unclutter &
{% endif %}

exec /usr/bin/i3