xorg: automatically start desktop portal

master
tiyn 1 week ago
parent 921daaf1f4
commit ce74787e96

@ -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

Loading…
Cancel
Save