diff --git a/config/nushell/env.nu b/config/nushell/env.nu index 775f2fa..e3d905e 100644 --- a/config/nushell/env.nu +++ b/config/nushell/env.nu @@ -28,6 +28,4 @@ let flatpak_xdg = [ $env.XDG_DATA_DIRS = ($base_xdg | append $flatpak_xdg | str join ":") -$env.PATH = ( $env.PATH | split row (char env_sep) | prepend "~/.local/bin") - -alias sway = dbus-run-session sway \ No newline at end of file +$env.PATH = ( $env.PATH | split row (char env_sep) | prepend "~/.local/bin" | append "/sbin") diff --git a/config/sway/config b/config/sway/config index 7f58920..6d989eb 100755 --- a/config/sway/config +++ b/config/sway/config @@ -2,8 +2,7 @@ set $base ~/.config/sway/ xwayland enable exec_always env BASE_SWAY=$base XDG_DATA_DIRS=/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share:/usr/local/share:/usr/share /usr/bin/python3 $base/main/boot.py -exec_always dbus-update-activation-environment --systemd \ - DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP SWAYSOCK + include ~/.config/mute/* seat seat0 xcursor_theme DMZ-Black 12 exec_always env BASE_SWAY=$base /usr/bin/python3 $base/main/boot.py diff --git a/init/startsway.sh b/init/startsway.sh new file mode 100644 index 0000000..dd2986a --- /dev/null +++ b/init/startsway.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# if you decide to not use something like lightdm +# this is what ud use! + +killall pipewire 2>/dev/null +killall pipewire-pulse 2>/dev/null +killall wireplumber 2>/dev/null +killall blueman-applet 2>/dev/null +sleep 1 + +pipewire & +pipewire-pulse & +wireplumber & +blueman-applet & +exec_always dbus-update-activation-environment --all \ + DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP SWAYSOCK +exec dbus-run-session sway \ No newline at end of file diff --git a/justfile b/justfile index 58e350b..730a1b2 100644 --- a/justfile +++ b/justfile @@ -2,36 +2,22 @@ default: just --list # inits -init-arch: install-arch stow build-wayfreeze -init-debian: install-debian stow build-wayfreeze +init-alpine: install-alpine stow build-wayfreeze -install-debian: - @echo "installing pkgs" - wget -qO- https://apt.fury.io/nushell/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/fury-nushell.gpg - echo "deb [signed-by=/etc/apt/keyrings/fury-nushell.gpg] https://apt.fury.io/nushell/ /" | sudo tee /etc/apt/sources.list.d/fury-nushell.list - sudo apt update - xargs -a packages-debian sudo apt install -y - -install-arch: - @echo "installing pkgs" - sudo pacman -S --needed --noconfirm - < packages-arch - -# optional now. Stinkers in the aur scare me! -install-aur: - sudo pacman -S --noconfirm debugedit fakeroot go make gcc - git clone https://aur.archlinux.org/yay.git /tmp/yay - cd /tmp/yay && makepkg -si +install-alpine: + doas apk update + doas apk upgrade + xargs -a packages doas apk add # my apps install-stabs-apps: - sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo + doas flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo @echo "installing my apps" - sudo flatpak install -y dev.vencord.Vesktop com.valvesoftware.Steam io.gitlab.librewolf-community org.gajim.Gajim + doas flatpak install -y dev.vencord.Vesktop com.valvesoftware.Steam io.gitlab.librewolf-community @echo "Permissionizing..." flatpak override --user --filesystem=home io.gitlab.librewolf-community flatpak override --user --filesystem=home dev.vencord.Vesktop - flatpak override --user --filesystem=home org.gajim.Gajim stow: mkdir -p ~/.config/ @@ -50,10 +36,11 @@ restow: stow -R -t ~/.config config # builds - build-wayfreeze: + @echo "Ensuring compilation dependencies are met..." + doas apk add git cargo rm -rf /tmp/wayfreeze git clone https://github.com/Jappie3/wayfreeze.git /tmp/wayfreeze cd /tmp/wayfreeze && cargo build --release mkdir -p ~/.local/bin - mv /tmp/wayfreeze/target/release/wayfreeze ~/.local/bin/wayfreeze + mv /tmp/wayfreeze/target/release/wayfreeze ~/.local/bin/wayfreeze \ No newline at end of file diff --git a/packages-debian b/packages similarity index 55% rename from packages-debian rename to packages index 62d91d5..16b51bb 100644 --- a/packages-debian +++ b/packages @@ -1,37 +1,42 @@ +build-base +procps-ng +glib +py3-dbus sway swaybg wofi +kitty +xdg-desktop-portal-wlr +gnome-keyring +seatd +thunar +thunar-archive-plugin grim slurp wl-clipboard wf-recorder +kdeconnect +stow +font-noto +adwaita-icon-theme pamixer +bluez blueman -gnome-keyring -xdg-desktop-portal-wlr -procps -thunar -thunar-archive-plugin -libglib2.0-0t64 -python3-dbus -python3-pyqt5 +pipewire +pipewire-pulse +pipewire-spa-tools +pipewire-spa-bluez python3 -fonts-noto-core -build-essential +py3-qt5 +cargo +flatpak git curl jq -stow -just -vim-gtk3 -xpad -kitty nushell +just +gvim libxkbcommon-dev -cargo -libglib2.0-bin -flatpak -adwaita-icon-theme -gnome-themes-extra -dmz-cursor-theme -xorg \ No newline at end of file +wayland-dev +xwayland +xwayland-satellite diff --git a/packages-arch b/packages-arch deleted file mode 100644 index f9818e4..0000000 --- a/packages-arch +++ /dev/null @@ -1,32 +0,0 @@ -sway -kitty -pamixer -grim -slurp -wl-clipboard -wf-recorder -gnome-keyring -glib2 -curl -jq -procps-ng -thunar-archive-plugin -thunar -noto-fonts -blueman -python-pyqt5 -xdg-desktop-portal-wlr -base-devel -git -dbus-python -wofi -nushell -swaybg -stow -python -just -git -gvim -kdeconnect -cargo -flatpak diff --git a/readme.md b/readme.md index fb6f3fe..8b6b2e8 100644 --- a/readme.md +++ b/readme.md @@ -10,8 +10,6 @@ also config for kitty, mako, nu, wofi. Your gonna need just and git. -If your on arch id do ```just arch-init``` if your on a non arch distro then take a look at packages-arch -and find ur distros package for that thing. +Youll need alpine for the intended experience. You CAAAAAANNN use it on other distros but alpine is what its made for -Stow isnt arch specific so you can always ```just stow``` but arch init assumes ur on arch or artix -Feel free to add support for other distros if you want to and if i use another distro i will. \ No newline at end of file +```just init-alpine``` this assumes uve setup wayland and all of the basics of elogind and a dm (or use the one in the init folder) \ No newline at end of file