Commit Graph

544 Commits

Author SHA1 Message Date
Jas Singh
8068663466 Fix: Allow vertical monitors to be recorded properly instead of erroring. (#861) 2025-03-24 22:25:15 -07:00
Siddharth Jain
dba7ac64c6 Feat: Added a configuration option to define the save location of recordings.
* Add file picker for saving screen recordings

Implemented a file picker using Zenity to allow users to choose the save location for their screen recordings after stopping.

Replaced the hardcoded save path with dynamic user input.

Improved the notification system to inform users when recordings are saved or discarded.

* Refactored RecordingButton to fetch the latest recording path dynamically.

Removed static path references, ensuring the updated path from Hyprpanel config is always used.

* Update screen_record.sh

Added comment why use "sleep 1" at line 80

* Update module.nix

Updated nix module.

* Expand ~ in output directory, set default path, and add validation

- Properly expand `~` to `$HOME` in the output directory path.
- Set default recording directory to `$HOME/Videos` if none is provided.
- Validate that the output directory exists before starting a recording.

* Update scripts/screen_record.sh

Co-authored-by: Chase Taylor <11805686+dotaxis@users.noreply.github.com>

* Update scripts/screen_record.sh

Co-authored-by: Chase Taylor <11805686+dotaxis@users.noreply.github.com>

* Code Quality Check.

* Update RecordingButton.tsx

Removed debug logs as well.

* Update src/components/menus/dashboard/shortcuts/buttons/RecordingButton.tsx

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* updated RecordingButton.tsx && helper.tsx

Fixed the issues pointed by @Jas-SinghFSU

* Update RecordingButton.tsx

Fixed few linter errors.

---------

Co-authored-by: Chase Taylor <11805686+dotaxis@users.noreply.github.com>
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-24 20:52:17 -07:00
davfsa
c57d512ced Fix notifications border rounding (#856)
Signed-off-by: davfsa <davfsa@gmail.com>
2025-03-24 18:32:29 -07:00
davfsa
3a5ad2a1db Merge pull request #849 from NklsCh/master
Fix: Prevent Matugen to override user settings with config defaults
2025-03-19 17:33:53 +01:00
Niklas Choinowski
b9aa6854f6 fix: removed opt.initial becouse opt.value will always hold either the user defined value or the default 2025-03-19 06:54:48 +01:00
Niklas Choinowski
b4506130f9 fix: use current value instead of initial to not override already set settings
Co-Authored: @PhoenixGamer339
2025-03-18 21:03:59 +01:00
Jas Singh
a4e9a99f82 Fix: Added a fallback workspace icon for applications. (#845) 2025-03-17 20:54:38 -07:00
orangc
ceba4a348d Merge pull request #841 from NklsCh/master
fix: use mkIf instead of optionals to provent empty overlays and avoid conflicts
2025-03-18 05:17:51 +03:00
orangc
0ce8d1aec8 Merge branch 'master' into master 2025-03-18 05:17:13 +03:00
Chase Taylor
f27c47e505 readme: add bc to required dependencies (#830)
* Update README.md

Add `bc` to required dependencies

* Replace bc with awk

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-17 19:06:46 -07:00
davfsa
7fe89ac5eb Add up-to-date default workspace labels (#709)
* Add up-to-date workspace labels

* Use iterators instead of creating copies of the mappings

* Re-add guard clause

Signed-off-by: davfsa <davfsa@gmail.com>

* merge origin

* Fix duplicate icons and simplify implementation.

---------

Signed-off-by: davfsa <davfsa@gmail.com>
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-17 19:05:14 -07:00
Niklas Choinowski
e181f992ed Fix: use mkIf instead of optionals to prevent empty overlays 2025-03-17 18:30:28 +01:00
davfsa
14b17c0667 Improve network bar (#813)
* Improve network bar

- Improve consistency of status updates by using `state` and
`connectivity`
- Add 'Off' text based on WiFi adapter status

* Update src/components/bar/modules/network/index.tsx

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-16 23:15:23 -07:00
davfsa
a949b34632 Feat: Add live reloading of configuration file (#684)
* Add live reloading of configuration file

This also removes the need for a file with all the available
configuration and a shadow configuration file.

Additionally, added several improvements:
1. Reduce I/O on initial configuration loading by only reading file once
2. Remove unnecesary back and forth events when editing configuration

* Add missing return type

* Consistently reset on config changes and error if failed to initialize config

* Fix massive I/O load on startup by numerical options

* Use _findVal when monitoring config file

* Apply PR requested changes

Signed-off-by: davfsa <davfsa@gmail.com>

* Add missing =>

Signed-off-by: davfsa <davfsa@gmail.com>

* Fix reassignment to const, change to let.

---------

Signed-off-by: davfsa <davfsa@gmail.com>
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-16 02:39:25 -07:00
Piyush Kumbhare
50faa14621 created notifications.ignore string list option (#831)
* created notifications.ignore string list option

* reverted auto-formatting
2025-03-14 08:52:41 -07:00
dann-merlin
2be9f1ef6c Fixed an issue that would prevent the media menu from going fully transparent. (#796)
The menu-items-section box of the media menu was not transparent by
default. Usually it is fully shadowed by its child "menu-content".
The color and tint of the can be configured by the user.
However, because the menu-items-section box behind the card had a
solid color, it was impossible to configure a transparent card.

Co-authored-by: Merlin Sievers <merlin.sievers@posteo.net>
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-01 13:12:59 -08:00
Alejandro
28d2884b2f Add Zen browser to window titles and media. (#790)
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-01 13:00:48 -08:00
Dany Sluijk
c181f1dd1f Hyprpanel config can now be represented as true JSON (#788)
* feat(config): allow reading of JSON nesting

* organized code

Signed-off-by: Dany Sluijk <me@dany.dev>

* style(lib/option): remove unnessesary comments

---------

Signed-off-by: Dany Sluijk <me@dany.dev>
Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-03-01 12:23:18 -08:00
davfsa
b1526445f3 Ensure notification service is available when sending a notification (#720)
* Ensure notification service is available when sending a notification

This is a bit of a weird patch for a fundamental order-of-execution
issue.

The bundler (esbuild) can sometimes place the `notifdService`
instantiation bellow the code calling `Notify`, which would causes the
`notify-send` execution to fail. To avoid this, we can make it seem like
`notifdService` is being used inside `Notify`, so that it is always
placed above the usage of the function, ensuring that we always have a
notification daemon running

* Add eslint-disable-line

* Update src/lib/utils.ts

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-02-28 23:45:07 -08:00
Aaron Hallaert
b1f38f62cc fix: scaled width and height on recording (#809) 2025-02-28 23:28:15 -08:00
V3RM1N
4810d0f502 fix: Added missing semicolon (#808) 2025-02-28 00:16:03 -08:00
Jas Singh
429b56484d Update all references from gpu-screen-recorder to wf-recorder (#806) 2025-02-27 23:46:33 -08:00
Chase Taylor
5075c94af2 Add region screen recording (#791)
* Add region screen recording

* Update readme

* Use get-default-sink and software encoding

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

* Remove log file creation logic

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-02-27 17:47:21 -08:00
turtton(watagame)
4f56dacf2b Replace invalid comma to semicolon (#804)
Related: #803
Fix syntax error in nix/module.nix where a comma is used instead of a semicolon
2025-02-27 09:04:33 -08:00
Jas Singh
c99fe9d1e2 Add missing options (#802) 2025-02-27 01:29:49 -08:00
Jas Singh
f69a0841a8 Create Microphone bar module. (#801)
* Implement microphone module.

* Add catppuccin themes

* Add rest of themes

* Fix comment

* Add nix settings
2025-02-27 01:24:07 -08:00
Łukasz Leszko
efdcb7d53b Added nix options for shadows (#784) 2025-02-20 23:33:01 -08:00
Jas Singh
3419315e65 Made shadows togglable with default set to false. (#786) 2025-02-19 17:23:57 -08:00
davfsa
f8bbd0af80 Fix undefined tooltip text (#780) 2025-02-18 09:44:43 -08:00
Jas Singh
9b342341fe Added shadows to the Bar, Menus, OSD and Notifications. (#777)
* Added shadows to the Bar, Menus and notifications.

* Add OSD shadows
2025-02-16 21:41:52 -08:00
Jas Singh
3698bfe2b3 Replaced the underlying structure of Hypridle inhibitor to the Astal Idle Inhibitor module. (#776)
* Update hypridle module to be an all-purpose idle inhibitor module using Astal inhibiting.

* Fix types and module code.

* Update note

* Removed lingering comment.

* Remove hypridle from dependencies.
2025-02-16 12:20:29 -08:00
Jas Singh
867b2a7d68 Added tokyo night (moon variant) and added more variance to tokyo night themes. (#774) 2025-02-15 21:12:14 -08:00
Jas Singh
c309a73d2d Fixed an issue that would cause a hidden bar to unhide when a workspace changed. (#771)
* Fixed an issue that would cause a hidden bar to unhide when a workspace is changed.

* Remove jsdoc for param that doesn't exist.
2025-02-15 00:01:51 -08:00
wistfulbrick
4424a523bf Workaround unreliable GDK geometry scaling for matching monitors (#768)
* Workaround unreliable GDK geometry scaling for matching monitors

* Extra monitor matching handling for transforms/rotation and fractional scaling

* Add monitor key matching debug logging

* Fix fractionally scaled monitor matching, plus slight refactor

* Fix rotation logic

* Use console.debug for debug logging, run linting

* Fix Type errors

* Update debugging comment after testing

* Linting again..
2025-02-14 00:41:45 -08:00
Jas Singh
0d5f80ff5c Check if client.workspace is not undefined or null. (#765) 2025-02-08 00:17:32 -08:00
Jas Singh
6b846b9709 Remove global service declarations and change to declarations upon usage. (#761)
* Remove global service declarations and change to declarations upon usage.

* Only load cava service if cava is enabled.
2025-02-06 02:15:20 -08:00
Keon Lee
537a9653ed fix: change workspace spacing option to float (#749) 2025-02-04 00:35:03 -08:00
Jas Singh
74065af3d2 Window client title now updates appropriately. (#741)
* Window client title now updates appropriately.

* Update src/components/bar/modules/window_title/helpers/title.ts
2025-01-25 00:24:15 -08:00
davfsa
562eb64e12 Fix weather api call when query has multiple spaces (#731) 2025-01-19 21:24:35 -08:00
Keon Lee
88609f7e4c feat: add padding option for inactive workspace numbers (#702)
* feat: add padding option for inactive workspace number

* chore: reorder options to gather padding related options

---------

Co-authored-by: Jas Singh <jaskiratpal.singh@outlook.com>
2025-01-15 23:12:21 -08:00
orangc
d49ae7d11d nix: Add generate config option to HM module + faze out systemd
nix: Add generate config option to HM module + faze out systemd
2025-01-14 08:53:38 +03:00
Ben
2d7f289c96 Merge branch 'master' into master 2025-01-13 20:18:10 +10:00
Ferran Aran Domingo
7ef79f7362 chore(nix): add cava options to module.nix (#718) 2025-01-13 00:23:40 -08:00
davfsa
636f031b77 Code cleanup (#719)
- Remove random call to `print`
- Remove double declaration of notifdService
2025-01-12 23:53:32 -08:00
Jas Singh
fab3a8c3a1 Remove the unintended empty space from the power module in the bar. (#714) 2025-01-11 12:40:02 -08:00
Jas Singh
db3fa88d18 Update flake bin. (#712) 2025-01-11 03:00:31 -08:00
davfsa
a9ad71ff42 Update bluetooth label when a new device connects/disconnects (#708) 2025-01-11 00:07:03 -08:00
Ben
63f6f94535 nix: Add config.enable option to HM module 2025-01-10 22:07:20 +10:00
Ben
31b5f32d69 Merge branch 'Jas-SinghFSU:master' into master 2025-01-10 21:51:31 +10:00
Jas Singh
1812193658 Added ghostty to the window titles. (#706) 2025-01-09 23:21:06 -08:00