Skip to content

Conversation

@lava1879
Copy link

  • add "Automatically make borderless" checkbox for selected windows
  • persist auto-borderless app list in config (ihateborders_config.json)
  • add settings window with option to run ihateborders on windows startup
  • add option to launch at startup with administrator privileges (using scheduled task with highest privileges)
  • fix ui refresh issues: button text and auto-checkbox now update instantly
  • improve overall responsiveness and visual feedback

related issue: #2

- add "Automatically make borderless" checkbox for selected windows
- persist auto-borderless app list in config (ihateborders_config.json)
- add settings window with option to run ihateborders on windows startup
- add option to launch at startup with administrator privileges (using scheduled task with highest privileges)
- fix ui refresh issues: button text and auto-checkbox now update instantly
- improve overall responsiveness and visual feedback
@lava1879
Copy link
Author

image

@Z1xus Z1xus linked an issue Dec 21, 2025 that may be closed by this pull request
@Z1xus Z1xus added the enhancement New feature or request label Dec 21, 2025
@Z1xus
Copy link
Owner

Z1xus commented Dec 25, 2025

hi, thank you for contributing! this looks like a good start for auto-borderless. i have a few thoughts on how we can polish this up:

  • config format: could we switch the config from json to toml? it feels a bit more at home in the rust ecosystem and also has better readability
  • tray support: since we're adding auto-borderless, it would be awesome if the app could hide to the system tray. otherwise, it stays in the taskbar which defeats the purpose of having it a bit. we could use https://crates.io/crates/tray-icon, it's maintained by tauri

@lava1879
Copy link
Author

hi,

i've already implemented tray-icon, but i was having issues with launching it minimized, im also not a huge fan of the way I've made the app start on login using a scheduled task, which i plan to change.

i'll look into your config suggestion, and see what i can do.

let windows = self.window_manager.get_windows().to_vec();

for window in windows.iter() {
if self.config.is_auto_borderless(&window.process_name)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you think we could use the full executable path instead? it would help avoid issues if two different apps happen to have the same name

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure

@Z1xus
Copy link
Owner

Z1xus commented Dec 25, 2025

i noticed the chosen display isn't being saved in the config. for automation to really work, we should probably store which monitor each app belongs to so it doesn't just default to display 0 on every restart

@lava1879
Copy link
Author

i noticed the chosen display isn't being saved in the config. for automation to really work, we should probably store which monitor each app belongs to so it doesn't just default to display 0 on every restart

i'll work on that. for now, here's a small sneek peek of tray-icon, the icon is a bit blurry (i used icon.ico under assets) so that probably needs a bit of work. i'm considering removing the top text that says ihateborders, what do you think?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

auto borderless

2 participants