dotfiles/graphical/.xinitrc
Frank Villaro-Dixon 00a7cb90d7 Add shit
Signed-off-by: Frank Villaro-Dixon <frank.villaro@infomaniak.com>
2022-05-29 11:23:19 +02:00

67 lines
1.1 KiB
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=~/Programation/dotfiles/Utils/:$PATH
source ~/.bashrc
#Java
wmname LG3D
#Keyboard setup +compose key for "ŭ" (Win-b u) for esperanto
setxkbmap -model pc104 -layout dvorak -option compose:ralt
xbindkeysrc &
#My pinkie hurts :'(
xmodmap ~/.Xmodmap
export GTK_IM_MODULE=xim # Make compose key work on FF et al
export QT_IM_MODULE=xim
$OCTOPUS init-all 1>> /dev/shm/Octopus_logs 2>> /dev/shm/Octopus_logs &
#The status bar
while true; do
$OCTOPUS refresh
sleep 50
done &
#The wallpaper
while true; do
sleep 240
$OCTOPUS wallpaper
done &
#The mouse
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 &
xautolock -time 4 -locker slock &
xrdb /home/frank/.Xresources
#ssh-agent -t 10 /home/frank/Programmation/dotfiles/dwm/dwm
/home/frank/Programmation/dotfiles/dwm/dwm
bash
# exec gnome-session
# exec startkde
# exec startxfce4