mirror of
https://github.imc.re/void-land/hyprland-void-dots
synced 2025-04-26 18:03:43 +02:00
fix: hyprland pipewire autostart
This commit is contained in:
parent
157c666b09
commit
6426b61078
2 changed files with 14 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
# -----------------------------------------------------
|
||||
|
||||
exec-once = dbus-update-activation-environment --all &
|
||||
exec-once = $SCRIPT_PATH/startup/pipewire.sh &
|
||||
# exec-once = $SCRIPT_PATH/startup/pipewire.sh &
|
||||
exec-once = $SCRIPT_PATH/startup/keyring.sh &
|
||||
exec-once = wl-paste --watch cliphist store &
|
||||
|
||||
|
|
13
setup.sh
13
setup.sh
|
@ -103,6 +103,18 @@ enable_services() {
|
|||
log "Services enabled"
|
||||
}
|
||||
|
||||
enable_pipewire() {
|
||||
log "Enable Pipewire"
|
||||
|
||||
sudo ln -s /usr/share/applications/pipewire.desktop /etc/xdg/autostart
|
||||
|
||||
sudo ln -s /usr/share/applications/pipewire-pulse.desktop /etc/xdg/autostart
|
||||
|
||||
sudo ln -s /usr/share/applications/wireplumber.desktop /etc/xdg/autostart
|
||||
|
||||
log "pipewire enabled"
|
||||
}
|
||||
|
||||
disable_grub_menu() {
|
||||
if [ $DISABLE_GRUB_MENU = true ]; then
|
||||
log "Disable grub menu"
|
||||
|
@ -134,6 +146,7 @@ while getopts "sfh" opt; do
|
|||
install_pkgs
|
||||
add_user_to_groups
|
||||
enable_services
|
||||
enable_pipewire
|
||||
disable_grub_menu
|
||||
|
||||
log "Setup is done, please log out and log in"
|
||||
|
|
Loading…
Add table
Reference in a new issue