diff --git a/README.md b/README.md index ba2e67e..2daa92f 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,12 @@ To automatically setup the system, use the script `fedora.sh`, or run trough the - serif font: install `google-roboto-fonts` (used in gtk, qt, waybar) - zsh: `\$ZDOTDIR` set in `/etc/zshenv` + omz install (`sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" && mv ~/.oh-my-zsh ~/.local/share/oh-my-zsh && mkdir -p ~/.local/state/zsh/`) + `.config/zsh` + install fzf-tab plugin (git clone https://github.com/Aloxaf/fzf-tab ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/fzf-tab/, needs sqlite as dependency) + for some reason `$XDG_STATE_HOME/zsh` needs to be created manually - hypr*: `.config/hypr,` install `hyprlock`, `hyprsunset`, `hypridle`, -- hyprpaper: `.config/hypr` + download from [here](https://www.flickr.com/photos/nasahqphoto/5914101671/in/photostream/) by `curl -o .local/share/backgrounds/eKxlw8.jpg -fsSL "https://live.staticflickr.com/5077/5914101671_d80c6591e8_k.jpg` (also used for grub & sddm & hyprlock) +- hyprpaper: `.config/hypr` + download from [here](https://www.flickr.com/photos/nasahqphoto/5914101671/in/photostream/) by `curl -o .local/share/backgrounds/eKxlw8.jpg -fsSL "https://live.staticflickr.com/5077/5914101671_d80c6591e8_k.jpg` (also used for grub & regreet & hyprlock) - waybar: `.config/waybar` + install `fontawesome4-fonts` (for icons) - rofi: `.config/rofi` -- rofi-qalc: needs `rofi-wayland-1.7.5+wayland2-3.fc40.x86_64` (find it in downloads or fedora build system) until ABI is fixed, rofi-devel, then compile this by hand: https://github.com/svenstaro/rofi-calc -- sddm: dependency: `qt6-qtquickcontrols2 qt6-qtsvg`, copy `sddm/sddm.conf` -> `/etc/sddm.conf` & `sddm/themes/catppuccin-macchiato` -> `/usr/share/sddm/themes/` then `# systemctl set-default graphical.target` +- rofi-qalc: needs rofi-wayland, rofi-devel, then compile this by hand: https://github.com/svenstaro/rofi-calc +- regreet (greetd greeter): needs cargo, gtk4-devel, cairo-gobject-devel, pango-devel and greetd; needs the greetd user added to `video` group, then complle this by hand: https://github.com/rharish101/ReGreet.git + Also moves config files to their places, including to `/etc/tmpfiles.d/` - nvim: `.config/nvim` + kitty done + deps: clang (gcc-c++), unzip, npm, ripgrep, go, then proceed with nvchad init - swaync: `.config/swaync` - gtk: `.config/gtk-*`, `dconf load /org/gtk/gtk4 < ./dconf-export/gtk4.dconf` @@ -40,6 +41,8 @@ To automatically setup the system, use the script `fedora.sh`, or run trough the ![control center](https://raw.githubusercontent.com/Derisis13/dotfiles/refs/heads/master/.assets/control_center_menu.png)
![btop](https://raw.githubusercontent.com/Derisis13/dotfiles/refs/heads/master/.assets/btop.png) +# Licensing +Licensed under the unlicense, unless stated otherwise in the file (eg. regreet.toml is under GPL-v3, as it is part of the regreet project) # Thanks to: - [Kosmx](https://github.com/KosmX/) for providing help and [dotfiles to steal from](https://github.com/KosmX/hypr-dots) diff --git a/fedora.sh b/fedora.sh index 95da254..eddc732 100644 --- a/fedora.sh +++ b/fedora.sh @@ -57,10 +57,20 @@ curl -o ~/.local/share/backgrounds/eKxlw8.jpg -fsSL "https://live.staticflickr.c ensure_installed swaync ensure_installed waybar fontawesome4-fonts -# Install sddm -ensure_installed sddm qt6-qtsvg qt5-qtquickcontrols2 -sudo cp ~/.config/sddm/sddm.conf /etc/sddm.conf -sudo cp -r ~/.config/sddm/themes/catpuccin-macchiatto /usr/share/sddm/themes/ +# Install ReGreet +ensure_installed cargo gtk4-devel cairo-gobject-devel pango-devel greetd +sudo usermod -a -G video greetd +sudo cp -r ~/.config/regreet/greetd /etc/greetd/ +sudo cp ~/.local/share/backgrounds/eKxlw8.jpg /etc/greetd/ +sudo cp ~/.config/gtk-4.0/gtk.css /etc/greetd/regreet.css +sudo cp ~/.config/regreet/tmpfiles.conf /etc/tmpfiles.d/regreet.conf +mkdir -p "~/.local/bin/build_stage/" +git clone https://github.com/rharish101/ReGreet.git "~/.local/bin/build_stage/" && + cd ~/.local/bin/build_stage/ReGreet/ && + cargo build -F gtk4_8 --release && + sudo cp ./target/release/regreet /usr/bin/ && + systemctl enable greetd.service +cd # Install grub ensure_installed grub2-common diff --git a/regreet/greetd/config.toml b/regreet/greetd/config.toml new file mode 100644 index 0000000..9171f10 --- /dev/null +++ b/regreet/greetd/config.toml @@ -0,0 +1,10 @@ +[terminal] +# The VT to run the greeter on. Can be "next", "current" or a number +# designating the VT. +vt = current + +# The default session, also known as the greeter. +[default_session] +command = "Hyprland --config /etc/greetd/hyprland.conf" +user = "greetd" + diff --git a/regreet/greetd/hyprland.conf b/regreet/greetd/hyprland.conf new file mode 100644 index 0000000..34197ee --- /dev/null +++ b/regreet/greetd/hyprland.conf @@ -0,0 +1,9 @@ +exec-once = regreet; hyprctl dispatch exit +input { + kb_layout = hu +} +misc { + disable_hyprland_logo = true + disable_splash_rendering = true + disable_hyprland_qtutils_check = true +} diff --git a/regreet/greetd/regreet.toml b/regreet/greetd/regreet.toml new file mode 100644 index 0000000..d2c4a26 --- /dev/null +++ b/regreet/greetd/regreet.toml @@ -0,0 +1,69 @@ +# SPDX-FileCopyrightText: 2022 Harish Rajagopal +# +# SPDX-License-Identifier: GPL-3.0-or-later + +[background] +# Path to the background image +path = "/etc/greetd/eKxlw8.jpg" + +# 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] +XDG_SESSION_TYPE = "wayland" +XDG_SESSION_DESKTOP = "Hyprland" +XDG_CURRENT_DESKTOP = "Hyprland" +QT_QPA_PLATFORM = "wayland" +SDL_VIDEODRIVER = "wayland" +_JAVA_AWT_WM_NONREPARENTING = "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 = "Roboto 12" + +# Icon theme name +icon_theme_name = "Adwaita" + +# GTK theme name +theme_name = "adw-gtk3-dark" + +[commands] +# The command used to reboot the system +reboot = ["systemctl", "reboot"] + +# The command used to shut down the system +poweroff = ["systemctl", "poweroff"] + +# The command prefix for X11 sessions to start the X server +x11_prefix = [ "startx", "/usr/bin/env" ] + +[appearance] +# The message that initially displays on startup +greeting_msg = "CQ DE HA5PLS" + + +[widget.clock] +# strftime format argument +# See https://docs.rs/jiff/0.1.14/jiff/fmt/strtime/index.html#conversion-specifications +format = "%A %H:%M" + +# How often to update the text +resolution = "500ms" + +# Override system timezone (IANA Time Zone Database name, aka /etc/zoneinfo path) +# Remove to use the system time zone. +timezone = "Europe/Budapest" + +# Ask GTK to make the label at least this wide. This helps keeps the parent element layout and width consistent. +# Experiment with different widths, the interpretation of this value is entirely up to GTK. +label_width = 150 diff --git a/regreet/tmpfiles.conf b/regreet/tmpfiles.conf new file mode 100644 index 0000000..ae2131c --- /dev/null +++ b/regreet/tmpfiles.conf @@ -0,0 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Harish Rajagopal +# +# SPDX-License-Identifier: CC0-1.0 + +# Create the log and state directories. +d /var/log/regreet 0755 greetd greetd - - +d /var/lib/regreet 0755 greetd greetd - - diff --git a/sddm/sddm.conf b/sddm/sddm.conf deleted file mode 100644 index 86ec96f..0000000 --- a/sddm/sddm.conf +++ /dev/null @@ -1,122 +0,0 @@ -[Autologin] -# Whether sddm should automatically log back into sessions when they exit -#Relogin=false - -# Name of session file for autologin session -#Session= - -# Username for autologin session -#User= - - -[General] -# Enable Qt's automatic high-DPI scaling -#EnableHiDPI=false - -# Halt command -#HaltCommand=/usr/bin/systemctl poweroff - -# 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 - -# Control x11/wayland startup -# DisplayServer=wayland - -[Theme] -# Current theme name -Current=catppuccin-macchiato - -# 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 - -# Theme directory path -ThemeDir=/usr/share/sddm/themes - - -[Users] -# Default $PATH for logged in users -#DefaultPath=/usr/local/bin:/usr/bin:/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=60000 - -# 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 - - -[Wayland] -# Path to a script to execute when starting the desktop session -#SessionCommand=/etc/sddm/wayland-session - -# Directory containing available Wayland sessions -#SessionDir=/usr/share/wayland-sessions - -# Path to the user session log file -#SessionLogFile=.cache/wayland-errors - - -[X11] -# Path to a script to execute when starting the display server -#DisplayCommand=/etc/sddm/Xsetup - -# Path to a script to execute when stopping the display server -#DisplayStopCommand=/etc/sddm/Xstop - -# The lowest virtual terminal number that will be used. -#MinimumVT=1 - -# 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=/etc/X11/xinit/Xsession - -# Directory containing available X sessions -#SessionDir=/usr/share/xsessions - -# Path to the user session log file -#SessionLogFile=.cache/xsession-errors - -# Path to the Xauthority file -#UserAuthFile=.Xauthority - -# Path to xauth binary -#XauthPath=/usr/bin/xauth - -# Path to Xephyr binary -#XephyrPath=/usr/bin/Xephyr - - diff --git a/sddm/themes/catppuccin-macchiato/Components/Clock.qml b/sddm/themes/catppuccin-macchiato/Components/Clock.qml deleted file mode 100644 index f076d28..0000000 --- a/sddm/themes/catppuccin-macchiato/Components/Clock.qml +++ /dev/null @@ -1,14 +0,0 @@ -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/sddm/themes/catppuccin-macchiato/Components/LoginPanel.qml b/sddm/themes/catppuccin-macchiato/Components/LoginPanel.qml deleted file mode 100644 index e0dec79..0000000 --- a/sddm/themes/catppuccin-macchiato/Components/LoginPanel.qml +++ /dev/null @@ -1,147 +0,0 @@ -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/sddm/themes/catppuccin-macchiato/Components/PasswordField.qml b/sddm/themes/catppuccin-macchiato/Components/PasswordField.qml deleted file mode 100644 index dd0f384..0000000 --- a/sddm/themes/catppuccin-macchiato/Components/PasswordField.qml +++ /dev/null @@ -1,48 +0,0 @@ -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/sddm/themes/catppuccin-macchiato/Components/PowerButton.qml b/sddm/themes/catppuccin-macchiato/Components/PowerButton.qml deleted file mode 100644 index dc74269..0000000 --- a/sddm/themes/catppuccin-macchiato/Components/PowerButton.qml +++ /dev/null @@ -1,41 +0,0 @@ -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/sddm/themes/catppuccin-macchiato/Components/RebootButton.qml b/sddm/themes/catppuccin-macchiato/Components/RebootButton.qml deleted file mode 100644 index a2c9b9f..0000000 --- a/sddm/themes/catppuccin-macchiato/Components/RebootButton.qml +++ /dev/null @@ -1,41 +0,0 @@ -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/sddm/themes/catppuccin-macchiato/Components/SessionPanel.qml b/sddm/themes/catppuccin-macchiato/Components/SessionPanel.qml deleted file mode 100644 index 0edfcb3..0000000 --- a/sddm/themes/catppuccin-macchiato/Components/SessionPanel.qml +++ /dev/null @@ -1,156 +0,0 @@ -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/sddm/themes/catppuccin-macchiato/Components/SleepButton.qml b/sddm/themes/catppuccin-macchiato/Components/SleepButton.qml deleted file mode 100644 index f4a4b7a..0000000 --- a/sddm/themes/catppuccin-macchiato/Components/SleepButton.qml +++ /dev/null @@ -1,41 +0,0 @@ -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/sddm/themes/catppuccin-macchiato/Components/UserField.qml b/sddm/themes/catppuccin-macchiato/Components/UserField.qml deleted file mode 100644 index 9f8ca61..0000000 --- a/sddm/themes/catppuccin-macchiato/Components/UserField.qml +++ /dev/null @@ -1,50 +0,0 @@ -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/sddm/themes/catppuccin-macchiato/Main.qml b/sddm/themes/catppuccin-macchiato/Main.qml deleted file mode 100644 index 422054b..0000000 --- a/sddm/themes/catppuccin-macchiato/Main.qml +++ /dev/null @@ -1,48 +0,0 @@ -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/sddm/themes/catppuccin-macchiato/assets/angle-down.png b/sddm/themes/catppuccin-macchiato/assets/angle-down.png deleted file mode 100644 index f621bfc..0000000 Binary files a/sddm/themes/catppuccin-macchiato/assets/angle-down.png and /dev/null differ diff --git a/sddm/themes/catppuccin-macchiato/backgrounds/.gitkeep b/sddm/themes/catppuccin-macchiato/backgrounds/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/sddm/themes/catppuccin-macchiato/backgrounds/wall.jpg b/sddm/themes/catppuccin-macchiato/backgrounds/wall.jpg deleted file mode 100755 index 6092f5a..0000000 Binary files a/sddm/themes/catppuccin-macchiato/backgrounds/wall.jpg and /dev/null differ diff --git a/sddm/themes/catppuccin-macchiato/icons/power.svg b/sddm/themes/catppuccin-macchiato/icons/power.svg deleted file mode 100644 index 70495dd..0000000 --- a/sddm/themes/catppuccin-macchiato/icons/power.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/sddm/themes/catppuccin-macchiato/icons/reboot.svg b/sddm/themes/catppuccin-macchiato/icons/reboot.svg deleted file mode 100644 index 5506bbb..0000000 --- a/sddm/themes/catppuccin-macchiato/icons/reboot.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/sddm/themes/catppuccin-macchiato/icons/settings.svg b/sddm/themes/catppuccin-macchiato/icons/settings.svg deleted file mode 100644 index 9a64fbd..0000000 --- a/sddm/themes/catppuccin-macchiato/icons/settings.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/sddm/themes/catppuccin-macchiato/icons/sleep.svg b/sddm/themes/catppuccin-macchiato/icons/sleep.svg deleted file mode 100644 index 4102f2d..0000000 --- a/sddm/themes/catppuccin-macchiato/icons/sleep.svg +++ /dev/null @@ -1,5 +0,0 @@ - - -moon - - \ No newline at end of file diff --git a/sddm/themes/catppuccin-macchiato/metadata.desktop b/sddm/themes/catppuccin-macchiato/metadata.desktop deleted file mode 100644 index d6693d5..0000000 --- a/sddm/themes/catppuccin-macchiato/metadata.desktop +++ /dev/null @@ -1,14 +0,0 @@ -[SddmGreeterTheme] -Name=Catppuccin macchiato -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/sddm/themes/catppuccin-macchiato/theme.conf b/sddm/themes/catppuccin-macchiato/theme.conf deleted file mode 100644 index c85c2cf..0000000 --- a/sddm/themes/catppuccin-macchiato/theme.conf +++ /dev/null @@ -1,39 +0,0 @@ -[General] -Font="Roboto" -FontSize=11 -ClockEnabled="true" -CustomBackground="true" -LoginBackground="true" -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 = "#f4dbd6" -flamingo = "#f0c6c6" -pink = "#f5bde6" -mauve = "#c6a0f6" -red = "#ed8796" -maroon = "#ee99a0" -peach = "#f5a97f" -yellow = "#eed49f" -green = "#a6da95" -teal = "#8bd5ca" -sky = "#91d7e3" -sapphire = "#7dc4e4" -blue = "#8aadf4" -lavender = "#b7bdf8" -text = "#cad3f5" -subtext1 = "#b8c0e0" -subtext0 = "#a5adcb" -overlay2 = "#939ab7" -overlay1 = "#8087a2" -overlay0 = "#6e738d" -surface2 = "#5b6078" -surface1 = "#494d64" -surface0 = "#363a4f" -base = "#24273a" -mantle = "#1e2030" -crust = "#181926"