-
-
Notifications
You must be signed in to change notification settings - Fork 325
noctalia-shell: init #2077
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
noctalia-shell: init #2077
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
f5f38ab
noctalia-shell: add rwxae as maintainer
rwxae 33965c7
noctalia-shell: init
rwxae bdb25de
noctalia-shell: add testbeds
rwxae cd04f4d
noctalia-shell: fix formatting
rwxae a52e373
noctalia-shell: revert lock file
rwxae 992f50d
noctalia-shell: update flake.lock
rwxae 4424f01
noctalia-shell: add important info in description
rwxae 87ce848
Merge branch 'nix-community:master' into noctalia-shell
rwxae a2b6195
noctalia-shell: use new api of mkTarget
rwxae e59a163
noctalia-shell: remove description. behavior should be obvious for ni…
rwxae b6e3d8f
noctalia-shell: configure defaultWallpaper
rwxae 1d7892b
noctalia-shell: disable wallpaper config by default
rwxae 99a15e3
noctalia-shell: remove useWallpaper. use automatically generated imag…
rwxae 9f33bd8
noctalia-shell: fix testbeds, make sure noctalia doesn't launch more …
rwxae File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
rwxae marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| { | ||
| mkTarget, | ||
| lib, | ||
| options, | ||
| ... | ||
| }: | ||
| mkTarget { | ||
| config = lib.optionals (options.programs ? noctalia-shell) [ | ||
| ( | ||
| { colors }: | ||
| { | ||
| programs.noctalia-shell = { | ||
| colors = with colors.withHashtag; { | ||
| mPrimary = base05; | ||
| mOnPrimary = base00; | ||
| mSecondary = base05; | ||
| mOnSecondary = base00; | ||
| mTertiary = base04; | ||
| mOnTertiary = base00; | ||
| mError = base08; | ||
| mOnError = base00; | ||
| mSurface = base00; | ||
| mOnSurface = base05; | ||
| mHover = base04; | ||
| mOnHover = base00; | ||
| mSurfaceVariant = base01; | ||
| mOnSurfaceVariant = base04; | ||
| mOutline = base02; | ||
| mShadow = base00; | ||
| }; | ||
| }; | ||
| } | ||
| ) | ||
| ( | ||
| { opacity }: | ||
| { | ||
| programs.noctalia-shell = { | ||
| settings = { | ||
| bar.backgroundOpacity = opacity.desktop; | ||
| bar.capsuleOpacity = opacity.desktop; | ||
| ui.panelBackgroundOpacity = opacity.desktop; | ||
| dock.backgroundOpacity = opacity.desktop; | ||
| osd.backgroundOpacity = opacity.popups; | ||
| notifications.backgroundOpacity = opacity.popups; | ||
| }; | ||
| }; | ||
| } | ||
| ) | ||
| ( | ||
| { fonts }: | ||
| { | ||
| programs.noctalia-shell = { | ||
| settings = { | ||
| ui.fontDefault = fonts.sansSerif.name; | ||
| ui.fontFixed = fonts.monospace.name; | ||
| }; | ||
| }; | ||
| } | ||
| ) | ||
| ( | ||
| { image }: | ||
| { | ||
| home.file.".cache/noctalia/wallpapers.json" = { | ||
| text = builtins.toJSON { defaultWallpaper = image; }; | ||
| }; | ||
| } | ||
| ) | ||
|
rwxae marked this conversation as resolved.
|
||
| ]; | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { lib, ... }: | ||
| { | ||
| name = "Noctalia shell"; | ||
| homepage = "https://docs.noctalia.dev"; | ||
| maintainers = [ lib.maintainers.rwxae ]; | ||
| } |
|
rwxae marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { lib, ... }: | ||
| { | ||
| stylix.testbed.ui = { | ||
| graphicalEnvironment = "hyprland"; | ||
| command.text = "noctalia-shell --no-duplicate"; | ||
| }; | ||
|
|
||
| home-manager.sharedModules = lib.singleton { | ||
| programs.noctalia-shell.enable = true; | ||
| }; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.