2022-08-26 18:56:52 +00:00
|
|
|
#!/bin/bash -x
|
2013-06-02 11:02:37 +00:00
|
|
|
# ~/.xinitrc
|
|
|
|
|
2022-08-26 18:56:52 +00:00
|
|
|
source /etc/X11/Xsession.d/*
|
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
|
2016-02-19 11:09:15 +00:00
|
|
|
setxkbmap -model pc104 -layout dvorak -option compose:ralt
|
2013-08-15 23:05:57 +00:00
|
|
|
|
2022-05-29 09:23:19 +00:00
|
|
|
export GTK_IM_MODULE=xim # Make compose key work on FF et al
|
|
|
|
export QT_IM_MODULE=xim
|
|
|
|
|
2014-09-23 21:03:23 +00:00
|
|
|
#The status bar
|
2013-06-02 11:02:37 +00:00
|
|
|
while true; do
|
2022-08-26 18:56:52 +00:00
|
|
|
octopus.sh 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
|
|
|
|
2022-08-26 18:56:52 +00:00
|
|
|
#xautolock -time 60 -locker "systemctl suspend" &
|
|
|
|
#redshift -l 46:6 || true &
|
2013-10-15 18:59:15 +00:00
|
|
|
|
2022-08-26 18:56:52 +00:00
|
|
|
#xautolock -time 4 -locker slock &
|
2013-10-19 13:53:50 +00:00
|
|
|
|
2022-08-26 18:56:52 +00:00
|
|
|
#xrdb /home/frank/.Xresources
|
2013-07-29 16:34:39 +00:00
|
|
|
|
2015-10-14 12:51:33 +00:00
|
|
|
|
2022-08-26 18:56:52 +00:00
|
|
|
#Background picture
|
|
|
|
feh -feh --no-fehbg --bg-fill Pictures/dreamstime_xxl_121672573.jpg &
|
|
|
|
|
2014-11-16 13:55:00 +00:00
|
|
|
|
2013-06-02 18:38:35 +00:00
|
|
|
|
2022-08-26 18:56:52 +00:00
|
|
|
# SSH smart-card stuff
|
|
|
|
eval `ssh-agent -s`
|
|
|
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
|
|
|
gpg-connect-agent updatestartuptty /bye &
|
2013-06-02 18:38:35 +00:00
|
|
|
|
|
|
|
|
2022-08-26 18:56:52 +00:00
|
|
|
export PATH=$PATH:/home/frank/.local/bin/
|
|
|
|
export PATH=$PATH:/home/frank/src/gitlab.k3s.fr/frank/dotfiles/Utils
|
|
|
|
|
|
|
|
|
|
|
|
#dbus machin
|
|
|
|
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
|
|
|
|
|
|
|
|
#ssh-agent -t 10 /home/frank/Programmation/dotfiles/dwm/dwm
|
|
|
|
#dbus-launch --exit-with-session /home/frank/src/gitlab.k3s.fr/frank/dotfiles/dwm/dwm
|
|
|
|
exec /home/frank/src/gitlab.k3s.fr/frank/dotfiles/dwm/dwm
|
|
|
|
|