[update] Add the atostart stuff to the .xprofile

This commit is contained in:
Anas Elgarhy 2023-05-11 02:34:33 +03:00
parent 93294e256d
commit 37b3ccfd2a
No known key found for this signature in database
GPG key ID: 0501802A1D496528

View file

@ -1,6 +1,29 @@
#!/bin/sh
export XIM=nabi
export XIM_ARGS=
export XIM_PROGRAM="nabi"
export XMODIFIERS="@im=nabi"
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
# gnupg keyring agent
# ensure it's started so SSH will work
# https://www.gnupg.org/faq/whats-new-in-2.1.html#autostart
dbus-update-activation-environment --systemd DISPLAY
gpgconf --launch gpg-agent
export "SSH_AUTH_SOCK=/run/user/$(id -u)/gnupg/S.gpg-agent.ssh"
# Keyboard layouts switch (requires setxkbmap)
setxkbmap -model pc104 -layout us,ar,jp,kr -variant dvorak-l,,, -option grp:win_space_toggle
# Start compositor for transparency
picom &
# Restores the wallpaper
nitrogen --restore &
# Start the network manger
nm-applet &
# Start the clipboard manger
copyq &
# sticky keys script
stickykeys &