2013-06-02 11:02:37 +00:00
|
|
|
#!/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
|
|
|
|
|
2013-08-22 14:26:45 +00:00
|
|
|
export PATH=~/.my_utils/:$PATH
|
2013-06-11 21:26:08 +00:00
|
|
|
|
|
|
|
source ~/.bashrc
|
|
|
|
|
2013-06-02 18:38:35 +00:00
|
|
|
|
2013-06-11 20:39:53 +00:00
|
|
|
#Java
|
|
|
|
wmname LG3D
|
|
|
|
|
2013-08-16 21:49:38 +00:00
|
|
|
#Keyboard setup +compose key for "ŭ" (Win-b u) for esperanto
|
2013-08-15 23:05:57 +00:00
|
|
|
setxkbmap -model pc104 -layout ch -variant fr -option compose:lwin
|
|
|
|
|
2014-11-16 13:55:00 +00:00
|
|
|
xbindkeysrc &
|
|
|
|
|
2013-11-11 20:48:13 +00:00
|
|
|
|
2013-08-22 19:28:44 +00:00
|
|
|
#My pinkie hurts :'(
|
2013-12-18 22:08:34 +00:00
|
|
|
if [ -s ~/.Xmodmap ]; then
|
|
|
|
xmodmap ~/.Xmodmap
|
|
|
|
fi
|
2013-08-22 19:28:44 +00:00
|
|
|
|
2013-12-07 14:42:02 +00:00
|
|
|
$OCTOPUS init-all 1>> /dev/shm/Octopus_logs 2>> /dev/shm/Octopus_logs &
|
2013-12-28 02:21:07 +00:00
|
|
|
ftpfct.sh >/dev/null || true &
|
2013-10-15 18:59:15 +00:00
|
|
|
|
2013-12-02 22:37:14 +00:00
|
|
|
ps aux | grep mpd | grep -v grep
|
|
|
|
if [ $? -eq 1 ]; then
|
|
|
|
mpd &
|
|
|
|
fi;
|
|
|
|
|
2014-09-23 21:03:23 +00:00
|
|
|
#The status bar
|
2013-06-02 11:02:37 +00:00
|
|
|
while true; do
|
2013-06-11 21:26:08 +00:00
|
|
|
$OCTOPUS refresh
|
2013-07-06 19:43:41 +00:00
|
|
|
sleep 50
|
2013-06-02 11:02:37 +00:00
|
|
|
done &
|
2013-06-02 18:38:35 +00:00
|
|
|
|
2014-09-23 21:03:23 +00:00
|
|
|
#The wallpaper
|
2013-07-20 17:12:05 +00:00
|
|
|
while true; do
|
|
|
|
sleep 240
|
2013-10-15 18:59:15 +00:00
|
|
|
$OCTOPUS wallpaper
|
2013-07-20 17:12:05 +00:00
|
|
|
done &
|
2013-10-15 18:59:15 +00:00
|
|
|
|
2014-09-23 21:03:23 +00:00
|
|
|
#The mouse
|
2013-10-19 13:53:50 +00:00
|
|
|
while true; do
|
|
|
|
sleep 120
|
|
|
|
$OCTOPUS init-mouse
|
2013-11-14 18:02:51 +00:00
|
|
|
xset m 9/1 1
|
2013-10-19 13:53:50 +00:00
|
|
|
done &
|
|
|
|
|
2014-01-19 11:13:17 +00:00
|
|
|
#xautolock -time 60 -locker "systemctl suspend" &
|
2013-12-28 02:21:07 +00:00
|
|
|
redshift -l 46:6 || true &
|
2013-07-29 16:34:39 +00:00
|
|
|
|
2014-09-23 21:03:23 +00:00
|
|
|
#WTF is wrong with it always forgetting the fucking playlist !?
|
2014-08-28 16:37:55 +00:00
|
|
|
mpc ls | mpc add
|
2014-09-23 21:03:23 +00:00
|
|
|
mpc random on
|
2014-08-28 16:37:55 +00:00
|
|
|
|
2015-10-14 12:51:33 +00:00
|
|
|
dvorak
|
|
|
|
|
2014-11-16 13:55:00 +00:00
|
|
|
|
2013-08-22 10:15:15 +00:00
|
|
|
#ssh-agent -t 10 /home/frank/Programmation/dotfiles/dwm/dwm
|
|
|
|
/home/frank/Programmation/dotfiles/dwm/dwm
|
2014-10-20 20:51:11 +00:00
|
|
|
bash
|
2013-06-02 18:38:35 +00:00
|
|
|
|
2013-06-11 15:00:23 +00:00
|
|
|
# exec gnome-session
|
2013-06-02 18:38:35 +00:00
|
|
|
|
|
|
|
|
2013-06-02 11:02:37 +00:00
|
|
|
# exec startkde
|
|
|
|
# exec startxfce4
|