dotfiles/xinitrc
Frank Villaro-Dixon 5e18ffa46c alias for scp
2013-08-27 01:07:53 +02:00

55 lines
890 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=~/.my_utils/:$PATH
source ~/.bashrc
$OCTOPUS init-all
#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
while true; do
$OCTOPUS refresh
sleep 50
done &
while true; do
$OCTOPUS wallpaper
sleep 240
done &
xautolock -time 60 -locker "systemctl suspend" &
redshift -l 46:6&
#ssh-agent -t 10 /home/frank/Programmation/dotfiles/dwm/dwm
/home/frank/Programmation/dotfiles/dwm/dwm
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice