mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 12:10:45 +02:00
move stuff around
This commit is contained in:
42
modules/gui/kitty.nix
Normal file
42
modules/gui/kitty.nix
Normal file
@@ -0,0 +1,42 @@
|
||||
{ lib, isNixOS, ... }:
|
||||
|
||||
{
|
||||
programs.kitty = {
|
||||
enable = true;
|
||||
package = lib.mkIf (!isNixOS) null;
|
||||
settings = {
|
||||
confirm_os_window_close = 0;
|
||||
dynamic_background_opacity = true;
|
||||
enable_audio_bell = false;
|
||||
mouse_hide_wait = "-1.0";
|
||||
window_padding_width = 10;
|
||||
background_opacity = "0.5";
|
||||
font_size = 14;
|
||||
background_blur = 5;
|
||||
symbol_map =
|
||||
let
|
||||
mappings = [
|
||||
"U+23FB-U+23FE"
|
||||
"U+2B58"
|
||||
"U+E200-U+E2A9"
|
||||
"U+E0A0-U+E0A3"
|
||||
"U+E0B0-U+E0BF"
|
||||
"U+E0C0-U+E0C8"
|
||||
"U+E0CC-U+E0CF"
|
||||
"U+E0D0-U+E0D2"
|
||||
"U+E0D4"
|
||||
"U+E700-U+E7C5"
|
||||
"U+F000-U+F2E0"
|
||||
"U+2665"
|
||||
"U+26A1"
|
||||
"U+F400-U+F4A8"
|
||||
"U+F67C"
|
||||
"U+E000-U+E00A"
|
||||
"U+F300-U+F313"
|
||||
"U+E5FA-U+E62B"
|
||||
];
|
||||
in
|
||||
(builtins.concatStringsSep "," mappings) + " Symbols Nerd Font";
|
||||
};
|
||||
};
|
||||
}
|
||||
49
modules/gui/mako.nix
Normal file
49
modules/gui/mako.nix
Normal file
@@ -0,0 +1,49 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
services.mako = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
max-history = 15;
|
||||
default-timeout = 5000;
|
||||
anchor = "top-right";
|
||||
max-visible = 5;
|
||||
width = 320;
|
||||
height = 300;
|
||||
margin = "25,25,10,10";
|
||||
padding = 10;
|
||||
font = "Cousine Nerd Font mono";
|
||||
border-radius = 15;
|
||||
background-color = "#1e1e2e";
|
||||
text-color = "#cdd6f4";
|
||||
border-color = "#89b4fa";
|
||||
progress-color = "over #313244";
|
||||
output = "DP-1";
|
||||
on-notify = "exec paplay /usr/share/sounds/freedesktop/stereo/dialog-information.oga";
|
||||
};
|
||||
|
||||
extraConfig = ''
|
||||
[urgency=high]
|
||||
border-color=#fe640b
|
||||
|
||||
[urgency=low]
|
||||
border-color=#FF6347
|
||||
|
||||
[urgency=critical]
|
||||
on-notify=exec paplay /usr/share/sounds/freedesktop/stereo/window-attention.oga
|
||||
border-color=#FF0000
|
||||
|
||||
[mode=do-not-disturb]
|
||||
invisible=1
|
||||
on-notify=none
|
||||
|
||||
[app-name=wp-vol]
|
||||
layer=overlay
|
||||
history=0
|
||||
anchor=center
|
||||
group-by=app-name
|
||||
format=<b>%s</b>\n%b
|
||||
'';
|
||||
};
|
||||
}
|
||||
47
modules/gui/satty.nix
Normal file
47
modules/gui/satty.nix
Normal file
@@ -0,0 +1,47 @@
|
||||
{
|
||||
lib,
|
||||
isNixOS,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
programs.satty = {
|
||||
enable = true;
|
||||
package = lib.mkIf (!isNixOS) null;
|
||||
settings = {
|
||||
general = {
|
||||
fullscreen = true;
|
||||
early-exit = true;
|
||||
initial-tool = "crop";
|
||||
output-filename = "/home/${username}/Obrazy/zrzuty/%d-%m-%Y_%H:%M:%S.png";
|
||||
save-after-copy = true;
|
||||
copy-command = "wl-copy";
|
||||
disable-notifications = false;
|
||||
actions-on-escape = [ "exit" ];
|
||||
actions-on-enter = [ "save-to-clipboard" ];
|
||||
no-window-decoration = true;
|
||||
};
|
||||
|
||||
color-palette = {
|
||||
palette = [
|
||||
"#00ffff"
|
||||
"#a52a2a"
|
||||
"#dc143c"
|
||||
"#ff1493"
|
||||
"#ffd700"
|
||||
"#008000"
|
||||
];
|
||||
|
||||
custom = [
|
||||
"#00ffff"
|
||||
"#a52a2a"
|
||||
"#dc143c"
|
||||
"#ff1493"
|
||||
"#ffd700"
|
||||
"#008000"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user