dotfiles/.config/hypr/scripts/autostart
Sergio Laín b717fd00a4
feat(portal): screensharing with xwindows now possible
using xwaylandvideobridge-cursor-mode-2-git helped getting xwayland windows to show up on discord
2023-10-12 12:11:35 +02:00

57 lines
1.1 KiB
Bash
Executable file

#!/bin/bash
# Variables
config=$HOME/.config/hypr
scripts=$config/scripts
# Plugins
pypr &
# Notification Daemon
swaync &
# Wallpaper Backend
swww init
$scripts/wallpaper random &
# Bar
waybar &
# OSD Window
swayosd &
# Automounter for removable media
udiskie &
# Notify about devices connecting and disconnecting
devify &
# Idle daemon to screen lock
/home/matt/.config/sway/idle.sh &
# Clipboard
wl-clip-persist --clipboard regular &
wl-paste --watch cliphist store &
# Gnome polkit authentication
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
# umm is this unnecessary?
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
# Launch tui monitors for cpu and gpu
kitty --class btop-kitty btop &
kitty --class nvtop-kitty nvtop &
# Activity Watch
aw-server-rust &
aw-watcher-window-wayland &
aw-watcher-afk &
#Launch autostart apps
dex -a -s ~/.config/autostart/ & # Easyeffects, Spotify, Discord and Thunderbird
# Screen sharing and portals
$scripts/launch_portals &
xwaylandvideobridge &