hyprdots icon indicating copy to clipboard operation
hyprdots copied to clipboard

Hyprlock ++ Hypridle listeners

Open kRHYME7 opened this issue 11 months ago • 30 comments

Pull Request

Description

Added Hypridle implementations.

[!Important] [LOG] Using dbus path /org/freedesktop/login1/session/_32 Seldomly, some apps don't respect and communicate to inhibit idle! This is not Hyprdots fault or Hypridle Therefore if this happens click  🕛 to inhibit idle

TODO

Should this be an optional package?

Hyprlock

Goals

  1. Reproduce configs with per monitor scaling compatibility or wait for this to be answered https://github.com/hyprwm/hyprlock/issues/261
  2. Widgets should be modular so users can just source or copy it to there preferred config. see ./.config/hyprlock/widgets
  3. Layouts should be a plug in play configuration see ./.config/hyprlock/presets. This way users can share custom layouts.

kRHYME7 avatar Mar 24 '24 14:03 kRHYME7

I think this can be merged as well

rubiin avatar Apr 20 '24 10:04 rubiin

@kRHYME7 I think the merge conflicts are blocking the pr from merge

rubiin avatar Apr 21 '24 13:04 rubiin

Ohhh I totally forgot about this lol!

kRHYME7 avatar Apr 21 '24 13:04 kRHYME7

Will work on Hyprlock here

kRHYME7 avatar Apr 24 '24 14:04 kRHYME7

Will work on Hyprlock here

okay. The current roadblock we are facing with hyprlock is the scaling, right?

chrollorifat avatar Apr 24 '24 14:04 chrollorifat

yes because most of the scaling are in font size

kRHYME7 avatar Apr 24 '24 14:04 kRHYME7

Goals

  1. Reproduce configs with per monitor scaling compatibility or wait for this to be answered https://github.com/hyprwm/hyprlock/issues/261
  2. Widgets should be modular so users can just source or copy it to there preferred config. see ./.config/hyprlock/widgets
  3. Layouts should be a plug in play configuration see ./.config/hyprlock/presets. This way users can share custom layouts.

2 monitors with different scaling

image

kRHYME7 avatar Apr 24 '24 14:04 kRHYME7

When did hyprlock+hypridle gets an option im HyDE to for the User to test?

dieBakterie avatar Apr 28 '24 15:04 dieBakterie

You can test it here or contribute to some layouts.

I literally added the goals. Number 1 is not yet accomplished.

kRHYME7 avatar Apr 29 '24 03:04 kRHYME7

Screenshot_2024-05-08-09-34-20-186_com.github.android.jpg

Seems Like Goal 1 is reached? Now to the Feedback Sourcing, like with the monitor configs doesn't really worked for me(got removed for a reason), also don't know why the colors.conf got deleted and how do i exactly use the hyprlock.dcol file? Also could you Change your Script that it's not only for Spotify? I've this weird issue that my Screen locks when executing a Script from HyDE that i guess uses the globalcontrol.sh, the wallpaper Change and wallbash mode keybind for example locks my screen, not sure it's propably my fault. And i've this annoying issues that my second Monitor doesn't really wakeup when hypridle is triggered, i need to turn on and off again and then i've the workspaces 2 and 3 where two my second and three my First one ist that's left from my second one. Don't know if that's even Hypridle's, Hyprlock's, Hyprland's fault or my config that's "wrong". I also have the Problem with the wallpaper only schowing up on one Monitor and the other one is black, it's just the Background for hyprlock Not showing. Also path = screenshot doesn't work for me. I'm on Nvidia and i don't think it's this PR's fault.

dieBakterie avatar May 08 '24 07:05 dieBakterie

I have a bit special setup for my music basically I use lf as my file browser and added a keybinding to open mpv with

mpv --shuffle --no-video --pause=no

for whatever reason the creation of hypr-mpris.inf works but the extraction to the png only randomly. The Artist/Title part works fine only the folderart only sometimes. My collection is sorted and has the corrected tags. All done with MusicBrainz

If I listen on yt it works fine

Any ideas?

se7en-x230 avatar May 08 '24 08:05 se7en-x230

@se7en-x230 playerctl metadata --format '{{mpris:artUrl}}' this should output the mpris art if it existed.

kRHYME7 avatar May 08 '24 08:05 kRHYME7

@se7en-x230 playerctl metadata --format '{{mpris:artUrl}}' this should output the mpris art if it existed.

It does that part works fine ...

I hacked this together and up to now that works

image

I basically check if the folder has a image (which 99% of them have) and copy it to /tmp/

Not pretty but for now it works

se7en-x230 avatar May 08 '24 09:05 se7en-x230

Uhm, Can you try the latest commits? I think this script is outdated

kRHYME7 avatar May 08 '24 09:05 kRHYME7

Uhm, Can you try the latest commits? I think this script is outdated

Yes that's too much as there are too many changes in several dotfiles for this to work. I wait for your finished dotfiles

se7en-x230 avatar May 08 '24 10:05 se7en-x230

I've problems with this and the newest hyprlock.sh script too.

dieBakterie avatar May 08 '24 12:05 dieBakterie

I've problems with this and the newest hyprlock.sh script too.

Some error message or explanation is better

kRHYME7 avatar May 08 '24 12:05 kRHYME7

Line 42 fn_ command not found. Your Script without any changes.

dieBakterie avatar May 08 '24 13:05 dieBakterie

Also your roman_clock.sh is still called in one or more of the presets

se7en-x230 avatar May 08 '24 13:05 se7en-x230

Also your roman_clock.sh is still called in one or more of the presets

ops, ok will remove it

kRHYME7 avatar May 08 '24 13:05 kRHYME7

IMG_1297

  1. I think if you guys don’t define monitor like eDP-2 blur effect will take on all monitors.
  2. The widgets work, just that the hyprlock.conf only has a few sourced even though the files are there.
  3. The Input field colors work on all themes, they change accordingly
  4. Now its just the wallpaper that doesn't appear. maybe cause its still calling from swww? and i dont see that file anywhere

abenezerw avatar May 15 '24 03:05 abenezerw

Change wallpapers so it will be updated

kRHYME7 avatar May 15 '24 03:05 kRHYME7

Change wallpapers so it will be updated

Oh, yeah. it works but i only see that wallpaper for a blink of a sec before it goes full black on lock. i also manually put a sww folder with backgorund png to check and it also shows it for a sec before black bg

abenezerw avatar May 15 '24 03:05 abenezerw

Change wallpapers so it will be updated

Oh, yeah. it works but i only see that wallpaper for a blink of a sec before it goes full black on lock. i also manually put a sww folder with backgorund png to check and it also shows it for a sec before black bg

it's probably because of the screen resolution of the walllpaper.

chrollorifat avatar Jun 28 '24 16:06 chrollorifat

Change wallpapers so it will be updated

Oh, yeah. it works but i only see that wallpaper for a blink of a sec before it goes full black on lock. i also manually put a sww folder with backgorund png to check and it also shows it for a sec before black bg

i have hyprlock working properly and also wallpaper synced with the desktop wallpaper

using the below in the hyprlock.conf as I am using the just a single with a simple conf, dont knwo where in these files.

path = .cache/hyde/wall.set OR path = .cache/hyde/wall.blur

can be used to resolve the background wallpaper issue i guess the file is symlinked too and gets updated everytime wallpaper changes

SyedArbaazHussain avatar Aug 13 '24 18:08 SyedArbaazHussain

Yeah funny that this doesn't work with nvidia GPUs both the normal package and the -git version. It's the reason why i've to do it this annoying way.

dieBakterie avatar Aug 13 '24 18:08 dieBakterie

Could we name it hypr.dcol 'cause i need/use it for plugins etc too. The colors in colors.conf arent really colors but the borders and their colors etc. It's more of an hyprecosytem color file than an pure hyprlock one @kRHYME7

dieBakterie avatar Aug 13 '24 18:08 dieBakterie

That's an attempt for now it should really be targeted to colors.conf. But as you can see it is used for Group colors. It's not a minor change So I'm afraid to change it on this repo. IRRC, I made a PR for this as I really want to expose all hypr colors

kRHYME7 avatar Aug 14 '24 00:08 kRHYME7

That's an attempt for now it should really be targeted to colors.conf. But as you can see it is used for Group colors. It's not a minor change So I'm afraid to change it on this repo. IRRC, I made a PR for this as I really want to expose all hypr colors

Yeah that's understandable, was afraid of pinging tittu so i pinged you instead, sorry for this khing.

dieBakterie avatar Aug 14 '24 01:08 dieBakterie

waiting for this . Thats why havent did on my own :D

rubiin avatar Sep 04 '24 17:09 rubiin