Commit Graph

169 Commits

Author SHA1 Message Date
Ludovico Piero
f43eda16b3 Fix syntax error for Python versions earlier than 3.12.
This commit ensures compatibility with older Python versions by correcting a syntax error in f-strings. The fix involves using single quotes inside the f-string to avoid mismatched parentheses.

Commit 84e01967e2 should also include this change.

Signed-off-by: Ludovico Piero <lewdovico@gnuweeb.org>
2024-05-03 14:35:34 +09:00
piotr
84e01967e2 use syntax valid in pre-3.12 python versions #296 2024-05-03 00:44:43 +02:00
piotr
0fd1c52495 support sockets moved to $XDG_RUNTIME_DIR/hypr #290 2024-05-01 01:02:55 +02:00
piotr
45a7ef80bf add common cmd_through_compositor() function 2024-02-09 11:36:36 +01:00
piotr
d20fa6a859 blind fix for #277 2023-12-10 02:27:04 +01:00
piotr
516d05938e refresh per-app sliders 2023-11-30 04:18:04 +01:00
piotr
6a10626801 add PerAppSlider class 2023-11-29 15:31:10 +01:00
piotr
5528c5aebd list sink inputs 2023-11-29 13:02:44 +01:00
Pascal J
73bfd313c7 Use @DEFAULT_SINK@ for pactl commands 2023-11-10 20:38:29 +01:00
piotr
41b09c9a2c add some more descriptions 2023-10-25 01:42:09 +02:00
piotr
f78d30d502 buffer once found icon names #259 2023-10-25 01:08:40 +02:00
piotr
9bd89f1438 fix #259 2023-10-24 14:01:16 +02:00
Jan Hieber
89a7443a58 Add support for multiple batteries 2023-09-20 09:26:20 +02:00
piotr
925e4a4149 update message 2023-08-02 14:25:55 +02:00
piotr
b6ade269d5 scale screen width/height on Hyprland #240 2023-08-02 14:05:14 +02:00
Jiri Batelka
76afdd5a14 Fixes an issue where long hyprland socket messages weren't read whole
because they exceeded the buffer size, causing the hyprland-workspace
module to misbehave if too many clients were open.
2023-08-01 23:30:23 +02:00
MoetaYuko
810eb34354 controls: Remove the network module 2023-07-09 20:53:23 +08:00
MoetaYuko
65612d1098 controls: Remove the bluetooth module
Fixes: #237
2023-07-09 15:28:12 +08:00
MoetaYuko
ce8d1aa4e3 Remove try-catch inside get_brightness 2023-07-07 18:12:29 +08:00
Jerzy Drozdz
7acf5f3495 Added missing % sign in set volume format string 2023-06-06 09:29:59 +02:00
Jerzy Drozdz
9f7e39831f Fixed return type ambiguity in is_command 2023-06-06 08:09:09 +02:00
Jerzy Drozdz
4a4cc9f17a Added support for pactl in set_volume 2023-06-06 08:09:09 +02:00
Jerzy Drozdz
f9a239e551 Grammar fixed in messages 2023-06-06 08:09:09 +02:00
Jerzy Drozdz
c57a0eb9ef Mute can use pactl 2023-06-06 08:09:09 +02:00
Jerzy Drozdz
e78102e12f Added support for pactl in get_volume 2023-06-06 08:09:09 +02:00
Jerzy Drozdz
55a88ad8be Added support for pactl in listing sinks 2023-06-06 08:09:09 +02:00
Jerzy Drozdz
f6526ceae7 cmd2string is forcing C.UTF-8 value for LANG environment variable 2023-06-06 08:09:09 +02:00
piotr
9314e72b83 ask hyprctl once for all worspaces instances 2023-05-05 00:31:59 +02:00
piotr
e81c21ca32 ask hyprctl once for all taskbar instances 2023-05-04 15:27:03 +02:00
Piotr Miller
e6e9b929c8 Merge pull request #217 from MoetaYuko/thread
Have one background thread running forever for periodic tasks
2023-05-04 01:44:41 +02:00
Piotr Miller
2990f0a17e Merge pull request #216 from MoetaYuko/playerctl
Event-driven playerctl
2023-05-04 01:22:49 +02:00
MoetaYuko
bef9d40078 Use i3ipc event to monitor outputs change 2023-05-02 22:09:22 +08:00
MoetaYuko
a2b64a039d Don't block when setting brightness
ddcci communication is slow. If it doesn't return shortly, the whole
panel could be killed by wayland.
2023-05-02 17:06:27 +08:00
MoetaYuko
5bbf522cc6 Have one background thread running forever for periodic tasks 2023-05-02 16:46:17 +08:00
MoetaYuko
08a135c132 playerctl: Refactor to make use of playerctl api 2023-05-02 15:21:56 +08:00
piotr
4690e834ab add HyprlandWorkspaces 2023-04-26 03:48:00 +02:00
MoetaYuko
6fa665e0da Scale images and icons for HiDPI 2023-04-21 21:21:50 +08:00
MoetaYuko
152e341805 Use common routines to populate widget images 2023-04-21 21:21:48 +08:00
MoetaYuko
df0a8e9b39 Simply create_pixbuf 2023-04-21 15:40:47 +08:00
piotr
593174ede8 hypr: take rotated displays into account 2023-03-28 23:59:04 +02:00
piotr
bfb9a130df get HyprlandTaskbar rid of wlr-randr 2023-03-28 11:06:46 +02:00
piotr
3748187d0d join weather dict -> main 2023-03-03 03:38:08 +01:00
piotr
f63b2a1ec7 start translations 2023-02-26 02:39:10 +01:00
Nathan Howell
fc5bbe79b6 Remove stray backslashes from upower command
Replaced with specific space matching option.
2023-02-09 17:00:24 -08:00
piotr
ec1d0b1cc3 tweak output # detection 2023-01-07 23:58:05 +01:00
piotr
62dcf6983e tweak output # detection 2023-01-07 23:54:18 +01:00
piotr
78ea2e1803 tweak output # detection 2023-01-07 23:37:06 +01:00
piotr
162b51b1ec check outputs dpms state 2023-01-05 03:39:18 +01:00
piotr
5c4e62c9fd fix counting active outputs 2023-01-04 01:45:12 +01:00
piotr
b8cc4c61f7 add common settings GUI 2023-01-03 01:03:20 +01:00