diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 3a0ca111..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,4 +0,0 @@ -# These are supported funding model platforms - -github: Alexays -custom: https://paypal.me/ARouillard diff --git a/.github/labeler.yml b/.github/labeler.yml deleted file mode 100644 index a89e734f..00000000 --- a/.github/labeler.yml +++ /dev/null @@ -1,65 +0,0 @@ -bug: - - "(crash|bug|error|coredump|freeze|segfault|issue|problem)" - -enhancement: - - "(feature|enhancement|improvement|request|suggestion)" - -hyprland: - - "(hyprland)" - -network: - - "(network|wifi|ethernet)" - -bluetooth: - - "(bluetooth|bluez)" - -sway: - - "(sway)" - -cpu: - - "(cpu)" - -memory: - - "(memory|ram)" - -disk: - - "(disk|storage)" - -battery: - - "(upower|battery)" - -sni: - - "(sni|tray)" - -dwl: - - "(dwl)" - -custom: - - "(custom|module|extension|plugin|script)" - -mpd: - - "(mpd|music)" - -audio: - - "(pulseaudio|alsa|jack|audio|pirewire|wireplumber)" - -temperature: - - "(temperature|thermal|hwmon)" - -clock: - - "(clock|time|date)" - -gamemode: - - "(gamemode|game|gaming)" - -inhibitor: - - "(inhibitor|idle|lock|suspend|hibernate|logout)" - -cava: - - "(cava|audio-visualizer)" - -backlight: - - "(backlight|brightness)" - -keyboard: - - "(keyboard|keymap|layout|shortcut)" diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml deleted file mode 100644 index 25f62c8e..00000000 --- a/.github/workflows/clang-format.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: clang-format - -on: [push, pull_request] - -concurrency: - group: ${{ github.workflow }}-format-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: RafikFarhad/clang-format-github-action@v6 - name: clang-format - with: - sources: "src/**/*.hpp,src/**/*.cpp" - style: "file" diff --git a/.github/workflows/clang-tidy.yml.bak b/.github/workflows/clang-tidy.yml.bak deleted file mode 100644 index 9e9da80c..00000000 --- a/.github/workflows/clang-tidy.yml.bak +++ /dev/null @@ -1,39 +0,0 @@ -name: clang-tidy - -on: [push, pull_request] - -concurrency: - group: ${{ github.workflow }}-tidy-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - lint: - runs-on: ubuntu-latest - container: - image: alexays/waybar:debian - steps: - - uses: actions/checkout@v6 - - name: configure - run: | - meson -Dcpp_std=c++20 build # necessary to generate compile_commands.json - ninja -C build # necessary to find certain .h files (xdg, wayland, etc.) - - uses: actions/setup-python@v5 - with: - python-version: '3.10' # to be kept in sync with cpp-linter-action - update-environment: true # the python dist installed by the action needs LD_LIBRARY_PATH to work - - uses: cpp-linter/cpp-linter-action@v2.9.1 - name: clang-tidy - id: clang-tidy-check - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PIP_NO_CACHE_DIR: false - with: - style: "" # empty string => don't do clang-format checks here, we do them in clang-format.yml - files-changed-only: true # only check files that have changed - lines-changed-only: true # only check lines that have changed - tidy-checks: "" # empty string => use the .clang-tidy file - version: "17" # clang-tools version - database: "build" # path to the compile_commands.json file - - name: Check if clang-tidy failed on any files - if: steps.clang-tidy-check.outputs.checks-failed > 0 - run: echo "Some files failed the linting checks!" && exit 1 diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml deleted file mode 100644 index ea8eb08b..00000000 --- a/.github/workflows/docker.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Build and Push Docker Image - -on: - workflow_dispatch: - schedule: - # run monthly - - cron: '0 0 1 * *' - -jobs: - build-and-push: - runs-on: ubuntu-latest - if: github.event_name != 'schedule' || github.repository == 'Alexays/Waybar' - strategy: - fail-fast: false # don't fail the other jobs if one of the images fails to build - matrix: - os: [ 'alpine', 'archlinux', 'debian', 'fedora', 'gentoo', 'opensuse' ] - - steps: - - name: Checkout repository - - uses: actions/checkout@v6 - - - name: Login to Docker Hub - uses: docker/login-action@v3 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - file: Dockerfiles/${{ matrix.os }} - push: true - tags: alexays/waybar:${{ matrix.os }} diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml deleted file mode 100644 index f6c96f95..00000000 --- a/.github/workflows/freebsd.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: freebsd - -on: [push, pull_request] - -concurrency: - group: ${{ github.workflow }}-freebsd-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - build: - # Run actions in a FreeBSD VM on the ubuntu runner - # https://github.com/actions/runner/issues/385 - for FreeBSD runner support - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - name: Test in FreeBSD VM - uses: cross-platform-actions/action@v0.28.0 - timeout-minutes: 180 - env: - CPPFLAGS: '-isystem/usr/local/include' - LDFLAGS: '-L/usr/local/lib' - with: - operating_system: freebsd - version: "14.2" - environment_variables: CPPFLAGS LDFLAGS - sync_files: runner-to-vm - run: | - sudo pkg install -y git # subprojects/date - sudo pkg install -y catch evdev-proto gtk-layer-shell gtkmm30 jsoncpp \ - libdbusmenu libevdev libfmt libmpdclient libudev-devd meson \ - pkgconf pipewire pulseaudio scdoc sndio spdlog wayland-protocols upower \ - libinotify - meson setup build -Dman-pages=enabled - ninja -C build - meson test -C build --no-rebuild --print-errorlogs --suite waybar diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml deleted file mode 100644 index 94dc42d2..00000000 --- a/.github/workflows/labeler.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: "Issue Labeler" -on: - issues: - types: [opened, edited] - -permissions: - issues: write - contents: read - -jobs: - triage: - runs-on: ubuntu-latest - steps: - - uses: github/issue-labeler@v3.4 - with: - configuration-path: .github/labeler.yml - enable-versioned-regex: 0 - include-title: 1 - repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml deleted file mode 100644 index 12a995d7..00000000 --- a/.github/workflows/linux.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: linux - -on: [push, pull_request] - -concurrency: - group: ${{ github.workflow }}-linux-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -jobs: - build: - strategy: - fail-fast: false - matrix: - distro: - - alpine - - archlinux - - debian - - fedora - - opensuse - - gentoo - cpp_std: [c++20] - - runs-on: ubuntu-latest - container: - image: alexays/waybar:${{ matrix.distro }} - - steps: - - uses: actions/checkout@v6 - - name: configure - run: meson setup -Dman-pages=enabled -Dcpp_std=${{matrix.cpp_std}} build - - name: build - run: ninja -C build - - name: test - run: make test diff --git a/.github/workflows/nix-tests.yml b/.github/workflows/nix-tests.yml deleted file mode 100644 index c2193b99..00000000 --- a/.github/workflows/nix-tests.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: "Nix-Tests" -on: - pull_request: - push: -concurrency: - group: ${{ github.workflow }}-nix-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true -jobs: - nix-flake-check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v6 - - uses: cachix/install-nix-action@v31 - with: - extra_nix_config: | - experimental-features = nix-command flakes - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - - run: nix flake show - - run: nix flake check --print-build-logs - - run: nix build --print-build-logs diff --git a/.github/workflows/nix-update-flake-lock.yml b/.github/workflows/nix-update-flake-lock.yml deleted file mode 100644 index de8a0ea1..00000000 --- a/.github/workflows/nix-update-flake-lock.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: update-flake-lock -on: - workflow_dispatch: # allows manual triggering - schedule: - - cron: '0 0 1 * *' # Run monthly - push: - paths: - - 'flake.nix' -jobs: - lockfile: - runs-on: ubuntu-latest - if: github.event_name != 'schedule' || github.repository == 'Alexays/Waybar' - steps: - - name: Checkout repository - - uses: actions/checkout@v6 - - name: Install Nix - uses: cachix/install-nix-action@v31 - with: - extra_nix_config: | - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - - name: Update flake.lock - uses: DeterminateSystems/update-flake-lock@v28 diff --git a/_codeql_detected_source_root b/_codeql_detected_source_root deleted file mode 120000 index 945c9b46..00000000 --- a/_codeql_detected_source_root +++ /dev/null @@ -1 +0,0 @@ -. \ No newline at end of file