Skip to content
This repository was archived by the owner on Jan 25, 2026. It is now read-only.

devadathanmb/hyprland-smart-borders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Hyprland smart borders (aka dynamic borders)

A bash script to enable dynamic borders (aka smart borders) in hyprland using hyprland-ipc. Handles almost all the cases which I could think of.

Warning

This repository has been archived and is no longer maintained. Hyprland now natively supports dynamic borders through window rules, making this script obsolete.

For configuration instructions, please refer to Issue #2


Note

This does what could be done via scripting mentioned here.

See the demo to see how it works.

recording.mp4

Dependencies

  1. socat : For communicating with hyprland ipc instance
  2. jq : For parsing hyprctl response

Example usage

  1. Download the script using
wget https://raw.githubusercontent.com/devadathanmb/hyprland-dynamic-borders/main/dynamic-borders.sh
  1. Make sure the script is executable and move it to the preferred location
chmod a+x ./dynamic-borders.sh
mkdir -p ~/.local/bin
mv ./dynamic-borders.sh ~/.local/bin
  1. Put the script to your auto start section in ~/.config/hyprland.conf
exec-once = ~/.local/bin/dynamic-borders.sh
  1. Enjoy smart borders!

About

A pure bash script using hyprland-ipc to enable smart borders (dynamic borders) in Hyprland

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages