aboutsummaryrefslogtreecommitdiffstats
path: root/xmonad/xmonad-session-rc
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-11-25 18:08:34 +0100
committerMattias Andrée <maandree@kth.se>2023-11-25 18:08:34 +0100
commit5b7e0db847c46affc207c327835d1efd3b2727de (patch)
tree764855cde8a304641a359e907157dc0525ff8a20 /xmonad/xmonad-session-rc
parentUpdate dmenu to use different fonts (primary size due to different DPI, distance, and screen size) on different computers (diff)
downloaddotfiles-5b7e0db847c46affc207c327835d1efd3b2727de.tar.gz
dotfiles-5b7e0db847c46affc207c327835d1efd3b2727de.tar.bz2
dotfiles-5b7e0db847c46affc207c327835d1efd3b2727de.tar.xz
Misc updates
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--xmonad/xmonad-session-rc14
1 files changed, 14 insertions, 0 deletions
diff --git a/xmonad/xmonad-session-rc b/xmonad/xmonad-session-rc
new file mode 100644
index 0000000..f61a512
--- /dev/null
+++ b/xmonad/xmonad-session-rc
@@ -0,0 +1,14 @@
+# -*- shell-script -*-
+
+if test -z "${default_session}"; then # Guard from inclusion from xinit
+
+ SESSION=xmonad
+ export DESKTOP_SESSION="$SESSION"
+
+ # Apply package specific settings and run package specific programs
+ for f in ~/.config/X11/xinit/xinitrc.d/*; do
+ if test -r "$f"; then
+ . -- "$f"
+ fi
+ done
+fi