nixos-config/home-manager/wayland/wltools.nix

146 lines
2.9 KiB
Nix
Raw Normal View History

2023-10-27 15:19:07 -04:00
{ pkgs, config, ... }:
{
2024-02-09 18:27:44 -05:00
home.packages = with pkgs; [
wl-clipboard
wtype
wlroots
grim
slurp
imv
];
2023-10-27 15:19:07 -04:00
xdg.configFile = {
"swaynag/config".text = ''
font=JetBrainsMono 10
layer=top
[exit]
background=111320D0
text=a9b1d6
border-bottom=7BC5E4
border-bottom-size=1
button-background=282E49F0
button-border-size=2
'';
};
2024-05-14 01:39:50 -04:00
# Hyprlock
programs.hyprlock.enable = true;
programs.hyprlock.settings = {
general = {
hide_cursor = true;
disable_loading_bar = true;
grace = 180;
};
background = [
{
monitor = "";
path = "screenshot";
blur_passes = 2;
blur_size = 6;
}
];
input-field = [
{
monitor = "";
size = "500, 50";
position = "0, -80";
dots_center = true;
fade_on_empty = false;
font_color = "rgb(a9b1d6)";
inner_color = "rgb(1a1b26)";
outer_color = "rgb(b4f9f8)";
outline_thickness = 3;
placeholder_text = ''<span foreground="##565f89">Password</span>'';
shadow_passes = 2;
}
];
};
2023-10-27 15:19:07 -04:00
# Rofi
programs.rofi.enable = true;
programs.rofi.package = pkgs.rofi-wayland;
xdg.configFile.rofi.source = ./rofi;
2024-05-11 19:17:30 -04:00
# EWW
programs.eww.enable = true;
programs.eww.configDir = ./eww;
2023-10-27 15:19:07 -04:00
# Mako
services.mako = {
enable = true;
font = "JetBrainsMono Nerd Font 10";
format = ''<i>%a</i>\n<b>%s</b>\n\n%b'';
layer = "overlay";
backgroundColor = "#111320d0";
width = 300;
margin = "5";
padding = "5,10";
borderSize = 2;
borderColor = "#7bc5e4";
borderRadius = 5;
progressColor = "source #4e90ad";
2023-10-27 15:19:07 -04:00
extraConfig =
''
[urgency=low]
format=<i>%s</i>\n%b
background-color=#111111c0
border-color=#787c99
progress-color=source #474f6f
2023-10-27 15:19:07 -04:00
border-size=1
[urgency=high]
background-color=#1e0909d0
border-color=#ce7284
progress-color=source #bc5469
2024-06-13 16:29:23 -04:00
border-size=2
2023-10-27 15:19:07 -04:00
default-timeout=0
ignore-timeout=1
2023-10-27 15:19:07 -04:00
[app-name=discord]
format=<b>%s</b>\n\n%b
border-color=#7da6ff
[app-name=discordcanary]
format=<b>%s</b>\n\n%b
border-color=#7da6ff
[category=multimedia]
anchor=center
width=430
font=JetBrainsMono Nerd Font 13
format=<i>%s</i>
border-size=1
default-timeout=2000
2024-06-13 16:29:23 -04:00
[category=multimedia app-name=pamixer body=false]
background-color=#111111c0
border-color=#787c99
progress-color=source #474f6f
2024-06-13 16:29:23 -04:00
[category=multimedia app-name=pamixer body=true]
background-color=#111111c0
border-color=#ce7284
progress-color=source #bc5469
2024-02-13 15:13:31 -05:00
[category=multimedia app-name=brightnessctl]
background-color=#111111c0
border-color=#ffea63
progress-color=source #a08348
2023-10-27 15:19:07 -04:00
'';
};
}