dotfiles/xinitrc
2013-07-29 18:34:39 +02:00

45 lines
633 B
Bash

#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#DWM
export PATH=~/Programmation/Utils/:$PATH
source ~/.bashrc
$OCTOPUS init-all
#Java
wmname LG3D
while true; do
$OCTOPUS refresh
sleep 50
done &
while true; do
$OCTOPUS wallpaper
sleep 240
done &
xautolock -time 60 -locker "systemctl suspend" &
ssh-agent -t 10 /home/frank/Programmation/dotfiles/dwm/dwm
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice