several tweaks

This commit is contained in:
Thilo Billerbeck 2024-02-18 23:04:50 +01:00
parent e7d1eb56b5
commit dfaaca9026
5 changed files with 33 additions and 24 deletions

View file

@ -8,7 +8,7 @@
decorations = "full";
dynamic_title = true;
};
window.opacity = 1;
window.opacity = 0.9;
font = {
normal = {
family = "JetbrainsMono NFM";
@ -18,7 +18,7 @@
family = "JetbrainsMono NFM";
style = "Bold";
};
size = 14;
size = 12;
};
cursor.style.shape = "Beam";
colors = {

View file

@ -19,12 +19,9 @@ let
"bmnlcjabgnpnenekpadlanbbkooimhnj" # Honey
"kbfnbcaeplbcioakkpcpgfkobkghlhen" # Grammarly
];
in
{
programs.vivaldi = {
enable = if config.machine.isGraphical then true else false;
dictionaries = with pkgs.hunspellDictsChromium; [ en_US de_DE ];
commandLineArgs = [
isEnabled = if config.machine.isGraphical then true else false;
dictionaries = with pkgs.hunspellDictsChromium; [ en_US de_DE ];
commandLineArgs = [
"--ignore-gpu-blocklist"
"--enable-gpu-rasterization"
"--enable-zero-copy"
@ -33,11 +30,22 @@ in
"--use-vulkan"
"--ozone-platform-hint=auto"
"--enable-hardware-overlays"
];
extensions = map
(eid: {
id = eid;
})
chromium_extension;
];
extensions = map
(eid: {
id = eid;
})
chromium_extension;
in
{
programs.vivaldi = {
enable = isEnabled;
dictionaries = dictionaries;
commandLineArgs = commandLineArgs;
extensions = extensions;
};
programs.google-chrome = {
enable = isEnabled;
commandLineArgs = commandLineArgs;
};
}

View file

@ -0,0 +1,5 @@
{ config, pkgs, lib, ... }:
{
programs.hstr = { enable = true; };
}