Merge pull request #2972 from alebastr/config-tweaks

RFC: Rename config to config.jsonc
pull/2976/head
Alexis Rouillard 2024-02-25 23:43:25 +01:00 committed by GitHub
commit 6703adc37f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,7 @@ Valid locations for this file are:
- */etc/xdg/waybar/* - */etc/xdg/waybar/*
- *@sysconfdir@/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. Also, a minimal example configuration can be found at the bottom of this man page.
# BAR CONFIGURATION # BAR CONFIGURATION

View File

@ -518,8 +518,8 @@ executable(
) )
install_data( install_data(
'./resources/config', 'resources/config.jsonc',
'./resources/style.css', 'resources/style.css',
install_dir: sysconfdir / 'xdg/waybar' install_dir: sysconfdir / 'xdg/waybar'
) )

View File

@ -1,3 +1,4 @@
// -*- mode: jsonc -*-
{ {
// "layer": "top", // Waybar at top layer // "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right) // "position": "bottom", // Waybar position (top|bottom|left|right)