graphical stuff

Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
This commit is contained in:
Frank Villaro-Dixon 2022-08-26 20:56:52 +02:00
parent aa719a1c73
commit 1e95e24cf7

View file

@ -1,17 +1,7 @@
#!/bin/sh
#!/bin/bash -x
# ~/.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
source /etc/X11/Xsession.d/*
#Java
wmname LG3D
@ -19,49 +9,42 @@ 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
octopus.sh 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 &
#redshift -l 46:6 || true &
xautolock -time 4 -locker slock &
#xautolock -time 4 -locker slock &
xrdb /home/frank/.Xresources
#xrdb /home/frank/.Xresources
#Background picture
feh -feh --no-fehbg --bg-fill Pictures/dreamstime_xxl_121672573.jpg &
# SSH smart-card stuff
eval `ssh-agent -s`
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpg-connect-agent updatestartuptty /bye &
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
/home/frank/Programmation/dotfiles/dwm/dwm
bash
#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
# exec gnome-session
# exec startkde
# exec startxfce4