Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gtk4. Migration. ALabel, AModule, factory, clock,cava. Events handling #2956

Open
wants to merge 602 commits into
base: gtk4
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
602 commits
Select commit Hold shift + click to select a range
a3ac6cb
Merge pull request #3258 from zjeffer/master
Alexays May 27, 2024
ac2fa98
Merge pull request #3241 from rtgiskard/master
Alexays May 27, 2024
af79451
Merge pull request #3260 from zjeffer/clang-tidy
Alexays May 28, 2024
d4413f5
Merge pull request #3255 from LukashonakV/ISSUE#2240
Alexays May 28, 2024
2aa8008
Merge pull request #3259 from zjeffer/docker-images-action
Alexays May 28, 2024
af87388
Update docker.yml
Alexays May 28, 2024
b7ce0b0
Merge pull request #3281 from VlctM/master
Alexays May 28, 2024
a4a4be3
fix: lint
Alexays May 28, 2024
1a9952d
workflows: add nix-test workflow
JohnRTitor May 28, 2024
b6ca3ea
worflows: add update-flake-lock action
JohnRTitor May 28, 2024
57f2a57
Merge pull request #3306 from JohnRTitor/workflows-patch
Alexays May 28, 2024
c3581fb
🥅 only check menu if speciifed in the conf
benjamin-voisin May 28, 2024
29e3d8c
Hide non-visible special workspaces
alttabber May 28, 2024
24e8766
hyprland/backend: use /tmp
khaneliman May 28, 2024
0d518cb
Merge pull request #3308 from khaneliman/bugfix/3280
Alexays May 28, 2024
f3ed5ca
🌱 update default config with a menu example
benjamin-voisin May 28, 2024
161c8c4
🥅 do not crash when unable to make the menu
benjamin-voisin May 28, 2024
d9f2e0f
📝 add menu config informations in manpages
benjamin-voisin May 28, 2024
8220dbb
📝 add a wayba-menu entry for documenting popup menus.
benjamin-voisin May 28, 2024
885290d
📝 improve waybar-menu file
benjamin-voisin May 28, 2024
8adb0a5
.github/workflows: fix meson deprecations
khaneliman May 28, 2024
381fe83
Makefile: fix meson deprecations
khaneliman May 28, 2024
c5b5b64
modules/temperature: remove unused import
khaneliman May 28, 2024
ab735f7
Merge pull request #3309 from khaneliman/workflows
Alexays May 29, 2024
9332697
Merge pull request #3064 from alttabber/master
Alexays May 29, 2024
cf66604
fix fedora image
zjeffer May 30, 2024
532a902
Dont fail docker image builds when another build fails
zjeffer May 30, 2024
1a1a61e
Merge pull request #3313 from zjeffer/fix/zjeffer/dockerfiles
Alexays May 30, 2024
e9350cf
Fix format replacement names
jackwilsdon May 31, 2024
7163752
Merge pull request #3317 from jackwilsdon/patch-1
Alexays May 31, 2024
1474cc6
flake.lock: Update
github-actions[bot] Jun 1, 2024
4fbd4f2
privacy: consider only configured modules
rtgiskard May 8, 2024
02eaa8b
escape & in mediaplayer
williamwith4ms Jun 3, 2024
76c2f31
format RegexCollection output using match results
Eisfunke Jun 5, 2024
d0a8c1d
document capturing in window-rewrite
Eisfunke Jun 5, 2024
1b1442e
fix: taskbar not applying empty class on empty
zspher Jun 5, 2024
365e77a
Merge pull request #3332 from zspher/patch-wlr-taskbar
Alexays Jun 5, 2024
637b220
sway/workspaces: Correct behavior when "current-only" is set
pjones Jun 6, 2024
f4da203
Merge pull request #3336 from pjones/pjones/current-only
Alexays Jun 7, 2024
e1a6d51
test/config: add hyprland-workspaces config
khaneliman May 28, 2024
1b3b457
modules/hyprland/backend: add getSocketFolder to header
khaneliman May 28, 2024
0055ee6
modules/hyprland/workspaces: remove unneccesary visibleWorkspaces var…
khaneliman May 28, 2024
749f46f
test/fixtures: Add GlibTestsFixture
khaneliman May 29, 2024
87eaa75
test/hyprland/backend: init
khaneliman May 29, 2024
58e7abb
tests: split into separate binaries
khaneliman Jun 9, 2024
fa2e21d
modules/hyprland/backend: move getSocketFolder to class
khaneliman Jun 9, 2024
959422f
modules/hyprland/backend: protect against crash when XDG_RUNTIME_DIR …
khaneliman Jun 9, 2024
b365831
test/hyprland/backend: fix
khaneliman Jun 9, 2024
08c5df3
modules/sway/workspaces: clang-format fix
khaneliman Jun 9, 2024
16ff5ee
.github/workflows/linux: fail-fast
khaneliman Jun 9, 2024
06fa931
Dockerfiles/opensuse: add python3-packaging dependency
khaneliman Jun 9, 2024
71bb2b6
subprojects/spdlog: bump spdlog
khaneliman Jun 9, 2024
0773786
privacy: consider only configured modules
rtgiskard May 8, 2024
e8d91eb
mpris: hide on current player vanished
rtgiskard May 14, 2024
7721dcd
mpris: some clang-tidy fix
rtgiskard May 14, 2024
1cd013a
clock: respect tooltip option
rtgiskard Jun 10, 2024
9bd09aa
Merge pull request #3318 from Alexays/update_flake_lock_action
Alexays Jun 10, 2024
0251e25
Merge pull request #3345 from khaneliman/testing
Alexays Jun 10, 2024
892042e
Support muted icons for pulseaudio devices/ports
locked-out Jun 12, 2024
562e1e5
Merge pull request #3331 from Eisfunke/eisfunke/regex-collection-replace
Alexays Jun 12, 2024
b955e92
Merge pull request #3244 from rtgiskard/fix.privacy
Alexays Jun 12, 2024
e8a2882
Merge pull request #3320 from rtgiskard/dev
Alexays Jun 12, 2024
0bc43c1
fix: lint
Alexays Jun 12, 2024
01438f7
Added muted icons usage to waybar-pulseaudio man page
locked-out Jun 13, 2024
79a6229
Merge pull request #3353 from locked-out/muted_icons
Alexays Jun 13, 2024
ab91d0b
Add hotplug detection of bluetooth controllers
lukasfink1 Jun 14, 2024
3f49725
Merge pull request #3360 from lukasfink1/bt-dyn-controller-pr
Alexays Jun 14, 2024
0df3c84
Fix device list not being updated on selecting new bluetooth controller
lukasfink1 Jun 14, 2024
9ba5825
Merge pull request #3362 from lukasfink1/bt-dyn-controller-pr
Alexays Jun 14, 2024
bac4d03
modules/hyprland/workspaces: remove deprecated property
khaneliman Jun 15, 2024
f9e693b
modules/hyprland/backend: remove testing log warn
khaneliman Jun 15, 2024
b114b11
treewide: clang-format
khaneliman Jun 15, 2024
1c1089b
Merge pull request #3364 from khaneliman/persistent-rename
Alexays Jun 16, 2024
c4d769a
Add explicit constructor to struct Profile
fglinka Jun 21, 2024
136b207
Add suggestion by clang-format
fglinka Jun 21, 2024
4126502
Add debug information for keyboard layout selection
alerque Jun 22, 2024
d68bcbd
modules/battery: Deprioritize `capacity` /sys value
OpenSauce04 Jun 23, 2024
1003c22
Merge pull request #3381 from OpenSauce04/deprioritize-battery-capacity
Alexays Jun 24, 2024
ccc3c13
Update archlinux
Alexays Jun 24, 2024
f6482c3
hyprland: clangd cleanup
khaneliman Jun 23, 2024
c08660d
modules/hyprland/backend: handle empty json responses
khaneliman Jun 28, 2024
64f54e1
Merge pull request #3389 from khaneliman/cleanup
Alexays Jun 28, 2024
64a3133
workaround for icons not rendered for apps existing before waybar launch
RobertMueller2 Jun 30, 2024
fb24e8c
add hide-empty-text option to hide module whenever output is empty bu…
RobertMueller2 Jun 30, 2024
8eee568
manpage for PR #3395
RobertMueller2 Jun 30, 2024
f609042
flake.lock: Update
github-actions[bot] Jul 1, 2024
9c7a275
Merge pull request #3247 from benjamin-voisin/menu
Alexays Jul 1, 2024
abfb654
Merge pull request #3396 from Alexays/update_flake_lock_action
Alexays Jul 1, 2024
93000e3
Merge pull request #3395 from RobertMueller2/issue_33341
Alexays Jul 1, 2024
494cedb
Merge pull request #3393 from RobertMueller2/issue_3366
Alexays Jul 1, 2024
3262b37
Merge pull request #3377 from fglinka/master
Alexays Jul 1, 2024
ff0f408
Merge pull request #3380 from alerque/debug-keyboard-layout
Alexays Jul 1, 2024
9997155
Merge pull request #3267 from luttermann/upower_model
Alexays Jul 1, 2024
8f64cac
fix example in manpage for pulseaudio/slider
RobertMueller2 Jul 1, 2024
034760e
Merge pull request #3399 from RobertMueller2/discussion_3373
Alexays Jul 1, 2024
14c3235
src: clang-tidy
khaneliman Jul 2, 2024
d66685a
util: clang-tidy
khaneliman Jul 2, 2024
18e67af
Merge pull request #3404 from khaneliman/clang-tidy
Alexays Jul 2, 2024
ca3877d
Merge pull request #3325 from williamwith4ms/escape_&_in_mediaplayer.py
Alexays Jul 2, 2024
702e106
modules/hyprland/workspace: ignore empty window-rewrite
khaneliman Jul 3, 2024
6f994c8
Merge pull request #3407 from khaneliman/rewrite-ignore
Alexays Jul 3, 2024
7e2d8ab
fix(#3239): hide cursor type change behind config flag
haug1 May 15, 2024
f78f29e
AModule: retain existing default behavior when unconfigured
khaneliman Jul 2, 2024
23274a9
pulseaudio: Consider ignored sinks never running
Ape Jul 5, 2024
21d42ba
(temperature) fix clang-tidy lint .
yangyingchao Jul 6, 2024
b26ab1f
Merge pull request #3417 from yangyingchao/master
Alexays Jul 6, 2024
7725f6e
Fix build with fmt11
ziyao233 Jul 8, 2024
44f39ca
Merge pull request #3429 from ziyao233/outgoing/fix-fmt11
Alexays Jul 9, 2024
e2e5d4d
feat/issue 3256: Toggle drawer state
RobertMueller2 Jul 7, 2024
0dd6af5
chore: update meson build command
BSFishy Jul 11, 2024
2655660
Merge pull request #3432 from BSFishy/readme_update
Alexays Jul 11, 2024
e117bd7
network: add bssid format replacement
grimsteel Jul 13, 2024
3d0fd14
Merge pull request #3435 from grimsteel/network-bssid
Alexays Jul 13, 2024
0a78da0
flake.lock: update
khaneliman Jul 15, 2024
b41fcde
hyprland/window: fix crash when no return from socket
khaneliman Jul 15, 2024
b19890c
network: clang-format
khaneliman Jul 15, 2024
47d7324
client: clang-format
khaneliman Jul 15, 2024
895c870
network: use fmt for format
khaneliman Jul 15, 2024
5f3a9d9
Merge pull request #3440 from khaneliman/hyprland-fix
Alexays Jul 15, 2024
b71dfce
Fix build with fmt11
tchaikov Jul 15, 2024
b65ca33
fix #3442
yangyingchao Jul 16, 2024
f6ff649
Merge pull request #3441 from tchaikov/fmt-format-const
Alexays Jul 16, 2024
2d9cc62
Merge pull request #3422 from RobertMueller2/issue_feat_3256
Alexays Jul 16, 2024
3f61df4
Merge pull request #3416 from Ape/pr/ignored_sink_never_running
Alexays Jul 16, 2024
17132b2
sway/workspaces: remove deprecated field
khaneliman Jul 16, 2024
9c40137
sway/workspaces: clang-tidy
khaneliman Jul 16, 2024
4295faa
hyprland/backend: throw runtime_error instead of log
khaneliman Jul 16, 2024
90ac7d5
sway/workspaces: support ignore window-rewrite
khaneliman Jul 17, 2024
d061d22
Merge pull request #3448 from khaneliman/sway
Alexays Jul 17, 2024
3ff8fc8
Merge pull request #3447 from khaneliman/hyprland-disable
Alexays Jul 17, 2024
496dd05
Merge pull request #3443 from yangyingchao/master
Alexays Jul 17, 2024
152053e
Merge pull request #3398 from khaneliman/cursor
Alexays Jul 17, 2024
ed0ed39
Update freebsd.yml
Alexays Jul 17, 2024
dcbcf90
Update freebsd.yml
Alexays Jul 17, 2024
15e1547
chore: 0.10.4
Alexays Jul 17, 2024
ee0912a
Issue #3414/clock: Shift ONLY calendar
RobertMueller2 Jul 20, 2024
a544f4b
bar: fix setVisible
khaneliman Jul 20, 2024
cb8fc1c
Merge pull request #3459 from khaneliman/bar-visible
Alexays Jul 20, 2024
58e21e8
walk up symlink tree
DomCristaldi Jul 21, 2024
cece04e
Merge pull request #3462 from DomCristaldi/walk-symlink-chain
Alexays Jul 21, 2024
003dd3a
Merge pull request #3457 from RobertMueller2/issue_3414
Alexays Jul 22, 2024
7e1fffc
flake.lock: Update
github-actions[bot] Aug 1, 2024
7ec1343
fix #3490: expand menu file before opening it
yangyingchao Aug 1, 2024
24a9886
Handle offline CPUs and CPU hotplug
gergo-salyi Aug 2, 2024
4efa123
group: clang-tidy
khaneliman Aug 3, 2024
3ae81d6
group: fix hover regression
khaneliman Aug 3, 2024
05d69ae
src/util/css_reload_helper: clang-format
khaneliman Aug 3, 2024
17f07b2
group: proper fix of enter/leave
khaneliman Aug 3, 2024
2131678
Merge pull request #3500 from khaneliman/group
Alexays Aug 3, 2024
9d15c66
Merge pull request #3493 from Alexays/update_flake_lock_action
Alexays Aug 3, 2024
fdc8431
taskbar: Send minimize geometry hints
soreau Aug 5, 2024
4ae144a
Merge pull request #3499 from gergo-salyi/cpuhotplug
Alexays Aug 5, 2024
79d3a1a
Merge pull request #3494 from yangyingchao/master
Alexays Aug 5, 2024
c468119
fix(wireplumber): Handle changes to the default node ID
hacrvlq Aug 6, 2024
21906f0
Merge pull request #3511 from hacrvlq/wireplumber-fix
Alexays Aug 7, 2024
62cb61c
Add format_silent to cava module
S0nter Aug 14, 2024
ed40168
Add cava.silence to css
S0nter Aug 14, 2024
367f156
Add cava.update to css
S0nter Aug 14, 2024
36497cd
Rename cava css values
S0nter Aug 14, 2024
1f23b30
hyprland/backend: drop unnecessary getaddrinfo call
alebastr Aug 18, 2024
fd478bf
fix crash caused by use bar instance after it is freed (use-after-free)
yangyingchao Aug 19, 2024
c5a4266
Merge pull request #3531 from yangyingchao/master
Alexays Aug 19, 2024
0fb1957
fix: check format-source before use
ilpianista Aug 20, 2024
26329b6
Merge pull request #3534 from ilpianista/bugfix/check-format-source
Alexays Aug 20, 2024
2945937
Merge branch 'Alexays:master' into master
S0nter Aug 21, 2024
f665d1d
Merge pull request #3527 from alebastr/hypr-getaddrinfo
Alexays Aug 26, 2024
4d89c64
taskbar: Fixup whitespace
soreau Aug 26, 2024
5d184f7
Merge pull request #3506 from soreau/taskbar-minimize-hints
Alexays Aug 26, 2024
bf36f2a
Merge branch 'Alexays:master' into master
S0nter Aug 27, 2024
0ee5197
feat: hidpi support for image module
saveman71 Aug 27, 2024
9b5c2dc
fix: upower module selection with multiple devices
3u13r Aug 31, 2024
7a69608
flake.lock: Update
github-actions[bot] Sep 1, 2024
1fa8019
man: Clarify rotate option
hramrach Sep 8, 2024
5b1826d
label: Add warning for invalid rotate property
hramrach Sep 8, 2024
70f3c1d
chore: update power_profiles_daemon.cpp
eltociear Sep 9, 2024
6560e32
Merge pull request #3585 from eltociear/patch-1
Alexays Sep 10, 2024
c2f1a78
chore: update deps
Alexays Sep 13, 2024
627e4a4
Merge pull request #3555 from Alexays/update_flake_lock_action
Alexays Sep 13, 2024
64d99a5
chore(fmt): std format
Alexays Sep 13, 2024
6417782
chore: lint
Alexays Sep 13, 2024
4354da2
chore: disable fmt tests
Alexays Sep 13, 2024
3ade275
fix: version
Alexays Sep 13, 2024
30f6ed0
Merge pull request #3554 from 3u13r/fix/upower/dont-override-existing…
Alexays Sep 13, 2024
1210bcd
Merge pull request #3565 from saveman71/hidpi_image_module
Alexays Sep 13, 2024
d623a89
fix: sni item fmt
Alexays Sep 13, 2024
46e7ed3
Add niri/workspaces, niri/window, niri/language
YaLTeR Aug 29, 2024
fef0bb9
niri: Replace gnu extension with GDataInputStream
YaLTeR Sep 13, 2024
34bfefc
niri: Gate behind a meson option
YaLTeR Sep 13, 2024
a4d31ab
fix: sni item fmt
Alexays Sep 13, 2024
8a89706
Merge pull request #3551 from YaLTeR/niri
Alexays Sep 13, 2024
1142979
chore: lint
Alexays Sep 13, 2024
d56dd6e
chore: v0.11.0
Alexays Sep 13, 2024
59b7715
Merge pull request #3580 from hramrach/rotate-doc
Alexays Sep 13, 2024
d177969
chore: lint
Alexays Sep 13, 2024
4a6af0d
fix(bar): use overlay layer for `hide` and `overlay` modes
alebastr Aug 17, 2024
8e2a742
Merge branch 'Alexays:master' into master
S0nter Sep 13, 2024
f60c291
chore: update fmt wrap to 11.0.2
alebastr Sep 14, 2024
0006e47
fix(tray): revert ustring formatting changes
alebastr Sep 14, 2024
7b23d58
fix(bar): force commit for occluded surfaces
alebastr Aug 18, 2024
45fec7b
Revert "change layer for mode invisible to nullopt"
alebastr Aug 18, 2024
e0be3ac
flake.lock: Update
github-actions[bot] Sep 15, 2024
0d02f68
Merge pull request #3604 from alebastr/tray-fix
Alexays Sep 15, 2024
085a1ed
fix: use app_identifier itself in AAppIconLabel if it's an absolute path
ThatOneCalculator Sep 16, 2024
ae997ad
Merge pull request #3613 from ThatOneCalculator/fix/3612
Alexays Sep 16, 2024
9cfb1e3
Merge pull request #3528 from alebastr/sway-scene-fixes
Alexays Sep 16, 2024
9e8ebe6
Merge branch 'Alexays:master' into master
S0nter Sep 16, 2024
ff66b5d
Update waybar-cava man page
S0nter Sep 16, 2024
3bb3c2d
fix(custom): stop mixing manual and automatic arg indexing
lukasfink1 Sep 16, 2024
83992d2
Fix formatting
lukasfink1 Sep 16, 2024
de170fa
Update documentation
lukasfink1 Sep 17, 2024
254111f
Improve error message for mixed arg indexing in format string
lukasfink1 Sep 18, 2024
a3e7031
Fix formatting
lukasfink1 Sep 18, 2024
ac1a422
Merge pull request #3617 from lukasfink1/fix-custom-format-bug
Alexays Sep 19, 2024
3462769
Merge branch 'Alexays:master' into master
S0nter Sep 19, 2024
b5395f4
Merge pull request #3523 from S0nter/master
Alexays Sep 19, 2024
21af48f
chore: lint
Alexays Sep 19, 2024
dedee8c
pulseaudio: show correct sink volume on default output changes
findus Jul 22, 2024
9c47b2e
removed debug logging
findus Jul 22, 2024
8b1d736
added running check to default sink return condition
findus Jul 22, 2024
d6bfeb5
added is running condition to default_sink_is_running check
findus Jul 22, 2024
951b89f
Update clang-format.yml
findus Jul 23, 2024
e3095c6
clang-format
findus Jul 23, 2024
57156bc
removed manual flag from clang format again
findus Jul 23, 2024
773b1d4
Default value for cldYearShift_ = 1900/01/01
LukashonakV Sep 23, 2024
b4e97eb
FreeBSD format fix
LukashonakV Sep 23, 2024
07f75e3
Merge pull request #3632 from LukashonakV/ISSUE#3383
Alexays Sep 23, 2024
c88a86f
nix: remove patches from downstream
mslxl Sep 25, 2024
04bda9f
Backlight: Add minimum brightness
TripleTrable Sep 24, 2024
47f767b
Backlight: Add documentation for min-brightness
TripleTrable Sep 25, 2024
cad18f3
Merge pull request #3640 from mslxl/master
Alexays Sep 25, 2024
d684a6d
Backlight: Set default to 0 to prevent breaking existing setups
TripleTrable Sep 25, 2024
e46a1c6
cava bump
LukashonakV Sep 27, 2024
486b99c
Merge pull request #3646 from LukashonakV/cava_bump
Alexays Sep 28, 2024
edab49f
nix/default: cava bump
khaneliman Sep 28, 2024
e394485
.github/workflows: don't run on forks
khaneliman Sep 28, 2024
6322fa2
Merge pull request #3651 from khaneliman/github
Alexays Sep 28, 2024
a1adf68
Merge pull request #3650 from khaneliman/nix
Alexays Sep 28, 2024
e53497b
.github/workflows: allow forks to manually run flake lock update
khaneliman Sep 28, 2024
281911c
Merge pull request #3652 from khaneliman/flake
Alexays Sep 29, 2024
e7b2d33
Merge pull request #3637 from TripleTrable/backlight/add_min_brightness
Alexays Sep 30, 2024
95eaffc
flake.lock: Update
github-actions[bot] Oct 1, 2024
280f11e
Merge pull request #3658 from Alexays/update_flake_lock_action
Alexays Oct 1, 2024
6df26cc
feat: add warning threshold to temperature module
PassiHD2004 Oct 9, 2024
0e03c7a
fix a segfault on signals received after main returns
cfillion Oct 16, 2024
92242f0
hyprland: fix a data race at startup between sockets 1 and 2
cfillion Oct 16, 2024
dacecb9
Merge pull request #3695 from cfillion/fix-hyprland-crashes
Alexays Oct 21, 2024
bb40e16
feat: update man page
PassiHD2004 Oct 22, 2024
9d89dda
Merge pull request #3464 from findus/pulseaudio-default-sink
Alexays Oct 25, 2024
5f26051
Merge pull request #3674 from PassiHD2004/master
Alexays Oct 25, 2024
654a326
GTK4 migration
LukashonakV Nov 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ Checks: >
-readability-redundant-member-init,
-readability-redundant-string-init,
-readability-identifier-length
CheckOptions:
- { key: readability-identifier-naming.NamespaceCase, value: lower_case }
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.StructCase, value: CamelCase }
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
- { key: readability-identifier-naming.VariableCase, value: camelBack }
- { key: readability-identifier-naming.PrivateMemberCase, value: camelBack }
- { key: readability-identifier-naming.PrivateMemberPrefix, value: m_ }
- { key: readability-identifier-naming.EnumCase, value: CamelCase }
- { key: readability-identifier-naming.EnumConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.StaticConstantCase, value: UPPER_CASE }
# CheckOptions:
# - { key: readability-identifier-naming.NamespaceCase, value: lower_case }
# - { key: readability-identifier-naming.ClassCase, value: CamelCase }
# - { key: readability-identifier-naming.StructCase, value: CamelCase }
# - { key: readability-identifier-naming.FunctionCase, value: camelBack }
# - { key: readability-identifier-naming.VariableCase, value: camelBack }
# - { key: readability-identifier-naming.PrivateMemberCase, value: camelBack }
# - { key: readability-identifier-naming.PrivateMemberSuffix, value: _ }
# - { key: readability-identifier-naming.EnumCase, value: CamelCase }
# - { key: readability-identifier-naming.EnumConstantCase, value: UPPER_CASE }
# - { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }
# - { key: readability-identifier-naming.StaticConstantCase, value: UPPER_CASE }
65 changes: 65 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
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)"
19 changes: 12 additions & 7 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,19 @@ name: clang-format

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-format-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DoozyX/[email protected]
name: clang-format
with:
source: '.'
extensions: 'hpp,h,cpp,c'
clangFormatVersion: 16
- uses: actions/checkout@v3
- uses: DoozyX/[email protected]
name: clang-format
with:
source: "."
extensions: "hpp,h,cpp,c"
style: "file:.clang-format"
clangFormatVersion: 18
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: clang-tidy

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-tidy-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -13,7 +17,11 @@ jobs:
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: cpp-linter/[email protected]
- 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/[email protected]
name: clang-tidy
id: clang-tidy-check
env:
Expand Down
33 changes: 33 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build and Push Docker Image

on:
schedule:
# run every night at midnight
- cron: '0 0 * * *'

jobs:
build-and-push:
runs-on: ubuntu-latest
if: 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@v4

- 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 }}
24 changes: 15 additions & 9 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,34 @@ name: freebsd

on: [push, pull_request]

concurrency:
group: ${{ github.workflow }}-freebsd-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
clang:
# Run actions in a FreeBSD VM on the macos-12 runner
# Run actions in a FreeBSD VM on the ubuntu runner
# https://github.com/actions/runner/issues/385 - for FreeBSD runner support
# https://github.com/actions/virtual-environments/issues/4060 - for lack of VirtualBox on MacOS 11 runners
runs-on: macos-12
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Test in FreeBSD VM
uses: cross-platform-actions/action@v0.21.1
uses: cross-platform-actions/action@v0.25.0
timeout-minutes: 180
env:
CPPFLAGS: '-isystem/usr/local/include'
LDFLAGS: '-L/usr/local/lib'
with:
operating_system: freebsd
version: "13.2"
environment_variables: CPPFLAGS=-isystem/usr/local/include LDFLAGS=-L/usr/local/lib
version: "14.1"
environment_variables: CPPFLAGS LDFLAGS
sync_files: runner-to-vm
run: |
sudo sed -i '' 's/quarterly/latest/' /etc/pkg/FreeBSD.conf
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 pulseaudio scdoc sndio spdlog wayland-protocols upower \
pkgconf pipewire pulseaudio scdoc sndio spdlog wayland-protocols upower \
libinotify
meson build -Dman-pages=enabled
meson setup build -Dman-pages=enabled
ninja -C build
meson test -C build --no-rebuild --print-errorlogs --suite waybar
19 changes: 19 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Issue Labeler"
on:
issues:
types: [opened, edited]

permissions:
issues: write
contents: read

jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: github/[email protected]
with:
configuration-path: .github/labeler.yml
enable-versioned-regex: 0
include-title: 1
repo-token: ${{ secrets.GITHUB_TOKEN }}
10 changes: 6 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ 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
Expand All @@ -14,9 +19,6 @@ jobs:
- opensuse
- gentoo
cpp_std: [c++20]
include:
- distro: fedora
cpp_std: c++20

runs-on: ubuntu-latest
container:
Expand All @@ -25,7 +27,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: configure
run: meson -Dman-pages=enabled -Dcpp_std=${{matrix.cpp_std}} build
run: meson setup -Dman-pages=enabled -Dcpp_std=${{matrix.cpp_std}} build
- name: build
run: ninja -C build
- name: test
Expand Down
17 changes: 17 additions & 0 deletions .github/workflows/nix-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Nix-Tests"
on:
pull_request:
push:
jobs:
nix-flake-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
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
22 changes: 22 additions & 0 deletions .github/workflows/nix-update-flake-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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@v4
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Update flake.lock
uses: DeterminateSystems/update-flake-lock@v21
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ packagecache
# Nix
result
result-*

.ccls-cache
2 changes: 1 addition & 1 deletion Dockerfiles/archlinux
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
FROM archlinux:base-devel

RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm git meson base-devel libinput wayland wayland-protocols pixman libxkbcommon mesa gtkmm3 jsoncpp pugixml scdoc libpulse libdbusmenu-gtk3 libmpdclient gobject-introspection libxkbcommon playerctl iniparser fftw && \
pacman -S --noconfirm git meson base-devel libinput wayland wayland-protocols glib2-devel pixman libxkbcommon mesa gtkmm3 jsoncpp pugixml scdoc libpulse libdbusmenu-gtk3 libmpdclient gobject-introspection libxkbcommon playerctl iniparser fftw && \
sed -Ei 's/#(en_(US|GB)\.UTF)/\1/' /etc/locale.gen && locale-gen
52 changes: 44 additions & 8 deletions Dockerfiles/debian
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,47 @@
FROM debian:sid

RUN apt update && \
apt install -y \
build-essential meson ninja-build git pkg-config libinput10 libpugixml-dev libinput-dev \
wayland-protocols libwayland-client0 libwayland-cursor0 libwayland-dev \
libegl1-mesa-dev libgles2-mesa-dev libgbm-dev libxkbcommon-dev libudev-dev libpixman-1-dev \
libgtkmm-3.0-dev libjsoncpp-dev scdoc libdbusmenu-gtk3-dev libnl-3-dev libnl-genl-3-dev \
libpulse-dev libmpdclient-dev gobject-introspection libgirepository1.0-dev libxkbcommon-dev \
libxkbregistry-dev libxkbregistry0 libplayerctl-dev sudo python3-venv python3-pip && \
apt clean
apt install --no-install-recommends --no-install-suggests -y \
build-essential \
catch2 \
cmake \
git \
gobject-introspection \
libdbusmenu-gtk3-dev \
libegl1-mesa-dev \
libfmt-dev \
libgbm-dev \
libgirepository1.0-dev \
libgles2-mesa-dev \
libgtk-layer-shell-dev \
libgtkmm-3.0-dev \
libhowardhinnant-date-dev \
libiniparser-dev \
libinput-dev \
libjack-jackd2-dev \
libjsoncpp-dev \
libmpdclient-dev \
libnl-3-dev \
libnl-genl-3-dev \
libpixman-1-dev \
libplayerctl-dev \
libpugixml-dev \
libpulse-dev \
libsndio-dev \
libspdlog-dev \
libudev-dev \
libupower-glib-dev \
libwayland-dev \
libwireplumber-0.5-dev \
libxkbcommon-dev \
libxkbregistry-dev \
locales \
meson \
ninja-build \
pkg-config \
python3-pip \
python3-venv \
scdoc \
sudo \
wayland-protocols \
&& apt clean
2 changes: 1 addition & 1 deletion Dockerfiles/fedora
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ RUN dnf install -y @c-development \
'pkgconfig(wayland-client)' \
'pkgconfig(wayland-cursor)' \
'pkgconfig(wayland-protocols)' \
'pkgconfig(wireplumber-0.4)' \
'pkgconfig(wireplumber-0.5)' \
'pkgconfig(xkbregistry)' && \
dnf clean all -y
Loading