From ce74787e964f2648ec49be5bf77a5ad738cdfe91 Mon Sep 17 00:00:00 2001 From: tiyn Date: Tue, 5 Nov 2024 22:34:23 +0100 Subject: [PATCH] xorg: automatically start desktop portal --- .config/xorg/xprofile | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/.config/xorg/xprofile b/.config/xorg/xprofile index 8025d3b..32f2a71 100644 --- a/.config/xorg/xprofile +++ b/.config/xorg/xprofile @@ -1,13 +1,15 @@ #!/bin/sh -xset r rate 300 50 & # Speed xrate up -unclutter & # Remove mouse when idle -dunst & # dunst for notifications -redshift & # redshift for saving your eyes -$STATUSBAR & # for refreshing the statusbar -xcompmgr & # compositor for transparency -sxhkd & # for shortcuts -(sleep 10 ; pkill -RTMIN+4 $STATUSBAR) & # reload volume section of statusbar -dunstctl rule dnd_low disable & # disable dnd for low urgencies -dunstctl rule dnd_normal disable & # disable dnd for normal urgencies -easyeffects --gapplication-service & # start audio server +xset r rate 300 50 & # Speed xrate up +unclutter & # Remove mouse when idle +dunst & # dunst for notifications +redshift & # redshift for saving your eyes +$STATUSBAR & # for refreshing the statusbar +xcompmgr & # compositor for transparency +sxhkd & # for shortcuts +(sleep 10 ; pkill -RTMIN+4 $STATUSBAR) & # reload volume section of statusbar +dunstctl rule dnd_low disable & # disable dnd for low urgencies +dunstctl rule dnd_normal disable & # disable dnd for normal urgencies +easyeffects --gapplication-service & # start audio server +systemctl --user import-environment DISPLAY XAUTHORITY # finally start the desktop portal +systemctl --user restart xdg-desktop-portal-gtk # second part of the desktop portal