Skip to content

Instantly share code, notes, and snippets.

View theRealCarneiro's full-sized avatar

Gabriel Carneiro theRealCarneiro

View GitHub Profile
@theRealCarneiro
theRealCarneiro / chrome-app.md
Created April 13, 2024 00:50
Borderless Independent Chrome App Shortcuts as Nativefier alternative in Hyprland

Configuration Overview

  • Chrome-based browsers tend to open new windows within an existing instance, unless Chrome operates using a different data directory.
  • To eliminate the toolbar, just set Chrome to open in kiosk mode; however, this action defaults to fullscreen. To address this we add a fakefullscreen and a tile rule in Hyprland.
  • Additionally, assigning a specific class allows us to apply this rule universally, rather than configuring it for each application individually.

Data dir directory

I manage this by setting up a directory specifically for the Chrome apps' data, which I typically locate at ~/.local/share/chrome-apps. CREATE the directory before running the commands