safe eyes
This commit is contained in:
parent
77df4c2a45
commit
054f80a3f5
4 changed files with 31 additions and 13 deletions
|
|
@ -16,10 +16,6 @@ in {
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home-manager.users.${username}.xdg.configFile."kitty/kitty.conf".text = ''
|
home-manager.users.${username}.xdg.configFile."kitty/kitty.conf".text = ''
|
||||||
remember_window_size no
|
|
||||||
initial_window_width 80c
|
|
||||||
initial_window_height 24c
|
|
||||||
|
|
||||||
enable_audio_bell no
|
enable_audio_bell no
|
||||||
confirm_os_window_close 0
|
confirm_os_window_close 0
|
||||||
|
|
||||||
|
|
@ -29,6 +25,7 @@ in {
|
||||||
bold_font family='CaskaydiaCove Nerd Font' style=SemiBold
|
bold_font family='CaskaydiaCove Nerd Font' style=SemiBold
|
||||||
italic_font family='CaskaydiaCove Nerd Font' postscript_name=CaskaydiaCoveNF-LightItalic
|
italic_font family='CaskaydiaCove Nerd Font' postscript_name=CaskaydiaCoveNF-LightItalic
|
||||||
bold_italic_font family='CaskaydiaCove Nerd Font' style='SemiBold Italic'
|
bold_italic_font family='CaskaydiaCove Nerd Font' style='SemiBold Italic'
|
||||||
|
font_size 14
|
||||||
|
|
||||||
# The basic colors
|
# The basic colors
|
||||||
foreground ${colors.text}
|
foreground ${colors.text}
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
|
./safeeyes.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
|
|
||||||
22
modules/apps/visual/safeeyes.nix
Normal file
22
modules/apps/visual/safeeyes.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib) mkEnableOption mkIf;
|
||||||
|
cfg = config.horseman.apps.visual.safeeyes;
|
||||||
|
in {
|
||||||
|
options = {
|
||||||
|
horseman.apps.visual.safeeyes = {
|
||||||
|
enable = mkEnableOption "Protects your eyes";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
config = mkIf cfg.enable {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
snixembed
|
||||||
|
safeeyes
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -43,6 +43,8 @@ in {
|
||||||
xdg-desktop-portal-hyprland # XDG Portal (needed but idk why)
|
xdg-desktop-portal-hyprland # XDG Portal (needed but idk why)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
horseman.apps.visual.safeeyes.enable = true;
|
||||||
|
|
||||||
horseman.wm.hyprland.config = {
|
horseman.wm.hyprland.config = {
|
||||||
execOnce = [
|
execOnce = [
|
||||||
"hyprpaper"
|
"hyprpaper"
|
||||||
|
|
@ -50,6 +52,8 @@ in {
|
||||||
"hyprpaper"
|
"hyprpaper"
|
||||||
"systemctl --user start hyprpolkitagent"
|
"systemctl --user start hyprpolkitagent"
|
||||||
"waybar"
|
"waybar"
|
||||||
|
"safeeyes"
|
||||||
|
"snixembed"
|
||||||
];
|
];
|
||||||
|
|
||||||
env = [
|
env = [
|
||||||
|
|
@ -93,18 +97,12 @@ in {
|
||||||
|
|
||||||
dimSpecial = 0.4;
|
dimSpecial = 0.4;
|
||||||
|
|
||||||
shadow = {
|
shadow.enabled = false;
|
||||||
enabled = true;
|
|
||||||
range = 4;
|
|
||||||
renderPower = 3;
|
|
||||||
color = "rgba(1a1a1aee)";
|
|
||||||
};
|
|
||||||
|
|
||||||
blur = {
|
blur = {
|
||||||
enabled = true;
|
enabled = true;
|
||||||
size = 3;
|
size = 25;
|
||||||
passes = 3;
|
passes = 2;
|
||||||
vibrancy = 0.1696;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue