clean up & hyprland experiments
- Cleaned up docs - removed hyprglass - added various ways to do scroll view
This commit is contained in:
1 parent
c304803fda
commit
3c86efa4ff
23 files changed
+443
-212
No files matched your search
@@ -0,0 +1,26 @@
|
||||
-- =========================
|
||||
-- ScrollOverview (niri-like overview)
|
||||
-- =========================
|
||||
-- ScrollOverview plugin: an overview just like niri's, based on the
|
||||
-- scroll-overview branch of hyprexpo. Docs:
|
||||
-- https://github.com/yayuuu/hyprland-scroll-overview
|
||||
|
||||
-- environment.systemPackages only puts libscrolloverview.so on disk -- Hyprland
|
||||
-- doesn't load plugins on its own. SCROLLOVERVIEW_SO is set in
|
||||
-- modules/nixos/desktop/tiler/hyprland.nix (sessionVariables) to the resolved
|
||||
-- store path, since that path changes on every flake update. Must run before
|
||||
-- anything below references plugin.scrolloverview config keys or
|
||||
-- hl.plugin.scrolloverview, both of which only exist once the plugin is loaded.
|
||||
hl.plugin.load(os.getenv("SCROLLOVERVIEW_SO"))
|
||||
|
||||
hl.config({
|
||||
plugin = {
|
||||
scrolloverview = {},
|
||||
},
|
||||
})
|
||||
|
||||
-- Toggle the overview with Mod+g (niri's toggle-overview lives on Mod+Tab in
|
||||
-- conf/keybindings.lua, which now calls into this plugin too).
|
||||
hl.bind("SUPER + g", function()
|
||||
hl.plugin.scrolloverview.overview("toggle all")
|
||||
end)
|
||||
Reference in new issue
Block a user