-
Notifications
You must be signed in to change notification settings - Fork 1
/
justfile
87 lines (69 loc) · 2.32 KB
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# User settings
WEB_BROWSER := "thorium-browser-bin"
MUSIC_PLAYER := "strawberry"
FILE_EXPLORER := "thunar"
OTHER_PACKAGES := "go scrcpy kdenlive"
# FLATPAK_PACKAGES := "org.kde.kdenlive"
# Installation process configurations
AUR_MANAGER := "yay"
# Other settings
PIPEWIRE_DEPENDENCIES := "pipewire gst-plugin-pipewire libpipewire libwireplumber pipewire pipewire-alsa pipewire-audio pipewire-docs pipewire-ffado pipewire-jack pipewire-pulse pipewire-roc pipewire-session-manager pipewire-v4l2 wireplumber"
install:
just install-dependencies
just install-packages
just backup-files
just install-files
install-aur-manager:
#!/bin/bash
cd /tmp
git clone https://aur.archlinux.org/packages/{{ AUR_MANAGER }}
cd {{AUR_MANAGER}}
makepkg -si --noconfirm
cd
install-dependencies:
#!/usr/bin/bash
yay={{ AUR_MANAGER }}
yay -S {{ PIPEWIRE_DEPENDENCIES }} --noconfirm
yay -S base-devel cmake swaync hyprland-git waybar waypaper swaybg neovim lua lua51 \
btop kitty wlsunset topgrade zenity nwg-look nwg-clipman cliphist wl-clipboard network-manager-applet \
kdeconnect kactivitymanagerd wofi grim slurp gtklock playerctl xdg-desktop-portal-hyprland-git \
mate-polkit alsa-utils hyprprop walker fish luarocks tree-sitter-lua wlroots 7-zip hyprshade \
--noconfirm
install-packages:
#!/usr/bin/bash
yay={{ AUR_MANAGER }}
yay -Syy
just install-dependencies
yay -S {{ MUSIC_PLAYER }} {{ WEB_BROWSER }} {{ FILE_EXPLORER }} {{ OTHER_PACKAGES }} --noconfirm
# flatpak install {{ FLATPAK_PACKAGES }} -y
install-files:
#!/usr/bin/bash
path="~/.config/hypr/"
mkdir -p $path
cp ./* $path -rf
cd $path
ln -sr ./usr/* ../
install-hyprshade:
hyprshade install
systemctl --user enable --now hyprshade.timer
install-system-configs:
sudo ./system/install.sh
backup-files:
# fish
mv ~/.config/fish ~/.config/fish.bak
# neovim
mv ~/.config/nvim ~/.config/nvim.bak
# swaync
mv ~/.config/swaync ~/.config/swaync.bak
# walker
mv ~/.config/walker ~/.config/walker.bak
# waybar
mv ~/.config/waybar ~/.config/waybar.bak
# waypaper
mv ~/.config/waypaper ~/.config/waypaper.bak
# hyprland
mv ~/.config/hypr ~/.config/hypr.bak
update-neovim:
git add usr/nvim
git commit -m "Update submodules"
git push