mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2024-11-21 14:23:32 +01:00
switch to sddm
This commit is contained in:
parent
ea861dbbfa
commit
3768caaa76
@ -7,6 +7,7 @@ root = true
|
||||
[*]
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
indent_size = 2
|
||||
|
||||
# Matches multiple files with brace expansion notation
|
||||
[*.{sh,py,yml}]
|
||||
|
2
dependencies/pacman.txt
vendored
2
dependencies/pacman.txt
vendored
@ -24,7 +24,6 @@ networkmanager
|
||||
eog
|
||||
python
|
||||
python-pip
|
||||
gdm
|
||||
neofetch
|
||||
git
|
||||
scrot
|
||||
@ -87,3 +86,4 @@ blueman
|
||||
pulseaudio-bluetooth
|
||||
bluez
|
||||
bluez-libs
|
||||
sddm
|
||||
|
13
install.sh
13
install.sh
@ -38,7 +38,7 @@ ask() {
|
||||
|
||||
# delete target, create dirs if they don't exist yet and finally symlink the dir
|
||||
function linkDir {
|
||||
rm -rf "$2";
|
||||
rm -rf "$2"
|
||||
mkdir -p "${2%/*}"
|
||||
ln -sf "$1" "$2"
|
||||
}
|
||||
@ -133,7 +133,6 @@ function install_dependencies {
|
||||
fileToList dependencies/npm.txt | xargs sudo npm install -g
|
||||
}
|
||||
|
||||
|
||||
# =======================================
|
||||
# User output functions
|
||||
# =======================================
|
||||
@ -177,7 +176,6 @@ function computer {
|
||||
echo ""
|
||||
}
|
||||
|
||||
|
||||
# =======================================
|
||||
# Main loop
|
||||
# =======================================
|
||||
@ -203,9 +201,10 @@ if ask "Do you want to install the fonts?" Y; then
|
||||
install_fonts
|
||||
fi
|
||||
|
||||
# ask to enable gdm
|
||||
if ask "Do you want to enable GDM?" Y; then
|
||||
sudo systemctl enable gdm.service
|
||||
# ask to enable the display manager
|
||||
if ask "Do you want to enable sddm?" Y; then
|
||||
sudo systemctl set-default graphical.target
|
||||
sudo systemctl enable sddm.service
|
||||
fi
|
||||
|
||||
clear
|
||||
@ -227,4 +226,4 @@ select opt in "$PWD/computers"/*; do
|
||||
done
|
||||
clear
|
||||
|
||||
echo "Enjoy using my rice! Do not forget to select i3 in GDM :)"
|
||||
echo "Enjoy using my rice! Do not forget to select i3 in sddm :)"
|
||||
|
Loading…
Reference in New Issue
Block a user