Add watershot and gammastep for screen capture and night light
This commit is contained in:
parent
8a5135aaca
commit
e1bee7739b
3 changed files with 51 additions and 0 deletions
|
@ -0,0 +1,11 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
inputs.watershot.packages.${pkgs.system}.default
|
||||
pkgs.grim
|
||||
];
|
||||
|
||||
home.file.".config/watershot.ron" = {
|
||||
source = ./watershot.ron;
|
||||
};
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
Config(
|
||||
handle_radius: 10,
|
||||
line_width: 2,
|
||||
display_highlight_width: 5,
|
||||
selection_color: Color(
|
||||
r: 0.38,
|
||||
g: 0.68,
|
||||
b: 0.94,
|
||||
a: 1.0,
|
||||
),
|
||||
shade_color: Color(
|
||||
r: 0.11,
|
||||
g: 0.0,
|
||||
b: 0.11,
|
||||
a: 0.6,
|
||||
),
|
||||
text_color: Color(
|
||||
r: 1.0,
|
||||
g: 1.0,
|
||||
b: 1.0,
|
||||
a: 1.0,
|
||||
),
|
||||
mode_text_size: 50,
|
||||
font_family: "monospace",
|
||||
)
|
15
home/toph/common/optional/hyprland/services/gammastep.nix
Normal file
15
home/toph/common/optional/hyprland/services/gammastep.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
# Enable gammastep for night light
|
||||
services.gammastep = {
|
||||
enable = true;
|
||||
provider = "manual";
|
||||
latitude = 37.541290;
|
||||
longitude = -77.434769;
|
||||
settings = {
|
||||
general = {
|
||||
fade = 1;
|
||||
adjustment-method = "wayland";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue