# Maintainer: Michał <ash8820@proton.me>

pkgname=euri-hyprland-config
pkgver=1.0
pkgrel=2
pkgdesc='Euri Linux Hyprland configuration — dark theme with waybar, rofi, dunst'
arch=('any')
url="https://antergos-nas.taild4360b.ts.net/Euri-Linux/euri-packages"
license=('GPL3')
depends=(
  'hyprland'
  'waybar'
  'rofi'
  'dunst'
  'swww'
  'kitty'
  'ttf-jetbrains-mono-nerd'
  'papirus-icon-theme'
)
optdepends=(
  'hyprlock: screen locker'
  'hypridle: idle management'
  'hyprpaper: wallpaper daemon'
  'grim: screenshot tool'
  'slurp: region selection'
  'pavucontrol: audio settings'
  'brightnessctl: brightness control'
)
source=("hyprland.lua" "hyprpaper.conf" "config.jsonc" "style.css" "config.rasi" "theme.rasi" "dunstrc")
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')

package() {
  local _skel="$pkgdir/etc/skel/.config"

  install -dm755 "$_skel/hypr"
  install -dm755 "$_skel/waybar"
  install -dm755 "$_skel/rofi"
  install -dm755 "$_skel/dunst"

  cp -a "hyprland.lua" "$_skel/hypr/hyprland.lua"
  cp -a "hyprpaper.conf" "$_skel/hypr/hyprpaper.conf"
  cp -a "config.jsonc" "$_skel/waybar/config.jsonc"
  cp -a "style.css" "$_skel/waybar/style.css"
  cp -a "config.rasi" "$_skel/rofi/config.rasi"
  cp -a "theme.rasi" "$_skel/rofi/theme.rasi"
  cp -a "dunstrc" "$_skel/dunst/dunstrc"
}