.xprofile 892 B

1234567891011121314151617181920212223242526272829303132333435
  1. #!/bin/sh
  2. export XIM=nabi
  3. export XIM_ARGS=
  4. export XIM_PROGRAM="nabi"
  5. export XMODIFIERS="@im=nabi"
  6. export GTK_IM_MODULE=xim
  7. export QT_IM_MODULE=xim
  8. # gnupg keyring agent
  9. # ensure it's started so SSH will work
  10. # https://www.gnupg.org/faq/whats-new-in-2.1.html#autostart
  11. dbus-update-activation-environment --systemd DISPLAY
  12. gpgconf --launch gpg-agent
  13. export "SSH_AUTH_SOCK=/run/user/$(id -u)/gnupg/S.gpg-agent.ssh"
  14. # Keyboard layouts switch (requires setxkbmap)
  15. setxkbmap -model pc104 -layout us,ara -variant dvorak-l, -option grp:win_space_toggle caps:swapescape keypad:pointerkeys
  16. export TOUCHPAD_ACCEL_SPEED=0.6
  17. touchpad-accel-toggle -e
  18. # Start the key deamon
  19. sxhkd -m 1 &
  20. # Restores the wallpaper
  21. nitrogen --restore &
  22. # Start the network manger
  23. nm-applet &
  24. # Start the clipboard manger
  25. # copyq &
  26. # sticky keys script
  27. stickykeys &
  28. # Start a new terminal with tmux
  29. $TERMINAL -e tmux &