Skip to content

Commit

Permalink
Merge pull request #2972 from alebastr/config-tweaks
Browse files Browse the repository at this point in the history
RFC: Rename config to config.jsonc
  • Loading branch information
Alexays authored Feb 25, 2024
2 parents 3a33c0b + 43aabf0 commit 6703adc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion man/waybar.5.scd.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Valid locations for this file are:
- */etc/xdg/waybar/*
- *@sysconfdir@/xdg/waybar/*

A good starting point is the default configuration found at https://github.com/Alexays/Waybar/blob/master/resources/config
A good starting point is the default configuration found at https://github.com/Alexays/Waybar/blob/master/resources/config.jsonc
Also, a minimal example configuration can be found at the bottom of this man page.

# BAR CONFIGURATION
Expand Down
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,8 @@ executable(
)

install_data(
'./resources/config',
'./resources/style.css',
'resources/config.jsonc',
'resources/style.css',
install_dir: sysconfdir / 'xdg/waybar'
)

Expand Down
1 change: 1 addition & 0 deletions resources/config → resources/config.jsonc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// -*- mode: jsonc -*-
{
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
Expand Down

0 comments on commit 6703adc

Please sign in to comment.