dots: public mirror (history reset after licence cleanup)
This commit is contained in:
commit
693822ad5f
226 files changed
+22502
No files matched your search
@@ -0,0 +1,50 @@
|
||||
[general]
|
||||
import = ["theme.toml"]
|
||||
|
||||
[window]
|
||||
|
||||
opacity = 0.7
|
||||
|
||||
padding.x = 25
|
||||
padding.y = 25
|
||||
|
||||
decorations = "Full"
|
||||
decorations_theme_variant = "Dark"
|
||||
|
||||
[font]
|
||||
size = 12.0
|
||||
|
||||
[font.bold]
|
||||
family = "CaskaydiaCove Nerd Font Mono"
|
||||
style = "Bold"
|
||||
|
||||
[font.bold_italic]
|
||||
family = "CaskaydiaCove Nerd Font Mono"
|
||||
style = "Bold Italic"
|
||||
|
||||
[font.italic]
|
||||
family = "CaskaydiaCove Nerd Font Mono"
|
||||
style = "Italic"
|
||||
|
||||
[font.normal]
|
||||
family = "CaskaydiaCove Nerd Font Mono"
|
||||
style = "Regular"
|
||||
# family = "Source Code Pro"
|
||||
# family = "Liberation Mono"
|
||||
|
||||
[cursor]
|
||||
blink_interval = 400
|
||||
blink_timeout = 15
|
||||
|
||||
[cursor.style]
|
||||
shape = "Block"
|
||||
blinking = "On"
|
||||
|
||||
[keyboard]
|
||||
|
||||
bindings = [
|
||||
{ key = "J", mods = "Control|Shift", action = "ScrollLineDown" },
|
||||
{ key = "K", mods = "Control|Shift", action = "ScrollLineUp" },
|
||||
{ key = "D", mods = "Control|Shift", action = "ScrollPageDown" },
|
||||
{ key = "U", mods = "Control|Shift", action = "ScrollPageUp" },
|
||||
]
|
||||
@@ -0,0 +1,34 @@
|
||||
# Colours from Robb Owen's SynthWave '84 palette, arranged for this repo (yellow and magenta
|
||||
# swapped). Background/foreground match kitty.conf's own colours.
|
||||
|
||||
[colors.primary]
|
||||
background = "#262335"
|
||||
foreground = "#ffffff"
|
||||
|
||||
[colors.cursor]
|
||||
text = "#262335"
|
||||
cursor = "#f97e72"
|
||||
|
||||
[colors.selection]
|
||||
text = "#262335"
|
||||
background = "#f97e72"
|
||||
|
||||
[colors.normal]
|
||||
black = "#232530"
|
||||
red = "#fe4450"
|
||||
green = "#72f1b8"
|
||||
yellow = "#ff7edb"
|
||||
blue = "#03edf9"
|
||||
magenta = "#fede5d"
|
||||
cyan = "#03edf9"
|
||||
white = "#ffffff"
|
||||
|
||||
[colors.bright]
|
||||
black = "#232530"
|
||||
red = "#fe4450"
|
||||
green = "#72f1b8"
|
||||
yellow = "#ff7edb"
|
||||
blue = "#03edf9"
|
||||
magenta = "#f3e70f"
|
||||
cyan = "#03edf9"
|
||||
white = "#ffffff"
|
||||
@@ -0,0 +1 @@
|
||||
user-db:hyde_hyprland
|
||||
@@ -0,0 +1,53 @@
|
||||
# dunst drop-in — undo HyDE's pink critical notification, and make the progress bar visible.
|
||||
#
|
||||
# Why a drop-in and not the obvious files:
|
||||
# ~/.config/dunst/dunstrc is GENERATED by ~/.local/share/wallbash/scripts/dunst.sh on every
|
||||
# theme change, and says so in its own header.
|
||||
# ~/.config/dunst/dunst.conf is HyDE's shipped source for that generator — but dunst.toml
|
||||
# declares `action = "sync"` on the whole `dunst` directory, so HyDE
|
||||
# overwrites it on every update.
|
||||
# dunst >= 1.10 reads dunstrc.d/*.conf as drop-ins that override the base config (lexically last
|
||||
# wins), and HyDE's sync copies its files in without deleting extras — so this file survives both
|
||||
# a theme change and a HyDE update. Apply with `dunstctl reload`.
|
||||
#
|
||||
# [urgency_critical] is the pink: HyDE's generator injects background #f5e0dc (Catppuccin
|
||||
# rosewater) with a #f38ba8 frame — a pale pink slab, and with `timeout = 0` it never expires, so
|
||||
# one error notification sits on screen until dismissed. Note this block is NOT wallbash-driven
|
||||
# (dunst.conf ships it commented out and the generator hardcodes it), so overriding it costs no
|
||||
# theme coupling. Inverted here: dark base like every other surface, with the pink kept as text
|
||||
# and frame so "critical" still reads as critical at a glance.
|
||||
[urgency_critical]
|
||||
background = "#1e1e2eF2"
|
||||
foreground = "#f5e0dc"
|
||||
frame_color = "#f38ba8"
|
||||
|
||||
# urgency_low/normal are the everyday notifications — the volume/mute popup is `normal`, since
|
||||
# volumecontrol.sh sends it with no -u. wallbash generates those as a primary colour at alpha `80`
|
||||
# (#583A6B80 plum for normal, #657AA380 for low) and [global] adds `transparency = 10` on top, so
|
||||
# roughly half the wallpaper shows through: on a pink-toned palette the popup reads as pink no
|
||||
# matter what the base hue is.
|
||||
#
|
||||
# Overriding them here **decouples notifications from wallbash** — they no longer follow the
|
||||
# wallpaper the way the cava bar, waybar and kitty still do. That is the deliberate trade for a
|
||||
# readable popup. To hand them back to wallbash, delete these two blocks and restart dunst; the
|
||||
# generated dunstrc underneath is untouched.
|
||||
#
|
||||
# The frames also needed fixing regardless of colour: the generator emits frame_color at alpha
|
||||
# `03` (~1% opacity) and never sets `highlight`, and dunst falls back to frame_color for the
|
||||
# progress bar — so the volume bar was drawing invisibly.
|
||||
#
|
||||
# Frame and highlight are deliberately NOT the mauve from hypr's active window border: at these
|
||||
# sizes #ca9ee6 renders as a pink outline plus a pink bar, which is the thing that looked wrong in
|
||||
# the first place. A neutral surface frame with a blue bar keeps the popup quiet.
|
||||
[urgency_low]
|
||||
background = "#1e1e2eF2"
|
||||
foreground = "#cdd6f4"
|
||||
frame_color = "#6c7086"
|
||||
|
||||
[urgency_normal]
|
||||
background = "#1e1e2eF2"
|
||||
foreground = "#cdd6f4"
|
||||
frame_color = "#45475a"
|
||||
|
||||
[global]
|
||||
highlight = "#89b4fa"
|
||||
@@ -0,0 +1,12 @@
|
||||
# gui package — put HyDE's script dir on the systemd *user manager* PATH, so
|
||||
# user units can resolve bare hyde script names. Nothing else on the system ever
|
||||
# adds it: HyDE only self-bootstraps PATH inside its own wrappers
|
||||
# (hyde-shell/app.sh), so anything a unit execs bare is "command not found" —
|
||||
# hypridle's lock_cmd was the incident (TROUBLESHOOTING.md symptom 8).
|
||||
# Lifecycle: the environment generator reads this at user-manager start, but the
|
||||
# session-start PATH import overwrites the manager's PATH afterwards — daemon-reload
|
||||
# won't re-apply this over an imported PATH; only relogin does. The fish twin
|
||||
# gui/.config/fish/conf.d/hyde-path.fish is what makes that import *carry* the dir
|
||||
# (it feeds the session PATH the import copies from), so both files are needed and
|
||||
# together they hold in either order.
|
||||
PATH=$HOME/.local/lib/hyde:$PATH
|
||||
@@ -0,0 +1,32 @@
|
||||
## gui package — pin which config Hyprland starts with.
|
||||
##
|
||||
## Points HYPRLAND_CONFIG at HyDE's Lua entry point, explicitly. The Lua chain
|
||||
## loads HyDE's lua/ modules and then the user override
|
||||
## ~/.config/hypr/hyprland.lua (repo: gui/.config/hypr/hyprland.lua, which pulls
|
||||
## in the per-host host.lua). None of the old hyprlang .conf files are read in
|
||||
## Lua mode. See LUA-PORT.md.
|
||||
##
|
||||
## Why it is set from *fish* of all places: HyDE's untracked
|
||||
## ~/.config/fish/conf.d/hyde.fish exports it, and fish sources every
|
||||
## conf.d/*.fish at startup. SDDM launches the session through the login shell
|
||||
## (/usr/bin/start-hyprland, the `hyprland.desktop` entry — not
|
||||
## `hyprland-uwsm.desktop`), so the compositor inherits whatever fish exported.
|
||||
## HyDE's snippet only assigns `if test -z "$HYPRLAND_CONFIG"`, and conf.d files
|
||||
## load in alphabetical order, so this file's `00-` prefix means ours is already
|
||||
## set by the time hyde.fish looks — do not rename it above `hyde.fish`.
|
||||
##
|
||||
## The uwsm twin lives in gui/.config/uwsm/env-hyprland.d/10-dots.sh and covers
|
||||
## the `hyprland-uwsm.desktop` session entry. Both are needed; neither is
|
||||
## sufficient alone. Keeping the pins alive (instead of trusting HyDE's default)
|
||||
## preserves the invariant that the dots repo decides the config, and makes any
|
||||
## rollback a one-line edit. Takes effect at session start — relogin, not
|
||||
## `hyprctl reload`.
|
||||
##
|
||||
## ROLLBACK to hyprlang (the chain was retired at LUA-PORT.md step 8,
|
||||
## 2026-09-10): restore gui/.config/hypr, wm/.config/hypr, lw/.config/hypr and
|
||||
## gui/.local/share/hyde from bddbbf3 (the last pre-step-8 commit), ./install.sh, point both
|
||||
## pins back at "$HOME/.config/hypr/hyprland.conf" and relogin. d851213 is the
|
||||
## last hyprlang `main` (the port merged 2026-11-09).
|
||||
set -l hypr_data "$XDG_DATA_HOME"
|
||||
test -n "$hypr_data"; or set hypr_data "$HOME/.local/share"
|
||||
set -gx HYPRLAND_CONFIG "$hypr_data/hypr/hyde.lua"
|
||||
@@ -0,0 +1,9 @@
|
||||
## gui package — put HyDE's script dir on the *session* PATH: the compositor and
|
||||
## everything it spawns directly (raw exec binds, terminals) resolve bare hyde
|
||||
## script names through it. Nothing else adds it — HyDE only self-bootstraps PATH
|
||||
## inside its own wrappers (hyde-shell/app.sh), so a bare script name execed
|
||||
## outside that lineage is "command not found" (TROUBLESHOOTING.md symptom 8).
|
||||
## The systemd-unit side is covered by the twin
|
||||
## gui/.config/environment.d/10-hyde-path.conf — both are needed.
|
||||
## No ordering constraint vs hyde.fish (it never touches this dir).
|
||||
fish_add_path --global ~/.local/lib/hyde
|
||||
@@ -0,0 +1,25 @@
|
||||
## gui package — undo the starship prompt that HyDE's fish snippet installs.
|
||||
##
|
||||
## The HyDE 26.x update dropped an untracked ~/.config/fish/conf.d/hyde.fish that
|
||||
## runs `starship init fish | source`. That eagerly defines fish_prompt AND
|
||||
## fish_right_prompt, which shadows our own functions/fish_prompt.fish: fish only
|
||||
## autoloads a function that is not already defined, so ours never loaded and
|
||||
## every new shell came up with starship's prompt.
|
||||
##
|
||||
## conf.d is sourced alphabetically, so this file must sort AFTER hyde.fish to
|
||||
## undo it — hence zz-.
|
||||
##
|
||||
## Note it *sources* our prompts rather than erasing starship's: `functions --erase`
|
||||
## on an autoloadable name also suppresses the autoload, which leaves the shell
|
||||
## with no fish_prompt at all ("Unknown command: fish_prompt"). Defining ours over
|
||||
## the top is what actually wins — for fish_right_prompt too, since common ships
|
||||
## functions/fish_right_prompt.fish (the git-status right prompt).
|
||||
##
|
||||
## Nothing else from hyde.fish is undone here: its aliases lose to config.fish,
|
||||
## which fish loads after conf.d, and its `df` wrapper is a function we do not
|
||||
## otherwise define. Delete this file if you ever decide you want starship.
|
||||
for f in fish_prompt fish_right_prompt fish_mode_prompt
|
||||
if test -r $__fish_config_dir/functions/$f.fish
|
||||
source $__fish_config_dir/functions/$f.fish
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,3 @@
|
||||
function fish_mode_prompt --description "Displays the current vi mode"
|
||||
fish_default_mode_prompt
|
||||
end
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
|
||||
"diagnostics": {
|
||||
"globals": ["hl", "hyde", "check_require"]
|
||||
},
|
||||
"workspace": {
|
||||
"library": ["/usr/share/hypr/stubs", "~/.local/share/hypr/lua"]
|
||||
},
|
||||
"runtime": {
|
||||
"version": "Lua 5.5"
|
||||
}
|
||||
}
|
||||
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# Battery readout for the hyprlock label. Prints nothing on machines without a
|
||||
# battery (wm desktop), so the label just stays empty there.
|
||||
for bat in /sys/class/power_supply/BAT*; do
|
||||
[ -r "$bat/capacity" ] || continue
|
||||
cap=$(<"$bat/capacity")
|
||||
glyph=""
|
||||
[ "$(cat "$bat/status" 2>/dev/null)" = "Charging" ] && glyph=""
|
||||
printf '%s %s%%' "$glyph" "$cap"
|
||||
exit 0
|
||||
done
|
||||
@@ -0,0 +1,263 @@
|
||||
-- gui package — the dots keybinds, split out of ./hyprland.lua. Required there
|
||||
-- after the app/start overrides (the launchers read hc.app.*) and before
|
||||
-- ./host.lua.
|
||||
|
||||
local hc = hyde.config
|
||||
local MOD = hc.modifiers.main
|
||||
local home = os.getenv("HOME") or ""
|
||||
|
||||
-- ── Keybinds ─────────────────────────────────────────────────────────────────
|
||||
-- Policy: preserve what the dots keybindings.conf did live until the port —
|
||||
-- where a dots bind and a HyDE bind share a combo, the dots action wins and
|
||||
-- the displaced HyDE action is noted. Binds identical in both are not
|
||||
-- repeated here (volume/media/brightness, screenshots, Super+Q/W,
|
||||
-- rofi menus, Super+L lock, Super+Shift+F pin, Super+S scratchpad family,
|
||||
-- Super+Z/X + mouse drag/resize, Super+J togglesplit, Super+T/E/B via the
|
||||
-- app.* overrides in hyprland.lua, Super+Alt+G gamemode, Ctrl+Shift+Esc
|
||||
-- sysmon).
|
||||
|
||||
-- Removes every live bind on a combo regardless of flags. hl.bind's dedup only
|
||||
-- replaces a bind whose flags match exactly; HyDE binds with locked/transparent/
|
||||
-- repeating flags would otherwise stay live next to ours and double-fire.
|
||||
local function unbind_all(combo)
|
||||
-- _active/canonicalize are HyDE-private; if an update renames them, degrade
|
||||
-- to "the displaced HyDE binds double-fire" instead of erroring here and
|
||||
-- silently dropping every bind registered below this line.
|
||||
if not (hyde.binds and hyde.binds._active and hyde.binds.canonicalize) then
|
||||
return
|
||||
end
|
||||
local canon = hyde.binds.canonicalize(combo)
|
||||
for id, registered in pairs(hyde.binds._active) do
|
||||
if id:sub(1, #canon + 1) == canon .. "|" then
|
||||
hl.unbind(registered)
|
||||
hyde.binds._active[id] = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local _F
|
||||
|
||||
-- Launchers (dots-only combos, no conflict)
|
||||
_F = { description = "[Launcher|Apps] work session (kitty c2)" }
|
||||
hl.bind(MOD .. " + CTRL + I", hl.dsp.exec_cmd("kitty --session " .. home .. "/.config/kitty/c2.conf"), _F)
|
||||
_F = { description = "[Launcher|Apps] work session (kitty runners)" }
|
||||
hl.bind(MOD .. " + CTRL + O", hl.dsp.exec_cmd("kitty --session " .. home .. "/.config/kitty/runners.conf"), _F)
|
||||
_F = { description = "[Launcher|Apps] pyradio (kitty music)" }
|
||||
hl.bind(MOD .. " + R", hl.dsp.exec_cmd("kitty --session " .. home .. "/.config/kitty/music.conf"), _F)
|
||||
_F = { description = "[Launcher|Apps] ferdium" }
|
||||
hl.bind(MOD .. " + Y", hl.dsp.exec_cmd("ferdium"), _F)
|
||||
_F = { description = "[Launcher|Apps] betterbird" }
|
||||
hl.bind(MOD .. " + M", hl.dsp.exec_cmd("betterbird"), _F)
|
||||
_F = { description = "[Launcher|Apps] freetube" }
|
||||
hl.bind(MOD .. " + F", hl.dsp.exec_cmd("freetube"), _F)
|
||||
_F = { description = "[Launcher|Apps] web browser (librewolf)" }
|
||||
hl.bind(MOD .. " + SHIFT + B", hl.dsp.exec_cmd("librewolf"), _F)
|
||||
_F = { description = "[Launcher|Apps] terminal emulator (st)" }
|
||||
hl.bind(MOD .. " + CTRL + T", hl.dsp.exec_cmd("st"), _F)
|
||||
_F = { description = "[Launcher|Apps] terminal emulator" }
|
||||
hl.bind("CTRL + ALT + T", hl.dsp.exec_cmd(hc.app.terminal), _F)
|
||||
|
||||
-- Rebound fresh so the hc.app.* overrides actually apply: HyDE's binds
|
||||
-- evaluated _apps.browser/_apps.explorer when key_binds.lua ran, baking in the
|
||||
-- hyde-shell open wrappers.
|
||||
_F = { description = "[Launcher|Apps] web browser" }
|
||||
hl.bind(MOD .. " + B", hl.dsp.exec_cmd("zen-browser"), _F)
|
||||
_F = { description = "[Launcher|Apps] file explorer" }
|
||||
hl.bind(MOD .. " + E", hl.dsp.exec_cmd("dolphin"), _F)
|
||||
|
||||
-- Conflict resolutions (dots action wins; displaced HyDE action noted)
|
||||
_F = { description = "[Launcher|Apps] web browser (firefox)" } -- displaces HyDE: hide waybar
|
||||
hl.bind(MOD .. " + CTRL + B", hl.dsp.exec_cmd("firefox"), _F)
|
||||
_F = { description = "[Launcher|Apps] xmpp (gajim)" } -- displaces HyDE: toggle group (dots keeps it on Super+Shift+G)
|
||||
hl.bind(MOD .. " + G", hl.dsp.exec_cmd("gajim"), _F)
|
||||
_F = { description = "[Window Management] toggle group" } -- displaces HyDE: game launcher
|
||||
hl.bind(MOD .. " + SHIFT + G", hl.dsp.group.toggle(), _F)
|
||||
_F = { description = "[Launcher|Apps] terminal emulator (alacritty)" } -- displaces HyDE: theme select menu
|
||||
hl.bind(MOD .. " + SHIFT + T", hl.dsp.exec_cmd("alacritty"), _F)
|
||||
-- Through `wbar`, never killall: under supervision a killed waybar is back in
|
||||
-- seconds, and a raw relaunch next to it means two bars.
|
||||
_F = { description = "[Theming and Wallpaper] reload hyprland + waybar" } -- displaces HyDE: wallbash mode menu
|
||||
hl.bind(MOD .. " + SHIFT + R", hl.dsp.exec_cmd("hyprctl reload; " .. home .. "/.local/bin/wbar restart"), _F)
|
||||
_F = { description = "[Launcher|Apps] neovim" } -- displaces HyDE: code editor
|
||||
hl.bind(MOD .. " + C", hl.dsp.exec_cmd("kitty nvim"), _F)
|
||||
|
||||
-- Super+K keepassxc — HyDE's keyboard-layout switch carries locked=true, so a
|
||||
-- plain rebind would leave both live (flags are part of a bind's identity).
|
||||
unbind_all(MOD .. " + K") -- displaces HyDE: keyboard layout switch (locked)
|
||||
_F = { description = "[Launcher|Apps] password manager" }
|
||||
hl.bind(MOD .. " + K", hl.dsp.exec_cmd("keepassxc"), _F)
|
||||
|
||||
-- Alt+Tab focus-down — HyDE ships a 4-bind alt-tab switcher (transparent/
|
||||
-- release flags); remove the whole cluster, half a switcher is worse than none.
|
||||
unbind_all("ALT + TAB") -- displaces HyDE: alt-tab switcher (cycle next)
|
||||
unbind_all("ALT + SHIFT + TAB")
|
||||
unbind_all("ALT + ALT_L")
|
||||
unbind_all("ALT + ALT_R")
|
||||
_F = { description = "[Window Management|Change focus] focus down" }
|
||||
hl.bind("ALT + TAB", hl.dsp.focus({ direction = "down" }), _F)
|
||||
|
||||
-- Waybar toggle (custom layout; the legacy Ctrl+Alt+W). systemctl stop is a
|
||||
-- deliberate stop, so Restart=always does not undo it.
|
||||
_F = { description = "[Window Management] toggle waybar" }
|
||||
hl.bind("CTRL + ALT + W", hl.dsp.exec_cmd(home .. "/.local/bin/wbar toggle"), _F)
|
||||
|
||||
-- Fullscreen on Alt+Return (Shift+F11 stays HyDE's cycle-fullscreen).
|
||||
-- Native dispatcher, not exec "hyprctl dispatch fullscreen": in Lua mode that
|
||||
-- CLI arg is evaluated as hl.dispatch(fullscreen) — a nil global, dead bind.
|
||||
_F = { description = "[Window Management] toggle fullscreen" }
|
||||
hl.bind("ALT + RETURN", hl.dsp.window.fullscreen(), _F)
|
||||
|
||||
-- No Super+Delete: HyDE's exit() ends the session on the spot, no confirm, and
|
||||
-- the combo is one slipped finger from Super+Alt+Delete. Ctrl+Alt+Delete (the
|
||||
-- logout menu) stays the way out.
|
||||
unbind_all(MOD .. " + Delete") -- displaces HyDE: exit hyprland session
|
||||
|
||||
-- ── Focus (arrows + hjkl) ────────────────────────────────────────────────────
|
||||
-- Super+Ctrl+Up/Down: movefocus — displaces HyDE: nearest-empty (Down), which
|
||||
-- moves to Super+Ctrl+E below. Super+Ctrl+Left/Right move the window to r±1
|
||||
-- (Workspaces below); r±1 nav is on Super+Left/Right and Super+Ctrl+Shift.
|
||||
for dir, key in pairs({ left = "LEFT", right = "RIGHT", up = "UP", down = "DOWN" }) do
|
||||
_F = { description = "[Window Management|Change focus] focus " .. dir }
|
||||
if key == "UP" or key == "DOWN" then
|
||||
hl.bind(MOD .. " + CTRL + " .. key, hl.dsp.focus({ direction = dir }), _F)
|
||||
end
|
||||
hl.bind("ALT + CTRL + " .. key, hl.dsp.focus({ direction = dir }), _F)
|
||||
end
|
||||
for dir, key in pairs({ left = "H", right = "L", up = "K", down = "J" }) do
|
||||
_F = { description = "[Window Management|Change focus] focus " .. dir }
|
||||
hl.bind("ALT + CTRL + " .. key, hl.dsp.focus({ direction = dir }), _F)
|
||||
end
|
||||
|
||||
-- Super+Ctrl+H/L carried a deliberate double action in the hyprlang chain:
|
||||
-- changegroupactive (a no-op outside a group) AND movefocus fired together.
|
||||
-- Lua dedup would collapse the pair, so one function does both.
|
||||
-- (Replaces HyDE's plain group-nav binds on the same combos.) Unlike the
|
||||
-- arrows, they do not move the window to r±1 — that is Super+Ctrl+Alt+H/L.
|
||||
_F = { description = "[Window Management|Change focus] group prev + focus left" }
|
||||
hl.bind(MOD .. " + CTRL + H", function()
|
||||
hl.dispatch(hl.dsp.group.prev())
|
||||
hl.dispatch(hl.dsp.focus({ direction = "left" }))
|
||||
end, _F)
|
||||
_F = { description = "[Window Management|Change focus] group next + focus right" }
|
||||
hl.bind(MOD .. " + CTRL + L", function()
|
||||
hl.dispatch(hl.dsp.group.next())
|
||||
hl.dispatch(hl.dsp.focus({ direction = "right" }))
|
||||
end, _F)
|
||||
_F = { description = "[Window Management|Change focus] focus up" }
|
||||
hl.bind(MOD .. " + CTRL + K", hl.dsp.focus({ direction = "up" }), _F)
|
||||
_F = { description = "[Window Management|Change focus] focus down" }
|
||||
hl.bind(MOD .. " + CTRL + J", hl.dsp.focus({ direction = "down" }), _F)
|
||||
|
||||
-- ── Resize (add hjkl to HyDE's arrow set) ────────────────────────────────────
|
||||
-- HyDE puts a flagless calculator menu on Super+Shift+K; our repeating resize
|
||||
-- would double-fire next to it (flag mismatch), so drop the calculator.
|
||||
unbind_all(MOD .. " + SHIFT + K") -- displaces HyDE: calculator menu
|
||||
for _, m in ipairs({ { "L", 30, 0 }, { "H", -30, 0 }, { "K", 0, -30 }, { "J", 0, 30 } }) do
|
||||
_F = { description = "[Window Management|Resize Active Window] resize window", repeating = true }
|
||||
hl.bind(MOD .. " + SHIFT + " .. m[1], hl.dsp.window.resize({ x = m[2], y = m[3], relative = true }), _F)
|
||||
end
|
||||
|
||||
-- ── Move active window (Super+Alt, float-aware: moveactive / swapwindow) ─────
|
||||
-- Displaces HyDE: wallpaper next/prev (Alt+Right/Left) and waybar layout
|
||||
-- next/prev (Alt+Up/Down); wallpaper moves to Super+Alt+Ctrl+Shift below,
|
||||
-- as in the dots chain. HyDE's binds carry no flags but ours are repeating,
|
||||
-- so an explicit unbind is needed to keep them from double-firing.
|
||||
unbind_all(MOD .. " + ALT + RIGHT")
|
||||
unbind_all(MOD .. " + ALT + LEFT")
|
||||
unbind_all(MOD .. " + ALT + UP")
|
||||
unbind_all(MOD .. " + ALT + DOWN")
|
||||
local function dots_move_window(dir, pix)
|
||||
local lut = { l = { -1, 0 }, r = { 1, 0 }, u = { 0, -1 }, d = { 0, 1 } }
|
||||
local m = lut[dir]
|
||||
return function()
|
||||
local w = hl.get_active_window()
|
||||
if w and w.floating then
|
||||
hl.dispatch(hl.dsp.window.move({ x = m[1] * pix, y = m[2] * pix, relative = true }))
|
||||
else
|
||||
local names = { l = "left", r = "right", u = "up", d = "down" }
|
||||
hl.dispatch(hl.dsp.window.swap({ direction = names[dir] }))
|
||||
end
|
||||
end
|
||||
end
|
||||
for _, m in ipairs({
|
||||
{ "LEFT", "l" },
|
||||
{ "RIGHT", "r" },
|
||||
{ "UP", "u" },
|
||||
{ "DOWN", "d" },
|
||||
{ "H", "l" },
|
||||
{ "L", "r" },
|
||||
{ "K", "u" },
|
||||
{ "J", "d" },
|
||||
}) do
|
||||
_F = { description = "[Window Management|Move active window] move " .. m[2], repeating = true }
|
||||
hl.bind(MOD .. " + ALT + " .. m[1], dots_move_window(m[2], 30), _F)
|
||||
end
|
||||
|
||||
-- ── Wallpaper (moved off Super+Alt by the dots chain) ────────────────────────
|
||||
_F = { description = "[Theming and Wallpaper] next global wallpaper" }
|
||||
hl.bind(MOD .. " + ALT + CTRL + SHIFT + RIGHT", hl.dsp.exec_cmd(hyde.sh.wallpaper("--next")), _F)
|
||||
_F = { description = "[Theming and Wallpaper] previous global wallpaper" }
|
||||
hl.bind(MOD .. " + ALT + CTRL + SHIFT + LEFT", hl.dsp.exec_cmd(hyde.sh.wallpaper("--prev")), _F)
|
||||
|
||||
-- ── Workspaces ───────────────────────────────────────────────────────────────
|
||||
-- r~N = Nth workspace of the FOCUSED monitor — load-bearing on the 3-monitor
|
||||
-- workspace sets (1-10 / 11-20 / 21-30 pinned per monitor in host.lua).
|
||||
-- HyDE's own binds pass "r+1"/"empty" strings the same way; r~N is the one
|
||||
-- thing to verify first in the live session.
|
||||
for i = 1, 10 do
|
||||
local key = (i == 10) and 0 or i
|
||||
_F = { description = "[Workspaces|Navigation] navigate to workspace " .. i .. " (monitor-relative)" }
|
||||
hl.bind(MOD .. " + " .. key, hl.dsp.focus({ workspace = "r~" .. i }), _F) -- displaces HyDE: absolute workspace N
|
||||
_F = { description = "[Workspaces|Move window to workspace] move to workspace " .. i .. " (monitor-relative)" }
|
||||
hl.bind(MOD .. " + CTRL + " .. key, hl.dsp.window.move({ workspace = "r~" .. i }), _F)
|
||||
_F = { description = "[Workspaces|Move window silently] move to workspace " .. i .. " (monitor-relative)" }
|
||||
hl.bind(MOD .. " + ALT + " .. key, hl.dsp.window.move({ workspace = "r~" .. i, follow = false }), _F) -- displaces HyDE: absolute silent move
|
||||
end
|
||||
|
||||
-- Relative workspace nav on Super+Ctrl+Shift (dots), displacing HyDE's
|
||||
-- move-window-in-workspace family there (repeating flags -> explicit unbind;
|
||||
-- dots does window movement on Super+Alt instead).
|
||||
unbind_all(MOD .. " + SHIFT + CTRL + LEFT")
|
||||
unbind_all(MOD .. " + SHIFT + CTRL + RIGHT")
|
||||
unbind_all(MOD .. " + SHIFT + CTRL + UP")
|
||||
unbind_all(MOD .. " + SHIFT + CTRL + DOWN")
|
||||
_F = { description = "[Workspaces|Navigation|Relative workspace] change active workspace forwards" }
|
||||
hl.bind(MOD .. " + CTRL + SHIFT + RIGHT", hl.dsp.focus({ workspace = "r+1" }), _F)
|
||||
hl.bind(MOD .. " + CTRL + SHIFT + L", hl.dsp.focus({ workspace = "r+1" }), _F)
|
||||
_F = { description = "[Workspaces|Navigation|Relative workspace] change active workspace backwards" }
|
||||
hl.bind(MOD .. " + CTRL + SHIFT + LEFT", hl.dsp.focus({ workspace = "r-1" }), _F)
|
||||
hl.bind(MOD .. " + CTRL + SHIFT + H", hl.dsp.focus({ workspace = "r-1" }), _F)
|
||||
|
||||
_F = { description = "[Workspaces|Navigation|Relative workspace] change active workspace forwards" }
|
||||
hl.bind(MOD .. " + RIGHT", hl.dsp.focus({ workspace = "r+1" }), _F)
|
||||
_F = { description = "[Workspaces|Navigation|Relative workspace] change active workspace backwards" }
|
||||
hl.bind(MOD .. " + LEFT", hl.dsp.focus({ workspace = "r-1" }), _F)
|
||||
_F = { description = "[Workspaces|Move window to workspace|Relative workspace] move focused window to next workspace" }
|
||||
hl.bind(MOD .. " + CTRL + RIGHT", hl.dsp.window.move({ workspace = "r+1" }), _F) -- displaces HyDE: workspace r+1
|
||||
_F = {
|
||||
description = "[Workspaces|Move window to workspace|Relative workspace] move focused window to previous workspace",
|
||||
}
|
||||
hl.bind(MOD .. " + CTRL + LEFT", hl.dsp.window.move({ workspace = "r-1" }), _F) -- displaces HyDE: workspace r-1
|
||||
|
||||
-- E for "empty" — Super+Ctrl+Down is taken by movefocus above
|
||||
_F = { description = "[Workspaces|Navigation] navigate to the nearest empty workspace" }
|
||||
hl.bind(MOD .. " + CTRL + E", hl.dsp.focus({ workspace = "empty" }), _F)
|
||||
|
||||
-- Move window to relative workspace: HyDE ships the arrow pair; add hjkl.
|
||||
_F = { description = "[Workspaces|Move window to workspace|Relative workspace] move focused window to next workspace" }
|
||||
hl.bind(MOD .. " + CTRL + ALT + L", hl.dsp.window.move({ workspace = "r+1" }), _F)
|
||||
_F = {
|
||||
description = "[Workspaces|Move window to workspace|Relative workspace] move focused window to previous workspace",
|
||||
}
|
||||
hl.bind(MOD .. " + CTRL + ALT + H", hl.dsp.window.move({ workspace = "r-1" }), _F)
|
||||
|
||||
-- ── Hardware controls ────────────────────────────────────────────────────────
|
||||
-- HyDE binds bare F10/F11/F12 to mute / volume down / volume up (key_binds.lua,
|
||||
-- locked + repeating -- a plain rebind would leave both live). That is a laptop
|
||||
-- F-row assumption: the Cantor has no F-row, so F1-F12 only ever arrive from its
|
||||
-- Vial layer 5 and have to reach applications instead of the mixer. The
|
||||
-- XF86Audio* binds below them keep the media keys working, so nothing is lost,
|
||||
-- and Shift+F11 (cycle fullscreen) canonicalizes separately and survives.
|
||||
unbind_all("F10") -- displaces HyDE: un/mute output
|
||||
unbind_all("F11") -- displaces HyDE: decrease volume
|
||||
unbind_all("F12") -- displaces HyDE: increase volume
|
||||
@@ -0,0 +1,122 @@
|
||||
-- gui package — the dots layer + window rules, split out of ./hyprland.lua
|
||||
-- (required there in their original position). Plain hl.* registrations;
|
||||
-- nothing here depends on the rest of the layer.
|
||||
|
||||
-- ── Layer rules ──────────────────────────────────────────────────────────────
|
||||
-- waybar blur ships upstream (layer_rules.lua), but its ignore_alpha uses the
|
||||
-- boolean form (default threshold), which drops the blur on low-alpha regions
|
||||
-- — the cavabar background is rgba(0,0,0,0.2) and went flat. The legacy chain
|
||||
-- set the threshold to 0 (blur everything) on both bars; restore that exactly.
|
||||
hl.layer_rule({
|
||||
name = "dots_cavabar_blur",
|
||||
match = { namespace = "cavabar" },
|
||||
blur = true,
|
||||
ignore_alpha = 0,
|
||||
})
|
||||
hl.layer_rule({
|
||||
name = "dots_waybar_ignore_alpha",
|
||||
match = { namespace = "waybar" },
|
||||
ignore_alpha = 0,
|
||||
})
|
||||
|
||||
-- ── Window rules ─────────────────────────────────────────────────────────────
|
||||
-- Upstream's window_rules.lua consolidates most floats (dialogs, portals,
|
||||
-- dolphin, nm-*, qt*ct, vlc, pavucontrol, …) and the PiP/modal handling.
|
||||
-- Ported here: everything the repo's windowrules.conf had that upstream
|
||||
-- dropped when it went global-opacity — per-app opacity, idle_inhibit,
|
||||
-- jetbrains popups — plus the floats upstream does not cover.
|
||||
|
||||
-- idle_inhibit while fullscreen (media players, browsers)
|
||||
hl.window_rule({
|
||||
name = "dots_idle_inhibit_media",
|
||||
match = { class = "^(.*celluloid.*)$|^(.*mpv.*)$|^(.*vlc.*)$|^(.*[Ss]potify.*)$" },
|
||||
idle_inhibit = "fullscreen",
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "dots_idle_inhibit_browsers",
|
||||
match = {
|
||||
class = "^(.*LibreWolf.*)$|^(.*floorp.*)$|^(.*brave-browser.*)$|^(.*firefox.*)$|^(.*chromium.*)$|^(.*zen.*)$|^(.*vivaldi.*)$",
|
||||
},
|
||||
idle_inhibit = "fullscreen",
|
||||
})
|
||||
|
||||
-- per-app opacity ("active inactive fullscreen", hyprlang-style value string --
|
||||
-- the Lua rule's opacity field is string-typed and takes the whole triple)
|
||||
hl.window_rule({
|
||||
name = "dots_opacity_browsers",
|
||||
match = { class = "^(firefox)$|^(zen)$|^(brave-browser)$" },
|
||||
opacity = "0.90 0.90 1",
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "dots_opacity_editors_terms",
|
||||
match = {
|
||||
class = "^(code-oss)$|^([Cc]ode)$|^(code-url-handler)$|^(code-insiders-url-handler)$|^(kitty)$|^(org.kde.dolphin)$|^(org.kde.ark)$|^(nwg-look)$|^(qt5ct)$|^(qt6ct)$|^(kvantummanager)$",
|
||||
},
|
||||
opacity = "0.80 0.80 1",
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "dots_opacity_applets",
|
||||
match = {
|
||||
class = "^(org.pulseaudio.pavucontrol)$|^(blueman-manager)$|^(nm-applet)$|^(nm-connection-editor)$|^(hyprpolkitagent)$|^(org.freedesktop.impl.portal.desktop.gtk)$|^(org.freedesktop.impl.portal.desktop.hyprland)$",
|
||||
},
|
||||
opacity = "0.80 0.70 1",
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "dots_opacity_spotify_class",
|
||||
match = { class = "^([Ss]potify)$" },
|
||||
opacity = "0.70 0.70 1",
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "dots_opacity_spotify_title",
|
||||
match = { initial_title = "^(Spotify Free)$|^(Spotify Premium)$" },
|
||||
opacity = "0.70 0.70 1",
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "dots_opacity_blender",
|
||||
match = { class = "^(blender)$" },
|
||||
opacity = "1.00 1.00 1",
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "dots_opacity_gtk_apps",
|
||||
match = { class = "^(com.github.rafostar.Clapper)$" },
|
||||
opacity = "0.90 0.90",
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "dots_opacity_misc_apps",
|
||||
match = {
|
||||
class = "^(com.github.tchx84.Flatseal)$|^(hu.kramo.Cartridges)$|^(com.obsproject.Studio)$|^(gnome-boxes)$|^(vesktop)$|^(discord)$|^(WebCord)$|^(ArmCord)$|^(app.drey.Warp)$|^(net.davidotek.pupgui2)$|^(yad)$|^(Signal)$|^(io.github.alainm23.planify)$|^(io.gitlab.theevilskeleton.Upscaler)$|^(com.github.unrud.VideoDownloader)$|^(io.gitlab.adhami3310.Impression)$|^(io.missioncenter.MissionCenter)$|^(io.github.flattool.Warehouse)$",
|
||||
},
|
||||
opacity = "0.80 0.80",
|
||||
})
|
||||
|
||||
-- floats upstream's consolidated list does not cover
|
||||
hl.window_rule({
|
||||
name = "dots_float_class",
|
||||
match = {
|
||||
class = "^(Signal)$|^(com.github.rafostar.Clapper)$|^(app.drey.Warp)$|^(net.davidotek.pupgui2)$|^(yad)$|^(eog)$|^(io.github.alainm23.planify)$|^(io.gitlab.theevilskeleton.Upscaler)$|^(com.github.unrud.VideoDownloader)$|^(io.gitlab.adhami3310.Impression)$|^(io.missioncenter.MissionCenter)$",
|
||||
},
|
||||
float = true,
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "dots_float_title",
|
||||
match = { title = "^(About Mozilla Firefox)$|^(Ghidra: NO ACTIVE PROJECT.*)$" },
|
||||
float = true,
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "dots_float_kitty_monitors",
|
||||
match = { class = "^(kitty)$", title = "^(top)$|^(btop)$|^(htop)$" },
|
||||
float = true,
|
||||
})
|
||||
hl.window_rule({
|
||||
name = "dots_blender_image_editor",
|
||||
match = { class = "^(blender)$", initial_title = "^(Image Editor)$" },
|
||||
float = true,
|
||||
size = "(monitor_w*0.5) (monitor_h*0.5)",
|
||||
})
|
||||
|
||||
-- jetbrains dropdowns/popups flicker workaround
|
||||
hl.window_rule({
|
||||
name = "dots_jetbrains_popups",
|
||||
match = { class = "^(.*jetbrains.*)$", title = "^(win[0-9]+)$" },
|
||||
no_initial_focus = true,
|
||||
})
|
||||
@@ -0,0 +1,61 @@
|
||||
#! ░▒▒▒░░░▓▓ ___________
|
||||
#! ░░▒▒▒░░░░░▓▓ //___________/
|
||||
#! ░░▒▒▒░░░░░▓▓ _ _ _ _ _____
|
||||
#! ░░▒▒░░░░░▓▓▓▓▓▓ | | | | | | | __/
|
||||
#! ░▒▒░░░░▓▓ ▓▓ | |_| | |_/ /| |___
|
||||
#! ░▒▒░░▓▓ ▓▓ \__ |____/ |____/
|
||||
#! ░▒▓▓ ▓▓ //____/
|
||||
|
||||
# $LOCKSCREEN = hyprlock # preferred LOCKSCREEN e.g swaylock
|
||||
# Absolute path required: the Lua chain starts hypridle as a systemd user unit
|
||||
# (hyde-Hyprland-idle.service), and on the SDDM/fish session path the session PATH
|
||||
# never reaches the user manager (start_up.lua's unconditional `uwsm finalize` runs
|
||||
# but errors outside a uwsm session, so the import never happens) — a bare
|
||||
# `lockscreen.sh` is "command not found" there — Super+L, the 240s idle lock and
|
||||
# before_sleep all silently no-op. The script self-bootstraps its own env
|
||||
# (hyde-shell init), so the full path alone is sufficient.
|
||||
$LOCKSCREEN = ~/.local/lib/hyde/lockscreen.sh
|
||||
|
||||
general {
|
||||
lock_cmd = $LOCKSCREEN
|
||||
unlock_cmd = #notify-send "unlock!" # same as above, but unlock
|
||||
before_sleep_cmd = $LOCKSCREEN # command ran before sleep
|
||||
after_sleep_cmd = # notify-send "Awake!" # command ran after sleep
|
||||
ignore_dbus_inhibit = 0
|
||||
}
|
||||
|
||||
# Dims the display
|
||||
listener {
|
||||
timeout = 120
|
||||
on-timeout = { brightnessctl -s && brightnessctl s 1% ;}
|
||||
on-resume = brightnessctl -r
|
||||
}
|
||||
|
||||
# Lock it first before dpms off so that screen won't show for a moment after wake up.
|
||||
listener {
|
||||
timeout = 240
|
||||
on-timeout = $LOCKSCREEN
|
||||
}
|
||||
|
||||
# DPMS off
|
||||
# Lua-chain form: in Lua mode `hyprctl dispatch` evaluates its argument as Lua, so the hyprlang
|
||||
# `dpms off` is a syntax error and this listener silently never ran. The table form is the one
|
||||
# hypridle's own sample uses (/usr/share/hypr/hypridle.conf); a bare bool/string argument acts
|
||||
# like a toggle — `hl.dsp.dpms("on")` turned the display OFF. main (hyprlang) keeps `dpms off/on`.
|
||||
listener {
|
||||
timeout = 2300
|
||||
on-timeout = hyprctl dispatch 'hl.dsp.dpms({action = "off"})' #do not turn off display while media is playing
|
||||
on-resume = hyprctl dispatch 'hl.dsp.dpms({action = "on"})'
|
||||
}
|
||||
|
||||
# Suspend
|
||||
# listener {
|
||||
# timeout = 500
|
||||
# on-timeout = systemctl suspend
|
||||
# }
|
||||
|
||||
# hyprlang noerror true
|
||||
# Source anything from this path if you want to add your own listener
|
||||
# source command actually do not exist yet
|
||||
source = ~/.config/hypridle/*
|
||||
# hyprlang noerror false
|
||||
@@ -0,0 +1,128 @@
|
||||
-- gui package — the dots Hyprland layer, ported from the hyprlang chain
|
||||
-- (hyde.conf / userprefs.conf / keybindings.conf / windowrules.conf) to
|
||||
-- HyDE 26.x's Lua config. Loaded by ~/.local/share/hypr/hyde.lua second-to-last
|
||||
-- (after every HyDE module, before lua_state.workflows), so plain assignments
|
||||
-- here override HyDE's defaults. HyDE never overwrites this file.
|
||||
--
|
||||
-- The rules and keybinds sections live in ./dots_rules.lua and
|
||||
-- ./dots_binds.lua, required in place below. Host-specific config (monitors,
|
||||
-- workspace pins, gaps/rounding, gpu extras) lives in ./host.lua, loaded at
|
||||
-- the bottom — same layering the hyprlang chain had with
|
||||
-- `source = ./host.conf`.
|
||||
|
||||
-- Bootstrap: Hyprland prefers hyprland.lua as the entry point when started
|
||||
-- without a config; without this block that path yields a bare cursor. hyde.lua
|
||||
-- sets `hyde` on its first line, so this runs only when HyDE has not loaded.
|
||||
-- The `return` matters: dofile(hyde.lua) re-enters this file through
|
||||
-- check_require("hyprland"), so by the time dofile returns the body below has
|
||||
-- already run once — falling through would register everything twice.
|
||||
if not hyde then
|
||||
local share = os.getenv("XDG_DATA_HOME") or (os.getenv("HOME") .. "/.local/share")
|
||||
local entry = share .. "/hypr/hyde.lua"
|
||||
local handle = io.open(entry, "r")
|
||||
if not handle then
|
||||
error(
|
||||
"HyDE is not installed at " .. entry .. ". Run HyDE's install.sh -r, or point Hyprland at your own config."
|
||||
)
|
||||
end
|
||||
handle:close()
|
||||
dofile(entry)
|
||||
return
|
||||
end
|
||||
|
||||
local hc = hyde.config
|
||||
local home = os.getenv("HOME") or ""
|
||||
|
||||
-- ── Apps ─────────────────────────────────────────────────────────────────────
|
||||
-- Named directly (not hyde-shell open --fall …) for the same reason hyde.conf
|
||||
-- did: skip the wrapper, match the xdg defaults. The assignments cover lazy
|
||||
-- readers of hc.app.*, but key_binds.lua already baked the defaults into its
|
||||
-- Super+B/E dispatchers at bind time — hence the explicit rebinds in
|
||||
-- dots_binds.lua.
|
||||
hc.app.browser = "zen-browser"
|
||||
hc.app.explorer = "dolphin"
|
||||
|
||||
-- ── Startup ──────────────────────────────────────────────────────────────────
|
||||
-- One knob suppresses HyDE's plain waybar AND launches the cava rig (was
|
||||
-- $start.BAR= + a userprefs exec-once). start_up.lua captures hc.start by
|
||||
-- reference and the hyprland.start event fires after this file loads, so the
|
||||
-- override lands in time. `wbar` (gui/.local/bin) runs the rig as the
|
||||
-- dots-waybar.service transient unit with Restart=always: waybar 0.15.0 dies on
|
||||
-- every DP-2 link drop/return, and as a plain scope nothing relaunched it.
|
||||
-- Absolute path: the exec env's PATH is not guaranteed to hold ~/.local/bin.
|
||||
hc.start.bar = home .. "/.local/bin/wbar start"
|
||||
-- Not part of the legacy session — the Lua defaults would newly launch these
|
||||
-- (both binaries are installed). hyprsunset would visibly tint the screen.
|
||||
-- Delete a line to adopt the HyDE default.
|
||||
hc.start.blue_light_filter_daemon = ""
|
||||
hc.start.clipboard_persist = ""
|
||||
-- nm-applet --indicator is already the Lua default (kept deliberately: the
|
||||
-- tray icon is the one place with a quick connect/disconnect menu).
|
||||
|
||||
-- ── UI / icon theme ──────────────────────────────────────────────────────────
|
||||
-- dots-icons = repo-tracked overlay theme (gui/.local/share/icons/dots-icons)
|
||||
-- that inherits Tela-circle-dracula and swaps the tray/status icons for the
|
||||
-- monochrome panel set — without it, waybar on a fractionally-scaled monitor
|
||||
-- gets the colored-circle variants (the blue nm-applet blob).
|
||||
hc.ui.icon_theme = "dots-icons"
|
||||
-- The theme-switch pipeline regenerates lua_state/ui.lua from the theme's
|
||||
-- hypr.theme and writes THAT to dconf (color/hypr.sh -> color/dconf.lua), so
|
||||
-- the assignment above is not enough on its own. Top-level code re-runs on
|
||||
-- every `hyprctl reload`, and both theme-switch paths end in a reload, so this
|
||||
-- write lands last — the Lua-mode equivalent of the legacy $exec.dConf.
|
||||
-- Upstream-sanctioned alternative if this ever races: add
|
||||
-- [hyprland]\n icon_theme = "dots-icons"
|
||||
-- to ~/.config/hyde/config.toml (state/hyde/hyprland.conf then overrides the
|
||||
-- theme vars in theme.switch.sh:151).
|
||||
hl.exec_cmd([[dconf write /org/gnome/desktop/interface/icon-theme "'dots-icons'"]])
|
||||
|
||||
-- ── Env (was userprefs.conf) ─────────────────────────────────────────────────
|
||||
hl.env("SSH_AUTH_SOCK", (os.getenv("XDG_RUNTIME_DIR") or "") .. "/ssh-agent.socket")
|
||||
hl.env("ELECTRON_OZONE_PLATFORM_HINT", "x11") -- disable after hyprland fixes electron flickering
|
||||
|
||||
-- ── Layer + window rules (dots_rules.lua) ────────────────────────────────────
|
||||
-- Plain require, not check_require: stow --no-folding links new files one by
|
||||
-- one, so a host that pulled without re-running install.sh fails loudly in
|
||||
-- `hyprctl configerrors` instead of booting silently without its rules/binds.
|
||||
-- The dots_ prefix matters: hyde.lua searches HyDE's own lua/ before
|
||||
-- ~/.config/hypr, so a bare window_rules / key_binds would load HyDE's module.
|
||||
require("dots_rules")
|
||||
|
||||
-- ── Animations ───────────────────────────────────────────────────────────────
|
||||
-- The legacy chain ran $ANIMATION=theme — the hyprdots set from the theme's
|
||||
-- animations.dcol. The Lua chain cannot inherit it: hyq's hyprland-lua.json
|
||||
-- schema dumps decoration/borders into lua_state/hypr_theme.lua but NOT the
|
||||
-- animations block (LUA-PORT.md risk 6, confirmed live), so without this the
|
||||
-- session falls back to Hyprland's slower built-in defaults. Ported verbatim
|
||||
-- from the generated ~/.config/hypr/animations/theme.conf.
|
||||
-- Conditional so `hyde-shell animations --select` still works: a selector-
|
||||
-- chosen lua_state/animations.lua loads earlier (dynamic.lua) and this block
|
||||
-- steps aside for it.
|
||||
local anim_state = (os.getenv("XDG_STATE_HOME") or home .. "/.local/state") .. "/hyde/lua_state/animations.lua"
|
||||
local anim_f = io.open(anim_state, "r")
|
||||
if anim_f then
|
||||
anim_f:close()
|
||||
else
|
||||
hl.curve("wind", { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1.05 } } })
|
||||
hl.curve("winIn", { type = "bezier", points = { { 0.1, 1.1 }, { 0.1, 1.1 } } })
|
||||
hl.curve("winOut", { type = "bezier", points = { { 0.3, -0.3 }, { 0, 1 } } })
|
||||
hl.curve("liner", { type = "bezier", points = { { 1, 1 }, { 1, 1 } } })
|
||||
hl.animation({ leaf = "windows", enabled = true, speed = 6, bezier = "wind", style = "slide" })
|
||||
hl.animation({ leaf = "windowsIn", enabled = true, speed = 6, bezier = "winIn", style = "slide" })
|
||||
hl.animation({ leaf = "windowsOut", enabled = true, speed = 5, bezier = "winOut", style = "slide" })
|
||||
hl.animation({ leaf = "windowsMove", enabled = true, speed = 5, bezier = "wind", style = "slide" })
|
||||
hl.animation({ leaf = "border", enabled = true, speed = 1, bezier = "liner" })
|
||||
hl.animation({ leaf = "borderangle", enabled = true, speed = 30, bezier = "liner", style = "once" })
|
||||
hl.animation({ leaf = "fade", enabled = true, speed = 10, bezier = "default" })
|
||||
hl.animation({ leaf = "workspaces", enabled = true, speed = 5, bezier = "wind" })
|
||||
end
|
||||
|
||||
-- ── Keybinds (dots_binds.lua) ────────────────────────────────────────────────
|
||||
-- After the hc.app.* overrides above: the launcher binds read them.
|
||||
require("dots_binds")
|
||||
|
||||
-- ── Host layer ───────────────────────────────────────────────────────────────
|
||||
-- Resolves via hyde.lua's package.path (~/.config/hypr/?.lua); each host
|
||||
-- overlay stows its own host.lua (wm/, lw/). check_require is HyDE's
|
||||
-- missing-tolerant require — a host without one just skips it.
|
||||
check_require("host")
|
||||
@@ -0,0 +1,9 @@
|
||||
# Default (empty) per-host hyprlock sizes — fallback shared by all GUI hosts.
|
||||
# The real one comes from the per-host overlay (see lw/.config/hypr/hyprlock-host.conf).
|
||||
# Present so `source = ~/.config/hypr/hyprlock-host.conf` in hyprlock.conf always resolves,
|
||||
# even mid-install before the host overlay is stowed. A missing `source` target is a hard
|
||||
# parse error in hyprlang — for hyprlock that means the lock screen itself fails, so this
|
||||
# file must never be deleted.
|
||||
#
|
||||
# gui's defaults are tuned for wm (3072x1728 logical). To override, redefine any of:
|
||||
# $fsClock $fsDate $fsMeta $fsSmall $fsIcon $logoSize
|
||||
@@ -0,0 +1,195 @@
|
||||
#! █░█ █▄█ █▀█ █▀█ █░░ █▀█ █▀▀ █▄▀
|
||||
#! █▀█ ░█░ █▀▀ █▀▄ █▄▄ █▄█ █▄▄ █░█
|
||||
|
||||
#* Hyprlock Configuration File
|
||||
|
||||
# Everything is anchored to the CENTRE (only the two bottom-corner labels use valign), in this
|
||||
# order top to bottom: uptime, greeting, logo, input field, clock, date. The offsets spread the
|
||||
# content out to the top and bottom edges. Centre-anchoring is deliberate: an earlier pass used
|
||||
# TOP/BOTTOM valign bands and silently reordered the clock and date, putting the date above the
|
||||
# clock and the clock half off the bottom edge — don't reintroduce that.
|
||||
# Every `position` and `size` is a percentage (hyprlock accepts them: both are LAYOUTCONFIG
|
||||
# values), so the arrangement scales instead of being the fixed pixel offsets it once was.
|
||||
# The percentages are the old pixel offsets expressed against a 1080-tall screen.
|
||||
#
|
||||
# `font_size` and `image:size` are plain ints in hyprlock 0.9.6 and cannot take a
|
||||
# percentage, so they can't scale on their own. They're hoisted into the variables below:
|
||||
# retune those few numbers for a very different screen (they are tuned for wm, 3072x1728 logical),
|
||||
# or `source` a per-host file that redefines them, as kitty.conf does with host.conf.
|
||||
#
|
||||
# Coordinates: +x is right, +y is UP — so centre-anchored, a positive y sits above centre.
|
||||
# (For the two bottom-corner labels, valign = bottom means positive y moves up from it.)
|
||||
|
||||
$fontColor = rgba(255,255,255,0.5)
|
||||
$fontFamily = SourceCodeVF ExtraBold
|
||||
$timeFontFamily = Cantarell ExtraBold
|
||||
|
||||
# Type scale — tuned for wm's 3072x1728 logical screen (this file is shared with lw —
|
||||
# see ToDo.md). Since these can't be
|
||||
# percentages, they are the one thing to retune on a very different display: they are
|
||||
# roughly clock 13%, date 2.5%, meta 1.5% of screen height.
|
||||
$fsClock = 220
|
||||
$fsDate = 44
|
||||
$fsMeta = 26
|
||||
$fsSmall = 24
|
||||
$fsIcon = 40
|
||||
$logoSize = 280
|
||||
|
||||
# Vertical positions — % of screen height from centre, + is up. Order top to bottom: uptime,
|
||||
# greet, logo, input, clock, date. Deliberately pushed OUT to the edges: uptime/greet ride near
|
||||
# the top, clock/date near the bottom, leaving logo + input as the only things near the middle.
|
||||
# Anchored to centre rather than valign top/bottom on purpose — an earlier pass used bands and
|
||||
# silently reordered the clock and date (see the header). Percentages scale, and because each
|
||||
# host's font sizes are set to the same *proportion* of its screen (clock ~12.8% of height on
|
||||
# both), one set of offsets gives both hosts the same layout — hence no per-host override here
|
||||
# by default. Add $y* to hyprlock-host.conf if a host ever needs to differ.
|
||||
$yUptime = 45%
|
||||
$yGreet = 41%
|
||||
$yLogo = 12%
|
||||
$yInput = -5%
|
||||
$yClock = -30%
|
||||
$yDate = -42%
|
||||
|
||||
# Per-host override for the six sizes above. They are ints, not percentages, so they are the
|
||||
# one thing that cannot scale itself — a host with a different panel redefines whichever it
|
||||
# needs here, and everything below picks up the new value (hyprlang expands in file order).
|
||||
# Shipped empty in gui/ so this always resolves even mid-install, before a host overlay is
|
||||
# stowed — same idiom, and same reason, as hypr/host.conf.
|
||||
source = ~/.config/hypr/hyprlock-host.conf
|
||||
|
||||
general {
|
||||
ignore_empty_input = true
|
||||
text_trim = true
|
||||
}
|
||||
# Dropped as of hyprlock 0.9.6 — it rejected all four as "config option does not exist"
|
||||
# and carried on without them, so they never took effect:
|
||||
# no_fade_in / fade_in_time -> fade-in is CLI-only now: lockscreen.sh --no-fade-in
|
||||
# grade, disable_loading_bar -> no equivalent
|
||||
|
||||
background {
|
||||
monitor =
|
||||
path = ~/.config/hypr/hyprlock/assets/background.jpg
|
||||
# Heavier blur than you'd expect: the wallpaper has "open source" set across its
|
||||
# middle, which otherwise reads as text competing with the clock sitting on top of it.
|
||||
blur_passes = 3
|
||||
blur_size = 6
|
||||
contrast = 0.7
|
||||
brightness = 0.38
|
||||
vibrancy = 0.15
|
||||
vibrancy_darkness = 0.5
|
||||
}
|
||||
|
||||
|
||||
# // ▀█▀ █▀█ █▀█
|
||||
# // ░█░ █▄█ █▀▀
|
||||
|
||||
# uptime
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:5000] echo "<span alpha='40%'>$(uptime -p)</span>"
|
||||
color = $fontColor
|
||||
font_family = $fontFamily
|
||||
font_size = $fsMeta
|
||||
position = 0, $yUptime
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# greeting / weather
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:300000] echo "<span alpha='50%'>$(cat ~/.config/fish/greet.txt)</span>"
|
||||
color = $fontColor
|
||||
font_family = $fontFamily
|
||||
font_size = $fsSmall
|
||||
position = 0, $yGreet
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
|
||||
# // █▀▄▀█ █ █▀▄ █▀▄ █░░ █▀▀
|
||||
# // █░▀░█ █ █▄▀ █▄▀ █▄▄ ██▄
|
||||
|
||||
image {
|
||||
monitor =
|
||||
path = ~/.config/hypr/hyprlock/assets/logo.jpg
|
||||
size = $logoSize
|
||||
position = 0, $yLogo
|
||||
halign = center
|
||||
valign = center
|
||||
reload_time = -1
|
||||
reload_cmd =
|
||||
}
|
||||
|
||||
input-field {
|
||||
monitor =
|
||||
size = 20%, 5%
|
||||
position = 0, $yInput
|
||||
halign = center
|
||||
valign = center
|
||||
outline_thickness = 3
|
||||
dots_size = 0.08
|
||||
dots_spacing = 0.2
|
||||
dots_center = true
|
||||
outer_color = rgba(0,0,0,0.1)
|
||||
inner_color = $fontColor
|
||||
fade_on_empty = true
|
||||
}
|
||||
|
||||
|
||||
# // █▄▄ █▀█ ▀█▀ ▀█▀ █▀█ █▀▄▀█
|
||||
# // █▄█ █▄█ ░█░ ░█░ █▄█ █░▀░█
|
||||
|
||||
# date — sits BELOW the clock (-28% vs the clock's -17%), as it did before the band rewrite.
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "<span alpha='50%'>$(LC_TIME=en_US.UTF-8 date +'%A, %B %d')</span>"
|
||||
color = $fontColor
|
||||
font_family = $fontFamily
|
||||
font_size = $fsDate
|
||||
position = 0, $yDate
|
||||
halign = center
|
||||
valign = center
|
||||
}
|
||||
|
||||
# clock — 17% below centre, directly under the input field, with the date below it. Centre-
|
||||
# anchored, so y is the box's CENTRE and the glyphs grow both ways from it; budget for that
|
||||
# when changing $fsClock, which is by far the tallest text here.
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo "<span alpha='50%'>$(date +"%H:%M")</span>"
|
||||
color = $fontColor
|
||||
font_family = $timeFontFamily
|
||||
font_size = $fsClock
|
||||
position = 0, $yClock
|
||||
halign = center
|
||||
valign = center
|
||||
shadow_passes = 1
|
||||
shadow_size = 1
|
||||
shadow_color = rgba(0, 0, 0, 0.5)
|
||||
}
|
||||
|
||||
# power
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[] echo "<span alpha='50%'>⏻ </span>"
|
||||
color = $fontColor
|
||||
font_size = $fsIcon
|
||||
onclick = systemctl poweroff
|
||||
position = 3%, 3%
|
||||
halign = left
|
||||
valign = bottom
|
||||
}
|
||||
|
||||
# battery (prints nothing on a desktop)
|
||||
label {
|
||||
monitor =
|
||||
text = cmd[update:1000] echo -e "<span alpha='50%'>$(~/.config/hypr/battery.sh)</span>"
|
||||
color = $fontColor
|
||||
font_family = $fontFamily
|
||||
font_size = $fsSmall
|
||||
position = -3%, 3%
|
||||
halign = right
|
||||
valign = bottom
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 214 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
@@ -0,0 +1,2 @@
|
||||
# Per-host kitty overrides. Empty by default — a host overlay (e.g. lw/) replaces this file
|
||||
# to tweak font_size/padding/opacity for that machine. kitty.conf includes it LAST.
|
||||
@@ -0,0 +1,40 @@
|
||||
# Colours: HyDE owns both includes; the repo tracks only its own colour changes below.
|
||||
# - theme.conf: HyDE renders the current theme's kitty.theme here on every theme switch
|
||||
# (color.set.sh, by mv, so it's always a real file and never a link into this repo).
|
||||
# Untracked since 2026-11-09; a missing one is silently ignored, so kitty would fall back
|
||||
# to its default palette (bin/hyde-materialize.sh recovers it on a host after the pull).
|
||||
# - hyde.conf: what HyDE's wallbash kitty.sh puts at the top. Absent on most hosts; harmless.
|
||||
include hyde.conf
|
||||
include theme.conf
|
||||
|
||||
# The repo's own colours. They come after the include, so they win (later definitions
|
||||
# override) over EVERY HyDE theme, wallbash included, not just Catppuccin Mocha.
|
||||
background #262335
|
||||
foreground #ffffff
|
||||
# HyDE's Mocha sets #11111B; none = the tab bar uses the background above
|
||||
tab_bar_background none
|
||||
|
||||
font_size 12.0
|
||||
font_family CaskaydiaCove Nerd Font Mono
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
window_padding_width 25
|
||||
enable_audio_bell no
|
||||
cursor_trail 1
|
||||
cursor_blink_interval 0.4 ease-in-out
|
||||
|
||||
tab_bar_style powerline
|
||||
tab_powerline_style slanted
|
||||
|
||||
confirm_os_window_close 0
|
||||
# Remembering size also remembers the maximize state (~/.cache/kitty/main.json):
|
||||
# close one maximized kitty and every new one opens maximized under Hyprland.
|
||||
remember_window_size no
|
||||
initial_window_width 100c
|
||||
initial_window_height 30c
|
||||
#background_opacity 0.60
|
||||
#hide_window_decorations yes
|
||||
|
||||
# Per-host overrides (font_size, padding, opacity…) — included last so it wins.
|
||||
include host.conf
|
||||
@@ -0,0 +1,20 @@
|
||||
# run with `kitty --session ~/.config/kitty/music.conf`
|
||||
|
||||
# os_window_size 220c 64c
|
||||
# create a new tab
|
||||
new_tab music
|
||||
layout splits
|
||||
|
||||
# set the working directory for windows in the current tab
|
||||
cd ~
|
||||
|
||||
# Splits are sized with --bias (a percentage of the space being split) rather
|
||||
# than `resize_window taller/wider N`: that takes N *cells*, so on a small window
|
||||
# N swamps the available space and the other pane collapses to nothing -- cava
|
||||
# was disappearing. --bias keeps the same proportions at any window size.
|
||||
# Tune: --bias here is the share the *new* pane takes; cava gets the remainder.
|
||||
launch --var window=first cava
|
||||
# create additional terminals
|
||||
launch --location=hsplit --bias 80 pyradio
|
||||
focus
|
||||
launch --location=vsplit --bias 65 pipes-rs
|
||||
@@ -0,0 +1,65 @@
|
||||
# Volume
|
||||
9 add volume -5
|
||||
0 add volume 5
|
||||
|
||||
UP add volume 2
|
||||
DOWN add volume -2
|
||||
|
||||
k add volume 2
|
||||
j add volume -2
|
||||
|
||||
# Seek backward / forward
|
||||
LEFT seek -5
|
||||
RIGHT seek 5
|
||||
|
||||
l seek 5
|
||||
h seek -5
|
||||
|
||||
# Bigger jumps
|
||||
Shift+LEFT seek -30
|
||||
Shift+RIGHT seek 30
|
||||
|
||||
# Precise nudge (Shift+h/l): 1s exact seek
|
||||
H seek -1 exact
|
||||
L seek 1 exact
|
||||
|
||||
# Playback speed
|
||||
= add speed 0.1
|
||||
- add speed -0.1
|
||||
BS set speed 1.0 # backspace resets to normal
|
||||
|
||||
# Subtitle sync
|
||||
z add sub-delay -0.1 # subs earlier
|
||||
Z add sub-delay 0.1 # subs later
|
||||
|
||||
# Chapters
|
||||
> add chapter 1
|
||||
< add chapter -1
|
||||
|
||||
# A-B loop (moved off L to avoid the precise-nudge conflict)
|
||||
b ab-loop
|
||||
|
||||
# Audio sync (mirrors the z/Z subtitle-delay pair)
|
||||
x add audio-delay -0.1 # audio earlier
|
||||
X add audio-delay 0.1 # audio later
|
||||
|
||||
# Playlist nav (< / > are used for chapters)
|
||||
[ playlist-prev
|
||||
] playlist-next
|
||||
|
||||
# Track cycling
|
||||
a cycle audio # next audio track
|
||||
n cycle sub # next subtitle track
|
||||
v cycle sub-visibility # (default) toggle subs on/off
|
||||
|
||||
# Loop current file (distinct from the b A-B loop)
|
||||
r cycle-values loop-file inf no
|
||||
|
||||
# Screenshots
|
||||
s screenshot # (default) with subs
|
||||
S screenshot video # clean frame: no subs/OSD
|
||||
|
||||
# Info overlays
|
||||
i script-binding stats/display-stats-toggle # (default) stats HUD
|
||||
o show-progress # flash progress/OSD
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
[pyradio]
|
||||
volume=50
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# Pin Hyprland to HyDE's Lua entry point, explicitly.
|
||||
#
|
||||
# HyDE's own `00-hyde.sh` (synced on every update) assigns HYPRLAND_CONFIG with
|
||||
# `${HYPRLAND_CONFIG:-...}` after sourcing shell/activate; env-hyprland sources
|
||||
# `env-hyprland.d/*.sh` in glob order, so this file (10 sorts after 00) wins by
|
||||
# assigning unconditionally. Keeping the pin alive — rather than deleting this
|
||||
# file and trusting HyDE's default — preserves the invariant that the dots repo
|
||||
# decides which config Hyprland starts with, and makes any rollback a one-line
|
||||
# edit here. Session-start only: relogin, not `hyprctl reload`.
|
||||
#
|
||||
# The Lua chain: hyde.lua loads HyDE's lua/ modules, then the user override
|
||||
# ~/.config/hypr/hyprland.lua (repo: gui/.config/hypr/hyprland.lua, which pulls
|
||||
# in the per-host host.lua). None of the old hyprlang .conf files are read in
|
||||
# Lua mode. See LUA-PORT.md for the full map, flip-day steps and rollback.
|
||||
#
|
||||
# ROLLBACK to hyprlang (the chain was retired at LUA-PORT.md step 8,
|
||||
# 2026-09-10): restore gui/.config/hypr, wm/.config/hypr, lw/.config/hypr and
|
||||
# gui/.local/share/hyde from bddbbf3 (the last pre-step-8 commit), ./install.sh, point this and
|
||||
# the fish twin (gui/.config/fish/conf.d/00-hypr-config.fish) back at
|
||||
# "$HOME/.config/hypr/hyprland.conf" and relogin. d851213 is the last
|
||||
# hyprlang `main` (the port merged 2026-11-09).
|
||||
HYPRLAND_CONFIG="${XDG_DATA_HOME:-$HOME/.local/share}/hypr/hyde.lua"
|
||||
export HYPRLAND_CONFIG
|
||||
Executable
+51
@@ -0,0 +1,51 @@
|
||||
#!/usr/bin/env bash
|
||||
# Self-contained waybar cava module: stream `cava` raw output as Unicode bar chars.
|
||||
# No HyDE dependency — just needs `cava` installed. Usage: cava-waybar.sh [bars]
|
||||
# bars = number of columns (even; ~screen_px / (font-size * 0.6)); default 94.
|
||||
#
|
||||
# waybar's custom/cava module uses restart-interval, so this script is relaunched
|
||||
# every time it exits. Without cleanup each relaunch would leak an orphaned `cava`
|
||||
# child and they'd pile up. We enforce a single instance: track cava's own PID,
|
||||
# kill it on exit, and reap any stale instance left by a previous (crashed) run.
|
||||
bars="${1:-94}"
|
||||
chars="▁▂▃▄▅▆▇█" # cava ascii value 0..7 -> these
|
||||
|
||||
conf="$(mktemp)"
|
||||
pidfile="${XDG_RUNTIME_DIR:-/tmp}/cava-waybar.pid"
|
||||
|
||||
cava_pid=""
|
||||
cleanup() {
|
||||
[[ -n "$cava_pid" ]] && kill "$cava_pid" 2>/dev/null
|
||||
rm -f "$conf" "$pidfile"
|
||||
}
|
||||
trap cleanup EXIT INT TERM
|
||||
|
||||
# Reap a stale cava from a previous run that didn't clean up (e.g. hard kill).
|
||||
if [[ -f "$pidfile" ]]; then
|
||||
old="$(cat "$pidfile" 2>/dev/null)"
|
||||
[[ "$old" =~ ^[0-9]+$ ]] && kill "$old" 2>/dev/null
|
||||
fi
|
||||
|
||||
cat >"$conf" <<EOF
|
||||
[general]
|
||||
bars = $bars
|
||||
[output]
|
||||
method = raw
|
||||
raw_target = /dev/stdout
|
||||
data_format = ascii
|
||||
ascii_max_range = 7
|
||||
EOF
|
||||
|
||||
# sed program: drop the ';' separators, then map each digit 0..7 to its bar char
|
||||
prog="s/;//g"
|
||||
for i in 0 1 2 3 4 5 6 7; do
|
||||
prog+=";s/$i/${chars:$i:1}/g"
|
||||
done
|
||||
|
||||
# Run cava in the background (not a `cava | sed` pipeline) so we hold its real PID
|
||||
# and can kill it in cleanup. stdbuf -oL line-buffers cava so waybar gets each frame
|
||||
# immediately (no choppy lag); its stdout is piped to sed via process substitution.
|
||||
stdbuf -oL cava -p "$conf" > >(sed -u "$prog") &
|
||||
cava_pid=$!
|
||||
echo "$cava_pid" >"$pidfile"
|
||||
wait "$cava_pid"
|
||||
@@ -0,0 +1 @@
|
||||
98
|
||||
@@ -0,0 +1,212 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0px;
|
||||
font-family: "JetBrainsMono Nerd Font";
|
||||
font-weight: bold;
|
||||
font-size: 10px;
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
@import "../theme.css";
|
||||
/* HyDE/wallbash-generated colors, one level up. FATAL if missing —
|
||||
waybar exits before drawing anything. install.sh seeds it from ../theme-fallback.css on
|
||||
hosts where wallbash never wrote one. */
|
||||
|
||||
window#waybar {
|
||||
/* transparent so the cavabar (bottom layer, same region) shows through; module pills keep @main-bg */
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
tooltip {
|
||||
background: @main-bg;
|
||||
color: @main-fg;
|
||||
border-radius: 5px;
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
#custom-padd {
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
padding: 0px;
|
||||
border-radius: 5px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
margin-left: 0px;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
margin-right: 0px;
|
||||
color: @main-fg;
|
||||
animation: ws_normal 20s ease-in-out 1;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background: @wb-act-bg;
|
||||
color: @wb-act-fg;
|
||||
animation: ws_active 20s ease-in-out 1;
|
||||
transition: all 0.4s cubic-bezier(0.55, -0.68, 0.48, 1.682);
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: @wb-hvr-bg;
|
||||
color: @wb-hvr-fg;
|
||||
animation: ws_hover 20s ease-in-out 1;
|
||||
transition: all 0.3s cubic-bezier(0.55, -0.68, 0.48, 1.682);
|
||||
}
|
||||
|
||||
#taskbar button {
|
||||
box-shadow: none;
|
||||
text-shadow: none;
|
||||
padding: 0px;
|
||||
border-radius: 6px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
margin-left: 0px;
|
||||
padding-left: 3px;
|
||||
padding-right: 3px;
|
||||
margin-right: 0px;
|
||||
color: @main-fg;
|
||||
animation: tb_normal 20s ease-in-out 1;
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background: @wb-act-bg;
|
||||
color: @wb-act-fg;
|
||||
/*animation: tb_active 20s ease-in-out 1;*/
|
||||
box-shadow: 0 0 1px 1px rgba(128, 128, 128, 0.4);
|
||||
transition: all 0.4s cubic-bezier(0.55, -0.68, 0.48, 1.682);
|
||||
}
|
||||
|
||||
#taskbar button:hover {
|
||||
background: @wb-hvr-bg;
|
||||
color: @wb-hvr-fg;
|
||||
opacity: 0.8;
|
||||
animation: tb_hover 20s ease-in-out 1;
|
||||
transition: all 0.3s cubic-bezier(0.55, -0.68, 0.48, 1.682);
|
||||
}
|
||||
|
||||
#tray menu * {
|
||||
min-height: 16px;
|
||||
}
|
||||
|
||||
#tray menu separator {
|
||||
min-height: 10px;
|
||||
}
|
||||
|
||||
#backlight,
|
||||
#battery,
|
||||
#bluetooth,
|
||||
#custom-cava,
|
||||
#custom-cliphist,
|
||||
#clock,
|
||||
#custom-cpuinfo,
|
||||
#cpu,
|
||||
#custom-gpuinfo,
|
||||
#idle_inhibitor,
|
||||
#custom-keybindhint,
|
||||
#language,
|
||||
#memory,
|
||||
#mpris,
|
||||
#network,
|
||||
#custom-notifications,
|
||||
#custom-power,
|
||||
#pulseaudio,
|
||||
#custom-spotify,
|
||||
#taskbar,
|
||||
#custom-theme,
|
||||
#tray,
|
||||
#custom-updates,
|
||||
#custom-wallchange,
|
||||
#custom-wbar,
|
||||
#window,
|
||||
#workspaces,
|
||||
#custom-l_end,
|
||||
#custom-r_end,
|
||||
#custom-sl_end,
|
||||
#custom-sr_end,
|
||||
#custom-rl_end,
|
||||
#custom-rr_end {
|
||||
color: @main-fg;
|
||||
/* background: @main-bg; */
|
||||
|
||||
background: transparent;
|
||||
opacity: 1;
|
||||
margin: 4px 0px 4px 0px;
|
||||
padding-left: 4px;
|
||||
padding-right: 4px;
|
||||
}
|
||||
|
||||
window#waybar.empty #window,
|
||||
window#waybar.empty #custom-sl_end,
|
||||
window#waybar.empty #custom-sr_end {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
#taskbar {
|
||||
border-radius: 8px;
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
}
|
||||
|
||||
#custom-r_end {
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
margin-right: 3px;
|
||||
padding-right: 1px;
|
||||
}
|
||||
|
||||
#custom-l_end {
|
||||
border-radius: 8px 0px 0px 8px;
|
||||
margin-left: 3px;
|
||||
padding-left: 1px;
|
||||
}
|
||||
|
||||
#custom-sr_end {
|
||||
border-top-right-radius: 6px;
|
||||
border-bottom-right-radius: 6px;
|
||||
margin-right: 9px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#custom-sl_end {
|
||||
border-top-left-radius: 6px;
|
||||
border-bottom-left-radius: 6px;
|
||||
margin-left: 9px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
#custom-rr_end {
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
margin-right: 9px;
|
||||
padding-right: 3px;
|
||||
}
|
||||
|
||||
#custom-rl_end {
|
||||
border-radius: 8px 0px 0px 8px;
|
||||
margin-left: 9px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
window#waybar.cavabar {
|
||||
/* background: transparent; */
|
||||
background: alpha(@main-bg, 0.1);
|
||||
}
|
||||
|
||||
window#waybar.cavabar #custom-cava {
|
||||
font-size: 24px;
|
||||
color: alpha(@main-fg, 0.5);
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
}
|
||||
@@ -0,0 +1,393 @@
|
||||
// --// standalone two-bar cava rig — hand-maintained, NOT HyDE-generated (see README "Waybar") //-- //
|
||||
|
||||
[
|
||||
{
|
||||
// sourced from header module //
|
||||
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 33,
|
||||
"exclusive": true,
|
||||
"passthrough": false,
|
||||
"gtk-layer-shell": true,
|
||||
"reload_style_on_change": true,
|
||||
|
||||
|
||||
// positions generated based on config.ctl //
|
||||
|
||||
"modules-left": ["custom/l_end","custom/power","custom/r_end","hyprland/workspaces", "custom/sl_end","hyprland/window","custom/sr_end","custom/l_end","custom/wallchange","custom/cliphist","custom/r_end"],
|
||||
"modules-center": ["wlr/taskbar"],
|
||||
"modules-right": ["custom/l_end","backlight","pulseaudio","pulseaudio#microphone","mpris","custom/r_end","custom/l_end","memory","cpu","custom/cpuinfo","battery","custom/r_end","custom/l_end","network","tray","custom/r_end","custom/l_end","idle_inhibitor","clock","custom/r_end"],
|
||||
|
||||
// sourced from modules based on config.ctl //
|
||||
|
||||
"tray": {
|
||||
// exactly 22: Tela only has fixed-size monochrome icons in {16,22,24}/panel — any
|
||||
// other size makes GTK fall through to scalable/devices, whose icons are colored
|
||||
// circles (the blue nm-applet blob). An exact panel match keeps the tray flat/white.
|
||||
"icon-size": 22,
|
||||
"rotate": 0,
|
||||
"spacing": 5
|
||||
},
|
||||
|
||||
// NOTE: keep in sync with modules/window.jsonc — this layout is launched standalone
|
||||
// (waybar -c), so the modules/ file is NOT read here; this inline copy is what renders.
|
||||
"hyprland/window": {
|
||||
"format": " {}",
|
||||
"rotate": 0,
|
||||
"separate-outputs": true,
|
||||
"max-length": 1000,
|
||||
"rewrite": {
|
||||
"(.*) — Kitty": " $1",
|
||||
"(.*)~": " $1",
|
||||
"(.*) — Mozilla Firefox": " $1",
|
||||
"(.*)Mozilla Firefox": " Firefox",
|
||||
"(.*) — LibreWolf": " $1",
|
||||
"(.*)LibreWolf": " LibreWolf",
|
||||
"(.*) — Chromium": " $1",
|
||||
"(.*)Chromium": " Chromium",
|
||||
"(.*) - VSCodium": " $1",
|
||||
"(.*)VSCodium": " VSCodium",
|
||||
"(.*)Code - OSS": " $1",
|
||||
"(.*) - Visual Studio Code": " $1",
|
||||
"(.*)Visual Studio Code": " Code",
|
||||
"(.*) — Dolphin": " $1",
|
||||
"(.*) - Obsidian(.*)": " $1",
|
||||
"(.*)Ferdium": " Ferdium",
|
||||
"(.*)FreeTube": " FreeTube",
|
||||
"(.*) - VLC media player": " $1",
|
||||
"(.*)Neovide": " Nvim",
|
||||
"(.*)Neovim": " Nvim",
|
||||
"(.*)Nvim": " Nvim",
|
||||
"(.*)Gajim": " Gajim",
|
||||
"(.*)KeePassXC": " KeePassXC",
|
||||
"(.*)Betterbird": " Betterbird",
|
||||
// --- apps in use on this rig (glyphs verified against JetBrainsMono NF v3) ---
|
||||
"nvim (.*)": " $1",
|
||||
"nvim": " Nvim",
|
||||
"(.*)PyRadio - Playing: (.*)": " $2",
|
||||
"(.*)PyRadio(.*)": " PyRadio",
|
||||
"(.*) - mpv": " $1",
|
||||
"(.*)mpv": " mpv",
|
||||
"(.*) — Zen Browser": " $1",
|
||||
"(.*)Zen Browser(.*)": " Zen",
|
||||
"(.*) - Thorium": " $1",
|
||||
"(.*)Thorium(.*)": " Thorium",
|
||||
"(.*)Ghostty(.*)": " Ghostty",
|
||||
"(.*)zellij(.*)": " zellij",
|
||||
"(.*)btop(.*)": " btop",
|
||||
"(.*)lazydocker(.*)": " lazydocker",
|
||||
"(.*)Dolphin(.*)": " Dolphin",
|
||||
"(.*)qBittorrent(.*)": " qBittorrent",
|
||||
"(.*)GIMP(.*)": " GIMP",
|
||||
"(.*)LibreOffice(.*)": " LibreOffice",
|
||||
"(.*)KiCad(.*)": " KiCad",
|
||||
"(.*)QGroundControl(.*)": " QGroundControl",
|
||||
"(.*)Foxglove(.*)": " Foxglove",
|
||||
"(.*)Bruno(.*)": " Bruno",
|
||||
"(.*)RustDesk(.*)": " RustDesk",
|
||||
"(.*)scrcpy(.*)": " scrcpy",
|
||||
"(.*)Vial(.*)": " Vial",
|
||||
"(.*)Volume Control(.*)": " Volume Control",
|
||||
"(.*)Satty(.*)": " Satty"
|
||||
}
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"window-rewrite-default":"",
|
||||
"all-outputs": true,
|
||||
"active-only": false,
|
||||
"on-click": "activate",
|
||||
"disable-scroll": false,
|
||||
"on-scroll-up": "hyprctl dispatch workspace -1",
|
||||
"on-scroll-down": "hyprctl dispatch workspace +1",
|
||||
"persistent-workspaces": {}
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 10,
|
||||
"format": " {usage}%",
|
||||
"format-alt": "{icon0}{icon1}{icon2}{icon3}",
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||
},
|
||||
|
||||
"custom/cpuinfo": {
|
||||
"exec": " cpuinfo.sh",
|
||||
"return-type": "json",
|
||||
"format": "{}",
|
||||
"rotate": 0,
|
||||
"interval": 5, // once every 5 seconds
|
||||
"tooltip": true,
|
||||
"max-length": 1000
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"states": {
|
||||
"c": 90, // critical
|
||||
"h": 60, // high
|
||||
"m": 30 // medium
|
||||
},
|
||||
"interval": 30,
|
||||
"rotate": 0,
|
||||
"format": " {used:0.1f}GB",
|
||||
"format-m": " {used:0.1f}GB",
|
||||
"format-h": " {used:0.1f}GB",
|
||||
"format-c": " {used:0.1f}GB",
|
||||
"format-alt": " {percentage}%",
|
||||
"max-length": 10,
|
||||
"tooltip": true,
|
||||
"tooltip-format": " {percentage}%\n {used:0.1f}GB/{total:0.1f}GB"
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"format": "{}",
|
||||
"rotate": 0,
|
||||
"exec": "echo ; echo logout",
|
||||
"on-click": "logoutlaunch.sh 2",
|
||||
"on-click-right": "logoutlaunch.sh 1",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"rotate": 0,
|
||||
"icon-size": 19,
|
||||
"icon-theme": "Tela-circle-dracula",
|
||||
"spacing": 0,
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close",
|
||||
"ignore-list": [
|
||||
"Alacritty"
|
||||
],
|
||||
"app_ids-mapping": {
|
||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||
}
|
||||
},
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"rotate": 0,
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%H:%M}",
|
||||
"rotate": 0,
|
||||
"format-alt": "{:%R %d·%m·%y}",
|
||||
"tooltip-format": "<span>{calendar}</span>",
|
||||
"calendar": {
|
||||
"mode": "month",
|
||||
"mode-mon-col": 3,
|
||||
"on-scroll": 1,
|
||||
"on-click-right": "mode",
|
||||
"format": {
|
||||
"months": "<span color='#ffead3'><b>{}</b></span>",
|
||||
"weekdays": "<span color='#ffcc66'><b>{}</b></span>",
|
||||
"today": "<span color='#ff6699'><b>{}</b></span>"
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"on-click-right": "mode",
|
||||
"on-click-forward": "tz_up",
|
||||
"on-click-backward": "tz_down",
|
||||
"on-scroll-up": "shift_up",
|
||||
"on-scroll-down": "shift_down"
|
||||
}
|
||||
},
|
||||
|
||||
"custom/cliphist": {
|
||||
"format": "{}",
|
||||
"rotate": 0,
|
||||
"exec": "echo ; echo clipboard history",
|
||||
"on-click": "sleep 0.1 && cliphist.sh c",
|
||||
"on-click-right": "sleep 0.1 && cliphist.sh d",
|
||||
"on-click-middle": "sleep 0.1 && cliphist.sh w",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"custom/wallchange": {
|
||||
"format": "{}",
|
||||
"rotate": 0,
|
||||
"exec": "echo ; echo switch wallpaper",
|
||||
// HyDE 26.x removed swwwallpaper.sh/swwwallselect.sh; hyde-shell wallpaper is the
|
||||
// replacement (same calls as upstream's custom-wallchange module)
|
||||
"on-click": "hyde-shell wallpaper -n",
|
||||
"on-click-right": "hyde-shell wallpaper -p",
|
||||
"on-click-middle": "sleep 0.1 && hyde-shell wallpaper --select",
|
||||
"interval" : 86400, // once every day
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}",
|
||||
"rotate": 0,
|
||||
"format-muted": "",
|
||||
"on-click": "pavucontrol -t 3",
|
||||
"on-click-right": "volumecontrol.sh -s ''",
|
||||
"on-click-middle": "volumecontrol.sh -o m",
|
||||
"on-scroll-up": "volumecontrol.sh -o i",
|
||||
"on-scroll-down": "volumecontrol.sh -o d",
|
||||
"tooltip-format": "{icon} {desc} // {volume}%",
|
||||
"scroll-step": 5,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio#microphone": {
|
||||
"format": "{format_source}",
|
||||
"rotate": 0,
|
||||
"format-source": "",
|
||||
"format-source-muted": "",
|
||||
"on-click": "pavucontrol -t 4",
|
||||
"on-click-middle": "volumecontrol.sh -i m",
|
||||
"on-scroll-up": "volumecontrol.sh -i i",
|
||||
"on-scroll-down": "volumecontrol.sh -i d",
|
||||
"tooltip-format": "{format_source} {source_desc} // {source_volume}%",
|
||||
"scroll-step": 5
|
||||
},
|
||||
|
||||
"mpris": {
|
||||
"format": "{player_icon} {dynamic}",
|
||||
"rotate": 0,
|
||||
"format-paused": "{status_icon} <i>{dynamic}</i>",
|
||||
"player-icons": {
|
||||
"default": "▶",
|
||||
"mpv": "",
|
||||
"spotify": "",
|
||||
"firefox": "",
|
||||
"vlc": ""
|
||||
},
|
||||
"status-icons": {
|
||||
"paused": ""
|
||||
},
|
||||
"max-length": 1000,
|
||||
"interval": 1
|
||||
},
|
||||
|
||||
"battery": {
|
||||
// Pinned to the laptop battery on purpose. Unpinned, waybar 0.15 scans every
|
||||
// /sys/class/power_supply node, and a flapping one (the DualShock's
|
||||
// ps-controller-battery-* appearing at login when something wakes the pad)
|
||||
// makes refreshBatteries() throw off its worker thread → SIGABRT, killing the
|
||||
// whole bar (battery.cpp:142 uncaught; all 5 of 2026-08-17's coredumps). The pin
|
||||
// (battery.cpp:117) gates every read/watch of non-matching nodes. On wm no BAT0
|
||||
// exists so the module stays hidden — same as before. On lw verify the name with
|
||||
// `ls /sys/class/power_supply` and correct here if it's BAT1 (its old default-config
|
||||
// log already ruled out BAT2); a wrong name only hides the module, never crashes.
|
||||
"bat": "BAT0",
|
||||
"states": {
|
||||
"good": 95,
|
||||
"warning": 30,
|
||||
"critical": 20
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"rotate": 0,
|
||||
"format-charging": " {capacity}%",
|
||||
"format-plugged": " {capacity}%",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", "", "", ""]
|
||||
},
|
||||
|
||||
// added 2026-08-14 — the rig never had a network indicator ("ethernet icon not working").
|
||||
// Same def as HyDE's ~/.local/share/waybar/modules/network.jsonc, inline like everything
|
||||
// else here; click toggles a bandwidth readout, tooltip carries the connection details.
|
||||
"network": {
|
||||
"tooltip": true,
|
||||
"format-wifi": "<span size='150%'> </span>",
|
||||
"rotate": 0,
|
||||
"format-ethernet": "<span size='150%'> </span>",
|
||||
"tooltip-format": "Network: <big><b>{essid}</b></big>\nSignal strength: <b>{signaldBm}dBm ({signalStrength}%)</b>\nFrequency: <b>{frequency}MHz</b>\nInterface: <b>{ifname}</b>\nIP: <b>{ipaddr}/{cidr}</b>\nGateway: <b>{gwaddr}</b>\nNetmask: <b>{netmask}</b>",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": "<span size='150%'> </span>",
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"format-alt": "<span foreground='#99ffdd'> {bandwidthDownBytes}</span> <span foreground='#ffcc66'> {bandwidthUpBytes}</span>",
|
||||
"on-click-right": "nm-connection-editor", // replaces the hidden nm-applet tray menu
|
||||
"interval": 2
|
||||
},
|
||||
|
||||
"backlight": {
|
||||
"device": "intel_backlight",
|
||||
"rotate": 0,
|
||||
"format": "{icon} {percent}%",
|
||||
"format-icons": ["", "", "", "", "", "", "", "", ""],
|
||||
"on-scroll-up": "brightnessctl set 1%+",
|
||||
"on-scroll-down": "brightnessctl set 1%-",
|
||||
"min-length": 6
|
||||
},
|
||||
// modules for padding //
|
||||
|
||||
"custom/l_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/r_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/sr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rl_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/rr_end": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"custom/padd": {
|
||||
"format": " ",
|
||||
"interval" : "once",
|
||||
"tooltip": false
|
||||
}
|
||||
},
|
||||
|
||||
// full-width cava visualizer layered behind the main bar //
|
||||
|
||||
{
|
||||
"name": "cavabar",
|
||||
"layer": "bottom",
|
||||
"position": "top",
|
||||
"height": 36,
|
||||
"margin-top": -33,
|
||||
"exclusive": false,
|
||||
"passthrough": true,
|
||||
"modules-center": ["custom/cava"],
|
||||
|
||||
"custom/cava": {
|
||||
"format": "{}",
|
||||
"exec": "bash $HOME/.config/waybar/cava-waybar.sh $(cat $HOME/.config/waybar/cava.width 2>/dev/null || echo 94)", // per-host cava.width (bars, even; ~screen_px / (font-size*0.6)). gui default 94; wm overrides to 218
|
||||
"restart-interval": 1,
|
||||
"hide-empty-text": true
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
/* Fallback wallbash palette for the custom waybar rig (Catppuccin Mocha, copied from wm's
|
||||
* live ~/.config/waybar/theme.css 2026-08-17). layouts/custom.css does `@import
|
||||
* "../theme.css"` and a missing import target kills waybar outright — on themed hosts
|
||||
* HyDE/wallbash generates and keeps overwriting that file, but a host where wallbash never
|
||||
* ran (or where the pre-2026-08-14 stow link dangles) has nothing there. install.sh seeds
|
||||
* ~/.config/waybar/theme.css from this copy only when the file is absent; it never
|
||||
* overwrites a generator-owned one. Deliberately NOT stowed as theme.css itself: wallbash
|
||||
* would then write through the symlink into the repo on every wallpaper change. */
|
||||
@define-color bar-bg rgba(0, 0, 0, 0.1);
|
||||
|
||||
@define-color main-bg #11111b;
|
||||
@define-color main-fg #cdd6f4;
|
||||
|
||||
@define-color wb-act-bg #a6adc8;
|
||||
@define-color wb-act-fg #313244;
|
||||
|
||||
@define-color wb-hvr-bg #f5c2e7;
|
||||
@define-color wb-hvr-fg #313244;
|
||||
@@ -0,0 +1,497 @@
|
||||
//
|
||||
// THIS FILE WAS AUTOGENERATED BY ZELLIJ, THE PREVIOUS FILE AT THIS LOCATION WAS COPIED TO: ~/.config/zellij/config.kdl.bak
|
||||
//
|
||||
|
||||
keybinds clear-defaults=true {
|
||||
locked {
|
||||
bind "Alt g" { SwitchToMode "normal"; }
|
||||
}
|
||||
pane {
|
||||
bind "h" "left" { MoveFocus "left"; }
|
||||
bind "j" "down" { MoveFocus "down"; }
|
||||
bind "k" "up" { MoveFocus "up"; }
|
||||
bind "l" "right" { MoveFocus "right"; }
|
||||
bind "c" { SwitchToMode "renamepane"; PaneNameInput 0; }
|
||||
bind "d" { NewPane "down"; SwitchToMode "normal"; }
|
||||
bind "e" { TogglePaneEmbedOrFloating; SwitchToMode "normal"; }
|
||||
bind "f" { ToggleFocusFullscreen; SwitchToMode "normal"; }
|
||||
bind "h" { MoveFocus "left"; }
|
||||
bind "i" { TogglePanePinned; SwitchToMode "normal"; }
|
||||
bind "j" { MoveFocus "down"; }
|
||||
bind "k" { MoveFocus "up"; }
|
||||
bind "l" { MoveFocus "right"; }
|
||||
bind "n" { NewPane; SwitchToMode "normal"; }
|
||||
bind "p" { SwitchFocus; }
|
||||
bind "Alt p" { SwitchToMode "normal"; }
|
||||
bind "r" { NewPane "right"; SwitchToMode "normal"; }
|
||||
bind "w" { ToggleFloatingPanes; SwitchToMode "normal"; }
|
||||
bind "z" { TogglePaneFrames; SwitchToMode "normal"; }
|
||||
}
|
||||
tab {
|
||||
bind "h" "left" { GoToPreviousTab; }
|
||||
bind "j" "down" { GoToNextTab; }
|
||||
bind "k" "up" { GoToPreviousTab; }
|
||||
bind "l" "right" { GoToNextTab; }
|
||||
bind "1" { GoToTab 1; SwitchToMode "normal"; }
|
||||
bind "2" { GoToTab 2; SwitchToMode "normal"; }
|
||||
bind "3" { GoToTab 3; SwitchToMode "normal"; }
|
||||
bind "4" { GoToTab 4; SwitchToMode "normal"; }
|
||||
bind "5" { GoToTab 5; SwitchToMode "normal"; }
|
||||
bind "6" { GoToTab 6; SwitchToMode "normal"; }
|
||||
bind "7" { GoToTab 7; SwitchToMode "normal"; }
|
||||
bind "8" { GoToTab 8; SwitchToMode "normal"; }
|
||||
bind "9" { GoToTab 9; SwitchToMode "normal"; }
|
||||
bind "[" { BreakPaneLeft; SwitchToMode "normal"; }
|
||||
bind "]" { BreakPaneRight; SwitchToMode "normal"; }
|
||||
bind "b" { BreakPane; SwitchToMode "normal"; }
|
||||
bind "h" { GoToPreviousTab; }
|
||||
bind "j" { GoToNextTab; }
|
||||
bind "k" { GoToPreviousTab; }
|
||||
bind "l" { GoToNextTab; }
|
||||
bind "n" { NewTab; SwitchToMode "normal"; }
|
||||
bind "r" { SwitchToMode "renametab"; TabNameInput 0; }
|
||||
bind "s" { ToggleActiveSyncTab; SwitchToMode "normal"; }
|
||||
bind "Alt t" { SwitchToMode "normal"; }
|
||||
bind "x" { CloseTab; SwitchToMode "normal"; }
|
||||
bind "tab" { ToggleTab; }
|
||||
}
|
||||
resize {
|
||||
bind "h" "left" { Resize "Increase left"; }
|
||||
bind "j" "down" { Resize "Increase down"; }
|
||||
bind "k" "up" { Resize "Increase up"; }
|
||||
bind "l" "right" { Resize "Increase right"; }
|
||||
bind "+" { Resize "Increase"; }
|
||||
bind "-" { Resize "Decrease"; }
|
||||
bind "=" { Resize "Increase"; }
|
||||
bind "H" { Resize "Decrease left"; }
|
||||
bind "J" { Resize "Decrease down"; }
|
||||
bind "K" { Resize "Decrease up"; }
|
||||
bind "L" { Resize "Decrease right"; }
|
||||
bind "h" { Resize "Increase left"; }
|
||||
bind "j" { Resize "Increase down"; }
|
||||
bind "k" { Resize "Increase up"; }
|
||||
bind "l" { Resize "Increase right"; }
|
||||
bind "Alt n" { SwitchToMode "normal"; }
|
||||
}
|
||||
move {
|
||||
bind "h" "left" { MovePane "left"; }
|
||||
bind "j" "down" { MovePane "down"; }
|
||||
bind "k" "up" { MovePane "up"; }
|
||||
bind "l" "right" { MovePane "right"; }
|
||||
bind "h" { MovePane "left"; }
|
||||
bind "Alt h" { SwitchToMode "normal"; }
|
||||
bind "j" { MovePane "down"; }
|
||||
bind "k" { MovePane "up"; }
|
||||
bind "l" { MovePane "right"; }
|
||||
bind "n" { MovePane; }
|
||||
bind "p" { MovePaneBackwards; }
|
||||
bind "tab" { MovePane; }
|
||||
}
|
||||
scroll {
|
||||
bind "Alt left" { MoveFocusOrTab "left"; SwitchToMode "normal"; }
|
||||
bind "Alt down" { MoveFocus "down"; SwitchToMode "normal"; }
|
||||
bind "Alt up" { MoveFocus "up"; SwitchToMode "normal"; }
|
||||
bind "Alt right" { MoveFocusOrTab "right"; SwitchToMode "normal"; }
|
||||
bind "e" { EditScrollback; SwitchToMode "normal"; }
|
||||
bind "Alt j" { MoveFocus "down"; SwitchToMode "normal"; }
|
||||
bind "Alt k" { MoveFocus "up"; SwitchToMode "normal"; }
|
||||
bind "Alt l" { MoveFocusOrTab "right"; SwitchToMode "normal"; }
|
||||
bind "s" { SwitchToMode "entersearch"; SearchInput 0; }
|
||||
bind "Alt s" { SwitchToMode "normal"; }
|
||||
}
|
||||
search {
|
||||
bind "c" { SearchToggleOption "CaseSensitivity"; }
|
||||
bind "n" { Search "down"; }
|
||||
bind "o" { SearchToggleOption "WholeWord"; }
|
||||
bind "p" { Search "up"; }
|
||||
bind "Ctrl s" { SwitchToMode "normal"; }
|
||||
bind "w" { SearchToggleOption "Wrap"; }
|
||||
}
|
||||
session {
|
||||
bind "a" {
|
||||
LaunchOrFocusPlugin "zellij:about" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
}
|
||||
SwitchToMode "normal"
|
||||
}
|
||||
bind "c" {
|
||||
LaunchOrFocusPlugin "configuration" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
}
|
||||
SwitchToMode "normal"
|
||||
}
|
||||
bind "Alt o" { SwitchToMode "normal"; }
|
||||
bind "p" {
|
||||
LaunchOrFocusPlugin "plugin-manager" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
}
|
||||
SwitchToMode "normal"
|
||||
}
|
||||
bind "w" {
|
||||
LaunchOrFocusPlugin "session-manager" {
|
||||
floating true
|
||||
move_to_focused_tab true
|
||||
}
|
||||
SwitchToMode "normal"
|
||||
}
|
||||
}
|
||||
shared_among "normal" "locked" {
|
||||
bind "Ctrl Alt left" { MoveFocusOrTab "left"; }
|
||||
bind "Ctrl Alt down" { MoveFocus "down"; }
|
||||
bind "Ctrl Alt up" { MoveFocus "up"; }
|
||||
bind "Ctrl Alt right" { MoveFocusOrTab "right"; }
|
||||
bind "Ctrl Alt +" { Resize "Increase"; }
|
||||
bind "Ctrl Alt -" { Resize "Decrease"; }
|
||||
bind "Ctrl Alt =" { Resize "Increase"; }
|
||||
bind "Ctrl Alt [" { PreviousSwapLayout; }
|
||||
bind "Ctrl Alt ]" { NextSwapLayout; }
|
||||
bind "Ctrl Alt f" { ToggleFloatingPanes; }
|
||||
bind "Ctrl Alt h" { MoveFocusOrTab "left"; }
|
||||
bind "Ctrl Alt i" { MoveTab "left"; }
|
||||
bind "Ctrl Alt j" { MoveFocus "down"; }
|
||||
bind "Ctrl Alt k" { MoveFocus "up"; }
|
||||
bind "Ctrl Alt l" { MoveFocusOrTab "right"; }
|
||||
bind "Ctrl Alt n" { NewPane; }
|
||||
bind "Ctrl Alt o" { MoveTab "right"; }
|
||||
}
|
||||
shared_except "locked" "entersearch" "renametab" "renamepane" "move" "prompt" "tmux" {
|
||||
bind "Alt h" { SwitchToMode "move"; }
|
||||
}
|
||||
shared_except "locked" "entersearch" "renametab" "renamepane" "prompt" "tmux" {
|
||||
bind "Alt g" { SwitchToMode "locked"; }
|
||||
bind "Alt q" { Quit; }
|
||||
}
|
||||
shared_except "locked" "entersearch" "renametab" "renamepane" "session" "prompt" "tmux" {
|
||||
bind "Alt o" { SwitchToMode "session"; }
|
||||
}
|
||||
shared_except "locked" "scroll" "search" "tmux" {
|
||||
bind "Ctrl b" { SwitchToMode "tmux"; }
|
||||
}
|
||||
shared_except "locked" "scroll" "entersearch" "renametab" "renamepane" "prompt" "tmux" {
|
||||
bind "Alt s" { SwitchToMode "scroll"; }
|
||||
}
|
||||
shared_except "locked" "tab" "entersearch" "renametab" "renamepane" "prompt" "tmux" {
|
||||
bind "Alt t" { SwitchToMode "tab"; }
|
||||
}
|
||||
shared_except "locked" "pane" "entersearch" "renametab" "renamepane" "prompt" "tmux" {
|
||||
bind "Alt p" { SwitchToMode "pane"; }
|
||||
}
|
||||
shared_except "locked" "resize" "entersearch" "renametab" "renamepane" "prompt" "tmux" {
|
||||
bind "Alt n" { SwitchToMode "resize"; }
|
||||
}
|
||||
shared_except "normal" "locked" {
|
||||
bind "Alt +" { Resize "Increase"; }
|
||||
bind "Alt -" { Resize "Decrease"; }
|
||||
bind "Alt =" { Resize "Increase"; }
|
||||
bind "Alt [" { PreviousSwapLayout; }
|
||||
bind "Alt ]" { NextSwapLayout; }
|
||||
bind "Alt f" { ToggleFloatingPanes; }
|
||||
bind "Alt i" { MoveTab "left"; }
|
||||
}
|
||||
shared_except "normal" "locked" "entersearch" {
|
||||
bind "enter" { SwitchToMode "normal"; }
|
||||
}
|
||||
shared_except "normal" "locked" "entersearch" "renametab" "renamepane" {
|
||||
bind "esc" { SwitchToMode "normal"; }
|
||||
}
|
||||
shared_except "normal" "locked" "scroll" {
|
||||
bind "Alt left" { MoveFocusOrTab "left"; }
|
||||
bind "Alt down" { MoveFocus "down"; }
|
||||
bind "Alt up" { MoveFocus "up"; }
|
||||
bind "Alt right" { MoveFocusOrTab "right"; }
|
||||
bind "Alt j" { MoveFocus "down"; }
|
||||
bind "Alt k" { MoveFocus "up"; }
|
||||
bind "Alt l" { MoveFocusOrTab "right"; }
|
||||
}
|
||||
shared_among "pane" "tmux" {
|
||||
bind "x" { CloseFocus; SwitchToMode "normal"; }
|
||||
}
|
||||
shared_among "scroll" "search" {
|
||||
bind "PageDown" { PageScrollDown; }
|
||||
bind "PageUp" { PageScrollUp; }
|
||||
bind "left" { PageScrollUp; }
|
||||
bind "down" { ScrollDown; }
|
||||
bind "up" { ScrollUp; }
|
||||
bind "right" { PageScrollDown; }
|
||||
bind "Ctrl b" { PageScrollUp; }
|
||||
bind "Ctrl c" { ScrollToBottom; SwitchToMode "normal"; }
|
||||
bind "d" { HalfPageScrollDown; }
|
||||
bind "Ctrl f" { PageScrollDown; }
|
||||
bind "h" { PageScrollUp; }
|
||||
bind "j" { ScrollDown; }
|
||||
bind "k" { ScrollUp; }
|
||||
bind "l" { PageScrollDown; }
|
||||
bind "u" { HalfPageScrollUp; }
|
||||
}
|
||||
entersearch {
|
||||
bind "Ctrl c" { SwitchToMode "scroll"; }
|
||||
bind "esc" { SwitchToMode "scroll"; }
|
||||
bind "enter" { SwitchToMode "search"; }
|
||||
}
|
||||
shared_among "entersearch" "renametab" "renamepane" "prompt" "tmux" {
|
||||
bind "Ctrl g" { SwitchToMode "locked"; }
|
||||
bind "Ctrl h" { SwitchToMode "move"; }
|
||||
bind "Alt h" { MoveFocusOrTab "left"; }
|
||||
bind "Ctrl n" { SwitchToMode "resize"; }
|
||||
bind "Alt n" { NewPane; }
|
||||
bind "Ctrl o" { SwitchToMode "session"; }
|
||||
bind "Alt o" { MoveTab "right"; }
|
||||
bind "Ctrl p" { SwitchToMode "pane"; }
|
||||
bind "Ctrl q" { Quit; }
|
||||
bind "Ctrl s" { SwitchToMode "scroll"; }
|
||||
bind "Ctrl t" { SwitchToMode "tab"; }
|
||||
}
|
||||
renametab {
|
||||
bind "esc" { UndoRenameTab; SwitchToMode "tab"; }
|
||||
}
|
||||
shared_among "renametab" "renamepane" {
|
||||
bind "Ctrl c" { SwitchToMode "normal"; }
|
||||
}
|
||||
renamepane {
|
||||
bind "esc" { UndoRenamePane; SwitchToMode "pane"; }
|
||||
}
|
||||
shared_among "session" "tmux" {
|
||||
bind "d" { Detach; }
|
||||
}
|
||||
tmux {
|
||||
bind "left" { MoveFocus "left"; SwitchToMode "normal"; }
|
||||
bind "down" { MoveFocus "down"; SwitchToMode "normal"; }
|
||||
bind "up" { MoveFocus "up"; SwitchToMode "normal"; }
|
||||
bind "right" { MoveFocus "right"; SwitchToMode "normal"; }
|
||||
bind "space" { NextSwapLayout; }
|
||||
bind "\"" { NewPane "down"; SwitchToMode "normal"; }
|
||||
bind "%" { NewPane "right"; SwitchToMode "normal"; }
|
||||
bind "," { SwitchToMode "renametab"; }
|
||||
bind "[" { SwitchToMode "scroll"; }
|
||||
bind "Ctrl b" { Write 2; SwitchToMode "normal"; }
|
||||
bind "c" { NewTab; SwitchToMode "normal"; }
|
||||
bind "h" { MoveFocus "left"; SwitchToMode "normal"; }
|
||||
bind "j" { MoveFocus "down"; SwitchToMode "normal"; }
|
||||
bind "k" { MoveFocus "up"; SwitchToMode "normal"; }
|
||||
bind "l" { MoveFocus "right"; SwitchToMode "normal"; }
|
||||
bind "n" { GoToNextTab; SwitchToMode "normal"; }
|
||||
bind "o" { FocusNextPane; }
|
||||
bind "p" { GoToPreviousTab; SwitchToMode "normal"; }
|
||||
bind "z" { ToggleFocusFullscreen; SwitchToMode "normal"; }
|
||||
}
|
||||
}
|
||||
|
||||
// Plugin aliases - can be used to change the implementation of Zellij
|
||||
// changing these requires a restart to take effect
|
||||
plugins {
|
||||
about location="zellij:about"
|
||||
compact-bar location="zellij:compact-bar"
|
||||
configuration location="zellij:configuration"
|
||||
filepicker location="zellij:strider" {
|
||||
cwd "/"
|
||||
}
|
||||
plugin-manager location="zellij:plugin-manager"
|
||||
session-manager location="zellij:session-manager"
|
||||
status-bar location="zellij:status-bar"
|
||||
strider location="zellij:strider"
|
||||
tab-bar location="zellij:tab-bar"
|
||||
welcome-screen location="zellij:session-manager" {
|
||||
welcome_screen true
|
||||
}
|
||||
}
|
||||
|
||||
// Plugins to load in the background when a new session starts
|
||||
// eg. "file:/path/to/my-plugin.wasm"
|
||||
// eg. "https://example.com/my-plugin.wasm"
|
||||
load_plugins {
|
||||
}
|
||||
|
||||
// Use a simplified UI without special fonts (arrow glyphs)
|
||||
// Options:
|
||||
// - true
|
||||
// - false (Default)
|
||||
//
|
||||
// simplified_ui true
|
||||
|
||||
// Choose the theme that is specified in the themes section.
|
||||
// Default: default
|
||||
//
|
||||
theme "gruvbox-dark" // built into zellij (identical to the themes/ file this repo used to ship)
|
||||
|
||||
// Choose the base input mode of zellij.
|
||||
// Default: normal
|
||||
//
|
||||
default_mode "normal"
|
||||
|
||||
// Choose the path to the default shell that zellij will use for opening new panes
|
||||
// Default: $SHELL
|
||||
//
|
||||
// default_shell "fish"
|
||||
|
||||
// Choose the path to override cwd that zellij will use for opening new panes
|
||||
//
|
||||
// default_cwd "/tmp"
|
||||
|
||||
// The name of the default layout to load on startup
|
||||
// Default: "default"
|
||||
//
|
||||
// default_layout "compact"
|
||||
|
||||
// The folder in which Zellij will look for layouts
|
||||
// (Requires restart)
|
||||
//
|
||||
// layout_dir "/tmp"
|
||||
|
||||
// The folder in which Zellij will look for themes
|
||||
// (Requires restart)
|
||||
//
|
||||
// theme_dir "/tmp"
|
||||
|
||||
// Toggle enabling the mouse mode.
|
||||
// On certain configurations, or terminals this could
|
||||
// potentially interfere with copying text.
|
||||
// Options:
|
||||
// - true (default)
|
||||
// - false
|
||||
//
|
||||
// mouse_mode false
|
||||
|
||||
// Toggle having pane frames around the panes
|
||||
// Options:
|
||||
// - true (default, enabled)
|
||||
// - false
|
||||
//
|
||||
// pane_frames false
|
||||
|
||||
// When attaching to an existing session with other users,
|
||||
// should the session be mirrored (true)
|
||||
// or should each user have their own cursor (false)
|
||||
// (Requires restart)
|
||||
// Default: false
|
||||
//
|
||||
// mirror_session true
|
||||
|
||||
// Choose what to do when zellij receives SIGTERM, SIGINT, SIGQUIT or SIGHUP
|
||||
// eg. when terminal window with an active zellij session is closed
|
||||
// (Requires restart)
|
||||
// Options:
|
||||
// - detach (Default)
|
||||
// - quit
|
||||
//
|
||||
// on_force_close "quit"
|
||||
|
||||
// Configure the scroll back buffer size
|
||||
// This is the number of lines zellij stores for each pane in the scroll back
|
||||
// buffer. Excess number of lines are discarded in a FIFO fashion.
|
||||
// (Requires restart)
|
||||
// Valid values: positive integers
|
||||
// Default value: 10000
|
||||
//
|
||||
// scroll_buffer_size 10000
|
||||
|
||||
// Provide a command to execute when copying text. The text will be piped to
|
||||
// the stdin of the program to perform the copy. This can be used with
|
||||
// terminal emulators which do not support the OSC 52 ANSI control sequence
|
||||
// that will be used by default if this option is not set.
|
||||
// Examples:
|
||||
//
|
||||
// copy_command "xclip -selection clipboard" // x11
|
||||
// copy_command "wl-copy" // wayland
|
||||
// copy_command "pbcopy" // osx
|
||||
//
|
||||
// copy_command "pbcopy"
|
||||
|
||||
// Choose the destination for copied text
|
||||
// Allows using the primary selection buffer (on x11/wayland) instead of the system clipboard.
|
||||
// Does not apply when using copy_command.
|
||||
// Options:
|
||||
// - system (default)
|
||||
// - primary
|
||||
//
|
||||
// copy_clipboard "primary"
|
||||
|
||||
// Enable automatic copying (and clearing) of selection when releasing mouse
|
||||
// Default: true
|
||||
//
|
||||
// copy_on_select true
|
||||
|
||||
// Path to the default editor to use to edit pane scrollbuffer
|
||||
// Default: $EDITOR or $VISUAL
|
||||
// scrollback_editor "/usr/bin/vim"
|
||||
|
||||
// A fixed name to always give the Zellij session.
|
||||
// Consider also setting `attach_to_session true,`
|
||||
// otherwise this will error if such a session exists.
|
||||
// Default: <RANDOM>
|
||||
//
|
||||
// session_name "My singleton session"
|
||||
|
||||
// When `session_name` is provided, attaches to that session
|
||||
// if it is already running or creates it otherwise.
|
||||
// Default: false
|
||||
//
|
||||
// attach_to_session true
|
||||
|
||||
// Toggle between having Zellij lay out panes according to a predefined set of layouts whenever possible
|
||||
// Options:
|
||||
// - true (default)
|
||||
// - false
|
||||
//
|
||||
// auto_layout false
|
||||
|
||||
// Whether sessions should be serialized to the cache folder (including their tabs/panes, cwds and running commands) so that they can later be resurrected
|
||||
// Options:
|
||||
// - true (default)
|
||||
// - false
|
||||
//
|
||||
// session_serialization false
|
||||
|
||||
// Whether pane viewports are serialized along with the session, default is false
|
||||
// Options:
|
||||
// - true
|
||||
// - false (default)
|
||||
//
|
||||
// serialize_pane_viewport false
|
||||
|
||||
// Scrollback lines to serialize along with the pane viewport when serializing sessions, 0
|
||||
// defaults to the scrollback size. If this number is higher than the scrollback size, it will
|
||||
// also default to the scrollback size. This does nothing if `serialize_pane_viewport` is not true.
|
||||
//
|
||||
// scrollback_lines_to_serialize 10000
|
||||
|
||||
// Enable or disable the rendering of styled and colored underlines (undercurl).
|
||||
// May need to be disabled for certain unsupported terminals
|
||||
// (Requires restart)
|
||||
// Default: true
|
||||
//
|
||||
// styled_underlines false
|
||||
|
||||
// How often in seconds sessions are serialized
|
||||
//
|
||||
// serialization_interval 10000
|
||||
|
||||
// Enable or disable writing of session metadata to disk (if disabled, other sessions might not know
|
||||
// metadata info on this session)
|
||||
// (Requires restart)
|
||||
// Default: false
|
||||
//
|
||||
// disable_session_metadata false
|
||||
|
||||
// Enable or disable support for the enhanced Kitty Keyboard Protocol (the host terminal must also support it)
|
||||
// (Requires restart)
|
||||
// Default: true (if the host terminal supports it)
|
||||
//
|
||||
// support_kitty_keyboard_protocol false
|
||||
|
||||
// Whether to stack panes when resizing beyond a certain size
|
||||
// Default: true
|
||||
//
|
||||
// stacked_resize false
|
||||
|
||||
// Whether to show tips on startup
|
||||
// Default: true
|
||||
//
|
||||
// show_startup_tips false
|
||||
|
||||
// Whether to show release notes on first version run
|
||||
// Default: true
|
||||
//
|
||||
// show_release_notes false
|
||||
@@ -0,0 +1,105 @@
|
||||
// ============================================================================
|
||||
// librewolf.overrides.cfg — personal overrides for LibreWolf's hardened defaults
|
||||
// ----------------------------------------------------------------------------
|
||||
// Deployed by ~/.dots (GNU Stow, `gui` package) to ~/.librewolf/librewolf.overrides.cfg
|
||||
// It is read AFTER the packaged librewolf.cfg, so anything set here WINS and is
|
||||
// re-applied on every launch (this is why about:config edits to hardened prefs
|
||||
// don't otherwise stick).
|
||||
//
|
||||
// Syntax is Mozilla AutoConfig (JS-ish), NOT prefs.js. Available functions:
|
||||
// defaultPref("x", v) set the DEFAULT (still changeable in about:config, <- preferred
|
||||
// reapplied each start; runtime changes persist per profile)
|
||||
// pref("x", v) set the current value
|
||||
// lockPref("x", v) set AND lock (greyed-out / uneditable in about:config)
|
||||
// clearPref("x") reset to the built-in default
|
||||
// Comments: // line or /* block */. Changes take effect after a restart.
|
||||
//
|
||||
// Everything below uses defaultPref so you can still toggle live in about:config.
|
||||
// Trim to taste — the "privacy trade-offs" section is commented out on purpose;
|
||||
// uncomment only what you actually need.
|
||||
// ============================================================================
|
||||
|
||||
|
||||
// ===[ Quality-of-life (safe, low-risk) ]=====================================
|
||||
|
||||
// Restore my previous windows & tabs on startup (1 = homepage, 3 = restore session).
|
||||
defaultPref("browser.startup.page", 3);
|
||||
|
||||
// Keep search-in-address-bar working (also required for DuckDuckGo !bangs & keyword
|
||||
// searches to resolve from the URL bar).
|
||||
defaultPref("keyword.enabled", true);
|
||||
|
||||
// Middle-click / hold autoscroll.
|
||||
defaultPref("general.autoScroll", true);
|
||||
|
||||
// Remember form-field entries (search boxes, etc.).
|
||||
defaultPref("browser.formfill.enable", true);
|
||||
|
||||
// Smooth-ish spell check in text areas.
|
||||
defaultPref("layout.spellcheckDefault", 1);
|
||||
|
||||
|
||||
// ===[ Stay logged in across restarts ]=======================================
|
||||
// LibreWolf wipes cookies + history on shutdown, so you're logged out of
|
||||
// everything every time you close it. This block keeps sessions/history.
|
||||
// >>> Comment this whole block out to restore LibreWolf's clear-on-exit privacy. <<<
|
||||
|
||||
// Master switch for the "clear on shutdown" sweep.
|
||||
defaultPref("privacy.sanitize.sanitizeOnShutdown", false);
|
||||
|
||||
// Belt-and-suspenders granular keys (names differ across Firefox versions; setting
|
||||
// unknown ones is harmless). Old-style:
|
||||
defaultPref("privacy.clearOnShutdown.cookies", false);
|
||||
defaultPref("privacy.clearOnShutdown.history", false);
|
||||
defaultPref("privacy.clearOnShutdown.sessions", false);
|
||||
defaultPref("privacy.clearOnShutdown.offlineApps", false);
|
||||
// Firefox 128+ (_v2) keys:
|
||||
defaultPref("privacy.clearOnShutdown_v2.cookiesAndStorage", false);
|
||||
defaultPref("privacy.clearOnShutdown_v2.historyFormDataAndDownloads", false);
|
||||
|
||||
// Don't downgrade all cookies to session-only (LibreWolf sets 2 = delete on close;
|
||||
// 0 = keep until they expire). May be a no-op on newer builds where it's deprecated.
|
||||
defaultPref("network.cookie.lifetimePolicy", 0);
|
||||
|
||||
|
||||
// ===[ Downloads ]============================================================
|
||||
// true = save straight to the download dir; false = ask every time. Pick one.
|
||||
defaultPref("browser.download.useDownloadDir", true);
|
||||
// defaultPref("browser.download.dir", "/home/YOURUSER/Downloads"); // must be absolute — ~ is not expanded
|
||||
// defaultPref("browser.download.folderList", 2); // 2 = use the custom dir above
|
||||
|
||||
|
||||
// ===[ Privacy / security trade-offs — OPT IN by uncommenting ]================
|
||||
// Each of these RELAXES a LibreWolf hardening default. Enable only if you need it.
|
||||
|
||||
// -- resistFingerprinting (RFP) --
|
||||
// RFP is LibreWolf's strongest anti-fingerprinting measure but it also forces a
|
||||
// light theme, spoofs your timezone, adds letterbox bars, and standardises the
|
||||
// window size. Turn it fully off:
|
||||
// defaultPref("privacy.resistFingerprinting", false);
|
||||
// ...or keep RFP but drop just the grey letterbox bars around pages:
|
||||
// defaultPref("privacy.resistFingerprinting.letterboxing", false);
|
||||
|
||||
// -- WebGL -- (LibreWolf disables it; needed for maps, some games, 3D canvas)
|
||||
// defaultPref("webgl.disabled", false);
|
||||
|
||||
// -- DRM / EME -- (needed for Netflix, Spotify Web, Amazon Video, etc.)
|
||||
// defaultPref("media.eme.enabled", true);
|
||||
// defaultPref("media.gmp-widevine.enabled", true);
|
||||
|
||||
// -- Firefox Sync -- (LibreWolf disables the account UI)
|
||||
// defaultPref("identity.fxaccounts.enabled", true);
|
||||
|
||||
// -- Built-in password manager -- (LibreWolf disables saving logins)
|
||||
// defaultPref("signon.rememberSignons", true);
|
||||
|
||||
// -- Search suggestions from your default engine as you type --
|
||||
// defaultPref("browser.search.suggest.enabled", true);
|
||||
// defaultPref("browser.urlbar.suggest.searches", true);
|
||||
|
||||
|
||||
// ===[ Personal tweaks — add your own below ]=================================
|
||||
// e.g. compact UI density:
|
||||
// defaultPref("browser.uidensity", 1); // 0 normal, 1 compact, 2 touch
|
||||
// e.g. open new tab to a blank page:
|
||||
// defaultPref("browser.newtabpage.enabled", false);
|
||||
Executable
+70
@@ -0,0 +1,70 @@
|
||||
#!/usr/bin/env bash
|
||||
# wbar — run the custom waybar rig (layouts/custom.jsonc + custom.css) as a
|
||||
# supervised systemd user service, and control it.
|
||||
#
|
||||
# Why a service: waybar 0.15.0 segfaults when the LG 4K drops its DisplayPort
|
||||
# link on power-off (output removed) and again when it comes back (output
|
||||
# re-added). Launched as a bare scope nothing relaunched it, so the bar was gone
|
||||
# every morning. As a transient *service* with Restart=always systemd brings it
|
||||
# back after RestartSec, at both ends of the cycle. StartLimitIntervalSec=0 keeps
|
||||
# systemd from giving up while the monitor is gone and Hyprland sits on its
|
||||
# headless fallback output (the default limit of 5 starts per 10 s would
|
||||
# reproduce the original "stays dead" behavior). RestartSec=3 keeps that
|
||||
# potential loop cheap; `systemctl --user show dots-waybar.service -p NRestarts`
|
||||
# after a night says how many restarts a sleep cycle really costs.
|
||||
#
|
||||
# The unit is dots-owned on purpose. HyDE's own bar unit
|
||||
# (hyde-$XDG_SESSION_DESKTOP-bar.service) is masked on rig hosts (README.md) so
|
||||
# waybar.py can never spawn a second, plain bar — reusing that name would need
|
||||
# the mask lifted. Under a different name HyDE keeps seeing "no bar", exactly as
|
||||
# before.
|
||||
#
|
||||
# Because a killed waybar now comes straight back, every killall-based control
|
||||
# goes through here:
|
||||
# wbar restart (what the old `wbar` abbr did) also: hc.start.bar
|
||||
# wbar toggle Ctrl+Alt+W
|
||||
# wbar reload re-read config + CSS in place (SIGUSR2), no restart
|
||||
# wbar start|stop|status
|
||||
set -euo pipefail
|
||||
|
||||
unit="dots-waybar.service"
|
||||
cfg="$HOME/.config/waybar/layouts/custom.jsonc"
|
||||
css="$HOME/.config/waybar/layouts/custom.css"
|
||||
|
||||
active() { systemctl --user is-active --quiet "$unit"; }
|
||||
|
||||
start() {
|
||||
active && return 0
|
||||
systemctl --user reset-failed "$unit" 2>/dev/null || true
|
||||
# A service gets the user manager's environment, not Hyprland's. Forward the
|
||||
# session vars app2unit forwards for HyDE's own units, plus GTK scaling
|
||||
# (GDK_SCALE=1 is what keeps the bar sized right on the 1.25-scaled output).
|
||||
local -a env=()
|
||||
local v
|
||||
for v in XDG_VTNR XDG_SEAT XDG_SEAT_PATH XDG_SESSION_ID XDG_SESSION_PATH GDK_SCALE GDK_DPI_SCALE; do
|
||||
[ -n "${!v:-}" ] && env+=("--setenv=$v=${!v}")
|
||||
done
|
||||
systemd-run --user --quiet --collect \
|
||||
--unit="$unit" --slice=app-graphical.slice --description="waybar (dots custom rig)" \
|
||||
--property=Type=exec --property=ExitType=cgroup \
|
||||
--property=Restart=always --property=RestartSec=3 --property=StartLimitIntervalSec=0 \
|
||||
--property=After=graphical-session.target --property=PartOf=graphical-session.target \
|
||||
"${env[@]}" -- waybar -c "$cfg" -s "$css"
|
||||
}
|
||||
|
||||
case "${1:-restart}" in
|
||||
start) start ;;
|
||||
stop) systemctl --user stop "$unit" ;;
|
||||
restart)
|
||||
if active; then systemctl --user restart "$unit"; else start; fi
|
||||
;;
|
||||
toggle)
|
||||
if active; then systemctl --user stop "$unit"; else start; fi
|
||||
;;
|
||||
reload) systemctl --user kill -s SIGUSR2 "$unit" ;;
|
||||
status) systemctl --user status --no-pager "$unit" ;;
|
||||
*)
|
||||
echo "usage: wbar [start|stop|restart|toggle|reload|status] (default: restart)" >&2
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
@@ -0,0 +1,9 @@
|
||||
# gui package — the one surviving line of HyDE's retired hyde.conf.
|
||||
#
|
||||
# HyDE 26.x ships neither ~/.local/share/hyde/hyde.conf nor hyprland.conf; the repo carried
|
||||
# copies of both as the hyprlang chain's framework sources until LUA-PORT.md step 8 retired
|
||||
# that chain (2026-09-10). Nothing in Lua mode reads them — except get_hyprConf() in
|
||||
# globalcontrol.sh, which HyDE's rofi/menu scripts call for FONT and which falls back to
|
||||
# `$default.FONT` in exactly this file when the active theme's hypr.theme has no font-name
|
||||
# line (the Catppuccin themes don't). Without it the menus drop to rofi's default font.
|
||||
$default.FONT=Cantarell
|
||||
@@ -0,0 +1,12 @@
|
||||
[Icon Theme]
|
||||
Name=dots-icons
|
||||
Comment=Thin overlay over Tela-circle-dracula: monochrome tray/status icons at every size. Tela only ships its flat panel icons at fixed 16/22/24 - on a fractionally scaled monitor waybar requests size*2 (e.g. 44), which falls through to scalable/devices, whose icons are colored circles (the blue nm-applet blob). This theme is searched first and serves the panel SVGs as scalable, so status icons stay flat; everything else inherits Tela unchanged. Pinned via hc.ui.icon_theme in gui/.config/hypr/hyprland.lua. The status icons are symlinks into the host's own Tela-circle-dracula, made by bin/dots-icons-link.sh (install.sh step 3.6) - Tela-circle publishes no licence, so the repo ships none of its files.
|
||||
Inherits=Tela-circle-dracula
|
||||
Directories=scalable/status
|
||||
|
||||
[scalable/status]
|
||||
Context=Status
|
||||
Size=22
|
||||
MinSize=8
|
||||
MaxSize=512
|
||||
Type=Scalable
|
||||
Reference in new issue
Block a user