gentoo
This commit is contained in:
32
scripts/dev/setup-gentoo-symlinks.sh
Normal file
32
scripts/dev/setup-gentoo-symlinks.sh
Normal file
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
|
||||
DOTFILES_DIR="/home/ocbwoy3/config/config"
|
||||
|
||||
# fastfetch
|
||||
ln -sfn "${DOTFILES_DIR}/fastfetch" "${HOME}/.config/fastfetch"
|
||||
|
||||
# dunst
|
||||
ln -sfn "${DOTFILES_DIR}/dunst" "${HOME}/.config/dunst"
|
||||
|
||||
# hypr
|
||||
ln -sfn "${DOTFILES_DIR}/hypr" "${HOME}/.config/hypr"
|
||||
|
||||
# xdg-desktop-portal
|
||||
ln -sfn "${DOTFILES_DIR}/xdg-desktop-portal" "${HOME}/.config/xdg-desktop-portal"
|
||||
|
||||
# ghostty
|
||||
ln -sfn "${DOTFILES_DIR}/ghostty" "${HOME}/.config/ghostty"
|
||||
|
||||
# wlogout
|
||||
ln -sfn "${DOTFILES_DIR}/wlogout" "${HOME}/.config/wlogout"
|
||||
|
||||
# qt5ct
|
||||
ln -sfn "${DOTFILES_DIR}/qt5ct" "${HOME}/.config/qt5ct"
|
||||
|
||||
# wofi
|
||||
ln -sfn "${DOTFILES_DIR}/wofi" "${HOME}/.config/wofi"
|
||||
|
||||
# dotfile font
|
||||
ln -sfn "${DOTFILES_DIR}/dotfile_deps/DotfilesFont.otf" "${HOME}/.local/share/fonts/DotfilesFont.otf"
|
||||
|
||||
echo "symlinked this that"
|
||||
8
scripts/gentoo-init.sh
Normal file
8
scripts/gentoo-init.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ "$(hostname)" == "gentoo" ]]; then
|
||||
notify-send "ocbwoy3-gentoo-debug" "audio init"
|
||||
hyprctl dispatch exec pipewire
|
||||
hyprctl dispatch exec pipewire-pulse
|
||||
hyprctl dispatch exec wireplumber
|
||||
fi
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
sleep 1
|
||||
|
||||
notify-send "ocbwoy3-gentoo-debug" "ran xdg setup"
|
||||
|
||||
# kill all possible running xdg-desktop-portals
|
||||
kill -9 $(pidof xdg-desktop-portal-hyprland)
|
||||
kill -9 $(pidof xdg-desktop-portal-gnome)
|
||||
@@ -13,9 +15,13 @@ kill -9 $(pidof xdg-desktop-portal)
|
||||
sleep 1
|
||||
|
||||
# start xdg-desktop-portal-hyprland
|
||||
/usr/lib/xdg-desktop-portal-hyprland &
|
||||
hyprctl dispatch exec /usr/lib/xdg-desktop-portal-hyprland &
|
||||
sleep 2
|
||||
|
||||
notify-send "ocbwoy3-gentoo-debug" "xdph"
|
||||
|
||||
# start xdg-desktop-portal
|
||||
/usr/lib/xdg-desktop-portal &
|
||||
hyprctl dispatch exec /usr/lib/xdg-desktop-portal &
|
||||
sleep 1
|
||||
|
||||
notify-send "ocbwoy3-gentoo-debug" "xdp"
|
||||
Reference in New Issue
Block a user