1
0
Fork 0
mirror of https://github.com/Zedfrigg/ironbar.git synced 2025-07-01 18:51:04 +02:00

feat: more positioning options (#23)

* feat: more positioning options

Can now display the bar on the left/right, and avoid anchoring to edges to centre the bar.

BREAKING CHANGE: The `left` and `right` config options have been renamed to `start` and `end`
This commit is contained in:
Jake Stanger 2022-10-15 16:27:25 +01:00 committed by GitHub
parent 1b853bcb71
commit 06cfad62e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 254 additions and 83 deletions

View file

@ -39,5 +39,7 @@ let {
$right = [ $mpd_local $mpd_server $phone_battery $sys_info $clock ]
}
in {
left = $left right = $right
anchor_to_edges = true
position = "top"
start = $left end = $right
}

View file

@ -1,16 +1,20 @@
{
"left": [
"start": [
{
"type": "workspaces"
},
{
"type": "launcher",
"icon_theme": "Paper",
"favorites": ["firefox", "discord", "Steam"],
"favorites": [
"firefox",
"discord",
"Steam"
],
"show_names": false
}
],
"right": [
"end": [
{
"type": "mpd"
},