scorpion-26
a95debf3c2
Add a "Location" config.
...
Partially implements https://github.com/scorpion-26/gBar/issues/20
2023-07-19 01:08:04 +02:00
scorpion-26
9ee1fde653
Add GetHeight for Window
2023-07-19 01:05:33 +02:00
scorpion-26
b95cf0d886
Add angle property to widgets
...
This allows us to rotate various widgets.
2023-07-19 01:04:00 +02:00
scorpion-26
e0255024c3
Fix stupid comparison bug
...
Previously, dim.width < dim.height would never return true, since it is
already checked by dim.height >= dim.width.
2023-07-19 01:01:16 +02:00
scorpion-26
0a1a384e48
Add margin to Transform
2023-07-19 01:00:49 +02:00
scorpion-26
49a73063d5
Add char to config
2023-07-19 00:59:54 +02:00
scorpion-26
18f3e123ed
SNI: Allow IconPath to be empty
...
Fixes network-manager-applet
2023-07-04 12:21:19 +02:00
scorpion-26
7567465454
Refactor Wayland code out
2023-06-15 13:25:19 +02:00
scorpion-26
f2dc5a806c
Log workspace dispatching
2023-06-15 00:23:02 +02:00
scorpion-26
1f56e6ba15
Greatly reduce clipping when CenterTime is set
...
Giving each main box element (left, center, right) caused the window to
resize and clip out of the monitor when
e.g. the right part was larger than the 1/3 of the window.
Now we have a size for the center widget and try to manually center a box with
that size by setting the left widget's size accordingly. This allows the
right widget to have more room, so it can go right up to the center widget without issues.
2023-06-10 23:50:09 +02:00
scorpion-26
a34ffd8334
Add Window::GetWidth()
2023-06-10 23:49:13 +02:00
scorpion-26
6815d8e017
Initialise GTK early
2023-06-10 23:49:13 +02:00
scorpion-26
2a66f1d64c
Format BluetoothDevices.cpp
2023-06-10 23:49:13 +02:00
scorpion-26
180e472551
Mention pamixer in README
2023-06-01 23:13:51 +02:00
faulTTY
9aa310fd07
Make datetime format configurable ( #18 )
...
Co-authored-by: Sciu-Crak <sciu-crak@crak-tower.ironyworld>
Co-authored-by: FaulTTY <faultty@localhost>
2023-05-26 08:57:02 +02:00
scorpion-26
77924b5097
Add confirmation to power PowerWidget
...
For it to actually do something, we need to click twice within 2s. The
clicked button also changes color for visual indication on what was
pressed
See https://github.com/scorpion-26/gBar/issues/17
2023-05-23 22:40:03 +02:00
scorpion-26
41f6dde6ec
Remove css.map
...
It is a headache to maintain and not needed
2023-05-23 22:33:50 +02:00
scorpion-26
c51fadbc79
Consider capacity for battery sensor
2023-05-10 13:08:17 +02:00
scorpion-26
80ade2b06e
Fix inconsistent whitespace
2023-05-05 23:13:35 +02:00
scorpion-26
259083a904
Fix off by one error in default update script
2023-05-05 12:47:40 +02:00
scorpion-26
1c6cd3bd2b
Update more icons
...
Seems like I missed some in the first round
2023-05-04 23:26:30 +02:00
scorpion-26
2e0563fc64
Update README.md
2023-05-04 17:15:45 +02:00
scorpion-26
6d628b23f9
Always require STB
2023-05-04 17:04:34 +02:00
scorpion-26
ea857e5ff6
SNI implementation for tray icons 🎉 ( #12 )
...
Implementation for SNI (StatusNotifierItem) d-bus protocol for tray
icons.
Implements https://github.com/scorpion-26/gBar/issues/5
2023-05-04 16:50:13 +02:00
scorpion-26
d78afe4279
SNI: Mention tested apps
2023-05-04 16:31:22 +02:00
scorpion-26
fdda223959
SNI: Add example config
2023-05-04 16:30:44 +02:00
scorpion-26
faa3f00418
SNI: Update Readme
2023-05-04 16:24:25 +02:00
scorpion-26
e9c9d3abb1
SNI: Add Icon positioning config options
2023-05-04 16:14:18 +02:00
scorpion-26
79e78826e0
SNI: Only add to clientsToQuery once
2023-05-04 15:04:06 +02:00
scorpion-26
31e070a3da
SNI: Add config
2023-05-04 13:57:50 +02:00
scorpion-26
67f048cd01
SNI: Add libdbusmenu-gtk3 to CI
2023-05-04 13:57:50 +02:00
scorpion-26
b7a92e50d9
SNI: Add context menu
...
Since it uses a 13 year old library, it is broken. The popup size is
hard-fixed at 200x200, with looks really ugly with non-transparent
background.
2023-05-04 13:57:50 +02:00
scorpion-26
40115befdd
SNI: Improve logging
2023-05-04 13:57:50 +02:00
scorpion-26
25912c7e35
SNI: Add tooltip
2023-05-04 13:57:50 +02:00
scorpion-26
6bd5a450b1
SNI: Implement changing properties
2023-05-04 13:57:50 +02:00
scorpion-26
b50ecb0f6c
SNI: Fix freeze when connecting to Qt SNI apps
...
Qt waits until the callback to RegisterItem is done. Thus, we can't
query the item and need to defer it
2023-05-04 13:57:50 +02:00
scorpion-26
a02bce9b91
SNI: Remove items on bus name vanish
2023-05-04 13:57:50 +02:00
scorpion-26
d4ffac395b
SNI: Proper alignment for the icons
2023-05-04 13:57:50 +02:00
scorpion-26
8e953f985b
SNI: Fix CI
2023-05-04 13:57:50 +02:00
scorpion-26
1241d7c87c
SNI: Initial proof of concept
...
Implements a rough outline of the SNI (StatusNotifierItem) d-bus
protocol for tray icons.
Note: This is currently *very* WIP
Full implementation will close https://github.com/scorpion-26/gBar/issues/5
2023-05-04 13:57:50 +02:00
scorpion-26
05e7635c80
Fix CI
2023-05-04 13:53:15 +02:00
scorpion-26
ecc52a81a5
Update all deprecated Material Design icons
...
All Material Design icons should now use their new code points.
This unbreaks gBar with Nerd Fonts v3.0.0
2023-05-03 23:21:21 +02:00
scorpion-26
be47a62880
Properly escape the default package command
...
/bin/sh would remove any newlines without ""
2023-05-03 23:20:29 +02:00
scorpion-26
c101449ba6
Allow Package widget to be anywhere
2023-05-03 19:02:26 +02:00
scorpion-26
aa08206e4b
Fix default packages command
2023-05-03 19:00:39 +02:00
scorpion-26
299b497748
Add package widget
...
Polling is done via user script and a pipe. Since it is only run every
5 minutes by default, this should be fine
Partially implements https://github.com/scorpion-26/gBar/issues/14
2023-05-03 18:40:45 +02:00
scorpion-26
3517fa5de8
Widget: Fix delayed "SetText"
2023-03-25 21:15:35 +01:00
scorpion-26
507cf222fb
Audio: Add Min/Max volume
...
AudioMinVolume/AudioMaxVolume remap the range 0%-100% to
AudioMinVolume-AudioMaxVolume
https://github.com/scorpion-26/gBar/issues/13
2023-03-21 22:09:56 +01:00
scorpion-26
d6610f2594
Config: Support double values
2023-03-21 22:08:59 +01:00
scorpion-26
2fa23a2d54
Audio: Log SetVolume*** events
2023-03-21 17:49:30 +01:00