Comments (9)
Hi @fmlatghor 👋
This theme only defines colors but no code at all. It makes use of the theming API provided by Alacritty to create themes via YAML definitions. The described behavior sounds like this is either a bug in Alacritty, but more like this is a desired effect that could be customized via configurations.
from alacritty.
Hi @fmlatghor wave
This theme only defines colors but no code at all. It makes use of the theming API provided by Alacritty to create themes via YAML definitions. The described behavior sounds like this is either a bug in Alacritty, but more like this is a desired effect that could be customized via configurations.
This happens exactly when I use this theme and only this theme, I don't really know what to tell you.
from alacritty.
I could try again to see if it happens, but eh, it might not change anything.
from alacritty.
Are you sure that it actually really requests the OS to set the active window to Alacritty or is it just the visual perception?
It might be that you think that it takes focus, but in fact it simply uses the dim
colors defined by the theme, including the dimmed foreground
color. As soon as the terminal window actually gets the focus again, or any process sends a signal to the terminal that implies a activation, the normal colors are rendered by Alacritty.
The dim
color were introduced in #12 with a preview of the visual style added as comment.
Normal
Dimmed
Could you also please post some details about your system, like the OS, to make it easier to identify the problem.
from alacritty.
Are you sure that it actually really requests the OS to set the active window to Alacritty or is it just the visual perception?
It might be that you think that it takes focus, but in fact it simply uses thedim
colors defined by the theme, including the dimmedforeground
color. As soon as the terminal window actually gets the focus again, or any process sends a signal to the terminal that implies a activation, the normal colors are rendered by Alacritty.The
dim
color were introduced in #12 with a preview of the visual style added as comment.Normal
Dimmed
Could you also please post some details about your system, like the OS, to make it easier to identify the problem.
No it does, when I run sleep 3 | tput bel
, the window pops up if I click on something else.
from alacritty.
Could you please post some details about your setup, like the OS you run, your shell and Alacritty version.
Also, if possible, a screen record would be nice to get a better inside into what the problem looks like. You can simply attach the video to a comment in this issue since GitHub finally shipped video upload and inline rendering support some weeks ago.
I've tried to reproduce the behavior, using sleep 3 | tput bel
as trigger command, but it works fine in multiple scenarios.
I use the currently latest Alacritty version 0.7.2
and switched to multiple color schemes from Alacritty's wiki, but none of them ever hijacked the OS window focus.
- With ZSH and Bash on Arch Linux using…
- With ZSH and Bash on macOS using…
To be true, I've no more idea other than referring to search again through the issues in the Alacritty repository and open a new one if it has not been reported yet and if you can reproduce the problem in a stable way.
from alacritty.
Could you please post some details about your setup, like the OS you run, your shell and Alacritty version.
I'll add this to the first comment.
Also, if possible, a screen record would be nice to get a better inside into what the problem looks like. You can simply attach the video to a comment in this issue since GitHub finally shipped video upload and inline rendering support some weeks ago.
Ok.
I've tried to reproduce the behavior, using
sleep 3 | tput bel
as trigger command, but it works fine in multiple scenarios.
I use the currently latest Alacritty version0.7.2
and switched to multiple color schemes from Alacritty's wiki, but none of them ever hijacked the OS window focus.* With _ZSH_ and _Bash_ on Arch Linux using… * [GNOME](https://www.gnome.org) as desktop environment with the default [Mutter](https://gitlab.gnome.org/GNOME/mutter) rendering engine. * [sway](https://github.com/swaywm/sway) as rendering engine and window manager. * [awesomeWM](https://github.com/awesomeWM/awesome) as window manager. * With _ZSH_ and _Bash_ on macOS using… * the native rendering engine. * [Rectangle](https://github.com/rxhanson/Rectangle) as window manager. * [yabai](https://github.com/koekeishiya/yabai) as window manager.
To be true, I've no more idea other than referring to search again through the issues in the Alacritty repository and open a new one if it has not been reported yet and if you can reproduce the problem in a stable way.
from alacritty.
It's not happening anymore. Looks like it was something in my config that was causing it. I will be less quick to open an issue next time.
from alacritty.
Nice to see that it works for you now 👍🏼
from alacritty.
Related Issues (20)
- main color scheme file
- Document installation via YAML anchors HOT 3
- CellForeground and CellBackground not recognized by alacritty HOT 2
- What is the "colors" script used to display the current pallette in the README HOT 3
- Can you specify in brief where is the file alacritty.yml located ?? HOT 2
- Terminal configuration in screenshot? HOT 2
- Missing variables
- GitHub Flow migration
- From `master` to `main`
- Warning of deprecation of bar attribute. HOT 2
- Light pallete HOT 4
- Migrate to MIT license
- Northern Post — The state and roadmap of Nord
- `nordtheme` organization migration
- Adapt remaining `arcticicestudio` "fade-out" changes
- Adapt remaining `arcticicestudio` "fade-out" changes
- Alacritty v0.12.3 says "Config warning: bar has been deprecated; use `colors.footer_bar` instead". HOT 3
- alacritty 0.13+ will use alacritty.toml for configuration instead of alacritty.yml HOT 1
- Nord Aurora theme is not present HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alacritty.