Adds bootstrap.v2
This commit is contained in:
parent
06c8003cf2
commit
2bbccb4595
61 changed files with 468 additions and 4 deletions
28
.config/yadm/bootstrap.v2/applications/10-SDDM.sh##default
Executable file
28
.config/yadm/bootstrap.v2/applications/10-SDDM.sh##default
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/env sh
|
||||
|
||||
SDDM_THEME_PATH="/etc/sddm.conf.d/theme.conf"
|
||||
|
||||
addApplications sddm catppuccin-sddm-theme-mocha
|
||||
|
||||
sddm() {
|
||||
sudo mkdir -p /etc/sddm.conf.d
|
||||
sudo ln ~/.config/sddm/theme.conf /etc/sddm.conf.d/theme.conf
|
||||
|
||||
sudo systemctl enable sddm
|
||||
}
|
||||
|
||||
check() {
|
||||
if ! command -v sddm >/dev/null; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
if [ ! -f "$SDDM_THEME_PATH" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
if check; then
|
||||
addAction sddm
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue