Compare commits
22
Commits
99c0cc2f61
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
edc791b7a4 | ||
|
|
0d08cbf1de | ||
|
|
22f89afae6 | ||
|
|
26c40af3ff | ||
|
|
5003dd72e4 | ||
|
|
8365865c5f | ||
|
|
9cf776dc77 | ||
|
|
36b470836a | ||
|
|
55e68543bf | ||
|
|
3d68e876fc | ||
|
|
c00351682a | ||
|
|
c7e3a8a515 | ||
|
|
7fbb446367 | ||
|
|
3df6e47175 | ||
|
|
21d1ef2e9d | ||
|
|
61b2b1d091 | ||
|
|
ad32aef557 | ||
|
|
84357d4f1f | ||
|
|
30d01e6676 | ||
|
|
bda40516cd | ||
|
|
f87dbfc02f | ||
|
|
f115bfb2e7 |
No files matched your search
@@ -13,6 +13,7 @@ The `config/` directory mirrors `$XDG_CONFIG_HOME`:
|
||||
```
|
||||
config/
|
||||
├── hypr/hyprland.lua # HyDE's user override layer (never overwritten by HyDE)
|
||||
├── hypr/.luarc.json # lua-language-server: silence "Undefined global hl" in Neovim
|
||||
├── kitty/kitty.conf # fully user-owned
|
||||
├── waybar/user-style.css # user layer; HyDE owns style.css/theme.css
|
||||
└── hyprlock/hyprlock.conf
|
||||
@@ -37,6 +38,32 @@ On the other machine: `git pull && ./apply.sh`.
|
||||
Only files that already exist in `config/` are collected/applied, so nothing
|
||||
gets tracked by accident.
|
||||
|
||||
## Hyprimate (window animation plugin)
|
||||
|
||||
The burger-menu animation picker also offers **Hyprimate** styles (Liquid, Paper,
|
||||
Cloth, Swarm, Bubble, Smoke, Burn, Construction) — a Hyprland plugin that animates
|
||||
windows as they open, move and close.
|
||||
|
||||
Tracked here:
|
||||
|
||||
- `config/hypr/lua/animations/hyprimate-*.lua` — one menu item per style (user layer).
|
||||
- `config/hyde/scripts/hyprimate-guard.sh` — auto-loads the plugin when a hyprimate
|
||||
style is current and switches it off when a native animation is selected.
|
||||
Hooked into `hyprland.lua` via `hl.exec_cmd`.
|
||||
- `config/hyde/scripts/rebuild-hyprimate.sh` — rebuild after a Hyprland update.
|
||||
|
||||
Setup on a new machine (the plugin binary itself is NOT tracked):
|
||||
|
||||
```bash
|
||||
git clone --depth 1 https://github.com/JustinBacher/hyprimate ~/.local/src/hyprimate
|
||||
cmake -B ~/.local/src/hyprimate/build -S ~/.local/src/hyprimate -G Ninja && ninja -C ~/.local/src/hyprimate/build
|
||||
hyprctl plugin load ~/.local/src/hyprimate/build/hyprimate.so
|
||||
```
|
||||
|
||||
Then pick a Hyprimate style in the animation menu; the guard handles loading on
|
||||
future boots. Note: hyprpm is an alternative installer, but it needs sudo for its
|
||||
state store in `/var/cache/hyprpm/`; the manual build above avoids that.
|
||||
|
||||
## Notes
|
||||
|
||||
- `hypr/hyprland.lua` is loaded by HyDE last as the override layer. See the
|
||||
|
||||
Executable
+36
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/env bash
|
||||
# Hyprimate guard — keep the hyprimate plugin off unless a hyprimate-* animation
|
||||
# is the current HyDE animation selection.
|
||||
#
|
||||
# HyDE's own animation items (classic, macos, ...) know nothing about the
|
||||
# plugin, so after switching back to a native animation hyprimate would keep
|
||||
# hijacking window open/close/movement. This script is invoked via hl.exec_cmd
|
||||
# from ~/.config/hypr/hyprland.lua on every config load.
|
||||
#
|
||||
# It MUST stay a separate process: calling hyprctl from inside Lua config
|
||||
# evaluation deadlocks the compositor (the IPC loop is busy loading the config).
|
||||
set -u
|
||||
|
||||
SO="$HOME/.local/src/hyprimate/build/hyprimate.so"
|
||||
staterc="${XDG_STATE_HOME:-$HOME/.local/state}/hyde/staterc"
|
||||
key=$(sed -n 's/^HYPR_ANIMATION="\{0,1\}\([^"]*\)"\{0,1\}$/\1/p' "$staterc" 2>/dev/null | tail -1)
|
||||
|
||||
# A hyprimate-* animation is selected: ensure the plugin is loaded. On cold
|
||||
# boot the animation item file sets plugin:* keys before the plugin exists, so
|
||||
# after loading we do one clean config-only reload: it clears the unknown-key
|
||||
# error banner and re-applies the style settings from the item file.
|
||||
if [[ "$key" == hyprimate* ]]; then
|
||||
[[ -f "$SO" ]] || exit 0
|
||||
if ! hyprctl plugins list 2>/dev/null | grep -q hyprimate; then
|
||||
hyprctl plugin load "$SO" >/dev/null 2>&1 || exit 0
|
||||
hyprctl reload config-only >/dev/null 2>&1
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# Plugin not loaded: touching plugin:hyprimate keys would raise unknown-key
|
||||
# errors, so nothing to do.
|
||||
hyprctl plugins list 2>/dev/null | grep -q hyprimate || exit 0
|
||||
|
||||
# Native animation is current and hyprimate is loaded: switch its effects off.
|
||||
hyprctl repl "hl.config{plugin={hyprimate={window={enabled=false},workspace={enabled=false}}}}" >/dev/null 2>&1
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# Rebuild hyprimate after a Hyprland update (plugins are ABI-locked to the
|
||||
# compositor version). Run this in a terminal after `pacman -Syu` bumps
|
||||
# hyprland, then restart Hyprland if the plugin was loaded.
|
||||
set -eu
|
||||
cd "$HOME/.local/src/hyprimate"
|
||||
git pull --ff-only
|
||||
cmake -B build -G Ninja
|
||||
ninja -C build
|
||||
# hot-swap if loaded
|
||||
if hyprctl plugins list 2>/dev/null | grep -q hyprimate; then
|
||||
hyprctl plugin unload "$PWD/build/hyprimate.so" >/dev/null 2>&1 || true
|
||||
hyprctl plugin load "$PWD/build/hyprimate.so" >/dev/null 2>&1 || true
|
||||
fi
|
||||
echo "hyprimate rebuilt: $(ls -la build/hyprimate.so)"
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"runtime.version": "Lua5.4",
|
||||
"diagnostics.globals": [
|
||||
"hl",
|
||||
"hyde",
|
||||
"__require",
|
||||
"vim"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
# Configuring hypridle
|
||||
# See: https://wiki.hypr.land/Hypr-Ecosystem/hypridle/
|
||||
#
|
||||
# hypridle.conf - Hypridle configuration for HyDE
|
||||
# Handles idle actions: dim, lock, DPMS, suspend, and custom listeners
|
||||
#
|
||||
# Listeners: Each listener block defines an idle timeout and actions to run
|
||||
#
|
||||
# For more info, see: https://wiki.hypr.land/Hypr-Ecosystem/hypridle/
|
||||
|
||||
#! ░▒▒▒░░░▓▓ ___________
|
||||
#! ░░▒▒▒░░░░░▓▓ //___________/
|
||||
#! ░░▒▒▒░░░░░▓▓ _ _ _ _ _____
|
||||
#! ░░▒▒░░░░░▓▓▓▓▓ | | | | | | | __/
|
||||
#! ░▒▒░░░░▓▓ ▓▓ | |_| | |_/ /| |___
|
||||
#! ░▒▒░░▓▓ ▓▓ \__ |____/ |____/
|
||||
#! ░▒▓▓ ▓▓ //____/
|
||||
|
||||
$LOCK_CMD = hyde-shell lockscreen.sh # Calls $LOCKSCREEN default is hyprlock
|
||||
$UNLOCK_CMD = sh -c 'sleep 3 && pkill -9 $(hyde-shell lockscreen --get)' # kills the lockscreen after 3 seconds for cleanup
|
||||
|
||||
general {
|
||||
lock_cmd = $LOCK_CMD # command when `loginctl lock-session` is called
|
||||
unlock_cmd = $UNLOCK_CMD # command when `loginctl unlock-session` is called
|
||||
ignore_dbus_inhibit = false # Ignore dbus idle-inhibit requests (false = respect them)
|
||||
ignore_systemd_inhibit = false # Ignore systemd-inhibit --what=idle (false = respect them)
|
||||
# before_sleep_cmd = # command ran before sleep
|
||||
# after_sleep_cmd = # notify-send "Awake!" # command ran after sleep
|
||||
}
|
||||
|
||||
# // --- Listener: Dim display after 60s idle ---
|
||||
listener {
|
||||
timeout = 60
|
||||
on-timeout = brightnessctl -s && brightnessctl s 1% # Save and set brightness to 1%
|
||||
on-resume = brightnessctl -r # Restore brightness on activity
|
||||
}
|
||||
|
||||
# // --- Listener: Lock after 120s idle ---
|
||||
# Locks the session before DPMS off, so the screen is not visible after wake
|
||||
listener {
|
||||
timeout = 120
|
||||
on-timeout = loginctl lock-session # Try system lock, fallback to $LOCKSCREEN
|
||||
}
|
||||
|
||||
# // --- Listener: DPMS off after 300s idle ---
|
||||
# Turns off display (but not if media is playing)
|
||||
# DISABLED: dpms-off while hyprlock is active crashes hyprlock/Hyprland
|
||||
# (https://github.com/hyprwm/hyprlock/issues/984). Monitor hardware
|
||||
# powersaving still turns the display off safely on its own.
|
||||
#listener {
|
||||
# timeout = 300
|
||||
# on-timeout = hyprctl dispatch dpms off # Turn off display
|
||||
# on-resume = hyprctl dispatch dpms on # Turn display back on
|
||||
#}
|
||||
|
||||
# // --- Listener: Suspend after 500s idle ---
|
||||
listener {
|
||||
timeout = 500
|
||||
on-timeout = systemctl suspend # Suspend system
|
||||
}
|
||||
|
||||
# // --- Custom listeners ---
|
||||
# hyprlang noerror true
|
||||
# Source any additional listener configs from this path (wildcard supported)
|
||||
# Note: 'source' command is not implemented yet in hyprlang, but left for future use
|
||||
source = ./hypridle/*
|
||||
# hyprlang noerror false
|
||||
@@ -45,32 +45,102 @@ end
|
||||
|
||||
-- Custom config
|
||||
|
||||
-- // █ █▄░█ █▀█ █░█ ▀█▀
|
||||
-- // █ █░▀█ █▀▀ █▄█ ░█░
|
||||
|
||||
-- DK layout
|
||||
hl.config({
|
||||
input = {
|
||||
kb_layout = "dk",
|
||||
},
|
||||
input = {
|
||||
kb_layout = "dk",
|
||||
},
|
||||
})
|
||||
|
||||
-- // █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀
|
||||
-- // █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█
|
||||
|
||||
-- Switch workspace left/right
|
||||
hl.bind("CONTROL + ALT + Right", hl.dsp.focus({ workspace = "r+1" }), {
|
||||
description = "[Workspaces] next workspace",
|
||||
description = "[Workspaces] next workspace",
|
||||
})
|
||||
hl.bind("CONTROL + ALT + Left", hl.dsp.focus({ workspace = "r-1" }), {
|
||||
description = "[Workspaces] previous workspace",
|
||||
description = "[Workspaces] previous workspace",
|
||||
})
|
||||
|
||||
-- Move focused window to workspace left/right
|
||||
hl.bind("SUPER + CONTROL + ALT + Right", hl.dsp.window.move({ workspace = "r+1" }), {
|
||||
description = "[Workspaces] move window to next workspace",
|
||||
description = "[Workspaces] move window to next workspace",
|
||||
})
|
||||
hl.bind("SUPER + CONTROL + ALT + Left", hl.dsp.window.move({ workspace = "r-1" }), {
|
||||
description = "[Workspaces] move window to previous workspace",
|
||||
description = "[Workspaces] move window to previous workspace",
|
||||
})
|
||||
|
||||
-- Terminal on SUPER + Return
|
||||
hl.bind("SUPER + Return", hl.dsp.exec_cmd("kitty"), {
|
||||
description = "[Launcher|Apps] terminal emulator",
|
||||
description = "[Launcher|Apps] terminal emulator",
|
||||
})
|
||||
|
||||
-- // █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█ █▀█ █░█ █░░ █▀▀ █▀
|
||||
-- // ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀ █▀▄ █▄█ █▄▄ ██▄ ▄█
|
||||
|
||||
-- Converted from the old userprefs.conf windowrules (hyprlang -> Lua).
|
||||
-- HyDE dims windows to 0.90 active / 0.75 inactive; `override` sets absolute
|
||||
-- values instead of multiplying, restoring full opacity for these apps.
|
||||
-- Values are active / inactive / fullscreen.
|
||||
|
||||
-- Opaque: browsers, readers, video
|
||||
-- firefox
|
||||
hl.window_rule({
|
||||
match = { class = "^(firefox)$" },
|
||||
opacity = "1.0 override 1.0 override 1.0 override",
|
||||
})
|
||||
|
||||
-- chrome specific / open sites as apps
|
||||
hl.window_rule({ match = { class = "^(google-chrome)$" }, opacity = "1.0 override 1.0 override 1.0 override" })
|
||||
hl.window_rule({
|
||||
match = { class = "^(chrome-www.twitch.tv__smugslav-Default)$" },
|
||||
opacity = "1.0 override 1.0 override 1.0 override",
|
||||
})
|
||||
hl.window_rule({
|
||||
match = { class = "^(chrome-www.twitch.tv__scrapie-Default)$" },
|
||||
opacity = "1.0 override 1.0 override 1.0 override",
|
||||
})
|
||||
hl.window_rule({
|
||||
match = { class = "^(chrome-mail.balticfinance.com__-Default)$" },
|
||||
opacity = "1.0 override 1.0 override 1.0 override",
|
||||
})
|
||||
hl.window_rule({
|
||||
match = { class = "^(chrome-jellyfin.obahan.xyz__-Default)$" },
|
||||
opacity = "1.0 override 1.0 override 1.0 override",
|
||||
})
|
||||
|
||||
-- pdf readers
|
||||
hl.window_rule({ match = { class = "^(org.pwmt.zathura)$" }, opacity = "1.0 override 1.0 override 1.0 override" })
|
||||
|
||||
-- mpv
|
||||
hl.window_rule({ match = { class = "^(mpv)$" }, opacity = "1.0 override 1.0 override 1.0 override" })
|
||||
|
||||
-- Slightly translucent chat window
|
||||
hl.window_rule({
|
||||
match = { class = "^(chrome-chat.obahan.xyz__-Default)$" },
|
||||
opacity = "0.9 override 0.9 override 1.0 override",
|
||||
})
|
||||
|
||||
-- // Hyprimate guard
|
||||
-- The hyprimate-* animation items in ~/.config/hypr/lua/animations/ enable the
|
||||
-- plugin themselves, but HyDE's native animation items know nothing about it.
|
||||
-- This runs a small script on every config load that switches hyprimate back
|
||||
-- off when a native animation is current. It must stay a separate process:
|
||||
-- calling hyprctl from inside Lua config evaluation deadlocks the compositor.
|
||||
hl.exec_cmd(os.getenv("HOME") .. "/.config/hyde/scripts/hyprimate-guard.sh")
|
||||
|
||||
-- // █▄░█ █▀▀ █ █▄░█ █▀▄ █▄▄ █ █▄░█ █▀▄
|
||||
-- // █░▀█ ██▄ █ █░▀█ █▄▀ █▄█ █ █░▀█ █▄▀
|
||||
-- HyDE's Lua migration retired monitors.conf (HyDE issue #1977), so monitor
|
||||
-- settings live in a per-machine file that is NOT tracked in this repo:
|
||||
-- ~/.config/hypr/monitors.lua. Desktop and laptop each keep their own.
|
||||
local monitors_file = os.getenv("HOME") .. "/.config/hypr/monitors.lua"
|
||||
local mon = io.open(monitors_file, "r")
|
||||
if mon then
|
||||
mon:close()
|
||||
dofile(monitors_file)
|
||||
end
|
||||
@@ -0,0 +1,114 @@
|
||||
#! █░█ █▄█ █▀█ █▀█ █░░ █▀█ █▀▀ █▄▀
|
||||
#! █▀█ ░█░ █▀▀ █▀▄ █▄▄ █▄█ █▄▄ █░█
|
||||
|
||||
#* Hyprlock Configuration File
|
||||
# Please do not edit this file manually.
|
||||
# Follow the instructions below on how to make changes.
|
||||
|
||||
|
||||
#* Hyprlock active layout path:
|
||||
# Set the layout path to be used by Hyprlock.
|
||||
# Check the available layouts in the './hyprlock/' directory.
|
||||
# Example: /=/path/to/anurati
|
||||
$LAYOUT_PATH=$HOME/.config/hypr/hyprlock/HyDE.conf
|
||||
|
||||
#* Persistent layout declaration
|
||||
# If a persistent layout path is declared in $XDG_CONFIG_HOME/hypr/hyde.conf,
|
||||
# the above layout setting will be ignored.
|
||||
# this should be the full path to the layout file.
|
||||
|
||||
#* All boilerplate configurations are handled by HyDE
|
||||
source = $HOME/.local/share/hypr/hyprlock.conf
|
||||
|
||||
#* Making a custom layout
|
||||
# To create a custom layout, make a file in the './hyprlock/' directory.
|
||||
# Example: './hyprlock/your_custom.conf'
|
||||
# To use the custom layout, set the following variable:
|
||||
# $LAYOUT_PATH=your_custom
|
||||
# The custom layout will be sourced automatically.
|
||||
# Alternatively, you can statically source the layout in '~/.config/hypr/hyde.conf'.
|
||||
# This will take precedence over the variable in '~/.config/hypr/hyprlock.conf'.
|
||||
|
||||
|
||||
#* Command Variables
|
||||
# Hyprlock ships with there default variables that can be used to customize the lock screen.
|
||||
# - https://wiki.hypr.land/Hypr-Ecosystem/hyprlock/#label
|
||||
# HyDE also provides custom variables that extend the functionality of Hyprlock.
|
||||
|
||||
# $BACKGROUND_PATH
|
||||
# - The path to the wallpaper image.
|
||||
|
||||
# $HYPRLOCK_BACKGROUND
|
||||
# - The path to the static hyprlock wallpaper image.
|
||||
# - Can be set to set a static wallpaper for Hyprlock.
|
||||
|
||||
# $MPRIS_IMAGE
|
||||
# - The path to the MPRIS image.
|
||||
# - If MPRIS is not available, it will show the ~/.face.icon image
|
||||
# - For .face.icon to work properly, the image must be in JPEG or PNG format.
|
||||
# - To check the file format use: file ~/.face.icon
|
||||
# - if available, otherwise, it will show the HyDE logo.
|
||||
|
||||
# $PROFILE_IMAGE
|
||||
# - The path to the profile image.
|
||||
# - If the image is not available, it will show the ~/.face.icon image
|
||||
# - For .face.icon to work properly, the image must be in JPEG or PNG format.
|
||||
# - To check the file format use: file ~/.face.icon
|
||||
# - if available, otherwise, it will show the HyDE logo.
|
||||
|
||||
# $GREET_TEXT
|
||||
# - A greeting text to be displayed on the lock screen.
|
||||
# - The text will be updated every hour.
|
||||
|
||||
# $resolve.font
|
||||
# - Resolves the font name and download link.
|
||||
# - HyDE will run 'font.sh resolve' to install the font for you.
|
||||
# - Note that you needed to have a network connection to download the font.
|
||||
# - You also need to restart Hyprlock to apply the font.
|
||||
|
||||
# cmd [update:1000] $MPRIS_TEXT
|
||||
# - Text from media players in "Title Author" format.
|
||||
|
||||
# cmd [update:1000] $MPRIS_TITLE
|
||||
# - The song title from media players.
|
||||
|
||||
# cmd [update:1000] $MPRIS_ARTIST
|
||||
# - The artist from media players.
|
||||
|
||||
# cmd [update:1000] $MPRIS_ALBUM
|
||||
# - The album from media players.
|
||||
|
||||
# cmd [update:1000] $MPRIS_LENGTH
|
||||
# - The track duration from media players.
|
||||
|
||||
# cmd [update:1000] $MPRIS_STATUS
|
||||
# - The player status (Playing or Paused).
|
||||
|
||||
# cmd [update:1000] $SPLASH_CMD
|
||||
# - Outputs the song title when MPRIS is available,
|
||||
# - otherwise, it will output the splash command.
|
||||
|
||||
# cmd [update:1] $CAVA_CMD
|
||||
# - The command to be executed to get the CAVA output.
|
||||
# - ⚠️ (Use with caution as it eats up the CPU.)
|
||||
|
||||
# cmd [update:5000] $BATTERY_ICON
|
||||
# - The battery icon to be displayed on the lock screen.
|
||||
# - Only works if the battery is available.
|
||||
|
||||
# cmd [update:5000] $BATTERY_PERCENT
|
||||
|
||||
# - The battery percentage.
|
||||
# - Only works if the battery is available.
|
||||
|
||||
# cmd [update:5000] $BATTERY_status
|
||||
# - The battery status (Charging, Discharging, Full).
|
||||
# - Only works if the battery is available.
|
||||
|
||||
# cmd [update:1000] $LOCATION
|
||||
# - The current city based on IP geolocation.
|
||||
|
||||
# $LAYOUT
|
||||
# - The current keyboard layout
|
||||
# - SUPER + K to change the keyboard layout (or any binding you set)
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
-- Hyprimate · Bubble — plugin-driven window animation.
|
||||
-- User-layer animation item: picked from the HyDE burger-menu / SUPER+SHIFT+Y.
|
||||
-- Requires the hyprimate plugin (hyprpm). The file is inert for the menu scan
|
||||
-- (no `hl`); it only applies settings when HyDE loads it as the current
|
||||
-- animation. The hyprimate guard in ~/.config/hypr/hyprland.lua switches the
|
||||
-- plugin off again when a native animation is selected.
|
||||
|
||||
local animation = {
|
||||
name = "Hyprimate · Bubble",
|
||||
icon = "",
|
||||
description = "Hyprimate: windows inflate a soap film, slosh and burst."
|
||||
}
|
||||
|
||||
if not hl then
|
||||
return animation
|
||||
end
|
||||
|
||||
hl.config({
|
||||
decoration = { wobble = { enabled = false } },
|
||||
plugin = {
|
||||
["hyprimate"] = {
|
||||
window = {
|
||||
enabled = true,
|
||||
style = "bubble",
|
||||
open = { enabled = true },
|
||||
close = { enabled = true },
|
||||
movement = { enabled = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -0,0 +1,31 @@
|
||||
-- Hyprimate · Burn — plugin-driven window animation.
|
||||
-- User-layer animation item: picked from the HyDE burger-menu / SUPER+SHIFT+Y.
|
||||
-- Requires the hyprimate plugin (hyprpm). The file is inert for the menu scan
|
||||
-- (no `hl`); it only applies settings when HyDE loads it as the current
|
||||
-- animation. The hyprimate guard in ~/.config/hypr/hyprland.lua switches the
|
||||
-- plugin off again when a native animation is selected.
|
||||
|
||||
local animation = {
|
||||
name = "Hyprimate · Burn",
|
||||
icon = "",
|
||||
description = "Hyprimate: windows burn in with embers and scorch out."
|
||||
}
|
||||
|
||||
if not hl then
|
||||
return animation
|
||||
end
|
||||
|
||||
hl.config({
|
||||
decoration = { wobble = { enabled = false } },
|
||||
plugin = {
|
||||
["hyprimate"] = {
|
||||
window = {
|
||||
enabled = true,
|
||||
style = "burn",
|
||||
open = { enabled = true },
|
||||
close = { enabled = true },
|
||||
movement = { enabled = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -0,0 +1,31 @@
|
||||
-- Hyprimate · Cloth — plugin-driven window animation.
|
||||
-- User-layer animation item: picked from the HyDE burger-menu / SUPER+SHIFT+Y.
|
||||
-- Requires the hyprimate plugin (hyprpm). The file is inert for the menu scan
|
||||
-- (no `hl`); it only applies settings when HyDE loads it as the current
|
||||
-- animation. The hyprimate guard in ~/.config/hypr/hyprland.lua switches the
|
||||
-- plugin off again when a native animation is selected.
|
||||
|
||||
local animation = {
|
||||
name = "Hyprimate · Cloth",
|
||||
icon = "",
|
||||
description = "Hyprimate: windows drape and fold like a curtain."
|
||||
}
|
||||
|
||||
if not hl then
|
||||
return animation
|
||||
end
|
||||
|
||||
hl.config({
|
||||
decoration = { wobble = { enabled = false } },
|
||||
plugin = {
|
||||
["hyprimate"] = {
|
||||
window = {
|
||||
enabled = true,
|
||||
style = "cloth",
|
||||
open = { enabled = true },
|
||||
close = { enabled = true },
|
||||
movement = { enabled = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -0,0 +1,31 @@
|
||||
-- Hyprimate · Construction — plugin-driven window animation.
|
||||
-- User-layer animation item: picked from the HyDE burger-menu / SUPER+SHIFT+Y.
|
||||
-- Requires the hyprimate plugin (hyprpm). The file is inert for the menu scan
|
||||
-- (no `hl`); it only applies settings when HyDE loads it as the current
|
||||
-- animation. The hyprimate guard in ~/.config/hypr/hyprland.lua switches the
|
||||
-- plugin off again when a native animation is selected.
|
||||
|
||||
local animation = {
|
||||
name = "Hyprimate · Construction",
|
||||
icon = "",
|
||||
description = "Hyprimate: miniature workers build and implode the window."
|
||||
}
|
||||
|
||||
if not hl then
|
||||
return animation
|
||||
end
|
||||
|
||||
hl.config({
|
||||
decoration = { wobble = { enabled = false } },
|
||||
plugin = {
|
||||
["hyprimate"] = {
|
||||
window = {
|
||||
enabled = true,
|
||||
style = "construction",
|
||||
open = { enabled = true },
|
||||
close = { enabled = true },
|
||||
movement = { enabled = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -0,0 +1,31 @@
|
||||
-- Hyprimate · Liquid — plugin-driven window animation.
|
||||
-- User-layer animation item: picked from the HyDE burger-menu / SUPER+SHIFT+Y.
|
||||
-- Requires the hyprimate plugin (hyprpm). The file is inert for the menu scan
|
||||
-- (no `hl`); it only applies settings when HyDE loads it as the current
|
||||
-- animation. The hyprimate guard in ~/.config/hypr/hyprland.lua switches the
|
||||
-- plugin off again when a native animation is selected.
|
||||
|
||||
local animation = {
|
||||
name = "Hyprimate · Liquid",
|
||||
icon = "",
|
||||
description = "Hyprimate: windows flow and stretch like liquid."
|
||||
}
|
||||
|
||||
if not hl then
|
||||
return animation
|
||||
end
|
||||
|
||||
hl.config({
|
||||
decoration = { wobble = { enabled = false } },
|
||||
plugin = {
|
||||
["hyprimate"] = {
|
||||
window = {
|
||||
enabled = true,
|
||||
style = "liquid",
|
||||
open = { enabled = true },
|
||||
close = { enabled = true },
|
||||
movement = { enabled = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -0,0 +1,31 @@
|
||||
-- Hyprimate · Paper — plugin-driven window animation.
|
||||
-- User-layer animation item: picked from the HyDE burger-menu / SUPER+SHIFT+Y.
|
||||
-- Requires the hyprimate plugin (hyprpm). The file is inert for the menu scan
|
||||
-- (no `hl`); it only applies settings when HyDE loads it as the current
|
||||
-- animation. The hyprimate guard in ~/.config/hypr/hyprland.lua switches the
|
||||
-- plugin off again when a native animation is selected.
|
||||
|
||||
local animation = {
|
||||
name = "Hyprimate · Paper",
|
||||
icon = "",
|
||||
description = "Hyprimate: windows crumple and unfold like paper."
|
||||
}
|
||||
|
||||
if not hl then
|
||||
return animation
|
||||
end
|
||||
|
||||
hl.config({
|
||||
decoration = { wobble = { enabled = false } },
|
||||
plugin = {
|
||||
["hyprimate"] = {
|
||||
window = {
|
||||
enabled = true,
|
||||
style = "paper",
|
||||
open = { enabled = true },
|
||||
close = { enabled = true },
|
||||
movement = { enabled = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -0,0 +1,31 @@
|
||||
-- Hyprimate · Smoke — plugin-driven window animation.
|
||||
-- User-layer animation item: picked from the HyDE burger-menu / SUPER+SHIFT+Y.
|
||||
-- Requires the hyprimate plugin (hyprpm). The file is inert for the menu scan
|
||||
-- (no `hl`); it only applies settings when HyDE loads it as the current
|
||||
-- animation. The hyprimate guard in ~/.config/hypr/hyprland.lua switches the
|
||||
-- plugin off again when a native animation is selected.
|
||||
|
||||
local animation = {
|
||||
name = "Hyprimate · Smoke",
|
||||
icon = "",
|
||||
description = "Hyprimate: windows unravel into smoke and reform."
|
||||
}
|
||||
|
||||
if not hl then
|
||||
return animation
|
||||
end
|
||||
|
||||
hl.config({
|
||||
decoration = { wobble = { enabled = false } },
|
||||
plugin = {
|
||||
["hyprimate"] = {
|
||||
window = {
|
||||
enabled = true,
|
||||
style = "smoke",
|
||||
open = { enabled = true },
|
||||
close = { enabled = true },
|
||||
movement = { enabled = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -0,0 +1,31 @@
|
||||
-- Hyprimate · Swarm — plugin-driven window animation.
|
||||
-- User-layer animation item: picked from the HyDE burger-menu / SUPER+SHIFT+Y.
|
||||
-- Requires the hyprimate plugin (hyprpm). The file is inert for the menu scan
|
||||
-- (no `hl`); it only applies settings when HyDE loads it as the current
|
||||
-- animation. The hyprimate guard in ~/.config/hypr/hyprland.lua switches the
|
||||
-- plugin off again when a native animation is selected.
|
||||
|
||||
local animation = {
|
||||
name = "Hyprimate · Swarm",
|
||||
icon = "",
|
||||
description = "Hyprimate: windows scatter into creatures and regroup."
|
||||
}
|
||||
|
||||
if not hl then
|
||||
return animation
|
||||
end
|
||||
|
||||
hl.config({
|
||||
decoration = { wobble = { enabled = false } },
|
||||
plugin = {
|
||||
["hyprimate"] = {
|
||||
window = {
|
||||
enabled = true,
|
||||
style = "swarm",
|
||||
open = { enabled = true },
|
||||
close = { enabled = true },
|
||||
movement = { enabled = true },
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -1,2 +0,0 @@
|
||||
# Placeholder: run ./collect.sh on a machine with the real file to fill this in.
|
||||
# If you don't use a custom hyprlock config, delete this file from the repo.
|
||||
@@ -18,3 +18,8 @@ window_padding_width 10
|
||||
# repaint_delay 2
|
||||
# sync_to_monitor no
|
||||
# wayland_enable_ime no
|
||||
|
||||
# Fix: kitty >=0.49 restores maximized state via remember_window_size,
|
||||
# which Hyprland reports for tiled windows -> every new window opens maximized.
|
||||
# https://github.com/kovidgoyal/kitty/issues/10442
|
||||
remember_window_size no
|
||||
@@ -0,0 +1 @@
|
||||
add_newline = false
|
||||
@@ -0,0 +1,32 @@
|
||||
# Startup
|
||||
# Commands to execute on startup (before the prompt is shown)
|
||||
# Check if the interactive shell option is set
|
||||
if [[ $- == *i* ]]; then
|
||||
# This is a good place to load graphic/ascii art, display system information, etc.
|
||||
if command -v pokego >/dev/null; then
|
||||
pokego --no-title -r 1,3,6
|
||||
elif command -v pokemon-colorscripts >/dev/null; then
|
||||
pokemon-colorscripts --no-title -r 1,3,6
|
||||
elif command -v fastfetch >/dev/null; then
|
||||
if do_render "image"; then
|
||||
fastfetch --logo-type kitty
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Overrides
|
||||
# HYDE_ZSH_NO_PLUGINS=1 # Set to 1 to disable loading of oh-my-zsh plugins, useful if you want to use your zsh plugins system
|
||||
# unset HYDE_ZSH_PROMPT # Uncomment to unset/disable loading of prompts from HyDE and let you load your own prompts
|
||||
# HYDE_ZSH_COMPINIT_CHECK=1 # Set 24 (hours) per compinit security check // lessens startup time
|
||||
# HYDE_ZSH_OMZ_DEFER=1 # Set to 1 to defer loading of oh-my-zsh plugins ONLY if prompt is already loaded
|
||||
|
||||
if [[ ${HYDE_ZSH_NO_PLUGINS} != "1" ]]; then
|
||||
# OMZ Plugins
|
||||
# manually add your oh-my-zsh plugins here
|
||||
plugins=(
|
||||
"sudo"
|
||||
)
|
||||
fi
|
||||
|
||||
|
||||
alias passgen='openssl rand -hex 32'
|
||||
Reference in new issue
Block a user