This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
ka
/
ansible-role-home
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
profile xsessionrc
systemd-xsession
Markus Katharina Brechtel
3 years ago
parent
827c3ee306
commit
dd548394d0
2 changed files
with
12 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
tasks/x11.yaml
+11
-0
templates/x11/xsessionrc.j2
+ 1
- 0
tasks/x11.yaml
View File
@@ -26,3 +26,4 @@
template:
template:
src: x11/xsessionrc.j2
src: x11/xsessionrc.j2
dest: ~/.xsessionrc
dest: ~/.xsessionrc
mode: 0755
+ 11
- 0
templates/x11/xsessionrc.j2
View File
@@ -1,3 +1,14 @@
#!/bin/bash
{{ansible_managed|comment}}
{{ansible_managed|comment}}
if [ -d /etc/profile.d ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
exec fish ~/.xsession.fish
exec fish ~/.xsession.fish