-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Describe the bug
A clear and concise description of what the bug is.
You can set the background_opacity 0.0 if you try to use a command like map kitty_mod+a>0 set_background_opacity 0.0 it will set it to 0.1
To Reproduce
Steps to reproduce the behavior:
- Enable and set
background_opacityto 0.0 - Add a command that sets the background opacity:
map kitty_mod+a>0 set_background_opacity 0.0
map kitty_mod+a>d set_background_opacity default
- Press key combination
- The terminal background changes( I expect to not or at least to not let me set the opacity to 0 from the first try)
Screenshots
Kitty just opened(with opacity 0):

Kitty after I press the combination of keys:

Environment details
kitty 0.33.1 created by Kovid Goyal
Linux Clockwork 6.6.31-1-MANJARO #1 SMP PREEMPT_DYNAMIC Sat May 18 01:27:42 UTC 2024 x86_64
Manjaro Linux 6.6.31-1-MANJARO (Clockwork) (/dev/tty)
DISTRIB_ID="ManjaroLinux"
DISTRIB_RELEASE="24.0.0"
DISTRIB_CODENAME="Wynsdey"
DISTRIB_DESCRIPTION="Manjaro Linux"
Running under: X11
Frozen: False
Paths:
kitty: /usr/bin/kitty
base dir: /usr/lib/kitty
extensions dir: /usr/lib/kitty/kitty
system shell: /usr/bin/zsh
Loaded config files:
/home/trial/.config/kitty/kitty_bug.conf
Config options different from defaults:
background_opacity 0
dynamic_background_opacity True
Changed shortcuts:
kitty_mod+a > m → set_background_opacity default, set_background_opacity 0.0, set_background_opacity 1, set_background_opacity -0.1, set_background_opacity +0.1
Important environment variables seen by the kitty process:
LANG en_US.utf8
EDITOR nvim
SHELL /usr/bin/zsh
DISPLAY :0
XDG_SEAT seat0
XDG_SESSION_DESKTOP awesome
XDG_SESSION_TYPE x11
XDG_SEAT_PATH /org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS user
XDG_VTNR 7
Additional context
Basic config used:
dynamic_background_opacity yes
background_opacity 0.0
map kitty_mod+a>d set_background_opacity 0.0
map kitty_mod+a>0 set_background_opacity default
Is there a reason that when dynamically setting the opacity the minimum is set to 0.1?