Skip to content

Commit

Permalink
Merge pull request #54 from levnikmyskin/move-to-aquamarine
Browse files Browse the repository at this point in the history
fix: work on aquamarine backend
  • Loading branch information
levnikmyskin authored Jul 22, 2024
2 parents 751d7c6 + a296f7a commit ee9eb63
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .github/actions/setup_base/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ runs:
libxfont2 \
libxkbcommon \
libxkbfile \
libxcursor \
lld \
meson \
ninja \
Expand Down Expand Up @@ -89,6 +90,15 @@ runs:
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
cmake --install build
- name: Get aquamarine
shell: bash
run: |
git clone https://github.com/hyprwm/aquamarine.git
cd aquamarine
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf _NPROCESSORS_CONF`
cmake --install build
- name: Get Xorg pacman pkgs
shell: bash
if: inputs.INSTALL_XORG_PKGS == 'true'
Expand Down
2 changes: 1 addition & 1 deletion src/VirtualDesk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,5 @@ Layout VirtualDesk::generateCurrentMonitorLayout() {
std::string VirtualDesk::monitorDesc(const CMonitor* monitor) {
if (!monitor->output)
return monitor->szName;
return monitor->output->description ? monitor->output->description : monitor->szName;
return monitor->szDescription.empty() ? monitor->szName : monitor->szDescription;
}

0 comments on commit ee9eb63

Please sign in to comment.