From 37b3ccfd2a3b0c1f9ed2bef5b82d69377934f6e0 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Thu, 11 May 2023 02:34:33 +0300 Subject: [PATCH] [update] Add the atostart stuff to the `.xprofile` --- .xprofile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.xprofile b/.xprofile index 69ff785..717b578 100644 --- a/.xprofile +++ b/.xprofile @@ -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 & +