Commit graph

252 commits

Author SHA1 Message Date
pancho horrillo
149b313ddf
emacs: fix spurious quotes around :size arg (#555)
If the size is expressed as a string, Emacs calls bloody murder:

    invalid font property (:size . "14.000000")

Fixes: 35233f9296 ("emacs: explicitly set font size (#553)")

Reviewed-by: Jez Cope <jezcope@users.noreply.github.com>
Approved-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-09-16 16:37:22 +02:00
Jez Cope
35233f9296
emacs: explicitly set font size (#553)
The emacs module currently doesn't set the font size, only the colours
and font family. This PR sets it to `sizes.terminal` (taking a lead from
the `guifont` setting in the `vim` module) using `font-spec`, which is a
more flexible way to specify fonts in elisp. To indicate the size is
points it needs to be a floating point value.

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-09-12 21:55:40 +02:00
dasj19
ef81ad9e85
gnome: move gnome-shell overlay out of gnome scope (#541)
In response to this PR: https://github.com/NixOS/nixpkgs/pull/338583
2024-09-02 16:29:33 +01:00
Daniel Thwaites
c95de36252
hyprland: only enable hyprpaper when hyprland is installed (#544)
See https://github.com/danth/stylix/issues/542#issuecomment-2324323870

Closes #542
2024-09-02 11:39:50 +01:00
Luna Simons
3a4101c4f4
fish: remove obsolete $base16_theme check
Remove the obsolete $base16_theme check which was incorrectly taken from
[1] as $base16_theme is unused in Stylix.

[1]: https://github.com/tomyun/base16-fish/issues/7#issuecomment-963376055

Closes: https://github.com/danth/stylix/issues/538
Fixes: 94d70292d0 ("fish: fix base16-fish causing startup issues with tmux (#503)")
Link: https://github.com/danth/stylix/pull/539

Tested-by: Donovan Glover <donovan@dglover.co>
Approved-by: Donovan Glover <donovan@dglover.co>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-08-31 19:53:32 +02:00
NAHO
6c895c6b42
gnome: rename deprecated pkgs.gnome.gnome-backgrounds package (#531)
Rename the deprecated `pkgs.gnome.gnome-backgrounds` package to
`pkgs.gnome-backgrounds`, following
6e8760f7f7.

Cc: @knoopx

Co-authored-by: Victor Martinez <knoopx@gmail.com>
2024-08-26 21:09:37 +01:00
NAHO
c5f8f06543
kde: rename deprecated option (#513)
Rename the deprecated services.xserver.displayManager.sddm.enable option
to services.displayManager.sddm.enable, following [1].

[1]: https://github.com/NixOS/nixpkgs/pull/291913

Link: https://github.com/danth/stylix/pull/513
2024-08-21 18:13:34 +01:00
Donovan Glover
94d70292d0
fish: fix base16-fish causing startup issues with tmux (#503)
* fish: fix base16-fish causing startup issues with tmux

Closes #488

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2024-08-19 20:12:23 +02:00
NAHO
6858d08ed0
treewide: add soft deprecation dates (#506)
Add soft deprecation dates to guide the hard deprecation transitions.

Fixes: 3567250ba0 ("Properly warn users that stylix.palette.* has been removed")
Fixes: 94aa0fc0fb ("nixvim: rename transparency options to camelCase (#497)")
2024-08-16 19:54:29 +01:00
Daniel Thwaites
5853f1a8bd
neovim: fix incorrect use of mkIf (#498) 2024-08-06 13:21:22 +01:00
Daniel Thwaites
94aa0fc0fb
nixvim: rename transparency options to camelCase (#497) 2024-08-06 12:42:19 +01:00
Donovan Glover
3499dff34d
neovim: init (#496)
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2024-08-06 12:42:04 +01:00
Pavel Borzenkov
c0309fc3f4
wofi: init (#493) 2024-08-05 16:42:24 +01:00
NAHO
b9de20c76e
kde: revoke Qt6 and non-KDE Qt theme support (#490)
Revert commit 6bbae4f85b ("kde: apply Qt theme on non-KDE systems and
add Qt6 support (#367)") due to unexpected issues.

Follow-up work is tracked in https://github.com/danth/stylix/issues/489.

Closes: https://github.com/danth/stylix/issues/480
Closes: https://github.com/danth/stylix/issues/485
Closes: https://github.com/danth/stylix/issues/487
2024-07-26 11:20:07 +01:00
Mateus Auler
c974c17cd0
vesktop: improve contrast (#482)
Some generated text colors in dark themes are too close to the background color, making
it hard to read.

Fixes: #474
2024-07-24 11:24:31 +01:00
PedroMAdorno4
0ef70039a6
ncspot: init (#475) 2024-07-21 16:57:29 +02:00
Jackaed
6bbae4f85b
kde: apply Qt theme on non-KDE systems and add Qt6 support (#367) 2024-07-19 23:48:56 +01:00
Anton Mosich
1ff9d37d27
fzf: use Home Manager color options (#454)
home-manager provides a programs.fzf.colors option to provide colors.
This module basically reimplemented the logic Home Manager has as well.
2024-06-27 22:59:30 +01:00
Simon Yde
7cdbd12817
nushell: fix separator typo (#449) 2024-06-24 14:23:18 +01:00
sdaqo
0fc4e9f144
hyprland: add 'groupbar' colors (#446) 2024-06-23 16:20:48 +02:00
Angelo Bulfone
97dcf3c216
zellij: fix black & white (#444)
Brings the Zellij theme more in-line with the default theme. For dark themes, Zellij's shades go from darkest to brightest: black < bg < fg < white. The exact shades used for the four is based on the standard mapping of the 8 primary colors to ANSI's 4 shades.

This makes the tab and status bars significantly more readable.

This does not account for light themes, and Zellij dynamically switches between white and black for certain elements depending on the polarity, however I couldn't find of other modules that accounted for polarity, so I left it for a future change. I also did not rename the accents to their semantic names, though it would be simple to do.
2024-06-21 13:10:34 +01:00
Ed Roberts Rayne
f13c946181
hyprpaper: init (#377)
Initialize the 'hyprpaper' module.

In the future, it might be possible to 'unload' the one-off wallpaper to reduce
the running memory usage [1]:

> Preload does exactly what it says. It loads the entire wallpaper into
> memory. This can result in around 8 - 20MB of mem usage. It is not
> recommended to preload every wallpaper you have, as it will be a)
> taking a couple seconds at the beginning to load and b) take 100s of
> MBs of disk and RAM usage.
>
> Preload is meant only for situations in which you want a wallpaper to
> switch INSTANTLY when you issue a wallpaper keyword (e.g. wallpaper
> per workspace)
>
> In any and all cases when you don't mind waiting 300ms for the
> wallpaper to change, consider making a script that:
>  - preloads the new wallpaper
>  - sets the new wallpaper
>  - unloads the old wallpaper (to free memory)
>
> -- Hyprpaper [2]

[1]: https://github.com/danth/stylix/issues/408
[2]: 678d0e8959/README.md (L103-L111)

Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-06-17 16:30:35 +02:00
Daniel Thwaites
80e8e1e2f6
treewide: add linters and apply pending suggestions (#426) 2024-06-16 15:08:25 +01:00
Daniel Thwaites
29044a0242
plymouth: use logo from nixos-icons (#424)
Closes #336
2024-06-16 15:01:57 +01:00
Lucas Hazel
25106f203f
emacs: change 256 color source (#436) 2024-06-16 15:00:38 +01:00
pancho horrillo
7941795d44
vim: fix missing lib prefix (#433)
This seems a stray cat from PR #425

Fixes #432
2024-06-15 11:02:58 +01:00
David Schaller
64c5bd0fbe
vscode: fix typo in template.mustache (#434) 2024-06-15 11:01:52 +01:00
Daniel Thwaites
76d6ca2224
treewide: remove use of with lib (#425) 2024-06-14 22:36:25 +01:00
David Schaller
73c6955b45
vscode: fixed search match opacity (#427) 2024-06-13 16:32:14 +01:00
Daniel Thwaites
e59d2c1725
swaylock: remove optionalAttrs (#420) 2024-06-11 17:15:52 +01:00
Jalil David Salamé Messina
7682713f6a
stylix: add 'stylix.enable' option (#244)
Add a 'stylix.enable' option to enable or disable all Stylix modules in
order to resolve issues similar to [2].

To align with the default 'lib.mkEnableOption' [1] behavior,
'stylix.enable' defaults to 'false'.

BREAKING CHANGE: Stylix is disabled by default. To enable it, use:

    stylix.enable = true;

[1]: https://github.com/NixOS/nixpkgs/blob/23.11/lib/options.nix#L91-L105
[2]: https://github.com/danth/stylix/issues/216

Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
Co-authored-by: Jalil David Salamé Messina <jalil.salame@gmail.com>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-06-10 11:52:47 +02:00
Alexandra Østermark
ca3247ed8c
tofi: use opacity (#410)
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2024-06-08 18:02:46 +01:00
diniamo
f0ddd45fbe
treewide: change window manager style guide (#414) 2024-06-08 16:17:58 +01:00
diniamo
1d3826ceed
gtk: change accent color (#413) 2024-06-05 14:13:29 +01:00
Julian Hauser
85a0a92c31
zathura: add transparency to highlight colors (#394)
Co-authored-by: jghauser <julianhauser.com>
2024-06-04 16:24:12 +01:00
Alexandra Østermark
c760f63a44
stylix: add background image scaling option (#372) 2024-06-03 13:53:09 +01:00
NewDawn0
3befd5d693
vim: interface colorscheme (#401) 2024-06-01 20:05:16 +01:00
Geometer1729
ebaed9d4bf
console: adjust colors (#404)
Co-authored-by: Daniel Thwaites <danthwaites30@btinternet.com>
2024-05-31 20:41:07 +01:00
NAHO
5234b3d467
gnome: use internal mkEnableTarget function (#397)
Follows: 679a806768
2024-05-28 12:24:18 +01:00
Patrick Teubner
659dd55a32
waybar: put font-family string in quotes (#391)
Using 0xProto as font-family breaks waybars style.css (`Expected a string`). This fixes it.
2024-05-28 12:19:54 +01:00
mham
00a11ba2f0
wpaperd: init (#383)
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-05-26 18:29:37 +01:00
Victor B
81df844355
vesktop: init (#365)
adds a generated theme to Vesktop
2024-05-20 12:58:22 +01:00
Daniel Thwaites
4a4c82f03c
grub: use fc-match format option rather than grep (#368) 2024-05-18 13:58:56 +01:00
Daniel Thwaites
98039f3331
gnome: change panel background to base01 (#360)
This was the color used for GNOME 45, and is consistent with other Stylix targets.
2024-05-12 13:58:29 +02:00
Daniel Thwaites
197526923a
gnome: update to GNOME 46 (#357) 2024-05-09 12:41:00 +00:00
aftix
f1bb5c5080
tofi: init (#355)
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
2024-05-09 10:08:53 +01:00
David Schaller
8f7abd2252
vscode: improve text contrast for diffs and merges (#358) 2024-05-07 19:59:24 +01:00
Alvaro Fresquet
61c024f839
gitui: init (#354) 2024-05-06 14:19:03 +01:00
Alvaro Fresquet
43d23b1609
bat: use config instead of env variable (#353)
Replaces the usage of the BAT_THEME environment variable
in favor of the built in config parameter `theme`.
2024-05-01 10:16:52 +01:00
Daniel Thwaites
0fe277a364
treewide: remove lib.mdDoc (#349) 2024-04-22 22:25:40 +01:00