dotfiles/xinitrc
Frank Villaro-Dixon 6d17b93b5c procmailrc
2014-02-10 18:19:07 +01:00

63 lines
1,012 B
Bash

#!/bin/sh
# ~/.xinitrc
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
export PATH=~/.my_utils/:$PATH
source ~/.bashrc
#Java
wmname LG3D
#Keyboard setup +compose key for "ŭ" (Win-b u) for esperanto
setxkbmap -model pc104 -layout ch -variant fr -option compose:lwin
#My pinkie hurts :'(
if [ -s ~/.Xmodmap ]; then
xmodmap ~/.Xmodmap
fi
$OCTOPUS init-all 1>> /dev/shm/Octopus_logs 2>> /dev/shm/Octopus_logs &
ftpfct.sh >/dev/null || true &
ps aux | grep mpd | grep -v grep
if [ $? -eq 1 ]; then
mpd &
fi;
while true; do
$OCTOPUS refresh
sleep 50
done &
while true; do
sleep 240
$OCTOPUS wallpaper
done &
while true; do
sleep 120
$OCTOPUS init-mouse
xset m 9/1 1
done &
#xautolock -time 60 -locker "systemctl suspend" &
redshift -l 46:6 || true &
#ssh-agent -t 10 /home/frank/Programmation/dotfiles/dwm/dwm
/home/frank/Programmation/dotfiles/dwm/dwm
# exec gnome-session
# exec startkde
# exec startxfce4