format
This commit is contained in:
parent
12d10c96fa
commit
7cd4ca313c
|
@ -101,8 +101,10 @@ in
|
|||
"Print" = ''exec ${pkgs.writeScript "bad-screenshot" ''
|
||||
grim -g "$(swaymsg -t get_tree | jq -r '.. | .nodes? | .[]? | . as $parent | .nodes[] | select(.pid? and .visible?) | "\($parent.rect.x + .deco_rect.x),\($parent.rect.y + .deco_rect.y) \(.rect.width)x\(.rect.height + .deco_rect.height)"' | slurp -r -o)" "$(xdg-user-dir PICTURES)/Screenshot/$(date +'%F %H-%M-%S-%N_screenshot.png')"
|
||||
''}'';
|
||||
"Shift+Print" = ''exec grim -g "$(slurp -d)" "$(xdg-user-dir PICTURES)/Screenshot/$(date +'%F %H-%M-%S-%N_screenshot.png')"'';
|
||||
"Mod1+Print" = ''exec grim "$(xdg-user-dir PICTURES)/Screenshot/$(date +'%F %H-%M-%S-%N_screenshot.png')"'';
|
||||
"Shift+Print" =
|
||||
''exec grim -g "$(slurp -d)" "$(xdg-user-dir PICTURES)/Screenshot/$(date +'%F %H-%M-%S-%N_screenshot.png')"'';
|
||||
"Mod1+Print" =
|
||||
''exec grim "$(xdg-user-dir PICTURES)/Screenshot/$(date +'%F %H-%M-%S-%N_screenshot.png')"'';
|
||||
}
|
||||
// extraGotoBindings
|
||||
// extraMoveBindings
|
||||
|
|
|
@ -91,7 +91,8 @@ in
|
|||
programs.kitty = {
|
||||
enable = true;
|
||||
inherit font;
|
||||
settings = {
|
||||
settings =
|
||||
{
|
||||
update_check_interval = 0;
|
||||
close_on_child_death = true;
|
||||
confirm_os_window_close = 2;
|
||||
|
@ -100,7 +101,9 @@ in
|
|||
scrollback_lines = 32768;
|
||||
touch_scroll_multiplier = 4;
|
||||
term = "kitty";
|
||||
} // (numberedColors "color" "#" 0 colors.normal) // (numberedColors "color" "#" 8 colors.bright);
|
||||
}
|
||||
// (numberedColors "color" "#" 0 colors.normal)
|
||||
// (numberedColors "color" "#" 8 colors.bright);
|
||||
extraConfig = ''
|
||||
symbol_map U+e000-U+f8ff,U+f0000-U+f2000 Symbols Nerd Font Mono
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue