Commit Graph

8761 Commits

Author SHA1 Message Date
Alastair Poole af560c6566 procstats: window resource module.
The module sends messages which the theme displays. Thus, the
module requires a theme with an implemented edj script to be
useful.

Currently EFL 1.26 includes a basic text label for this...
Usage is recursive...everything under the window is included.

Rudimentary, as usual...please do something pretty...

RFC. Hopefully I didn't break the universe...again!
2020-09-23 19:57:24 +01:00
Alastair Poole 2c70e9648d xsettings: unbreak config and use standard naming.
Reviewed-by: Christopher Michael <devilhorns@comcast.net>
Differential Revision: https://phab.enlightenment.org/D12150
2020-09-18 10:59:55 -04:00
Alastair Poole 91d98c0183 xsettings: keep the logic "simple".
No need for hook. Wrong use of the API. The widget already does
this when checking various objects.

Set DPI to a default if X application settings enabled else use
the custom DPI.

GTK applications only respect the changes
if they are started when the xsettings is brought up. This is
confusing. Sorry for the noise :(
2020-09-17 19:29:36 +01:00
Alastair Poole 1183f221cc xsettings: restore DPI on X settings disable. 2020-09-17 17:45:45 +01:00
Alastair Poole 9f33fbf62e xsettings: Allow for custom DPI setting.
Until a wayland/X11 solution allow setting a custom DPI in
Settings -> Application Theme -> X Application Settings
2020-09-17 16:50:24 +01:00
Christopher Michael ec1c6b42b4 temperature: Mark hdata paramater as unused
Compiler warns 'hdata' is unused, so mark it with EINA_UNUSED
2020-09-17 11:23:47 -04:00
Carsten Haitzler 695ea554f2 temp - remove unused local var 2020-09-17 10:21:12 +01:00
Alastair Poole 4ac98d41d4 tasks: Icon Size / Config Dialogue.
If "icon only" use the container's dimensions.
Fix config dialogue anomaly.
2020-09-17 00:17:02 +01:00
Carsten Haitzler 1d87379d47 temp - move entirely to hwmon based temp sensors on linux 2020-09-11 00:00:38 +01:00
Alastair Poole 721380cb1e cpufreq: fix a VERY misleading comment. 2020-09-07 16:36:10 +01:00
Carsten Haitzler 100121bd64 e pointer - on lock push a default pointer and ensure it is ok after
this makes the pointer a default - so no resize animations sticking
around when locked, and on unlock we are restored to default.

@fix
2020-09-07 01:04:49 +01:00
Carsten Haitzler aaefc0cafe e intl - fix lanhuage lists to have galacian, romanian and vietnamese
we had the translations but didnt expose them in wizard or lang
dialogs .. fix that. now they get listed

@fix
2020-09-06 21:13:30 +01:00
Carsten Haitzler fbaa8984df shot - allow copy of image to selection in addition to shave and share
uses elm cnp to store the image in a selection attached to your
compositor elm win. note... some apps are fussy about what file
formats they accept... we've found through much pain that chrome (and
i assume anything based on it like electron) only accept png for cnp.
firefox accepts most sane formats (png, jpg). libreoffice too accepts
png and jpg, efl accept sjust anout anything you throw at it, so ymmv.
if paste doesnt work either the target for paste doesn't support
pasting images at all or it is fussy about formats - maybe set quality
to 100% to force png and try that as shot saves just png and jpg
(100% quality == png, evrything below is jpg).

if you want pastes of lower quality to work e.g. jpegs in chrome -
file a bug with the chrome team... :)
2020-09-05 15:51:47 +01:00
Carsten Haitzler 12311e63de bluez5 - batteyr percent is signed - explicitly.
arm has char as unisnged. make this signed explicitly as we used < 0
to mean no battery.
2020-09-04 19:05:00 +01:00
Marcel Hollerbach 423e26cb8e music-player: also support constant play and constant pause
this is usefull if you have the buttons for it.
2020-09-02 16:08:55 +02:00
Marcel Hollerbach 124113ad64 e_acpi: add support for bluetooth remote controls
bluetooth remote controls are for example bt headsets with play / pause
/ next / prev interactions.
2020-09-02 15:39:01 +02:00
Marcel Hollerbach 0e0cf36a32 music-control: do not crash if params is NULL
should not happen normally, but it might happen due to a buggy config
screen.
2020-09-02 15:38:59 +02:00
Marcel Hollerbach 703f42e099 acpi-bindings: also set params
this seems to have been forgotten, up to this point, you could not add
params to the config.
2020-09-02 15:36:06 +02:00
Alastair Poole 16bb8e7bd7 battery: Add Rudimentary Popup.
Add a popup for battery. It will update if left visible. The popup
avoids polling by using a slightly delayed copy of the battery
state stored in config struct.
2020-08-29 16:20:54 +01:00
Carsten Haitzler e767419dca xxx 2020-08-27 11:57:27 +01:00
Carsten Haitzler 2ff06deacc bluez5 mod - support battery properties/iface for bt popup list 2020-08-27 11:57:27 +01:00
Alastair Poole caa18034ab pager: ensure this works with legacy themes. 2020-08-26 13:08:35 +01:00
Alastair Poole d4d784e56e pager: Fix pager sizing/resizing when on the desktop.
Adding a pager to the background/desktop caused some issues for
users. This resolves the issue, whilst trying to remain readable.

@fix
2020-08-26 12:22:12 +01:00
Alastair Poole 728a04274b tasks: make sure popup goes away.
Playing around with steam/optimus/linux/multiple heads the popup
stuck around when i did something very unusual, so make sure it
goes...trust me i'm a professional....
2020-08-25 17:40:02 +01:00
Alastair Poole e7c4016a69 tasks: fallthrough popup location.
This behaviour can be more intelligent, but for now it covers most
cases. Yet to see tasks in use in the wild outside a shelf, though
it can happen so should be giving something reasonable for this
choice.
2020-08-21 10:31:44 +01:00
Carsten Haitzler beb6041646 temp - bring back temp sesor select and nuke leaks on init 2020-08-20 15:20:46 +01:00
Alastair Poole ffbb8464f2 tasks/ibar: Use correct struct members for geom.
Oops :)
2020-08-19 11:53:16 +01:00
Alastair Poole 9be3d2ad58 tasks: Too much padding.
No need to pad that so much...it looked bogus.
2020-08-18 22:48:12 +01:00
Alastair Poole 088b1b26c9 tasks: Add a Live Preview.
If it breaks, revert the patch. Try again with another batch...

o/ \o/ ???
2020-08-18 21:56:28 +01:00
Carsten Haitzler f6ab93b7b0 temperature - remvoe udev support as it causes mainloop stalls
so this was the hiccups have been seeing... it was temperature +eeze+
udev stalling out. tempget backend works without stalls so that is now
the only one.
2020-08-17 18:22:12 +01:00
Carsten Haitzler 65a9a6615b icons - fix icons used in code to be better 2020-08-17 18:22:12 +01:00
Alastair Poole 0a90a188a1 conf_randr: Let user know the mode is doublescan.
:)
2020-08-15 17:03:07 +01:00
Alastair Poole 2027734141 conf_randr: List modes using double scan correctly.
As we can detect for double scan (since randr 1.2), list the mode
as valid, and also ensure the refresh rate is displayed correctly.
Each line is rendered twice, doubles the dot clock, so divide the
settings view by 2 so that it makes "sense". Can always add
flags to settings if deemed necessary.
2020-08-15 16:54:22 +01:00
Marcel Hollerbach 722e563cbd gesture_recognition: display in correct zone 2020-07-28 10:03:22 +02:00
maxerba 0e18714228 Updating french and italian translations 2020-07-22 18:11:47 +02:00
Alastair Poole 57aad07478 ibox: If comp mirror fails, retry (iconified E restart).
If the comp mirror fails add a timer to delay the mirror object
creation. When iconified and in-preview on an E restart the
miror object was failing. Here we try once per icon, per
iconification. This *should* only be occurring once at this point
when E restarts.
2020-07-22 15:18:23 +01:00
maxerba 99b60616cc Updating french translation 2020-07-21 22:02:08 +02:00
Marcel Hollerbach 91ff956590 gesture_recognizer: add icon
thank you very much jf_simon for this icon! :)
2020-07-21 20:52:38 +02:00
Marcel Hollerbach 4678fa60c2 Introduce gesture recognition
This is currently using libinputs gesture recognition. And offers a
config screen to setup new gestures.

1. No default gesture bindings are setup

2. When libinput is not available the module is not going to be loaded,
   and nothing is recognited.+

3. Only swipe gestures are recognized yet.

4. For now, you are required to be part of the input group, otherwise we cannot
   get the libinput events. (See Todo 1)

5. The visual representation is not really good. In terms of UI, it is
   visually showing a value coming from left to right, which is
   indicating a direction, which is not always the direction of the
   gesture, which is kind of bad. More improvements needed here.

Some things that still can be done:

1. The whole libinput things should be handled by elput, either with the
   input group hack, or logind, or simply by root. The ideal idea would
   be that e_sys is creating the elput context, which also listens for new
   devices etc.. When all this is done, and it recognizes a new device, it
   can simply sent a message from e_sys to e, that there is some new
   device, with a opened fd. (However, this all needs to be locked up in a
   way that e_sys cannot be abused)
2020-07-21 15:26:34 +02:00
Marcel Hollerbach e6609541b1 tiling: prevent potential recursive apply calls
additionally, this ensures that clients that cannot be layouted are
definitly outside the tree. Without applying the window tree again.

With all this tiling can be used quite normally. If you want to know
exactly what is going on, set notify level to info, then tiling tells
you what cannot be tiled.
2020-07-21 15:22:50 +02:00
Marcel Hollerbach 48247416a5 Revert "tiling - avoid infinite loop of not fit - toggle float, not fit, toggle"
This reverts commit 265c306874.

This is somehow the wrong way of doing that. Next commit will bring
protection against multiple recursive window_tree_apply calls.
Additionally, we should prepare to *not* accidently tile a  window that
has been previously untiled.
2020-07-21 15:22:50 +02:00
Carsten Haitzler 0fcc23e06a shot - use unclipped scroller and have image underlay tools etc.
also allow window to get smaller now as we have a bit more space to
see...
2020-07-20 21:16:19 +01:00
Carsten Haitzler 72bb408f48 systray - make notes of the freedekstop.org version of protocol
there is an FDO version of this. it seems it's not widely supported
but the org.kde is. at some point we probbably have to move over but
for now there isn't a need, but make note of this and have DOMAIN able
to switch in a heartbeat if we want to.
2020-07-19 17:09:28 +01:00
Alastair Poole c1a8ae187e modules. Small text fixes for modules, module.desktop 2020-07-19 12:34:47 +01:00
Carsten Haitzler 632a7d11af e polkit - fix password to de-escape to utf8
like askpass was broken - this was too. fix.

@fix
2020-07-15 14:53:08 +01:00
Carsten Haitzler a3d981fa74 desklock config - remove infinite loop - bug added in gad remove
accidentally added a widget again to the list thus causing a loop.
didnt delete the append when removing in gad remove commit
2020-07-15 01:32:00 +01:00
Alastair Poole e278fb3cda ibox: dnd behaviour.
Summary:
* No dragging icons within an ibox (it can be perceived as
  a broken move visually).
* Show preview when dragging a preview.
* When dragging an object into the ibox, the drop icon should
be at the position of the dnd. Else mouse pointer and the
indicator are out of sync and it looks like a bug.

Reviewers: devilhorns

Subscribers: raster, cedric, zmike

Tags: #enlightenment-git

Differential Revision: https://phab.enlightenment.org/D12050
2020-07-12 09:58:06 +01:00
Alastair Poole e820efd81d cpufreq: FreeBSD et al.
Fix CPU frequency setting on FreeBSD/DragonFlyBSD. Also fix the
display of the dial so it behaves identically to the Linux
gadget.
2020-07-11 22:46:00 +01:00
Alastair Poole 1fa239b404 battery: OpenBSD use proper constants.
Not a workaround, we can be AMP or WATT hour.
2020-07-09 01:11:31 +01:00
Carsten Haitzler 12ddeaa2d1 e - enum conversion warnings - fix by doing proper conversion or enum 2020-07-08 17:39:43 +01:00