diff --git a/etc/greetd/greetd.conf b/etc/greetd/greetd.conf deleted file mode 100644 index f101aff..0000000 --- a/etc/greetd/greetd.conf +++ /dev/null @@ -1,6 +0,0 @@ -[terminal] -vt = 1 - -[default_session] -command = "sway -c /etc/greetd/sway.cfg > /dev/null 2>&1" -user = "greeter" diff --git a/etc/greetd/regreet.toml b/etc/greetd/regreet.toml deleted file mode 100644 index b4aa99b..0000000 --- a/etc/greetd/regreet.toml +++ /dev/null @@ -1,60 +0,0 @@ -# ReGreet configuration -# See README at https://github.com/rharish101/ReGreet#configuration - -[background] -# Path to the background image -path = "/usr/share/endeavouros/backgrounds/endeavouros-wallpaper.png" - -# How the background image covers the screen if the aspect ratio doesn't match -# Available values: "Fill", "Contain", "Cover", "ScaleDown" -# Refer to: https://docs.gtk.org/gtk4/enum.ContentFit.html -# NOTE: This is ignored if ReGreet isn't compiled with GTK v4.8 support. -fit = "Cover" - -# The entries defined in this section will be passed to the session as environment variables when it is started -[env] -# Set desktop and session type -XDG_SESSION_TYPE = "wayland" -XDG_CURRENT_DESKTOP = "sway" -XDG_SESSION_DESKTOP = "sway" - -# Specify Wayland backends for various applications -MOZ_ENABLE_WAYLAND = "1" -OZONE_PLATFORM = "wayland" -GDK_BACKEND = "wayland" -QT_QPA_PLATFORM = "wayland" - -# Prevent using hardware cursors in Wayland, forcing software-rendered cursors. -# Uncomment if you experience issues with your cursor -#WLR_NO_HARDWARE_CURSORS = "1" - -# Allow the Wayland renderer to fall back to software rendering if necessary. -# Uncomment if you are running in a virtual machine or have an underpowered GPU -#WLR_RENDERER_ALLOW_SOFTWARE = "1" - -[GTK] -# Whether to use the dark theme -application_prefer_dark_theme = true - -# Cursor theme name -cursor_theme_name = "Adwaita" - -# Font name and size -font_name = "Cantarell 12" - -# Icon theme name -icon_theme_name = "Adwaita" - -# GTK theme name -theme_name = "Adwaita" - -[commands] -# The command used to reboot the system -reboot = [ "systemctl", "reboot" ] - -# The command used to shut down the system -poweroff = [ "systemctl", "poweroff" ] - -[appearance] -# The message that initially displays on startup -greeting_msg = "Welcome Back!" diff --git a/etc/greetd/sway.cfg b/etc/greetd/sway.cfg deleted file mode 100644 index 9815c06..0000000 --- a/etc/greetd/sway.cfg +++ /dev/null @@ -1,3 +0,0 @@ -# Config for sway - -exec "regreet; swaymsg exit" diff --git a/etc/sddm.conf.d/default.conf b/etc/sddm.conf.d/default.conf new file mode 100644 index 0000000..1b45a61 --- /dev/null +++ b/etc/sddm.conf.d/default.conf @@ -0,0 +1,139 @@ +[Autologin] +# Whether sddm should automatically log back into sessions when they exit +Relogin=false + +# Name of session file for autologin session (if empty try last logged in) +Session= + +# Username for autologin session +User= + + +[General] +# Which display server should be used. +# Valid values are: x11, x11-user, wayland. Wayland support is experimental +DisplayServer=x11 + +# Comma-separated list of environment variables to be set +GreeterEnvironment= + +# Halt command +HaltCommand=/usr/bin/systemctl poweroff + +# Input method module +InputMethod= + +# Comma-separated list of Linux namespaces for user session to enter +Namespaces= + +# Initial NumLock state. Can be on, off or none. +# If property is set to none, numlock won't be changed +# NOTE: Currently ignored if autologin is enabled. +Numlock=none + +# Reboot command +RebootCommand=/usr/bin/systemctl reboot + + +[Theme] +# Current theme name +Current=catppuccin-mocha + +# Cursor size used in the greeter +CursorSize= + +# Cursor theme used in the greeter +CursorTheme= + +# Number of users to use as threshold +# above which avatars are disabled +# unless explicitly enabled with EnableAvatars +DisableAvatarsThreshold=7 + +# Enable display of custom user avatars +EnableAvatars=true + +# Global directory for user avatars +# The files should be named .face.icon +FacesDir=/usr/share/sddm/faces + +# Font used in the greeter +Font= + +# Theme directory path +ThemeDir=/usr/share/sddm/themes + + +[Users] +# Default $PATH for logged in users +DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin + +# Comma-separated list of shells. +# Users with these shells as their default won't be listed +HideShells= + +# Comma-separated list of users that should not be listed +HideUsers= + +# Maximum user id for displayed users +MaximumUid=60513 + +# Minimum user id for displayed users +MinimumUid=1000 + +# Remember the session of the last successfully logged in user +RememberLastSession=true + +# Remember the last successfully logged in user +RememberLastUser=true + +# When logging in as the same user twice, restore the original session, rather than create a new one +ReuseSession=true + + +[Wayland] +# Path of the Wayland compositor to execute when starting the greeter +CompositorCommand=weston --shell=kiosk + +# Enable Qt's automatic high-DPI scaling +EnableHiDPI=true + +# Path to a script to execute when starting the desktop session +SessionCommand=/usr/share/sddm/scripts/wayland-session + +# Comma-separated list of directories containing available Wayland sessions +SessionDir=/usr/local/share/wayland-sessions,/usr/share/wayland-sessions + +# Path to the user session log file +SessionLogFile=.local/share/sddm/wayland-session.log + + +[X11] +# Path to a script to execute when starting the display server +DisplayCommand=/usr/share/sddm/scripts/Xsetup + +# Path to a script to execute when stopping the display server +DisplayStopCommand=/usr/share/sddm/scripts/Xstop + +# Enable Qt's automatic high-DPI scaling +EnableHiDPI=true + +# Arguments passed to the X server invocation +ServerArguments=-nolisten tcp + +# Path to X server binary +ServerPath=/usr/bin/X + +# Path to a script to execute when starting the desktop session +SessionCommand=/usr/share/sddm/scripts/Xsession + +# Comma-separated list of directories containing available X sessions +SessionDir=/usr/local/share/xsessions,/usr/share/xsessions + +# Path to the user session log file +SessionLogFile=.local/share/sddm/xorg-session.log + +# Path to Xephyr binary +XephyrPath=/usr/bin/Xephyr + + diff --git a/packages-repository.txt b/packages-repository.txt index 76a389b..52684db 100644 --- a/packages-repository.txt +++ b/packages-repository.txt @@ -53,4 +53,5 @@ thunderbird-i18n-en-us vivaldi blueman neovim -chezmoi \ No newline at end of file +chezmoi +zsh diff --git a/setup_sway_isomode.bash b/setup_sway_isomode.bash index 78d12ad..b2a2911 100644 --- a/setup_sway_isomode.bash +++ b/setup_sway_isomode.bash @@ -42,19 +42,20 @@ chown -R "${username}:${username}" "/home/${username}" # Deploy system configs echo "Deploying system configs..." rsync -a --chown=root:root sway/etc/ /etc/ +rsync -a --chown=root:toot sway/usr/ /usr/ # Check if the script is running in a virtual machine -if systemd-detect-virt | grep -vq "none"; then - echo "Virtual machine detected; enabling WLR_RENDERER_ALLOW_SOFTWARE variable in ReGreet config..." - # Uncomment WLR_RENDERER_ALLOW_SOFTWARE variable in ReGreet config - sed -i '/^#WLR_RENDERER_ALLOW_SOFTWARE/s/^#//' /etc/greetd/regreet.toml -fi +#if systemd-detect-virt | grep -vq "none"; then +# echo "Virtual machine detected; enabling WLR_RENDERER_ALLOW_SOFTWARE variable in ReGreet config..." +# # Uncomment WLR_RENDERER_ALLOW_SOFTWARE variable in ReGreet config +# sed -i '/^#WLR_RENDERER_ALLOW_SOFTWARE/s/^#//' /etc/greetd/regreet.toml +#fi # Remove the repo echo "Removing the EOS Community Sway repo..." rm -rf sway -# Enable the Greetd service +# Enable the sddm service echo "Enabling the Greetd service..." systemctl enable sddm.service diff --git a/sway-install.sh b/sway-install.sh index 445c5fe..a0b922a 100755 --- a/sway-install.sh +++ b/sway-install.sh @@ -23,6 +23,7 @@ chown -R "${username}:${username}" "/home/${username}" # Deploy system configs echo "Deploying system configs..." rsync -a --chown=root:root etc/ /etc/ +rsync -a --chown=root:root usr/ /usr/ # Check if the script is running in a virtual machine #if systemd-detect-virt | grep -vq "none"; then @@ -31,7 +32,7 @@ rsync -a --chown=root:root etc/ /etc/ # sed -i '/^#WLR_RENDERER_ALLOW_SOFTWARE/s/^#//' /etc/greetd/regreet.toml #fi -# Enable the Greetd service +# Enable the sddm service echo "Enabling the Greetd service..." systemctl -f enable sddm.service diff --git a/usr/share/sddm/themes/catppuccin-mocha/Components/Clock.qml b/usr/share/sddm/themes/catppuccin-mocha/Components/Clock.qml new file mode 100644 index 0000000..f076d28 --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/Components/Clock.qml @@ -0,0 +1,14 @@ +import QtQuick 2.15 +import SddmComponents 2.0 + +Clock { + id: time + color: config.text + timeFont.family: config.Font + dateFont.family: config.Font + anchors { + margins: 10 + top: parent.top + right: parent.right + } +} diff --git a/usr/share/sddm/themes/catppuccin-mocha/Components/LoginPanel.qml b/usr/share/sddm/themes/catppuccin-mocha/Components/LoginPanel.qml new file mode 100644 index 0000000..e0dec79 --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/Components/LoginPanel.qml @@ -0,0 +1,147 @@ +import QtQuick 2.15 +import QtQuick.Window 2.15 +import QtQuick.Controls 2.15 + +Item { + property var user: userField.text + property var password: passwordField.text + property var session: sessionPanel.session + property var inputHeight: Screen.height * 0.032 + property var inputWidth: Screen.width * 0.16 + Rectangle { + id: loginBackground + anchors { + verticalCenter: parent.verticalCenter + horizontalCenter: parent.horizontalCenter + } + height: inputHeight * 5.3 + width: inputWidth * 1.2 + radius: 5 + visible: config.LoginBackground == "true" ? true : false + color: config.mantle + } + Column { + spacing: 8 + anchors { + bottom: parent.bottom + left: parent.left + } + PowerButton { + id: powerButton + } + RebootButton { + id: rebootButton + } + SleepButton { + id: sleepButton + } + z: 5 + } + Column { + spacing: 8 + anchors { + bottom: parent.bottom + right: parent.right + } + SessionPanel { + id: sessionPanel + } + z: 5 + } + Column { + spacing: 8 + z: 5 + width: inputWidth + anchors { + verticalCenter: parent.verticalCenter + horizontalCenter: parent.horizontalCenter + } + UserField { + id: userField + height: inputHeight + width: parent.width + } + PasswordField { + id: passwordField + height: inputHeight + width: parent.width + onAccepted: loginButton.clicked() + } + Button { + id: loginButton + height: inputHeight + width: parent.width + enabled: user != "" && password != "" ? true : false + hoverEnabled: true + contentItem: Text { + id: buttonText + renderType: Text.NativeRendering + font { + family: config.Font + pointSize: config.FontSize + bold: true + } + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: config.crust + text: "Login" + } + background: Rectangle { + id: buttonBackground + color: config.sapphire + radius: 3 + } + states: [ + State { + name: "pressed" + when: loginButton.down + PropertyChanges { + target: buttonBackground + color: config.teal + } + PropertyChanges { + target: buttonText + } + }, + State { + name: "hovered" + when: loginButton.hovered + PropertyChanges { + target: buttonBackground + color: config.teal + } + PropertyChanges { + target: buttonText + } + }, + State { + name: "enabled" + when: loginButton.enabled + PropertyChanges { + target: buttonBackground + } + PropertyChanges { + target: buttonText + } + } + ] + transitions: Transition { + PropertyAnimation { + properties: "color" + duration: 300 + } + } + onClicked: { + sddm.login(user, password, session) + } + } + } + Connections { + target: sddm + + function onLoginFailed() { + passwordField.text = "" + passwordField.focus = true + } + } +} diff --git a/usr/share/sddm/themes/catppuccin-mocha/Components/PasswordField.qml b/usr/share/sddm/themes/catppuccin-mocha/Components/PasswordField.qml new file mode 100644 index 0000000..dd0f384 --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/Components/PasswordField.qml @@ -0,0 +1,48 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 + +TextField { + id: passwordField + focus: true + selectByMouse: true + placeholderText: "Password" + echoMode: TextInput.Password + passwordCharacter: "•" + passwordMaskDelay: config.PasswordShowLastLetter + selectionColor: config.overlay0 + renderType: Text.NativeRendering + font.family: config.Font + font.pointSize: config.FontSize + font.bold: true + color: config.text + horizontalAlignment: TextInput.AlignHCenter + background: Rectangle { + id: passFieldBackground + radius: 3 + color: config.surface0 + } + states: [ + State { + name: "focused" + when: passwordField.activeFocus + PropertyChanges { + target: passFieldBackground + color: config.surface1 + } + }, + State { + name: "hovered" + when: passwordField.hovered + PropertyChanges { + target: passFieldBackground + color: config.surface1 + } + } + ] + transitions: Transition { + PropertyAnimation { + properties: "color" + duration: 300 + } + } +} diff --git a/usr/share/sddm/themes/catppuccin-mocha/Components/PowerButton.qml b/usr/share/sddm/themes/catppuccin-mocha/Components/PowerButton.qml new file mode 100644 index 0000000..dc74269 --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/Components/PowerButton.qml @@ -0,0 +1,41 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 + +Item { + implicitHeight: powerButton.height + implicitWidth: powerButton.width + Button { + id: powerButton + height: inputHeight + width: inputHeight + hoverEnabled: true + icon { + source: Qt.resolvedUrl("../icons/power.svg") + height: height + width: width + color: config.crust + } + background: Rectangle { + id: powerButtonBackground + radius: 3 + color: config.red + } + states: [ + State { + name: "hovered" + when: powerButton.hovered + PropertyChanges { + target: powerButtonBackground + color: config.rosewater + } + } + ] + transitions: Transition { + PropertyAnimation { + properties: "color" + duration: 300 + } + } + onClicked: sddm.powerOff() + } +} diff --git a/usr/share/sddm/themes/catppuccin-mocha/Components/RebootButton.qml b/usr/share/sddm/themes/catppuccin-mocha/Components/RebootButton.qml new file mode 100644 index 0000000..a2c9b9f --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/Components/RebootButton.qml @@ -0,0 +1,41 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 + +Item { + implicitHeight: rebootButton.height + implicitWidth: rebootButton.width + Button { + id: rebootButton + height: inputHeight + width: inputHeight + hoverEnabled: true + icon { + source: Qt.resolvedUrl("../icons/reboot.svg") + height: height + width: width + color: config.crust + } + background: Rectangle { + id: rebootButtonBackground + radius: 3 + color: config.red + } + states: [ + State { + name: "hovered" + when: rebootButton.hovered + PropertyChanges { + target: rebootButtonBackground + color: config.rosewater + } + } + ] + transitions: Transition { + PropertyAnimation { + properties: "color" + duration: 300 + } + } + onClicked: sddm.reboot() + } +} diff --git a/usr/share/sddm/themes/catppuccin-mocha/Components/SessionPanel.qml b/usr/share/sddm/themes/catppuccin-mocha/Components/SessionPanel.qml new file mode 100644 index 0000000..0edfcb3 --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/Components/SessionPanel.qml @@ -0,0 +1,156 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 +import QtQml.Models 2.15 + +Item { + property var session: sessionList.currentIndex + implicitHeight: sessionButton.height + implicitWidth: sessionButton.width + DelegateModel { + id: sessionWrapper + model: sessionModel + delegate: ItemDelegate { + id: sessionEntry + height: inputHeight + width: parent.width + highlighted: sessionList.currentIndex == index + contentItem: Text { + renderType: Text.NativeRendering + font.family: config.Font + font.pointSize: config.FontSize + font.bold: true + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + color: config.text + text: name + } + background: Rectangle { + id: sessionEntryBackground + color: config.surface1 + radius: 3 + } + states: [ + State { + name: "hovered" + when: sessionEntry.hovered + PropertyChanges { + target: sessionEntryBackground + color: config.surface2 + } + } + ] + transitions: Transition { + PropertyAnimation { + property: "color" + duration: 300 + } + } + MouseArea { + anchors.fill: parent + onClicked: { + sessionList.currentIndex = index + sessionPopup.close() + } + } + } + } + Button { + id: sessionButton + height: inputHeight + width: inputHeight + hoverEnabled: true + icon { + source: Qt.resolvedUrl("../icons/settings.svg") + height: height + width: width + color: config.text + } + background: Rectangle { + id: sessionButtonBackground + color: config.surface0 + radius: 3 + } + states: [ + State { + name: "pressed" + when: sessionButton.down + PropertyChanges { + target: sessionButtonBackground + color: config.surface1 + } + }, + State { + name: "hovered" + when: sessionButton.hovered + PropertyChanges { + target: sessionButtonBackground + color: config.surface2 + } + }, + State { + name: "selection" + when: sessionPopup.visible + PropertyChanges { + target: sessionButtonBackground + color: config.surface2 + } + } + ] + transitions: Transition { + PropertyAnimation { + properties: "color" + duration: 150 + } + } + onClicked: { + sessionPopup.visible ? sessionPopup.close() : sessionPopup.open() + sessionButton.state = "pressed" + } + } + Popup { + id: sessionPopup + width: inputWidth + padding * 2 + x: (sessionButton.width + sessionList.spacing) * -7.6 + y: -(contentHeight + padding * 2) + sessionButton.height + padding: inputHeight / 10 + background: Rectangle { + radius: 5.4 + color: config.surface0 + } + contentItem: ListView { + id: sessionList + implicitHeight: contentHeight + spacing: 8 + model: sessionWrapper + currentIndex: sessionModel.lastIndex + clip: true + } + enter: Transition { + ParallelAnimation { + NumberAnimation { + property: "opacity" + from: 0 + to: 1 + duration: 400 + easing.type: Easing.OutExpo + } + NumberAnimation { + property: "x" + from: sessionPopup.x + (inputWidth * 0.1) + to: sessionPopup.x + duration: 500 + easing.type: Easing.OutExpo + } + } + } + exit: Transition { + NumberAnimation { + property: "opacity" + from: 1 + to: 0 + duration: 300 + easing.type: Easing.OutExpo + } + } + } +} diff --git a/usr/share/sddm/themes/catppuccin-mocha/Components/SleepButton.qml b/usr/share/sddm/themes/catppuccin-mocha/Components/SleepButton.qml new file mode 100644 index 0000000..f4a4b7a --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/Components/SleepButton.qml @@ -0,0 +1,41 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 + +Item { + implicitHeight: sleepButton.height + implicitWidth: sleepButton.width + Button { + id: sleepButton + height: inputHeight + width: inputHeight + hoverEnabled: true + icon { + source: Qt.resolvedUrl("../icons/sleep.svg") + height: height + width: width + color: config.crust + } + background: Rectangle { + id: sleepButtonBg + color: config.red + radius: 3 + } + states: [ + State { + name: "hovered" + when: sleepButton.hovered + PropertyChanges { + target: sleepButtonBg + color: config.rosewater + } + } + ] + transitions: Transition { + PropertyAnimation { + properties: "color" + duration: 300 + } + } + onClicked: sddm.suspend() + } +} diff --git a/usr/share/sddm/themes/catppuccin-mocha/Components/UserField.qml b/usr/share/sddm/themes/catppuccin-mocha/Components/UserField.qml new file mode 100644 index 0000000..9f8ca61 --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/Components/UserField.qml @@ -0,0 +1,50 @@ +import QtQuick 2.15 +import QtQuick.Controls 2.15 + +TextField { + id: userField + height: inputHeight + width: inputWidth + selectByMouse: true + echoMode: TextInput.Normal + selectionColor: config.overlay0 + renderType: Text.NativeRendering + font { + family: config.Font + pointSize: config.FontSize + bold: true + } + color: config.text + horizontalAlignment: Text.AlignHCenter + placeholderText: "Username" + text: userModel.lastUser + background: Rectangle { + id: userFieldBackground + color: config.surface0 + radius: 3 + } + states: [ + State { + name: "focused" + when: userField.activeFocus + PropertyChanges { + target: userFieldBackground + color: config.surface1 + } + }, + State { + name: "hovered" + when: userField.hovered + PropertyChanges { + target: userFieldBackground + color: config.surface1 + } + } + ] + transitions: Transition { + PropertyAnimation { + properties: "color" + duration: 300 + } + } +} diff --git a/usr/share/sddm/themes/catppuccin-mocha/Main.qml b/usr/share/sddm/themes/catppuccin-mocha/Main.qml new file mode 100644 index 0000000..422054b --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/Main.qml @@ -0,0 +1,48 @@ +import QtQuick 2.15 +import QtQuick.Window 2.15 +import QtQuick.Controls 2.15 +import "Components" + +Item { + id: root + height: Screen.height + width: Screen.width + Rectangle { + id: background + anchors.fill: parent + height: parent.height + width: parent.width + z: 0 + color: config.base + } + Image { + id: backgroundImage + anchors.fill: parent + height: parent.height + width: parent.width + fillMode: Image.PreserveAspectCrop + visible: config.CustomBackground == "true" ? true : false + z: 1 + source: config.Background + asynchronous: false + cache: true + mipmap: true + clip: true + } + Item { + id: mainPanel + z: 3 + anchors { + fill: parent + margins: 50 + } + Clock { + id: time + visible: config.ClockEnabled == "true" ? true : false + } + LoginPanel { + id: loginPanel + anchors.fill: parent + } + } +} diff --git a/usr/share/sddm/themes/catppuccin-mocha/assets/angle-down.png b/usr/share/sddm/themes/catppuccin-mocha/assets/angle-down.png new file mode 100644 index 0000000..f621bfc Binary files /dev/null and b/usr/share/sddm/themes/catppuccin-mocha/assets/angle-down.png differ diff --git a/usr/share/sddm/themes/catppuccin-mocha/backgrounds/.gitkeep b/usr/share/sddm/themes/catppuccin-mocha/backgrounds/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/usr/share/sddm/themes/catppuccin-mocha/icons/power.svg b/usr/share/sddm/themes/catppuccin-mocha/icons/power.svg new file mode 100644 index 0000000..70495dd --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/icons/power.svg @@ -0,0 +1,14 @@ + + + + + + + \ No newline at end of file diff --git a/usr/share/sddm/themes/catppuccin-mocha/icons/reboot.svg b/usr/share/sddm/themes/catppuccin-mocha/icons/reboot.svg new file mode 100644 index 0000000..5506bbb --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/icons/reboot.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/usr/share/sddm/themes/catppuccin-mocha/icons/settings.svg b/usr/share/sddm/themes/catppuccin-mocha/icons/settings.svg new file mode 100644 index 0000000..9a64fbd --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/icons/settings.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/usr/share/sddm/themes/catppuccin-mocha/icons/sleep.svg b/usr/share/sddm/themes/catppuccin-mocha/icons/sleep.svg new file mode 100644 index 0000000..4102f2d --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/icons/sleep.svg @@ -0,0 +1,5 @@ + + +moon + + \ No newline at end of file diff --git a/usr/share/sddm/themes/catppuccin-mocha/metadata.desktop b/usr/share/sddm/themes/catppuccin-mocha/metadata.desktop new file mode 100644 index 0000000..82c1be2 --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/metadata.desktop @@ -0,0 +1,14 @@ +[SddmGreeterTheme] +Name=Catppuccin mocha +Description=Soothing pastel theme for SDDM +Type=sddm-theme +Version=2.1 +Website=https://github.com/catppuccin/sddm +Screenshot=preview.png +MainScript=Main.qml +ConfigFile=theme.conf +TranslationsDirectory=translations +Theme-Id=Catppuccin +Theme-API=2.0 +License=MIT +QtVersion=6 diff --git a/usr/share/sddm/themes/catppuccin-mocha/preview.png b/usr/share/sddm/themes/catppuccin-mocha/preview.png new file mode 100644 index 0000000..ad78e68 Binary files /dev/null and b/usr/share/sddm/themes/catppuccin-mocha/preview.png differ diff --git a/usr/share/sddm/themes/catppuccin-mocha/theme.conf b/usr/share/sddm/themes/catppuccin-mocha/theme.conf new file mode 100644 index 0000000..35c3e9b --- /dev/null +++ b/usr/share/sddm/themes/catppuccin-mocha/theme.conf @@ -0,0 +1,39 @@ +[General] +Font="Noto Sans" +FontSize=9 +ClockEnabled="true" +CustomBackground="false" +LoginBackground="false" +Background="backgrounds/wall.jpg" + +# Uncomment this option to show the last letter of the password +# for the number of milliseconds specified +# PasswordShowLastLetter=1000 + +# DON'T CHANGE THESE +rosewater = "#f5e0dc" +flamingo = "#f2cdcd" +pink = "#f5c2e7" +mauve = "#cba6f7" +red = "#f38ba8" +maroon = "#eba0ac" +peach = "#fab387" +yellow = "#f9e2af" +green = "#a6e3a1" +teal = "#94e2d5" +sky = "#89dceb" +sapphire = "#74c7ec" +blue = "#89b4fa" +lavender = "#b4befe" +text = "#cdd6f4" +subtext1 = "#bac2de" +subtext0 = "#a6adc8" +overlay2 = "#9399b2" +overlay1 = "#7f849c" +overlay0 = "#6c7086" +surface2 = "#585b70" +surface1 = "#45475a" +surface0 = "#313244" +base = "#1e1e2e" +mantle = "#181825" +crust = "#11111b"