Merge branch 'rebuild' of github.com:noctalia-dev/noctalia-shell into rebuild
This commit is contained in:
commit
5ef7e69f88
3 changed files with 51 additions and 8 deletions
38
.github/workflows/release.yml
vendored
Normal file
38
.github/workflows/release.yml
vendored
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
name: Build and Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Create release archive
|
||||||
|
run: |
|
||||||
|
mkdir -p ../noctalia-release
|
||||||
|
# Copy all files except .git and .github
|
||||||
|
rsync -av --exclude='.git' --exclude='.github' ./ ../noctalia-release/
|
||||||
|
cd ..
|
||||||
|
tar -czf noctalia-${{ github.ref_name }}.tar.gz noctalia-release/
|
||||||
|
cp noctalia-${{ github.ref_name }}.tar.gz noctalia-latest.tar.gz
|
||||||
|
mv *.tar.gz ${{ github.workspace }}/
|
||||||
|
|
||||||
|
- name: Create GitHub Release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
noctalia-${{ github.ref_name }}.tar.gz
|
||||||
|
noctalia-latest.tar.gz
|
||||||
|
generate_release_notes: true
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
@ -288,26 +288,31 @@ NLoader {
|
||||||
1,
|
1,
|
||||||
searchInput.activeFocus ? Style.borderMedium * scaling : Style.borderThin * scaling)
|
searchInput.activeFocus ? Style.borderMedium * scaling : Style.borderThin * scaling)
|
||||||
|
|
||||||
Row {
|
Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: Style.marginMedium * scaling
|
anchors.margins: Style.marginMedium * scaling
|
||||||
spacing: Style.marginSmall * scaling
|
|
||||||
|
|
||||||
Text {
|
Text {
|
||||||
|
id: searchIcon
|
||||||
text: "search"
|
text: "search"
|
||||||
font.family: "Material Symbols Outlined"
|
font.family: "Material Symbols Outlined"
|
||||||
font.pointSize: Style.fontSizeLarger * scaling
|
font.pointSize: Style.fontSizeLarger * scaling
|
||||||
color: searchInput.activeFocus ? Color.mPrimary : Color.mOnSurface
|
color: searchInput.activeFocus ? Color.mPrimary : Color.mOnSurface
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
|
|
||||||
TextField {
|
TextField {
|
||||||
id: searchInput
|
id: searchInput
|
||||||
placeholderText: "Search applications..."
|
placeholderText: searchText === "" ? "Search applications... (use > to view commands)" : "Search applications..."
|
||||||
color: Color.mOnSurface
|
color: Color.mOnSurface
|
||||||
placeholderTextColor: Color.mOnSurface
|
placeholderTextColor: Color.mOnSurfaceVariant
|
||||||
background: null
|
background: null
|
||||||
font.pointSize: Style.fontSizeLarge * scaling
|
font.pointSize: Style.fontSizeLarge * scaling
|
||||||
Layout.fillWidth: true
|
anchors.left: searchIcon.right
|
||||||
|
anchors.leftMargin: Style.marginSmall * scaling
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
onTextChanged: {
|
onTextChanged: {
|
||||||
searchText = text
|
searchText = text
|
||||||
selectedIndex = 0 // Reset selection when search changes
|
selectedIndex = 0 // Reset selection when search changes
|
||||||
|
|
@ -473,7 +478,7 @@ NLoader {
|
||||||
text: modelData.name || "Unknown"
|
text: modelData.name || "Unknown"
|
||||||
font.pointSize: Style.fontSizeLarge * scaling
|
font.pointSize: Style.fontSizeLarge * scaling
|
||||||
font.weight: Font.Bold
|
font.weight: Font.Bold
|
||||||
color: Color.mOnSurface
|
color: (appCardArea.containsMouse || isSelected) ? Color.mOnPrimary : Color.mOnSurface
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
}
|
}
|
||||||
|
|
@ -481,7 +486,7 @@ NLoader {
|
||||||
NText {
|
NText {
|
||||||
text: modelData.isCalculator ? (modelData.expr + " = " + modelData.result) : modelData.isClipboard ? modelData.content : modelData.isCommand ? modelData.content : (modelData.genericName || modelData.comment || "")
|
text: modelData.isCalculator ? (modelData.expr + " = " + modelData.result) : modelData.isClipboard ? modelData.content : modelData.isCommand ? modelData.content : (modelData.genericName || modelData.comment || "")
|
||||||
font.pointSize: Style.fontSizeMedium * scaling
|
font.pointSize: Style.fontSizeMedium * scaling
|
||||||
color: (appCardArea.containsMouse || isSelected) ? Color.mOnSurface : Color.mOnSurface
|
color: (appCardArea.containsMouse || isSelected) ? Color.mOnPrimary : Color.mOnSurface
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
visible: text !== ""
|
visible: text !== ""
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ A sleek, minimal, and thoughtfully crafted desktop shell for Wayland using **Qui
|
||||||
yay -S quickshell-git
|
yay -S quickshell-git
|
||||||
|
|
||||||
# Download and install Noctalia
|
# Download and install Noctalia
|
||||||
mkdir -p ~/.config/quickshell && curl -sL https://github.com/Ly-sec/Noctalia/releases/latest/download/noctalia-latest.tar.gz | tar -xz --strip-components=1 -C ~/.config/quickshell/
|
mkdir -p ~/.config/quickshell && curl -sL https://github.com/noctalia-dev/noctalia-shell/releases/latest/download/noctalia-shell-latest.tar.gz | tar -xz --strip-components=1 -C ~/.config/quickshell/
|
||||||
```
|
```
|
||||||
|
|
||||||
### Usage
|
### Usage
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue