hyprland overview mode plugin,a new tile window workflow
hyprland overview mode plugin,a new tile window workflow
A Hyprland overview mode plugin, a new tiling WM workflow.
[!NOTE] This repository only maintains the hyprland version corresponding to each hycov release, please do not bring up the issue of non-release versions, because I do not have enough time to track every commit.
Hycov can tile all of your windows in a single workspace via grid layout.
After quitting the overview mode, hycov can perfectly recover a window's previous state (fullscreen, floating, size, positon, etc.)
Hycov supports a variety of trigger methods, such as touch pad gestures, hot corners, and keyboard shortcuts.
Supports multiple monitors.
You can change the way that Hycov focuses a window, whether directional or cyclical. (single-shortcut)
https://github.com/DreamMaoMao/hycov/assets/30348075/59121362-21a8-4143-be95-72ce79ee8e95
Anyone is welcome to fork. If you end up improving the plugin, please let me know, and I'll be happy to use your fork.
[!NOTE]
- After Hycov is installed, you will need to logout, then log back in. This may happen automatically, but do not worry. This behaviour is normal.
- Only supports hyprland source code after 2023-10-22, because the plugin requires this commit in hyprland.
- Each release of hycov corresponds to each release of hyprland. If you are using a release version of hycov, but you are using the latest hyprland-git, this may not be available.
git clone https://github.com/DreamMaoMao/hycov.git
cd hycov
sudo meson setup build --prefix=/usr
sudo ninja -C build
sudo ninja -C build install # `libhycov.so` path: /usr/lib/libhycov.sogit clone https://github.com/DreamMaoMao/hycov.git
cd hycov
bash install.sh # `libhycov.so` path: /usr/lib/libhycov.sohyprpm update
hyprpm add https://github.com/DreamMaoMao/hycov
hyprpm enable hycov…auto_fullscreen=1 is set, you can also set the border color to mark the maximize state and bind key to control fullscreen maximize state.windowrulev2 = bordercolor rgb(158833),fullscreen:1 # set bordercolor to green if window is fullscreen maximize
# toggle fullscreen maximize
bind = ALT,a,fullscreen,1detail video
https://github.com/DreamMaoMao/hycov/assets/30348075/15ba36c2-1782-4ae0-8ac1-d0ca98e01e0f
hyprland/workspaces module in waybar,you should change field {id} to {name}. It will let you know you are in overview mode."hyprland/workspaces": {
"format": "{name}",
"on-click":"activate",
},detail picture
enable_alt_release_exit = 1
alt_toggle_auto_next = 0 # auto focus next window when enter overview in alt mode
# alt_replace_key = Alt_L # If your MainKey of toggleoverview is ALt, you can ignore itsuch as alt + tab:
1.alt + tab will enter overview when you not in overview(please hold alt,don't make it release)
2.alt + tab will switch window focus circularly when you in overview. (please hold alt,don't make it release)
3.when you release alt , it will auto exit overview.
If you don't want to use alt as MainKey in alt mode
such as use super to repalce alt
bind = SUPER,tab,hycov:toggleoverviewalt_replace_key to specify what is the detection key on release.# use keyname
alt_replace_key = Super_L # Alt_L,Alt_R,Super_L,Super_R,Control_L,Control_R,Shift_L,Shift_R
# use keycode
alt_replace_key = code:133 # use `xev` command to get keycode…if you use install hycov at first time,please try logout and relogin again.1.Please pull the latest waybar source code compilation,
this issue has been fixed in the waybar project, fix date (2023-10-27)
2.Change the {id} field in hyprland/workspace field to {name}Please pull the latest hyprland source code to compile and install.
The plugin relies on a hyprland pr,pr submission date (2023-10-21)Check whether hyprland has been updated,
and if so, please recompile hyprcovNo such file or directory #include #step1
yay -R hyprland-git wlroots-git
#step2
sudo rm -rf /usr/include/hyprland
sudo rm -rf /usr/include/wlr
sudo rm -rf/usr/local/include/hyprland
sudo rm -rf /usr/local/include/wlr
#step3
yay -S wlroots-git hyprland-githycov + hyprland-easymotion
https://github.com/DreamMaoMao/hycov/assets/30348075/486b08f1-be0d-4647-90a3-2029961402cd
bind = ALT,tab, exec, ~/.config/hypr/scripts/hycov-easymotion.sh
submap=__easymotionsubmap__
bind = ALT, Tab, exec, ~/.config/hypr/scripts/hycov-easymotion.sh
submap=reset#!/bin/bash
workspace_name=$(hyprctl -j activeworkspace | jq -r '.name')
if [ "$workspace_name" = "OVERVIEW" ]; then
hyprctl dispatch hycov:leaveoverview
else
hyprctl dispatch hycov:enteroverview
hyprctl dispatch 'easymotion action:hyprctl --batch "dispatch focuswindow address:{} ; dispatch hycov:leaveoverview"'
fiNo open issues yet, or sync has not completed.