hm/graphical-client: set up session vars
This commit is contained in:
parent
eefb417d14
commit
f2c8e2d3bf
1 changed files with 10 additions and 0 deletions
|
@ -35,6 +35,16 @@
|
|||
import png:/dev/stdout | pngquant - | xclip -t image/png -selection clipboard -in
|
||||
'';
|
||||
};
|
||||
home.file.".xprofile".text = ''
|
||||
. "${config.home.profileDirectory}/etc/profile.d/hm-session-vars.sh"
|
||||
|
||||
if [ -e "$HOME/.profile" ]; then
|
||||
. "$HOME/.profile"
|
||||
fi
|
||||
|
||||
systemctl --user import-environment DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_DATA_DIRS XDG_RUNTIME_DIR XDG_SESSION_ID
|
||||
systemctl --user restart ssh-agent
|
||||
'';
|
||||
|
||||
xsession.windowManager.i3 = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue