diff --git a/.claude/worktrees/graceful-crafting-hanrahan b/.claude/worktrees/graceful-crafting-hanrahan new file mode 160000 index 0000000000..a51460a7b1 --- /dev/null +++ b/.claude/worktrees/graceful-crafting-hanrahan @@ -0,0 +1 @@ +Subproject commit a51460a7b1a822ee7194318b60a38850f711b923 diff --git a/.gitignore b/.gitignore index 7c5d01010b..daaecdeaa7 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ Scripts/pkg_user.lst .zsh_history* .zcompdump* Configs/.config/uwsm/* +./.* +build diff --git a/CHANGELOG.md b/CHANGELOG.md index 98373c5082..09e0f853f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,31 @@ All notable changes to 'HyDE' will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to _Modified_ [CalVer](https://calver.org/). See [Versioning](https://github.com/HyDE-Project/HyDE/blob/master/RELEASE_POLICY.md#versioning-yymq) For more info --> +## Unreleased + +### Added +- GTK: hyde will have our own dconf db called 'hyde_hyprland'. That means dconf settings are isolated for HyDE Hyprland ONLY +- Hyprland: Added 'hyde-shell layouts --select' to select hyprland layouts from default or custom layouts. + Add your custom layout modifications to '~/.config/hypr/lua/layouts/custom.lua' + + +### Changed + +- Hyprland: Use lua for all its config +- Hyprland: Deprecate old hyprlang configs +- Core: Added lua and luarocks dependencies +- Core: Convert some script to lua +- Hyprland: Removed '[hyprland-start]'. Use 'desktop.start' instead. +- Desktop: Added 'desktop.start' to handle startup commands. +- Core: Some config changes in '~/.config/hyde/config.toml', Please see the schema for more info. +- Hyprland: Drop of hyprlang support +- GTK: Have a separate 'DCONF_PROFILE' for GTK apps! For QT, twas always handled by qt6ct and should not + mangle with QT. But KDE apps uses ~/.config/kdeglobals which might break KDE apps for multi DE. (No fix for now) + + +## Fixed +- Some minor bugs + ## v26.4.5 | End of April Release ### Changed diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index b28c9f2f0c..10d8126499 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -19,6 +19,7 @@ _These contributors help with code review, triaging, and development._ - [@Metalhearf](https://github.com/Metalhearf) - [@prime-run](https://github.com/prime-run) - [@heeeeeeeeeeh](https://github.com/heeeeeeeeeeh/) +- [@0xGeN02](https://github.com/0xGeN02) ## Testers diff --git a/Configs/.config/dconf/profile/hyde_hyprland b/Configs/.config/dconf/profile/hyde_hyprland new file mode 100644 index 0000000000..0689bf408f --- /dev/null +++ b/Configs/.config/dconf/profile/hyde_hyprland @@ -0,0 +1 @@ +user-db:hyde_hyprland diff --git a/Configs/.config/fish/completions/hyde-shell.fish b/Configs/.config/fish/completions/hyde-shell.fish deleted file mode 100644 index 357c3959d7..0000000000 --- a/Configs/.config/fish/completions/hyde-shell.fish +++ /dev/null @@ -1,49 +0,0 @@ -# Fish completion for hyde-shell - -function __hyde_shell_get_commands - echo "--help -help --h --r -reload -wallbash ---version -version --v ---release-notes -release-notes ---list-script ---list-script-path ---completions" - - # Get hyde scripts - if command -v hyde-shell >/dev/null 2>&1 - hyde-shell --list-script 2>/dev/null | sed 's/\.[^.]*$//' - end -end - -function __hyde_shell_get_wallbash_scripts - # Just --help for now - echo "--help" -end - -# Main completions -complete -c hyde-shell -f - -# First argument completions -complete -c hyde-shell -n "not __fish_seen_subcommand_from (__hyde_shell_get_commands)" -a "(__hyde_shell_get_commands)" -d "Hyde shell commands" - -# Wallbash subcommand completions -complete -c hyde-shell -n "__fish_seen_subcommand_from wallbash" -a "(__hyde_shell_get_wallbash_scripts)" -d "Wallbash scripts" - -# Completions subcommand -complete -c hyde-shell -n "__fish_seen_subcommand_from --completions" -a "bash zsh fish" -d "Shell completion types" - -# Option descriptions -complete -c hyde-shell -s h -l help -d "Display help message" -complete -c hyde-shell -s r -d "Reload HyDE" -complete -c hyde-shell -s v -l version -d "Show version information" -complete -c hyde-shell -l release-notes -d "Show release notes" -complete -c hyde-shell -l list-script -d "List available scripts" -complete -c hyde-shell -l list-script-path -d "List scripts with full paths" -complete -c hyde-shell -l completions -d "Generate shell completions" diff --git a/Configs/.config/hyde/wallbash/always/wayle.dcol b/Configs/.config/hyde/wallbash/always/wayle.dcol new file mode 100644 index 0000000000..a6196f815f --- /dev/null +++ b/Configs/.config/hyde/wallbash/always/wayle.dcol @@ -0,0 +1,2 @@ +/dev/null|${WALLBASH_SCRIPTS}/wayle-theme.sh +# wayle palette bridge - colors passed via dcol_* environment variables diff --git a/Configs/.config/hyde/wallbash/scripts/swaync.sh b/Configs/.config/hyde/wallbash/scripts/swaync.sh new file mode 100755 index 0000000000..634dd47b88 --- /dev/null +++ b/Configs/.config/hyde/wallbash/scripts/swaync.sh @@ -0,0 +1,5 @@ +#!/bin/bash +# Time : 2025-April-23 11:52:54 +# Author : JaxTsai + +swaync-client -R && swaync-client -rs diff --git a/Configs/.config/hyde/wallbash/scripts/wayle-theme.sh b/Configs/.config/hyde/wallbash/scripts/wayle-theme.sh new file mode 100755 index 0000000000..536aa83f61 --- /dev/null +++ b/Configs/.config/hyde/wallbash/scripts/wayle-theme.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash +# wayle-theme.sh - Bridge Hyde wallbash colors to wayle palette +# Called by wayle.dcol wallbash hook on wallpaper/theme change +# Receives dcol_* environment variables from wallbash (hex without #) + +command -v wayle >/dev/null 2>&1 || exit 0 +pgrep -x wayle >/dev/null 2>&1 || exit 0 +[[ -z "$dcol_pry1" ]] && exit 0 + +# Map wallbash dcol colors to wayle palette slots +# dcol values are raw hex (no # prefix) +wayle config set styling.palette.bg "#${dcol_pry1}" 2>/dev/null +wayle config set styling.palette.surface "#${dcol_pry2}" 2>/dev/null +wayle config set styling.palette.elevated "#${dcol_pry3}" 2>/dev/null +wayle config set styling.palette.fg "#${dcol_txt1}" 2>/dev/null +wayle config set styling.palette.fg-muted "#${dcol_3xa6}" 2>/dev/null +wayle config set styling.palette.primary "#${dcol_1xa7}" 2>/dev/null +wayle config set styling.palette.red "#${dcol_1xa8}" 2>/dev/null +wayle config set styling.palette.yellow "#${dcol_1xa6}" 2>/dev/null +wayle config set styling.palette.green "#${dcol_2xa7}" 2>/dev/null +wayle config set styling.palette.blue "#${dcol_3xa7}" 2>/dev/null diff --git a/Configs/.config/hyde/wallbash/theme/swaync.dcol b/Configs/.config/hyde/wallbash/theme/swaync.dcol new file mode 100644 index 0000000000..d8db0b7209 --- /dev/null +++ b/Configs/.config/hyde/wallbash/theme/swaync.dcol @@ -0,0 +1,131 @@ +${confDir}/swaync/theme.css | ${WALLBASH_SCRIPTS}/swaync.sh +/* Import wallbash */ +@import "<>/.cache/hyde/wallbash/gtk.css"; + + +/* + * + * Global + * + * */ +@define-color text-color #FFFFFF; +@define-color text-color-disabled #070707; + +/* + * + * control center + * + * */ +/* background */ +@define-color sw-cc-bg #; +/* border */ +@define-color sw-cc-border-color #; +/* +* +* notification title 'the notification word on control center' +* +* */ +/* foreground */ +/* @define-color sw-noti-titl-fg #; */ +/* shadow */ +/* @define-color sw-noti-titl-shad #; */ + + +.control-center { + /* The Control Center which contains the old notifications + widgets */ + background: @sw-cc-bg; + color: @text-color; + border-radius: 12px; + border: 2px solid @sw-cc-border-color; + opacity: 0.9; +} + + +/* +* +* notification window +* +* */ +/* background */ +@define-color sw-noti-window-bg #; +/* border */ +@define-color sw-noti-window-br #; +/* color */ +@define-color sw-noti-window-txt #; +/* hover */ +@define-color sw-noti-bg-hover #; + +/* @define-color noti-bg-opaque #5A8FB2; */ +/* @define-color noti-bg-hover-opaque #4B697D; */ + +@define-color noti-bg-hover @sw-noti-bg-hover; +.notification-row .notification-background .notification { + /* The actual notification */ + color: @sw-noti-window-txt; + border-radius: 12px; + border: 2px solid @sw-noti-window-br; + padding: 5; + transition: background 0.15s ease-in-out; + background: @sw-noti-window-bg; + opacity: 0.8; +} + + +/* +* +* summary message +* +* */ +/* foreground */ +@define-color sw-msg-sum-fg #; +/* shadow */ +/* @define-color sw-msg-sum-shad #; */ +/* time */ +/* @define-color sw-msg-time #; */ +/* body */ +@define-color sw-msg-body #; + + +.notification-row .notification-background .notification .notification-default-action .notification-content .text-box .summary { + /* Notification summary/title */ + font-size: 16px; + font-weight: bold; + background: transparent; + /* background: @sw-msg-body; */ + color: @text-color; + text-shadow: none; +} + +/* +* +* notification group +* +* */ +/* icon */ +@define-color sw-noti-gr-icon #; +/* button */ +@define-color sw-noti-gr-collapse-but-hvr #; +/* icon */ +@define-color sw-noti-gr-collapse-but-icon #; +/* button */ +/* @define-color sw-noti-gr-close-btn-hvr #; */ +/* icon */ +/* @define-color sw-noti-gr-close-btn-icon #; */ + +.notification-group .notification-group-headers .notification-group-icon { + /* color: @text-color; */ + color: @sw-noti-gr-icon; +} + +.notification-group.collapsed .notification-group-headers .notification-group-icon { + /* color: @text-color; */ + color: @sw-noti-gr-collapse-but-icon; +} +.notification-group.collapsed .notification-row .notification { + /* background-color: @noti-bg-opaque; */ + background-color: @noti-bg-opaque; +} +.notification-group.collapsed:hover .notification-row:not(:only-child) .notification { + /* background-color: @noti-bg-hover-opaque; */ + background-color: @sw-noti-gr-collapse-but-hvr; +} diff --git a/Configs/.config/hypr/animations.conf b/Configs/.config/hypr/animations.conf deleted file mode 100644 index dd313290da..0000000000 --- a/Configs/.config/hypr/animations.conf +++ /dev/null @@ -1,12 +0,0 @@ - -#! ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -#! █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ - -# See https://wiki.hypr.land/Configuring/Animations/ -# HyDE Controlled content // DO NOT EDIT -# Edit or add animations in the ./hypr/animations/ directory -# and run the 'animations.sh --select' command to update this file - -$ANIMATION=theme -$ANIMATION_PATH=./animations/theme.conf -source = $ANIMATION_PATH diff --git a/Configs/.config/hypr/animations/LimeFrenzy.conf b/Configs/.config/hypr/animations/LimeFrenzy.conf deleted file mode 100644 index 58f643fc8e..0000000000 --- a/Configs/.config/hypr/animations/LimeFrenzy.conf +++ /dev/null @@ -1,29 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# ----------------------------------------------------- -# Source:https://github.com/xaicat/LimeFrenzy/ -# ----------------------------------------------------- - -animations { - enabled = 1 - bezier = default, 0.12, 0.92, 0.08, 1.0 - bezier = wind, 0.12, 0.92, 0.08, 1.0 - bezier = overshot, 0.18, 0.95, 0.22, 1.03 - bezier = liner, 1, 1, 1, 1 - - animation = windows, 1, 5, wind, popin 60% - animation = windowsIn, 1, 6, overshot, popin 60% - animation = windowsOut, 1, 4, overshot, popin 60% - animation = windowsMove, 1, 4, overshot, slide - animation = layers, 1, 4, default, popin - animation = fadeIn, 1, 7, default - animation = fadeOut, 1, 7, default - animation = fadeSwitch, 1, 7, default - animation = fadeShadow, 1, 7, default - animation = fadeDim, 1, 7, default - animation = fadeLayers, 1, 7, default - animation = workspaces, 1, 5, overshot, slidevert - animation = border, 1, 1, liner - animation = borderangle, 1, 24, liner, loop -} \ No newline at end of file diff --git a/Configs/.config/hypr/animations/classic.conf b/Configs/.config/hypr/animations/classic.conf deleted file mode 100644 index d1b032fd54..0000000000 --- a/Configs/.config/hypr/animations/classic.conf +++ /dev/null @@ -1,18 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Classic" -# credit https://github.com/mylinuxforwork/dotfiles -# ----------------------------------------------------- - -animations { - enabled = true - bezier = myBezier, 0.05, 0.9, 0.1, 1.05 - animation = windows, 1, 7, myBezier - animation = windowsOut, 1, 7, default, popin 80% - animation = border, 1, 10, default - animation = borderangle, 1, 8, default - animation = fade, 1, 7, default - animation = workspaces, 1, 6, default -} diff --git a/Configs/.config/hypr/animations/diablo-1.conf b/Configs/.config/hypr/animations/diablo-1.conf deleted file mode 100644 index 6de9a8c632..0000000000 --- a/Configs/.config/hypr/animations/diablo-1.conf +++ /dev/null @@ -1,35 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Diablo-1" -# credit https://github.com/Itz-Abhishek-Tiwari -# ----------------------------------------------------- - -animations { - enabled = 1 - bezier = default, 0.05, 0.9, 0.1, 1.05 - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = overshot, 0.13, 0.99, 0.29, 1.08 - bezier = liner, 1, 1, 1, 1 - bezier = bounce, 0.4, 0.9, 0.6, 1.0 - bezier = snappyReturn, 0.4, 0.9, 0.6, 1.0 - - bezier = slideInFromRight, 0.5, 0.0, 0.5, 1.0 - animation = windows, 1, 5, snappyReturn, slidevert - animation = windowsIn, 1, 5, snappyReturn, slidevert right - - animation = windowsOut, 1, 5, snappyReturn, slide - animation = windowsMove, 1, 6, bounce, slide - animation = layersOut, 1, 5, bounce, slidevert right - animation = fadeIn, 1, 10, default - animation = fadeOut, 1, 10, default - animation = fadeSwitch, 1, 10, default - animation = fadeShadow, 1, 10, default - animation = fadeDim, 1, 10, default - animation = fadeLayers, 1, 10, default - animation = workspaces, 1, 7, overshot, slidevert - animation = border, 1, 1, liner - animation = layers, 1, 4, bounce, slidevert right - animation = borderangle, 1, 30, liner, loop -} \ No newline at end of file diff --git a/Configs/.config/hypr/animations/diablo-2.conf b/Configs/.config/hypr/animations/diablo-2.conf deleted file mode 100644 index 679db4139e..0000000000 --- a/Configs/.config/hypr/animations/diablo-2.conf +++ /dev/null @@ -1,29 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Diablo-2" -# credit https://github.com/Itz-Abhishek-Tiwari -# ----------------------------------------------------- - -animations { - enabled = 1 - bezier = default, 0.05, 0.9, 0.1, 1.05 - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = overshot, 0.13, 0.99, 0.29, 1.08 - bezier = liner, 1, 1, 1, 1 - animation = windows, 1, 7, wind, popin - animation = windowsIn, 1, 7, overshot, popin - animation = windowsOut, 1, 5, overshot, popin - animation = windowsMove, 1, 6, overshot, slide - animation = layers, 1, 5, default, popin - animation = fadeIn, 1, 10, default - animation = fadeOut, 1, 10, default - animation = fadeSwitch, 1, 10, default - animation = fadeShadow, 1, 10, default - animation = fadeDim, 1, 10, default - animation = fadeLayers, 1, 10, default - animation = workspaces, 1, 7, overshot, slidevert - animation = border, 1, 1, liner - animation = borderangle, 1, 30, liner, loop -} \ No newline at end of file diff --git a/Configs/.config/hypr/animations/disable.conf b/Configs/.config/hypr/animations/disable.conf deleted file mode 100644 index a32e7275e9..0000000000 --- a/Configs/.config/hypr/animations/disable.conf +++ /dev/null @@ -1,9 +0,0 @@ - -# // ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# // █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ - -# See https://wiki.hypr.land/Configuring/Animations/ -# credits: https://github.com/prasanthrangan/hyprdots - -animations:enabled=false - diff --git a/Configs/.config/hypr/animations/dynamic.conf b/Configs/.config/hypr/animations/dynamic.conf deleted file mode 100644 index f460dacc0e..0000000000 --- a/Configs/.config/hypr/animations/dynamic.conf +++ /dev/null @@ -1,23 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Dynamic" -# credit https://github.com/mylinuxforwork/dotfiles -# ----------------------------------------------------- - -animations { - enabled = true - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = winIn, 0.1, 1.1, 0.1, 1.1 - bezier = winOut, 0.3, -0.3, 0, 1 - bezier = liner, 1, 1, 1, 1 - animation = windows, 1, 6, wind, slide - animation = windowsIn, 1, 6, winIn, slide - animation = windowsOut, 1, 5, winOut, slide - animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 1, liner - animation = borderangle, 1, 30, liner, loop - animation = fade, 1, 10, default - animation = workspaces, 1, 5, wind -} diff --git a/Configs/.config/hypr/animations/end4.conf b/Configs/.config/hypr/animations/end4.conf deleted file mode 100644 index 8be409ca00..0000000000 --- a/Configs/.config/hypr/animations/end4.conf +++ /dev/null @@ -1,43 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "End4" -# credit https://github.com/end-4/dots-hyprland -# ----------------------------------------------------- - -animations { - enabled = true - # Animation curves - - bezier = linear, 0, 0, 1, 1 - bezier = md3_standard, 0.2, 0, 0, 1 - bezier = md3_decel, 0.05, 0.7, 0.1, 1 - bezier = md3_accel, 0.3, 0, 0.8, 0.15 - bezier = overshot, 0.05, 0.9, 0.1, 1.1 - bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 - bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 - bezier = menu_decel, 0.1, 1, 0, 1 - bezier = menu_accel, 0.38, 0.04, 1, 0.07 - bezier = easeInOutCirc, 0.85, 0, 0.15, 1 - bezier = easeOutCirc, 0, 0.55, 0.45, 1 - bezier = easeOutExpo, 0.16, 1, 0.3, 1 - bezier = softAcDecel, 0.26, 0.26, 0.15, 1 - bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration - # Animation configs - animation = windows, 1, 3, md3_decel, popin 60% - animation = windowsIn, 1, 3, md3_decel, popin 60% - animation = windowsOut, 1, 3, md3_accel, popin 60% - animation = border, 1, 10, default - animation = fade, 1, 3, md3_decel - # animation = layers, 1, 2, md3_decel, slide - animation = layersIn, 1, 3, menu_decel, slide - animation = layersOut, 1, 1.6, menu_accel - animation = fadeLayersIn, 1, 2, menu_decel - animation = fadeLayersOut, 1, 4.5, menu_accel - animation = workspaces, 1, 7, menu_decel, slide - # animation = workspaces, 1, 2.5, softAcDecel, slide - # animation = workspaces, 1, 7, menu_decel, slidefade 15% - # animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15% - animation = specialWorkspace, 1, 3, md3_decel, slidevert -} diff --git a/Configs/.config/hypr/animations/fast.conf b/Configs/.config/hypr/animations/fast.conf deleted file mode 100644 index f6f29849b8..0000000000 --- a/Configs/.config/hypr/animations/fast.conf +++ /dev/null @@ -1,26 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Fast" -# credit https://github.com/mylinuxforwork/dotfiles -# ----------------------------------------------------- -animations { - enabled = true - bezier = linear, 0, 0, 1, 1 - bezier = md3_standard, 0.2, 0, 0, 1 - bezier = md3_decel, 0.05, 0.7, 0.1, 1 - bezier = md3_accel, 0.3, 0, 0.8, 0.15 - bezier = overshot, 0.05, 0.9, 0.1, 1.1 - bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 - bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 - bezier = fluent_decel, 0.1, 1, 0, 1 - bezier = easeInOutCirc, 0.85, 0, 0.15, 1 - bezier = easeOutCirc, 0, 0.55, 0.45, 1 - bezier = easeOutExpo, 0.16, 1, 0.3, 1 - animation = windows, 1, 3, md3_decel, popin 60% - animation = border, 1, 10, default - animation = fade, 1, 2.5, md3_decel - animation = workspaces, 1, 3.5, easeOutExpo, slide - animation = specialWorkspace, 1, 3, md3_decel, slidevert -} \ No newline at end of file diff --git a/Configs/.config/hypr/animations/high.conf b/Configs/.config/hypr/animations/high.conf deleted file mode 100644 index f05559a768..0000000000 --- a/Configs/.config/hypr/animations/high.conf +++ /dev/null @@ -1,23 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "High" -# credit https://github.com/mylinuxforwork/dotfiles -# ----------------------------------------------------- - -animations { - enabled = true - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = winIn, 0.1, 1.1, 0.1, 1.1 - bezier = winOut, 0.3, -0.3, 0, 1 - bezier = liner, 1, 1, 1, 1 - animation = windows, 1, 6, wind, slide - animation = windowsIn, 1, 6, winIn, slide - animation = windowsOut, 1, 5, winOut, slide - animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 1, liner - animation = borderangle, 1, 30, liner, loop - animation = fade, 1, 10, default - animation = workspaces, 1, 5, wind -} diff --git a/Configs/.config/hypr/animations/ja.conf b/Configs/.config/hypr/animations/ja.conf deleted file mode 100644 index d1768f6f50..0000000000 --- a/Configs/.config/hypr/animations/ja.conf +++ /dev/null @@ -1,32 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Ja" -# credit https://github.com/JaKooLit/Hyprland-Dots -# ----------------------------------------------------- - -animations { - enabled = yes - - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = winIn, 0.1, 1.1, 0.1, 1.1 - bezier = winOut, 0.3, -0.3, 0, 1 - bezier = liner, 1, 1, 1, 1 - bezier = overshot, 0.05, 0.9, 0.1, 1.05 - bezier = smoothOut, 0.5, 0, 0.99, 0.99 - bezier = smoothIn, 0.5, -0.5, 0.68, 1.5 - - animation = windows, 1, 6, wind, slide - animation = windowsIn, 1, 5, winIn, slide - animation = windowsOut, 1, 3, smoothOut, slide - animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 1, liner - #animation = borderangle, 1, 180, liner, loop #used by rainbow borders and rotating colors - animation = fade, 1, 3, smoothOut - animation = workspaces, 1, 5, overshot - - # animations for -git or version >0.42.0 - animation = workspacesIn, 1, 5, winIn, slide - animation = workspacesOut, 1, 5, winOut, slide -} diff --git a/Configs/.config/hypr/animations/me-1.conf b/Configs/.config/hypr/animations/me-1.conf deleted file mode 100644 index 36064294b0..0000000000 --- a/Configs/.config/hypr/animations/me-1.conf +++ /dev/null @@ -1,58 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Me-1" -# credit https://github.com/mahaveergurjar -# ----------------------------------------------------- - -animations { - enabled = true - # Animation curves - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = winIn, 0.1, 1.1, 0.1, 1.1 - bezier = winOut, 0.3, -0.3, 0, 1 - bezier = liner, 1, 1, 1, 1 - # bezier = linear, 0, 0, 1, 1 - bezier = md3_standard, 0.2, 0, 0, 1 - bezier = md3_decel, 0.05, 0.7, 0.1, 1 - bezier = md3_accel, 0.3, 0, 0.8, 0.15 - bezier = overshot, 0.05, 0.9, 0.1, 1.1 - bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 - bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 - bezier = menu_decel, 0.1, 1, 0, 1 - bezier = menu_accel, 0.38, 0.04, 1, 0.07 - bezier = easeInOutCirc, 0.85, 0, 0.15, 1 - bezier = easeOutCirc, 0, 0.55, 0.45, 1 - bezier = easeOutExpo, 0.16, 1, 0.3, 1 - bezier = softAcDecel, 0.26, 0.26, 0.15, 1 - bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration - - # Animation configs - # animation = windows, 1, 3, md3_decel, popin 60% - # animation = windowsIn, 1, 3, md3_decel, popin 60% - # animation = windowsOut, 1, 3, md3_accel, popin 60% - # animation = windows, 1, 6, wind, slide - animation = border, 1, 1, liner - animation = borderangle, 1, 30, liner, loop - animation = windows, 1, 6, wind, slide - animation = windowsIn, 1, 6, winIn, slide - animation = windowsOut, 1, 5, winOut, slide - animation = windowsMove, 1, 5, wind, slide - - # animation = border, 1, 10, default - animation = fade, 1, 3, md3_decel - # animation = layers, 1, 2, md3_decel, slide - animation = layersIn, 1, 3, menu_decel, slide - animation = layersOut, 1, 1.6, menu_accel - animation = fadeLayersIn, 1, 2, menu_decel - animation = fadeLayersOut, 1, 4.5, menu_accel - animation = workspaces, 1, 7, menu_decel, slide - animation = workspaces, 1, 5, wind - # animation = workspaces, 1, 2.5, softAcDecel, slide - # animation = workspaces, 1, 7, menu_decel, slidefade 15% - animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15% - animation = specialWorkspace, 1, 3, md3_decel, slidevert -} - - diff --git a/Configs/.config/hypr/animations/me-2.conf b/Configs/.config/hypr/animations/me-2.conf deleted file mode 100644 index 4de5ceb70e..0000000000 --- a/Configs/.config/hypr/animations/me-2.conf +++ /dev/null @@ -1,50 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Me-2" -# credit https://github.com/mahaveergurjar -# ----------------------------------------------------- - -animations { - enabled = true - # Animation curves - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = winIn, 0.1, 1.1, 0.1, 1.1 - bezier = winOut, 0.3, -0.3, 0, 1 - bezier = liner, 1, 1, 1, 1 - bezier = md3_standard, 0.2, 0, 0, 1 - bezier = md3_decel, 0.05, 0.7, 0.1, 1 - bezier = md3_accel, 0.3, 0, 0.8, 0.15 - bezier = overshot, 0.05, 0.9, 0.1, 1.1 - bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 - bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 - bezier = menu_decel, 0.1, 1, 0, 1 - bezier = menu_accel, 0.38, 0.04, 1, 0.07 - bezier = easeInOutCirc, 0.85, 0, 0.15, 1 - bezier = easeOutCirc, 0, 0.55, 0.45, 1 - bezier = easeOutExpo, 0.16, 1, 0.3, 1 - bezier = softAcDecel, 0.26, 0.26, 0.15, 1 - bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration - - bezier = OutBack, 0.34, 1.56, 0.64, 1 - bezier = easeInOutCirc, 0.85, 0, 0.15, 1 - - animation = border, 1, 1, liner - animation = borderangle, 1, 30, liner, loop - # animation = windows, 1, 6, wind, slide - animation = windowsIn, 1, 6, winIn, slide - # animation = windowsOut, 1, 5, winOut, slide - animation = windows, 1, 5, easeInOutCirc - animation = windowsOut, 1, 5, OutBack - animation = windowsMove, 1, 5, wind, slide - animation = fade, 1, 3, md3_decel - animation = layersIn, 1, 3, menu_decel, slide - animation = layersOut, 1, 1.6, menu_accel - animation = fadeLayersIn, 1, 2, menu_decel - animation = fadeLayersOut, 1, 4.5, menu_accel - animation = workspaces, 1, 7, menu_decel, slide - animation = workspaces, 1, 5, wind - animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15% - animation = specialWorkspace, 1, 3, md3_decel, slidevert -} \ No newline at end of file diff --git a/Configs/.config/hypr/animations/minimal-1.conf b/Configs/.config/hypr/animations/minimal-1.conf deleted file mode 100644 index 4aa1f79dd8..0000000000 --- a/Configs/.config/hypr/animations/minimal-1.conf +++ /dev/null @@ -1,29 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Minimal-1" -# ----------------------------------------------------- - -animations { - enabled = true - - # █▄▄ █▀▀ ▀█ █ █▀▀ █▀█   █▀▀ █░█ █▀█ █░█ █▀▀ - # █▄█ ██▄ █▄ █ ██▄ █▀▄   █▄▄ █▄█ █▀▄ ▀▄▀ ██▄ - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = winIn, 0.1, 1.1, 0.1, 1.1 - bezier = winOut, 0.3, -0.3, 0, 1 - bezier = liner, 1, 1, 1, 1 - - - #▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ - #█▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ - animation = windows, 1, 6, wind, slide - animation = windowsIn, 1, 6, winIn, slide - animation = windowsOut, 1, 5, winOut, slide - animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 1, liner - animation = borderangle, 1, 30, liner, loop - animation = fade, 1, 10, default - animation = workspaces, 1, 5, wind -} diff --git a/Configs/.config/hypr/animations/minimal-2.conf b/Configs/.config/hypr/animations/minimal-2.conf deleted file mode 100644 index 66da51b7b1..0000000000 --- a/Configs/.config/hypr/animations/minimal-2.conf +++ /dev/null @@ -1,18 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Minimal-2" -# ----------------------------------------------------- - -animations { - enabled = yes - - bezier = quart, 0.25, 1, 0.5, 1 - - animation = windows, 1, 6, quart, slide - animation = border, 1, 6, quart - animation = borderangle, 1, 6, quart - animation = fade, 1, 6, quart - animation = workspaces, 1, 6, quart -} \ No newline at end of file diff --git a/Configs/.config/hypr/animations/moving.conf b/Configs/.config/hypr/animations/moving.conf deleted file mode 100644 index 23b1decd25..0000000000 --- a/Configs/.config/hypr/animations/moving.conf +++ /dev/null @@ -1,22 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Moving" -# credit https://github.com/mylinuxforwork/dotfiles -# ----------------------------------------------------- - -animations { - enabled = true - bezier = overshot, 0.05, 0.9, 0.1, 1.05 - bezier = smoothOut, 0.5, 0, 0.99, 0.99 - bezier = smoothIn, 0.5, -0.5, 0.68, 1.5 - animation = windows, 1, 5, overshot, slide - animation = windowsOut, 1, 3, smoothOut - animation = windowsIn, 1, 3, smoothOut - animation = windowsMove, 1, 4, smoothIn, slide - animation = border, 1, 5, default - animation = fade, 1, 5, smoothIn - animation = fadeDim, 1, 5, smoothIn - animation = workspaces, 1, 6, default -} diff --git a/Configs/.config/hypr/animations/optimized.conf b/Configs/.config/hypr/animations/optimized.conf deleted file mode 100644 index 23c698f273..0000000000 --- a/Configs/.config/hypr/animations/optimized.conf +++ /dev/null @@ -1,43 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Optimized" -# ----------------------------------------------------- - -animations { - enabled = true - bezier = wind, 0.05, 0.85, 0.03, 0.97 - bezier = winIn, 0.07, 0.88, 0.04, 0.99 - bezier = winOut, 0.20, -0.15, 0, 1 - bezier = liner, 1, 1, 1, 1 - bezier = md3_standard, 0.12, 0, 0, 1 - bezier = md3_decel, 0.05, 0.80, 0.10, 0.97 - bezier = md3_accel, 0.20, 0, 0.80, 0.08 - bezier = overshot, 0.05, 0.85, 0.07, 1.04 - bezier = crazyshot, 0.1, 1.22, 0.68, 0.98 - bezier = hyprnostretch, 0.05, 0.82, 0.03, 0.94 - bezier = menu_decel, 0.05, 0.82, 0, 1 - bezier = menu_accel, 0.20, 0, 0.82, 0.10 - bezier = easeInOutCirc, 0.75, 0, 0.15, 1 - bezier = easeOutCirc, 0, 0.48, 0.38, 1 - bezier = easeOutExpo, 0.10, 0.94, 0.23, 0.98 - bezier = softAcDecel, 0.20, 0.20, 0.15, 1 - bezier = md2, 0.30, 0, 0.15, 1 - - bezier = OutBack, 0.28, 1.40, 0.58, 1 - bezier = easeInOutCirc, 0.78, 0, 0.15, 1 - - animation = border, 1, 1.6, liner - animation = borderangle, 1, 82, liner, loop - animation = windowsIn, 1, 3.2, winIn, slide - animation = windowsOut, 1, 2.8, easeOutCirc - animation = windowsMove, 1, 3.0, wind, slide - animation = fade, 1, 1.8, md3_decel - animation = layersIn, 1, 1.8, menu_decel, slide - animation = layersOut, 1, 1.5, menu_accel - animation = fadeLayersIn, 1, 1.6, menu_decel - animation = fadeLayersOut, 1, 1.8, menu_accel - animation = workspaces, 1, 4.0, menu_decel, slide - animation = specialWorkspace, 1, 2.3, md3_decel, slidefadevert 15% -} \ No newline at end of file diff --git a/Configs/.config/hypr/animations/standard.conf b/Configs/.config/hypr/animations/standard.conf deleted file mode 100644 index 4482dd995a..0000000000 --- a/Configs/.config/hypr/animations/standard.conf +++ /dev/null @@ -1,18 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Standard" -# credit https://github.com/mylinuxforwork/dotfiles -# ----------------------------------------------------- - -animations { - enabled = true - bezier = myBezier, 0.05, 0.9, 0.1, 1.05 - animation = windows, 1, 7, myBezier - animation = windowsOut, 1, 7, default, popin 80% - animation = border, 1, 10, default - animation = borderangle, 1, 8, default - animation = fade, 1, 7, default - animation = workspaces, 1, 6, default -} diff --git a/Configs/.config/hypr/animations/theme.conf b/Configs/.config/hypr/animations/theme.conf deleted file mode 100644 index 85eee9a035..0000000000 --- a/Configs/.config/hypr/animations/theme.conf +++ /dev/null @@ -1,23 +0,0 @@ -# This file is generated by wallbash:animations.dcol - -# // ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# // █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ - -# See https://wiki.hypr.land/Configuring/Animations/ -# credits: https://github.com/prasanthrangan/hyprdots - -animations { - enabled = yes - bezier = wind, 0.05, 0.9, 0.1, 1.05 - bezier = winIn, 0.1, 1.1, 0.1, 1.1 - bezier = winOut, 0.3, -0.3, 0, 1 - bezier = liner, 1, 1, 1, 1 - animation = windows, 1, 6, wind, slide - animation = windowsIn, 1, 6, winIn, slide - animation = windowsOut, 1, 5, winOut, slide - animation = windowsMove, 1, 5, wind, slide - animation = border, 1, 1, liner - animation = borderangle, 1, 30, liner, once - animation = fade, 1, 10, default - animation = workspaces, 1, 5, wind -} diff --git a/Configs/.config/hypr/animations/vertical.conf b/Configs/.config/hypr/animations/vertical.conf deleted file mode 100644 index 3e1b446661..0000000000 --- a/Configs/.config/hypr/animations/vertical.conf +++ /dev/null @@ -1,38 +0,0 @@ -# ----------------------------------------------------- -# ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ -# █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ -# -# name "Vertical" -# ----------------------------------------------------- - -animations { - bezier = fluent_decel, 0, 0.2, 0.4, 1 - bezier = easeOutCirc, 0, 0.55, 0.45, 1 - bezier = easeOutCubic, 0.33, 1, 0.68, 1 - bezier = easeinoutsine, 0.37, 0, 0.63, 1 - - # Windows - animation = windowsIn, 1, 1.5, easeinoutsine, popin 60% # window open - animation = windowsOut, 1, 1.5, easeOutCubic, popin 60% # window close. - animation = windowsMove, 1, 1.5, easeinoutsine, slide # everything in between, moving, dragging, resizing. - - # Fading - animation = fade, 1, 2.5, fluent_decel - - animation = fadeLayersIn, 0 - animation = border, 0 - - - # Layers - animation = layers, 1, 1.5, easeinoutsine, popin - - # Workspaces - #animation = workspaces, 1, 3, fluent_decel, slidefade 30% # styles: slide, slidevert, fade, slidefade, slidefadevert - animation = workspaces, 1, 3, fluent_decel, slidefadevert 30% # styles: slide, slidevert, fade, slidefade, slidefadevert - - animation = specialWorkspace, 1, 2, fluent_decel, slidefade 10% -} - -# Because of https://github.com/hyprwm/Hyprland/pull/11490 we need to set our gestures explicitly -gesture = 3, horizontal, unset # unsets the default horizontal gesture -gesture = 3, vertical, workspace diff --git a/Configs/.config/hypr/hyprland.conf b/Configs/.config/hypr/hyprland.conf deleted file mode 100755 index 315308d87d..0000000000 --- a/Configs/.config/hypr/hyprland.conf +++ /dev/null @@ -1,26 +0,0 @@ -$HYDE_HYPRLAND=set #! Do not remove - HyDE marker to prevent file overwrite - -#* You can freely edit this file, but make sure to not remove the above line! -#* All Files Below are yours to modify! - -#!   ░▒▒▒░░░▓▓          ___________ -#! ░░▒▒▒░░░░░▓▓        //___________/ -#! ░░▒▒▒░░░░░▓▓     _   _ _    _ _____ -#! ░░▒▒░░░░░▓▓▓▓▓▓ | | | | |  | |  __/ -#! ░▒▒░░░░▓▓   ▓▓ | |_| | |_/ /| |___ -#!  ░▒▒░░▓▓   ▓▓   \__  |____/ |____/ -#!    ░▒▓▓   ▓▓  //____/ - - -# ------------------------------------------------------ -#TODO Please remove this block if you are sure $HYPRLAND_CONFIG is set -#? This is only use for fallback -source = $HOME/.local/share/hyde/hyprland.conf # Fallback when HYPRLAND_CONFIG is not set -# ------------------------------------------------------- - -#? Read https://hydeproject.pages.dev/en/configuring/hyprland/ for the full documentation. - -source = ./keybindings.conf # Keyboard shortcuts -source = ./windowrules.conf # Window rules -source = ./monitors.conf # Monitor configuration -source = ./userprefs.conf # Your hyprland configuration // Edit this file to change your Hyprland configuration diff --git a/Configs/.config/hypr/hyprland.lua b/Configs/.config/hypr/hyprland.lua new file mode 100644 index 0000000000..92cdd8066f --- /dev/null +++ b/Configs/.config/hypr/hyprland.lua @@ -0,0 +1,5 @@ +-- User Configuration goeas here. +-- Adding keybinding are simple, refer to the wiki and add it here! +-- Duplicated keybinding will always respect the last last added, therefore please override keybindings as you wish. +--- use "require()" to load other lua files, for example: +-- require("keybindings") --- this will load "keybindings.lua" diff --git a/Configs/.config/hypr/keybindings.conf b/Configs/.config/hypr/keybindings.conf deleted file mode 100644 index 424b6d6836..0000000000 --- a/Configs/.config/hypr/keybindings.conf +++ /dev/null @@ -1,222 +0,0 @@ -## █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀ -## █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█ - -# see https://wiki.hypr.land/configuring/keywords/ for more -# example binds, see https://wiki.hypr.land/configuring/binds/ for more - -#? ------- KEYBINDS_HYPRLAND_V_0_53 COMPATIBLE ---------------- -# This Config is compatible with keybinding changes in Hyprland v0.53+ -# To ensure your system is working we will not disable this block -# User template files will be provided in $XDG_DATA_HOME/hyde/templates/hypr/keybindings.conf for manual update. - -#? ------- Grouping of binds for easier management ---------------- -# $d=[Group Name|Subgroup Name1|Subgroup Name2|...] -# '$d' is a variable that is used to group binds together (or use another variable) -# This is only for organization purposes and is not a defined hyprland variable -# What we did here is to modify the Description of the binds to include the group name -# The $d will be parsed as a separate key to be use for a GUI or something pretty -# [Main|Subgroup1|Subgroup2|...] -# Main - The main groupname -# Subgroup1.. - The subgroup names can be use to avoid repeating the same description - -#? ------- Variables ---------------- -# Default if commented out -# $mainMod = Super # super / meta / windows key -# Assign apps -# $TERMINAL = kitty -# $EDITOR = code -# $EXPLORER = dolphin -# $BROWSER = firefox -# $KILLACTIVE = hyprctl dispatch killactive "" - -$wm=Window Management -$d=[$wm] -bindd = $mainMod, Q, $d close focused window, exec, $KILLACTIVE -bindd = Alt, F4, $d close focused window, exec, $KILLACTIVE -bindd = $mainMod, Delete, $d kill hyprland session, exec, hyde-shell logout -bindd = $mainMod, W, $d Toggle floating, togglefloating -bindd = $mainMod, G, $d toggle group, togglegroup -bindd = Shift, F11, $d toggle fullscreen, fullscreen -bindd = $mainMod, L, $d lock screen, exec, hyde-shell lock-session -bindd = $mainMod Shift, F, $d toggle pin on focused window, exec, hyde-shell window.pin -bindd = Control Alt, Delete, $d logout menu, exec, hyde-shell logoutlaunch -bindd = Alt_R, Control_R, $d toggle waybar and reload config, exec, hyde-shell waybar --hide -# bindd = ALT_R, Control_R,toggle waybar, exec, killall waybar || waybar # toggle waybar without reloading, this is faster - -$d=[$wm|Group Navigation] -bindd = $mainMod Control, H, $d change active group backwards , changegroupactive, b -bindd = $mainMod Control, L, $d change active group forwards , changegroupactive, f - -$d=[$wm|Change focus] -bindd = $mainMod, Left, $d focus left, movefocus, l -bindd = $mainMod, Right, $d focus right , movefocus, r -bindd = $mainMod, Up, $d focus up , movefocus, u -bindd = $mainMod, Down , $d focus down, movefocus, d -bindd = ALT, Tab,$d Cycle focus, exec, hyprctl --batch "dispatch cyclenext ; dispatch alterzorder top" - -$d=[$wm|Resize Active Window] -# Resize windows -bindde = $mainMod Shift, Right, $d resize window right , resizeactive, 30 0 -bindde = $mainMod Shift, Left, $d resize window left, resizeactive, -30 0 -bindde = $mainMod Shift, Up, $d resize window up, resizeactive, 0 -30 -bindde = $mainMod Shift, Down, $d resize window down, resizeactive, 0 30 - -# Move active window around current workspace with mainMod + Shift + Control [←→↑↓] -$d=[$wm|Move active window across workspace] -$moveactivewindow=grep -q "true" <<< $(hyprctl activewindow -j | jq -r .floating) && hyprctl dispatch moveactive -bindde = $mainMod Shift Control, left, Move active window to the left, exec, $moveactivewindow -30 0 || hyprctl dispatch movewindow l -bindde = $mainMod Shift Control, right, Move active window to the right, exec, $moveactivewindow 30 0 || hyprctl dispatch movewindow r -bindde = $mainMod Shift Control, up, Move active window up, exec, $moveactivewindow 0 -30 || hyprctl dispatch movewindow u -bindde = $mainMod Shift Control, down, Move active window down, exec, $moveactivewindow 0 30 || hyprctl dispatch movewindow d - -# Move/Resize focused window -$d=[$wm|Move & Resize with mouse] -binddm = $mainMod, mouse:272, $d hold to move window, movewindow -binddm = $mainMod, mouse:273, $d hold to resize window, resizewindow -binddm = $mainMod, Z, $d hold to move window , movewindow -binddm = $mainMod, X, $d hold to resize window, resizewindow - -# Toggle focused window split -$d=[$wm] -bindd = $mainMod, J, $d toggle split, layoutmsg, togglesplit - -$l=Launcher -$d=[$l|Apps] -bindd = $mainMod, T, $d terminal emulator , exec, $TERMINAL -bindd = $mainMod Alt, T, $d dropdown terminal , exec, hyde-shell pypr toggle console -bindd = $mainMod, E, $d file explorer , exec, $EXPLORER -bindd = $mainMod, C, $d text editor , exec, $EDITOR -bindd = $mainMod, B, $d web browser , exec, $BROWSER -bindd = Control Shift, Escape, $d system monitor , exec, hyde-shell system.monitor - -$d=[$l|Rofi menus] -$rofi-launch=hyde-shell rofilaunch -bindd = $mainMod, A, $d application finder , exec, pkill -x rofi || $rofi-launch d -bindd = $mainMod, TAB, $d window switcher , exec, pkill -x rofi || $rofi-launch w -bindd = $mainMod Shift, E, $d file finder , exec, pkill -x rofi || $rofi-launch f -bindd = $mainMod, slash, $d keybindings hint, exec, pkill -x rofi || hyde-shell keybinds_hint c # launch keybinds hint -bindd = $mainMod, comma, $d emoji picker , exec, pkill -x rofi || hyde-shell emoji-picker # launch emoji picker -bindd = $mainMod, period, $d glyph picker , exec, pkill -x rofi || hyde-shell glyph-picker # launch glyph picker -bindd = $mainMod, V, $d clipboard , exec, pkill -x rofi || hyde-shell cliphist -c # launch clipboard, -bindd = $mainMod Shift, V, $d clipboard manager , exec, pkill -x rofi || hyde-shell cliphist # launch clipboard Manager -bindd = $mainMod Shift, A, $d select rofi launcher , exec, pkill -x rofi || hyde-shell rofiselect # launch select menu - - -$hc=Hardware Controls -$d=[$hc|Audio] -binddl = , F10, $d toggle mute output , exec, hyde-shell volumecontrol -o m # toggle audio mute -binddl = , XF86AudioMute,$d toggle mute output, exec, hyde-shell volumecontrol -o m # toggle audio mute -binddel = , F11, $d decrease volume , exec, hyde-shell volumecontrol -o d # decrease volume -binddel = , F12, $d increase volume , exec, hyde-shell volumecontrol -o i # increase volume -binddl = , XF86AudioMicMute,$d un/mute microphone , exec, hyde-shell volumecontrol -i m # toggle microphone mute -binddel = , XF86AudioLowerVolume, $d decrease volume , exec, hyde-shell volumecontrol -o d # decrease volume -binddel = , XF86AudioRaiseVolume, $d increase volume , exec, hyde-shell volumecontrol -o i # increase volume - -$d=[$hc|Media] -binddl = , XF86AudioPlay,$d play media, exec, playerctl play-pause # toggle between media play and pause -binddl = , XF86AudioPause,$d pause media, exec, playerctl play-pause # toggle between media play and pause -binddl = , XF86AudioNext,$d next media , exec, playerctl next # media next -binddl = , XF86AudioPrev,$d previous media , exec, playerctl previous # media previous -bindd = $mainMod Control, M, $d toggle mute/unmute for active-window, exec, hyde-shell window.mute # toggle mute for active window - - -$d=[$hc|Brightness] -binddel = , XF86MonBrightnessUp, $d increase brightness , exec, hyde-shell brightnesscontrol i # increase brightness -binddel = , XF86MonBrightnessDown, $d decrease brightness , exec, hyde-shell brightnesscontrol d # decrease brightness - - -$ut=Utilities -$d=[$ut] -binddl = $mainMod, K, $d toggle keyboard layout , exec, hyde-shell keyboardswitch # switch keyboard layout -bindd = $mainMod Alt, G, $d game mode , exec, hyde-shell gamemode # disable hypr effects for gamemode -bindd = $mainMod Shift, G, $d open game launcher , exec, hyde-shell gamelauncher # run game launcher for steam and lutris - -$d=[$ut|Screen Capture] -bindd = $mainMod Shift, P, $d color picker, exec, hyprpicker -an # Pick color (Hex) >> clipboard# -bindd = $mainMod, P, $d snip screen , exec, hyde-shell screenshot s # partial screenshot capture -bindd = $mainMod Control, P, $d freeze and snip screen, exec, hyde-shell screenshot sf # partial screenshot capture (frozen screen) -binddl = $mainMod Alt, P, $d print monitor , exec, hyde-shell screenshot m # monitor screenshot capture -binddl = , Print, $d print all monitors , exec, hyde-shell screenshot p # all monitors screenshot capture - -# TODO Make a main rofi menu for these selectors -$rice=Theming and Wallpaper -$d=[$rice] -bindd = $mainMod Alt, Right, $d next global wallpaper , exec, hyde-shell wallpaper -Gn # next global wallpaper -bindd = $mainMod Alt, Left, $d previous global wallpaper , exec, hyde-shell wallpaper -Gp # previous global wallpaper -bindd = $mainMod Shift, W, $d select a global wallpaper , exec, pkill -x rofi || hyde-shell wallpaper -SG # launch wallpaper select menu -bindd = $mainMod Alt, Up, $d next waybar layout , exec, hyde-shell wbarconfgen n # next waybar mode -bindd = $mainMod Alt, Down, $d previous waybar layout , exec, hyde-shell wbarconfgen p # previous waybar mode -bindd = $mainMod Shift, R, $d wallbash mode selector , exec, pkill -x rofi || hyde-shell wallbashtoggle -m # launch wallbash mode select menu -bindd = $mainMod Shift, T, $d select a theme, exec, pkill -x rofi || hyde-shell themeselect # launch theme select menu -bindd = $mainMod+Shift, Y, $d select animations, exec, pkill -x rofi || hyde-shell animations --select # launch animations select menu -bindd = $mainMod+Shift, U, $d select hyprlock layout, exec, pkill -x rofi || hyde-shell hyprlock --select # launch hyprlock layout select menu - - - -$ws=Workspaces -$d=[$ws|Navigation] -bindd = $mainMod, 1, $d navigate to workspace 1 , workspace, 1 -bindd = $mainMod, 2, $d navigate to workspace 2 , workspace, 2 -bindd = $mainMod, 3, $d navigate to workspace 3 , workspace, 3 -bindd = $mainMod, 4, $d navigate to workspace 4 , workspace, 4 -bindd = $mainMod, 5, $d navigate to workspace 5 , workspace, 5 -bindd = $mainMod, 6, $d navigate to workspace 6 , workspace, 6 -bindd = $mainMod, 7, $d navigate to workspace 7 , workspace, 7 -bindd = $mainMod, 8, $d navigate to workspace 8 , workspace, 8 -bindd = $mainMod, 9, $d navigate to workspace 9 , workspace, 9 -bindd = $mainMod, 0, $d navigate to workspace 10 , workspace, 10 - -$d=[$ws|Navigation|Relative workspace] -bindd = $mainMod Control, Right, $d change active workspace forwards , workspace, r+1 -bindd = $mainMod Control, Left, $d change active workspace backwards , workspace, r-1 - -$d=[$ws|Navigation] -bindd = $mainMod Control, Down, $d navigate to the nearest empty workspace , workspace, empty - -# Move focused window to a workspace -$d=[$ws|Move window to workspace] -bindd = $mainMod Shift, 1, $d move to workspace 1 , movetoworkspace, 1 -bindd = $mainMod Shift, 2, $d move to workspace 2 , movetoworkspace, 2 -bindd = $mainMod Shift, 3, $d move to workspace 3 , movetoworkspace, 3 -bindd = $mainMod Shift, 4, $d move to workspace 4 , movetoworkspace, 4 -bindd = $mainMod Shift, 5, $d move to workspace 5 , movetoworkspace, 5 -bindd = $mainMod Shift, 6, $d move to workspace 6 , movetoworkspace, 6 -bindd = $mainMod Shift, 7, $d move to workspace 7 , movetoworkspace, 7 -bindd = $mainMod Shift, 8, $d move to workspace 8 , movetoworkspace, 8 -bindd = $mainMod Shift, 9, $d move to workspace 9 , movetoworkspace, 9 -bindd = $mainMod Shift, 0, $d move to workspace 10 , movetoworkspace, 10 - -# Move focused window to a relative workspace -$d=[$ws] -bindd = $mainMod Control+Alt, Right, $d move window to next relative workspace , movetoworkspace, r+1 -bindd = $mainMod Control+Alt, Left, $d move window to previous relative workspace , movetoworkspace, r-1 - - -# Scroll through existing workspaces -$d=[$ws|Navigation] -bindd = $mainMod, mouse_down, $d next workspace, workspace, e+1 -bindd = $mainMod, mouse_up, $d previous workspace, workspace, e-1 - - -# Move/Switch to special workspace (scratchpad) -$d=[$ws|Navigation|Special workspace] -bindd = $mainMod Shift, S, $d move to scratchpad , movetoworkspace, special -bindd = $mainMod Alt, S, $d move to scratchpad (silent) , movetoworkspacesilent, special -bindd = $mainMod, S, $d toggle scratchpad , togglespecialworkspace - -# Move focused window to a workspace silently -$d=[$ws|Navigation|Move window silently] -bindd = $mainMod Alt, 1, $d move to workspace 1 (silent), movetoworkspacesilent, 1 -bindd = $mainMod Alt, 2, $d move to workspace 2 (silent), movetoworkspacesilent, 2 -bindd = $mainMod Alt, 3, $d move to workspace 3 (silent), movetoworkspacesilent, 3 -bindd = $mainMod Alt, 4, $d move to workspace 4 (silent), movetoworkspacesilent, 4 -bindd = $mainMod Alt, 5, $d move to workspace 5 (silent), movetoworkspacesilent, 5 -bindd = $mainMod Alt, 6, $d move to workspace 6 (silent), movetoworkspacesilent, 6 -bindd = $mainMod Alt, 7, $d move to workspace 7 (silent), movetoworkspacesilent, 7 -bindd = $mainMod Alt, 8, $d move to workspace 8 (silent), movetoworkspacesilent, 8 -bindd = $mainMod Alt, 9, $d move to workspace 9 (silent), movetoworkspacesilent, 9 -bindd = $mainMod Alt, 0, $d move to workspace 10 (silent), movetoworkspacesilent, 10 - - - -$d=#! unset the group name diff --git a/Configs/.config/hypr/monitors.conf b/Configs/.config/hypr/monitors.conf deleted file mode 100644 index 32a293b26d..0000000000 --- a/Configs/.config/hypr/monitors.conf +++ /dev/null @@ -1,7 +0,0 @@ - -# █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█ █▀ -# █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄ ▄█ - -# Set your monitor configuration here -# See https://wiki.hypr.land/Configuring/Monitors/ -# For a sample file, please refer to https://github.com/prasanthrangan/hyprdots/blob/main/Configs/.config/hypr/monitors.t2 diff --git a/Configs/.config/hypr/nvidia.conf b/Configs/.config/hypr/nvidia.conf deleted file mode 100644 index e7fe37983e..0000000000 --- a/Configs/.config/hypr/nvidia.conf +++ /dev/null @@ -1,29 +0,0 @@ - -# █▄░█ █░█ █ █▀▄ █ ▄▀█ -# █░▀█ ▀▄▀ █ █▄▀ █ █▀█ - -# For multi GPU setups, Please manually test the environment that works best for you. - -# Hyprland Nvidia Configuration -# See https://wiki.hypr.land/Nvidia/ -env = LIBVA_DRIVER_NAME,nvidia -env = __GLX_VENDOR_LIBRARY_NAME,nvidia # Disable this if you have issues with screensharing - -# If you want to try hardware cursors, -# you can enable them by setting `cursor:no_hardware_cursors = false` , -# but it will also require enabling `cursor:use_cpu_buffer` -cursor:no_hardware_cursors = true # Set to true to avoid hitches -# cursor:use_cpu_buffer = true - -# https://wiki.hypr.land/Nvidia/#va-api-hardware-video-acceleration -# Hardware video acceleration on Nvidia and Wayland is -# possible with the nvidia-vaapi-driver. -# This may solve specific issues in Electron apps. -# env = NVD_BACKEND,direct # Requires 'libva-nvidia-driver' package - -# https://wiki.hypr.land/Nvidia/#regarding-environment-variables -# If you encounter crashes in Firefox, remove this line -env = GBM_BACKEND,nvidia-drm - -# If you have a multi-GPU setup and you are facing lag in external monitor. -# See https://wiki.hypr.land/Configuring/Multi-GPU/ diff --git a/Configs/.config/hypr/shaders.conf b/Configs/.config/hypr/shaders.conf deleted file mode 100644 index 78719faaed..0000000000 --- a/Configs/.config/hypr/shaders.conf +++ /dev/null @@ -1,23 +0,0 @@ - -#! █▀ █░█ ▄▀█ █▀▄ █▀▀ █▀█ █▀ -#! ▄█ █▀█ █▀█ █▄▀ ██▄ █▀▄ ▄█ - -# *┌────────────────────────────────────────────────────────────────────────────┐ -# *│ | -# *│ HyDE Controlled content DO NOT EDIT! | -# *│ Edit or add shaders in the ./shaders/ directory | -# *│ and run the 'shaders.sh --select' command to update this file | -# *│ Modify ./shaders/shader-name.inc to add your own custom defines | -# *│ The 'shader.sh' script will automatically copy this file to the cache | -# *│ and the cache will be used in the shader | -# *│ | -# *└────────────────────────────────────────────────────────────────────────────┘ - -# name of the shader -$SCREEN_SHADER = "disable" -# path to the shader -$SCREEN_SHADER_PATH = "$XDG_CONFIG_HOME/hypr/shaders/disable.frag" -# path to the compiled shader // override this in '../hyde/config.toml' -$SCREEN_SHADER_COMPILED = $XDG_CONFIG_HOME/hypr/shaders/.compiled.cache.glsl - - diff --git a/Configs/.config/hypr/userprefs.conf b/Configs/.config/hypr/userprefs.conf deleted file mode 100644 index d330e1e693..0000000000 --- a/Configs/.config/hypr/userprefs.conf +++ /dev/null @@ -1,48 +0,0 @@ - -# █░█ █▀ █▀▀ █▀█   █▀█ █▀█ █▀▀ █▀▀ █▀ -# █▄█ ▄█ ██▄ █▀▄   █▀▀ █▀▄ ██▄ █▀░ ▄█ - -# Set your personal hyprland configuration here -# See https://wiki.hypr.land/Configuring for more information - -# // █ █▄░█ █▀█ █░█ ▀█▀ -# // █ █░▀█ █▀▀ █▄█ ░█░ - - -# Uncomment to enable // change to a preferred value -# 🔗 See https://wiki.hypr.land/Configuring/Variables/#input -input { - # kb_layout = us - # follow_mouse = 1 - # sensitivity = 0 - # force_no_accel = 0 - # accel_profile = flat - # numlock_by_default = true - - # 🔗 See https://wiki.hypr.land/Configuring/Variables/#touchpad - touchpad { - natural_scroll = no - } - -} - - - -# 🔗 See https://wiki .hyprland.org/Configuring/Variables/#gestures -gestures { -# workspace_swipe = true -# workspace_swipe_fingers = 3 -} - -# for window shallow similar to devour -misc { - # enable_swallow = true - # swallow_regex = (foot|kitty|allacritty|Alacritty|ghostty|Ghostty|org.wezfurlong.wezterm) -} - -# Don't show update on first launch -ecosystem { - # no_update_news = true -} - - diff --git a/Configs/.config/hypr/windowrules.conf b/Configs/.config/hypr/windowrules.conf deleted file mode 100644 index d203af97fe..0000000000 --- a/Configs/.config/hypr/windowrules.conf +++ /dev/null @@ -1,112 +0,0 @@ - -# █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█   █▀█ █░█ █░░ █▀▀ █▀ -# ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀   █▀▄ █▄█ █▄▄ ██▄ ▄█ - -# See https://wiki.hypr.land/Configuring/Window-Rules/ - -#? ------- WINDOWRULES_HYPRLAND_V_0_53 COMPATIBLE ---------------- -# This Config is compatible with windowrules changes in Hyprland v0.53+ -# Any future breaking changes disables this block and notifies the user to update. -# User template files will be provided in $XDG_DATA_HOME/hyde/templates/hypr/windowrules.conf for manual update. - -# hyprlang if WINDOWRULES_HYPRLAND_V_0_53 - -# idle_inhibit rules -windowrule = idle_inhibit fullscreen, match:class ^(.*celluloid.*)$|^(.*mpv.*)$|^(.*vlc.*)$ -windowrule = idle_inhibit fullscreen, match:class ^(.*[Ss]potify.*)$ -windowrule = idle_inhibit fullscreen, match:class ^(.*LibreWolf.*)$|^(.*floorp.*)$|^(.*brave-browser.*)$|^(.*firefox.*)$|^(.*chromium.*)$|^(.*zen.*)$|^(.*vivaldi.*)$ - -# Picture-in-Picture -windowrule { - name = hyde_picture_in_picture - match:title = ^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$ - tag = +picture-in-picture - tag = +hyde_picture_in_picture - float = true - keep_aspect_ratio = true - move = (monitor_w*0.73) (monitor_h*0.72) - size = (monitor_w*0.25) (monitor_h*0.25) - pin = true -} - -windowrule = opacity 0.90 $& 0.90 $& 1,match:class ^(firefox)$ -windowrule = opacity 0.90 $& 0.90 $& 1,match:class ^(zen)$ -windowrule = opacity 0.90 $& 0.90 $& 1,match:class ^(brave-browser)$ -windowrule = opacity 0.80 $& 0.80 $& 1,match:class ^(code-oss)$ -windowrule = opacity 0.80 $& 0.80 $& 1,match:class ^([Cc]ode)$ -windowrule = opacity 0.80 $& 0.80 $& 1,match:class ^(code-url-handler)$ -windowrule = opacity 0.80 $& 0.80 $& 1,match:class ^(code-insiders-url-handler)$ -windowrule = opacity 0.80 $& 0.80 $& 1,match:class ^(kitty)$ -windowrule = opacity 0.80 $& 0.80 $& 1,match:class ^(org.kde.dolphin)$ -windowrule = opacity 0.80 $& 0.80 $& 1,match:class ^(org.kde.ark)$ -windowrule = opacity 0.80 $& 0.80 $& 1,match:class ^(nwg-look)$ -windowrule = opacity 0.80 $& 0.80 $& 1,match:class ^(qt5ct)$ -windowrule = opacity 0.80 $& 0.80 $& 1,match:class ^(qt6ct)$ -windowrule = opacity 0.80 $& 0.80 $& 1,match:class ^(kvantummanager)$ -windowrule = opacity 0.80 $& 0.70 $& 1,match:class ^(org.pulseaudio.pavucontrol)$ -windowrule = opacity 0.80 $& 0.70 $& 1,match:class ^(blueman-manager)$ -windowrule = opacity 0.80 $& 0.70 $& 1,match:class ^(nm-applet)$ -windowrule = opacity 0.80 $& 0.70 $& 1,match:class ^(nm-connection-editor)$ -windowrule = opacity 0.80 $& 0.70 $& 1,match:class ^(hyprpolkitagent)$ -windowrule = opacity 0.80 $& 0.70 $& 1,match:class ^(org.freedesktop.impl.portal.desktop.gtk)$ -windowrule = opacity 0.80 $& 0.70 $& 1,match:class ^(org.freedesktop.impl.portal.desktop.hyprland)$ -windowrule = opacity 0.70 $& 0.70 $& 1,match:class ^([Ss]team)$ -windowrule = opacity 0.70 $& 0.70 $& 1,match:class ^(steamwebhelper)$ -windowrule = opacity 0.70 $& 0.70 $& 1,match:class ^([Ss]potify)$ -windowrule = opacity 0.70 $& 0.70 $& 1,match:initial_title ^(Spotify Free)$ -windowrule = opacity 0.70 $& 0.70 $& 1,match:initial_title ^(Spotify Premium)$ -windowrule = opacity 1.00 $& 1.00 $& 1,match:class ^(blender)$ - -windowrule = opacity 0.90 0.90,match:class ^(com.github.rafostar.Clapper)$ # Clapper-Gtk -windowrule = opacity 0.80 0.80,match:class ^(com.github.tchx84.Flatseal)$ # Flatseal-Gtk -windowrule = opacity 0.80 0.80,match:class ^(hu.kramo.Cartridges)$ # Cartridges-Gtk -windowrule = opacity 0.80 0.80,match:class ^(com.obsproject.Studio)$ # Obs-Qt -windowrule = opacity 0.80 0.80,match:class ^(gnome-boxes)$ # Boxes-Gtk -windowrule = opacity 0.80 0.80,match:class ^(vesktop)$ # Vesktop -windowrule = opacity 0.80 0.80,match:class ^(discord)$ # Discord-Electron -windowrule = opacity 0.80 0.80,match:class ^(WebCord)$ # WebCord-Electron -windowrule = opacity 0.80 0.80,match:class ^(ArmCord)$ # ArmCord-Electron -windowrule = opacity 0.80 0.80,match:class ^(app.drey.Warp)$ # Warp-Gtk -windowrule = opacity 0.80 0.80,match:class ^(net.davidotek.pupgui2)$ # ProtonUp-Qt -windowrule = opacity 0.80 0.80,match:class ^(yad)$ # Protontricks-Gtk -windowrule = opacity 0.80 0.80,match:class ^(Signal)$ # Signal-Gtk -windowrule = opacity 0.80 0.80,match:class ^(io.github.alainm23.planify)$ # planify-Gtk -windowrule = opacity 0.80 0.80,match:class ^(io.gitlab.theevilskeleton.Upscaler)$ # Upscaler-Gtk -windowrule = opacity 0.80 0.80,match:class ^(com.github.unrud.VideoDownloader)$ # VideoDownloader-Gtk -windowrule = opacity 0.80 0.80,match:class ^(io.gitlab.adhami3310.Impression)$ # Impression-Gtk -windowrule = opacity 0.80 0.80,match:class ^(io.missioncenter.MissionCenter)$ # MissionCenter-Gtk -windowrule = opacity 0.80 0.80,match:class ^(io.github.flattool.Warehouse)$ # Warehouse-Gtk - -windowrule = float true,match:class ^(Signal)$ # Signal-Gtk -windowrule = float true,match:class ^(com.github.rafostar.Clapper)$ # Clapper-Gtk -windowrule = float true,match:class ^(app.drey.Warp)$ # Warp-Gtk -windowrule = float true,match:class ^(net.davidotek.pupgui2)$ # ProtonUp-Qt -windowrule = float true,match:class ^(yad)$ # Protontricks-Gtk -windowrule = float true,match:class ^(eog)$ # Imageviewer-Gtk -windowrule = float true,match:class ^(io.github.alainm23.planify)$ # planify-Gtk -windowrule = float true,match:class ^(io.gitlab.theevilskeleton.Upscaler)$ # Upscaler-Gtk -windowrule = float true,match:class ^(com.github.unrud.VideoDownloader)$ # VideoDownloader-Gkk -windowrule = float true,match:class ^(io.gitlab.adhami3310.Impression)$ # Impression-Gtk -windowrule = float true,match:class ^(io.missioncenter.MissionCenter)$ # MissionCenter-Gtk -windowrule = float true,match:title ^(Friends List)$ # Steam Friends List -windowrule = float true,match:title ^(Steam Settings)$ # Steam Settings -windowrule = float true,match:initial_title ^(Image Editor)$,match:class ^(blender)$ # Blender Render -windowrule = size (monitor_w*0.5) (monitor_h*0.5),match:initial_title ^(Image Editor)$,match:class ^(blender)$ - -# workaround for jetbrains IDEs dropdowns/popups cause flickering -windowrule = no_initial_focus true,match:class ^(.*jetbrains.*)$,match:title ^(win[0-9]+)$ - -# █░░ ▄▀█ █▄█ █▀▀ █▀█   █▀█ █░█ █░░ █▀▀ █▀ -# █▄▄ █▀█ ░█░ ██▄ █▀▄   █▀▄ █▄█ █▄▄ ██▄ ▄█ - -layerrule = blur true,match:namespace rofi -layerrule = ignore_alpha 0,match:namespace rofi -layerrule = blur true,match:namespace notifications -layerrule = ignore_alpha 0,match:namespace notifications -layerrule = blur true,match:namespace swaync-notification-window -layerrule = ignore_alpha 0,match:namespace swaync-notification-window -layerrule = blur true,match:namespace swaync-control-center -layerrule = ignore_alpha 0,match:namespace swaync-control-center -layerrule = blur true,match:namespace logout_dialog - -# hyprlang endif diff --git a/Configs/.config/hypr/workflows.conf b/Configs/.config/hypr/workflows.conf deleted file mode 100644 index 8391993af0..0000000000 --- a/Configs/.config/hypr/workflows.conf +++ /dev/null @@ -1,19 +0,0 @@ -#! █░█░█ █▀█ █▀█ █▄▀ █▀▀ █░░ █▀█ █░█░█ █▀ -#! ▀▄▀▄▀ █▄█ █▀▄ █░█ █▀░ █▄▄ █▄█ ▀▄▀▄▀ ▄█ - -# This file sets the current workflow for Hyprland -# HyDE Controlled content // DO NOT EDIT -# Edit or add workflows in the ./workflows/ directory -# and run the 'workflows.sh select' command to update this file - -# Workflows are a set of configurations that can be applied to Hyprland -# that suits the actual workflow you are doing. -# It can be gaming mode, work mode, or anything else you can think of. -# you can also exec a command within the workflow - -$WORKFLOW = default -$WORKFLOW_ICON =  -$WORKFLOW_DESCRIPTION = Default HyDE configuration // Disables workflow overrides -$WORKFLOWS_PATH = ./workflows/default.conf -source = $WORKFLOWS_PATH - diff --git a/Configs/.config/hypr/workflows/.gitignore b/Configs/.config/hypr/workflows/.gitignore deleted file mode 100644 index 57c53d50a1..0000000000 --- a/Configs/.config/hypr/workflows/.gitignore +++ /dev/null @@ -1 +0,0 @@ -./* diff --git a/Configs/.config/hypr/workflows/default.conf b/Configs/.config/hypr/workflows/default.conf deleted file mode 100644 index 5d11070699..0000000000 --- a/Configs/.config/hypr/workflows/default.conf +++ /dev/null @@ -1,5 +0,0 @@ -# // █▀▄ █▀▀ █▀▀ ▄▀█ █░█ █░░ ▀█▀ -# // █▄▀ ██▄ █▀░ █▀█ █▄█ █▄▄ ░█░ - -$WORKFLOW_ICON= -$WORKFLOW_DESCRIPTION = Unset workflow configuration diff --git a/Configs/.config/hypr/workflows/editing.conf b/Configs/.config/hypr/workflows/editing.conf deleted file mode 100644 index a178833f24..0000000000 --- a/Configs/.config/hypr/workflows/editing.conf +++ /dev/null @@ -1,22 +0,0 @@ -# // █▀▀ █▀▄ █ ▀█▀ █▀█ █▀█ -# // ██▄ █▄▀ █ ░█░ █▄█ █▀▄ - -$WORKFLOW_ICON= -$WORKFLOW_DESCRIPTION = Best for writing and editing // Disables xray and blur that might affect color picking/contrast - - -decoration { - blur:enabled = 1 - active_opacity = 1 - inactive_opacity = 1 - fullscreen_opacity = 1 - fullscreen_opacity = 1 -} - -windowrule = opaque true,match:class (.*) # ensure all windows are opaque - -layerrule { -name = workflows_editing -blur = true -match:namespace = ^(rofi|notifications|swaync-(notification-window|control-center)|logout_dialog|waybar)$ -} \ No newline at end of file diff --git a/Configs/.config/hypr/workflows/gaming.conf b/Configs/.config/hypr/workflows/gaming.conf deleted file mode 100644 index 469e5f2107..0000000000 --- a/Configs/.config/hypr/workflows/gaming.conf +++ /dev/null @@ -1,38 +0,0 @@ -# // █▀▀ ▄▀█ █▀▄▀█ █▀▀ █▀▄▀█ █▀█ █▀▄ █▀▀ -# // █▄█ █▀█ █░▀░█ ██▄ █░▀░█ █▄█ █▄▀ ██▄ - -# Script from https://wiki.hypr.land/Configuring/Uncommon-tips--tricks/#toggle-animationsbluretc-hotkey - -$WORKFLOW_ICON= # this is an indicator that can be parsed by waybar or other status guis -$WORKFLOW_DESCRIPTION = Emphasis on performance and disabling compositors expensive features - -decoration { - shadow { - enabled = 0 - } - blur { - enabled = 0 - xray = 1 - } - rounding = 0 - active_opacity = 1 - inactive_opacity = 1 - fullscreen_opacity = 1 -} - -general { - gaps_in = 0 - gaps_out = 0 - border_size = 1 -} - -animations:enabled = 0 - -windowrule = opaque true,match:class (.*) # ensure all windows are opaque - -layerrule { -name = workflows_gaming -blur = false -no_anim = true -match:namespace = ^(rofi|notifications|swaync-(notification-window|control-center)|logout_dialog|waybar|.*www-daemon)$ -} diff --git a/Configs/.config/hypr/workflows/powersaver.conf b/Configs/.config/hypr/workflows/powersaver.conf deleted file mode 100644 index bee7489a42..0000000000 --- a/Configs/.config/hypr/workflows/powersaver.conf +++ /dev/null @@ -1,37 +0,0 @@ -# // █▀█ █▀█ █░█░█ █▀▀ █▀█ █▀ ▄▀█ █░█ █▀▀ █▀█ -# // █▀▀ █▄█ ▀▄▀▄▀ ██▄ █▀▄ ▄█ █▀█ ▀▄▀ ██▄ █▀▄ - - -$WORKFLOW_ICON= -$WORKFLOW_DESCRIPTION = Saves as much power as possible by disabling all animations and effects, but preserving readability - -decoration { - shadow { - enabled = 0 - } - blur { - enabled = 0 - xray = 1 - } - rounding = 0 - active_opacity = 1 - inactive_opacity = 1 - fullscreen_opacity = 1 -} - -general { - gaps_in = 0 - gaps_out = 0 - border_size = 1 -} - -animations:enabled = 0 - -windowrule = opaque true,match:class (.*) # ensure all windows are opaque - -layerrule { -name = workflows_powersaver -no_anim = true -blur = false -match:namespace = ^(rofi|notifications|swaync-(notification-window|control-center)|logout_dialog|waybar)$ -} diff --git a/Configs/.config/hypr/workflows/snappy.conf b/Configs/.config/hypr/workflows/snappy.conf deleted file mode 100644 index 25555b7849..0000000000 --- a/Configs/.config/hypr/workflows/snappy.conf +++ /dev/null @@ -1,17 +0,0 @@ -# // █▀ █▄░█ ▄▀█ █▀█ █▀█ █▄█ -# // ▄█ █░▀█ █▀█ █▀▀ █▀▀ ░█░ - -$WORKFLOW_ICON=󰓅 # this is an indicator that can be parsed by waybar or other status guis -$WORKFLOW_DESCRIPTION = Snappy desktop - -decoration { -rounding = 0 -} - -general { - gaps_in = 0 - gaps_out = 0 - border_size = 1 -} - -animations:enabled = 0 \ No newline at end of file diff --git a/Configs/.config/kitty/kitty.conf b/Configs/.config/kitty/kitty.conf index 23abe6f6d5..59f0aae31b 100644 --- a/Configs/.config/kitty/kitty.conf +++ b/Configs/.config/kitty/kitty.conf @@ -1,6 +1,6 @@ include hyde.conf -# Minimal Tab bar styling +# Minimal Tab bar styling tab_bar_edge bottom tab_bar_style powerline tab_powerline_style slanted diff --git a/Configs/.config/systemd/user/hyde-config.service b/Configs/.config/systemd/user/hyde-config.service deleted file mode 100644 index 1eda3d739f..0000000000 --- a/Configs/.config/systemd/user/hyde-config.service +++ /dev/null @@ -1,19 +0,0 @@ -[Unit] -Description=HyDE Configuration Parser Service -Documentation=https://github.com/HyDE-Project/hyde-config -After=graphical-session.target -PartOf=graphical-session.target - -[Service] -Type=simple -ExecStart=%h/.local/lib/hyde/hyde-config -Restart=on-failure -RestartSec=5s -Environment="DISPLAY=:0" - -# Make sure the required directories exist -ExecStartPre=/bin/mkdir -p %h/.config/hyde -ExecStartPre=/bin/mkdir -p %h/.local/state/hyde - -[Install] -WantedBy=graphical-session.target \ No newline at end of file diff --git a/Configs/.config/systemd/user/hyde-ipc.service b/Configs/.config/systemd/user/hyde-ipc.service deleted file mode 100644 index a6a354c88a..0000000000 --- a/Configs/.config/systemd/user/hyde-ipc.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Hyde IPC service for Hyprland -PartOf=graphical-session.target -After=graphical-session.target - -[Service] -ExecStart=%h/.local/bin/hyde-ipc -Restart=on-failure -RestartSec=5s - -[Install] -WantedBy=graphical-session.target \ No newline at end of file diff --git a/Configs/.config/uwsm/env-hyprland.d/00-hyde.sh b/Configs/.config/uwsm/env-hyprland.d/00-hyde.sh index a3ca0d6c20..fe4c9cec18 100644 --- a/Configs/.config/uwsm/env-hyprland.d/00-hyde.sh +++ b/Configs/.config/uwsm/env-hyprland.d/00-hyde.sh @@ -12,7 +12,20 @@ GDK_SCALE="${GDK_SCALE:-1}" # Set GDK s ELECTRON_OZONE_PLATFORM_HINT="${ELECTRON_OZONE_PLATFORM_HINT:-auto}" # Set Electron Ozone Platform Hint to auto, for Electron apps on Wayland # HyDEs Compositor Configuration -HYPRLAND_CONFIG="${XDG_DATA_HOME:-$HOME/.local/share}/hypr/hyprland.conf" +if [ -z "$HYDE_ACTIVATED" ]; then + for _hyde_activate in \ + "$HOME/.local/lib/hyde/shell/activate" \ + "/usr/local/lib/hyde/shell/activate" \ + "/usr/lib/hyde/shell/activate"; do + [ -f "$_hyde_activate" ] && { + . "$_hyde_activate" + break + } + done + unset _hyde_activate +fi + +HYPRLAND_CONFIG="${HYPRLAND_CONFIG:-${XDG_DATA_HOME:-$HOME/.local/share}/hypr/hyprland.lua}" HYPRLAND_NO_SD_NOTIFY=1 # If systemd, disables the sd_notify calls. HYPRLAND_NO_SD_VARS=1 # Disables management of variables in systemd and dbus activation environments. diff --git a/Configs/.config/uwsm/env.d/00-hyde.sh b/Configs/.config/uwsm/env.d/00-hyde.sh index da968f6617..7c969016b7 100644 --- a/Configs/.config/uwsm/env.d/00-hyde.sh +++ b/Configs/.config/uwsm/env.d/00-hyde.sh @@ -13,4 +13,4 @@ PARALLEL_HOME="$XDG_CONFIG_HOME/parallel" SCREENRC="$XDG_CONFIG_HOME/screen/screenrc" # Export all variables -export PATH LESSHISTFILE PARALLEL_HOME SCREENRC +export PATH LESSHISTFILE PARALLEL_HOME SCREENRC diff --git a/Configs/.config/waybar/menus/swaync.xml b/Configs/.config/waybar/menus/swaync.xml new file mode 100644 index 0000000000..3a339d1fba --- /dev/null +++ b/Configs/.config/waybar/menus/swaync.xml @@ -0,0 +1,48 @@ + + + + + + + +  Toggle DND + + + + + +  Reload + + + + +  Reload Config + + + + +  Reload Style + + + + + + + + + + + + + + + + 󰎟 Clear History + + + + + + + + diff --git a/Configs/.config/zsh/completions/hyde-shell.zsh b/Configs/.config/zsh/completions/hyde-shell.zsh deleted file mode 100644 index d8d72e2c17..0000000000 --- a/Configs/.config/zsh/completions/hyde-shell.zsh +++ /dev/null @@ -1,48 +0,0 @@ -#compdef hyde-shell - -_hyde_shell() { - local cur prev words - cur="${words[CURRENT]}" - prev="${words[CURRENT-1]}" - - local built_in_commands hyde_scripts wallbash_scripts - built_in_commands=("--help" "help" "-h" "-r" "reload" "wallbash" "--version" "version" "-v" "--release-notes" "release-notes" "--list-script" "--list-script-path" "--completions") - - # Get dynamic completions - if (( $+commands[hyde-shell] )); then - local scripts_raw - scripts_raw=(${(f)"$(hyde-shell --list-script 2>/dev/null)"}) - hyde_scripts=(${scripts_raw[@]%.*}) # Remove extensions - - # Get wallbash scripts - just --help for now - wallbash_scripts=("--help") - fi - - # Only complete for first two arguments max - if [[ $CURRENT -eq 2 ]]; then - # First argument: all commands - local all_commands=($built_in_commands $hyde_scripts) - compadd -a all_commands - elif [[ $CURRENT -eq 3 ]]; then - # Second argument: only for specific commands - case $words[2] in - wallbash) - compadd -a wallbash_scripts - return 0 - ;; - --completions) - compadd "bash" "zsh" "fish" - return 0 - ;; - *) - # No completion for other commands - return 0 - ;; - esac - else - # No completion for 3rd argument and beyond - return 0 - fi -} - -compdef _hyde_shell hyde-shell \ No newline at end of file diff --git a/Configs/.config/zsh/conf.d/binds.zsh b/Configs/.config/zsh/conf.d/binds.zsh index b37d05618d..c2dd6919a3 100644 --- a/Configs/.config/zsh/conf.d/binds.zsh +++ b/Configs/.config/zsh/conf.d/binds.zsh @@ -1,8 +1,7 @@ -# My own binds manually copy if you want to use them - bindkey "^[[1;5C" forward-word bindkey "^[[1;5D" backward-word bindkey "^[[5C" forward-word bindkey "^[[5D" backward-word bindkey "^[OC" forward-word -bindkey "^[OD" backward-word \ No newline at end of file +bindkey "^[OD" backward-word +bindkey "^[[3~" delete-char diff --git a/Configs/.config/zsh/conf.d/hyde/env.zsh b/Configs/.config/zsh/conf.d/hyde/env.zsh index 25aa38aae9..f175e7bd0c 100644 --- a/Configs/.config/zsh/conf.d/hyde/env.zsh +++ b/Configs/.config/zsh/conf.d/hyde/env.zsh @@ -1,54 +1,48 @@ #!/usr/bin/env zsh -#! ██████╗░░█████╗░  ███╗░░██╗░█████╗░████████╗  ███████╗██████╗░██╗████████╗ -#! ██╔══██╗██╔══██╗  ████╗░██║██╔══██╗╚══██╔══╝  ██╔════╝██╔══██╗██║╚══██╔══╝ -#! ██║░░██║██║░░██║  ██╔██╗██║██║░░██║░░░██║░░░  █████╗░░██║░░██║██║░░░██║░░░ -#! ██║░░██║██║░░██║  ██║╚████║██║░░██║░░░██║░░░  ██╔══╝░░██║░░██║██║░░░██║░░░ -#! ██████╔╝╚█████╔╝  ██║░╚███║╚█████╔╝░░░██║░░░  ███████╗██████╔╝██║░░░██║░░░ -#! ╚═════╝░░╚════╝░  ╚═╝░░╚══╝░╚════╝░░░░╚═╝░░░  ╚══════╝╚═════╝░╚═╝░░░╚═╝░░░ +# HyDE Shell Environment Initialization -# Hyde's Shell Environment Initialization Script -# If users used UWSM, uwsm will override any variables set anywhere in your shell configurations +case ":$PATH:" in +*":$HOME/.local/bin:"*) ;; +*) PATH="$HOME/.local/bin:$PATH" ;; +esac -# Basic PATH prepending (user local bin) -PATH="$HOME/.local/bin:$PATH" +typeset -gx XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" +typeset -gx XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}" +typeset -gx XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}" +typeset -gx XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}" +typeset -gx XDG_DATA_DIRS="${XDG_DATA_DIRS:-$XDG_DATA_HOME:/usr/local/share:/usr/share}" +# Basic PATH prepending (user local bin) - only if not already present +[[ ":$PATH:" != *":$HOME/.local/bin:"* ]] && PATH="$HOME/.local/bin:$PATH" -# XDG Base Directory Specification variables with defaults -XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" -XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}" -XDG_DATA_DIRS="${XDG_DATA_DIRS:-$XDG_DATA_HOME:/usr/local/share:/usr/share}" -XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}" -XDG_CACHE_HOME="${XDG_CACHE_HOME:-$HOME/.cache}" +function set_xdg_user_dir() { + [[ -n "$2" ]] && typeset -gx "$1=$2" +} -# XDG User Directories (fallback to xdg-user-dir command if available) if command -v xdg-user-dir >/dev/null 2>&1; then - XDG_DESKTOP_DIR="${XDG_DESKTOP_DIR:-$(xdg-user-dir DESKTOP)}" - XDG_DOWNLOAD_DIR="${XDG_DOWNLOAD_DIR:-$(xdg-user-dir DOWNLOAD)}" - XDG_TEMPLATES_DIR="${XDG_TEMPLATES_DIR:-$(xdg-user-dir TEMPLATES)}" - XDG_PUBLICSHARE_DIR="${XDG_PUBLICSHARE_DIR:-$(xdg-user-dir PUBLICSHARE)}" - XDG_DOCUMENTS_DIR="${XDG_DOCUMENTS_DIR:-$(xdg-user-dir DOCUMENTS)}" - XDG_MUSIC_DIR="${XDG_MUSIC_DIR:-$(xdg-user-dir MUSIC)}" - XDG_PICTURES_DIR="${XDG_PICTURES_DIR:-$(xdg-user-dir PICTURES)}" - XDG_VIDEOS_DIR="${XDG_VIDEOS_DIR:-$(xdg-user-dir VIDEOS)}" + set_xdg_user_dir XDG_DESKTOP_DIR "$(xdg-user-dir DESKTOP 2>/dev/null)" + set_xdg_user_dir XDG_DOWNLOAD_DIR "$(xdg-user-dir DOWNLOAD 2>/dev/null)" + set_xdg_user_dir XDG_TEMPLATES_DIR "$(xdg-user-dir TEMPLATES 2>/dev/null)" + set_xdg_user_dir XDG_PUBLICSHARE_DIR "$(xdg-user-dir PUBLICSHARE 2>/dev/null)" + set_xdg_user_dir XDG_DOCUMENTS_DIR "$(xdg-user-dir DOCUMENTS 2>/dev/null)" + set_xdg_user_dir XDG_MUSIC_DIR "$(xdg-user-dir MUSIC 2>/dev/null)" + set_xdg_user_dir XDG_PICTURES_DIR "$(xdg-user-dir PICTURES 2>/dev/null)" + set_xdg_user_dir XDG_VIDEOS_DIR "$(xdg-user-dir VIDEOS 2>/dev/null)" +fi +unfunction set_xdg_user_dir + +# HyDE Compositor Environment +if [[ -z "$HYDE_ACTIVATED" ]]; then + for _hyde_activate in \ + "$HOME/.local/lib/hyde/shell/activate" \ + "/usr/local/lib/hyde/shell/activate" \ + "/usr/lib/hyde/shell/activate"; do + [[ -f "$_hyde_activate" ]] && { + source "$_hyde_activate" + break + } + done + unset _hyde_activate fi -# Less history file location -LESSHISTFILE="${LESSHISTFILE:-/tmp/less-hist}" - -# Application config files -PARALLEL_HOME="$XDG_CONFIG_HOME/parallel" -SCREENRC="$XDG_CONFIG_HOME/screen/screenrc" -TERMINFO="$XDG_DATA_HOME"/terminfo -TERMINFO_DIRS="$XDG_DATA_HOME"/terminfo:/usr/share/terminfo -WGETRC="${XDG_CONFIG_HOME}/wgetrc" -PYTHON_HISTORY="$XDG_STATE_HOME/python_history" - -# HyDEs Compositor Configuration -export HYPRLAND_CONFIG="${XDG_DATA_HOME:-$HOME/.local/share}/hypr/hyprland.conf" - -# Export all variables -export PATH \ - XDG_CONFIG_HOME XDG_DATA_HOME XDG_DATA_DIRS XDG_STATE_HOME XDG_CACHE_HOME \ - XDG_DESKTOP_DIR XDG_DOWNLOAD_DIR XDG_TEMPLATES_DIR XDG_PUBLICSHARE_DIR \ - XDG_DOCUMENTS_DIR XDG_MUSIC_DIR XDG_PICTURES_DIR XDG_VIDEOS_DIR \ - LESSHISTFILE PARALLEL_HOME SCREENRC +typeset -U PATH diff --git a/Configs/.config/zsh/conf.d/hyde/terminal.zsh b/Configs/.config/zsh/conf.d/hyde/terminal.zsh index 355349ff92..5de5e6ec48 100644 --- a/Configs/.config/zsh/conf.d/hyde/terminal.zsh +++ b/Configs/.config/zsh/conf.d/hyde/terminal.zsh @@ -12,6 +12,8 @@ # And ensures that we have an obstruction-free .zshrc file # This also ensures that the proper HyDE $ENVs are loaded +setopt INTERACTIVE_COMMENTS + function _load_functions() { # Load all custom function files // Directories are ignored for file in "${ZDOTDIR:-$HOME/.config/zsh}/functions/"*.zsh; do @@ -226,7 +228,7 @@ else _load_completions fi -__package_manager () { +__package_manager () { ${PM_COMMAND[@]} "$@" } @@ -244,5 +246,3 @@ alias c='clear' \ .4='cd ../../../..' \ .5='cd ../../../../..' \ mkdir='mkdir -p' - - diff --git a/Configs/.config/zsh/ohmyzsh b/Configs/.config/zsh/ohmyzsh new file mode 160000 index 0000000000..9e23925b85 --- /dev/null +++ b/Configs/.config/zsh/ohmyzsh @@ -0,0 +1 @@ +Subproject commit 9e23925b8581d22033f07f1983587412d3761494 diff --git a/Configs/.local/bin/hyde-shell b/Configs/.local/bin/hyde-shell index f15db071c0..db84a2c080 100755 --- a/Configs/.local/bin/hyde-shell +++ b/Configs/.local/bin/hyde-shell @@ -1,55 +1,123 @@ #!/usr/bin/env bash -# This script will soon be used to resolve $PATHS and LIB_DIR specific to hyde -# wallbash script can source this script to resolve the paths cleanly on a separate shell +# This script resolves $PATHS and LIB_DIR specific to hyde. +# @name: hyde-shell +# @short: HyDE Command-Line Interface and Script Runner +# @ver: 1.1.0 +# @usage: hyde-shell [command] [args] +# @global.flag: -h,--help | Show this help message +# @global.flag: -v,--version | Show version information +# @cmd: help +# @cmd.alias: -h +# @cmd.desc: Show help for hyde-shell commands and scripts +# @cmd.opt: | Show detailed help for a command or script +# @cmd: man +# @cmd.desc: Render metadata in man-style format +# @cmd.opt: | Render a man-style page for a command or script +# @cmd: reload +# @cmd.alias: -r +# @cmd.desc: Reload HyDE assets or environment +# @cmd.opt: all | Reload all components +# @cmd.opt: cache | Clear and rebuild asset cache +# @cmd.opt: theme | Apply new color scheme +# @cmd.opt: python | Reload Python environment +# @cmd.opt: lua | Reload Lua environment +# @cmd: scripts +# @cmd.alias: -s +# @cmd.desc: List available scripts +# @cmd: wallbash +# @cmd.desc: Execute a wallbash script by name +# @cmd: version +# @cmd.alias: -v +# @cmd.desc: Show version information +# @cmd: release-notes +# @cmd.desc: Show latest release notes +# @cmd: completion +# @cmd.alias: completions +# @cmd.desc: Shell completion helper utilities +# @cmd.opt: --list-builtins | List built-in completions +# @cmd.opt: --list-script | List script completions +# @cmd.opt: --list-script-path | List script paths +# @cmd.opt: --list-all | List all autocomplete options +# @cmd.opt: bash | Generate bash completion +# @cmd.opt: zsh | Generate zsh completion +# @cmd.opt: fish | Generate fish completion +# @cmd.opt: --help | Show completion help +# @cmd: validate +# @cmd.desc: Validate HyDE configuration files +# @cmd: pyinit +# @cmd.desc: Initialize Python virtual environment +# @cmd: uv +# @cmd.desc: Manage Python packages via uv +# @cmd.opt: install | Install a package +# @cmd.opt: uninstall | Uninstall a package +# @cmd.opt: remove | Remove a package +# @cmd.opt: list | List installed packages +# @cmd: init +# @cmd.desc: Source shell initialization environment +# @cmd: logout +# @cmd.desc: Log out of the current desktop session +# @cmd: lock-session +# @cmd.desc: Lock the current session +# @cmd: pypr +# @cmd.desc: PyPR / Pyprland helper utilities +# @cmd.opt: help | Show pypr help +# @cmd.opt: reload | Reload pypr config +# @cmd.opt: toggle | Toggle pypr window +# @cmd.opt: hide | Hide pypr window +# @cmd.opt: show | Show pypr window +# @cmd.opt: expose | Expose pypr windows +# @cmd: luainit +# @cmd.desc: Initialize Lua virtual environment +# @cmd: luarocks +# @cmd.desc: Manage Lua packages via luarocks +# @cmd.opt: install | Install a rock +# @cmd.opt: remove | Remove a rock +# @cmd.opt: list | List installed rocks +# @cmd.opt: search | Search for rocks +# @cmd.opt: show | Show rock info +# @cmd.opt: help | Show luarocks help + # shellcheck disable=SC1091 # shellcheck disable=SC2086 # shellcheck disable=SC1090 - python_initialized() { + local python_script="${LIB_DIR}/hyde/pyutils/python_env.py" + local venv="${XDG_STATE_HOME:-$HOME/.local/state}/hyde/python_env" + + if [[ -x "${venv}/bin/python" ]]; then + source "${venv}/bin/activate" + "${venv}/bin/python" "${python_script}" sync >/dev/null 2>&1 && return 0 + echo "Sync failed; rebuilding Python environment..." + "${venv}/bin/python" "${python_script}" rebuild + return $? + fi - local python_script="${LIB_DIR}/hyde/pyutils/python_env.py" - local venv="${XDG_STATE_HOME:-$HOME/.local/state}/hyde/python_env" - - if [[ -x "${venv}/bin/python" ]]; then - # shellcheck disable=SC1091 - source "${venv}/bin/activate" - "${venv}/bin/python" "${python_script}" sync >/dev/null 2>&1 && return 0 - echo "Sync failed; rebuilding Python environment..." - "${venv}/bin/python" "${python_script}" rebuild - return $? - fi - - echo "Python environment not found; creating..." - python3 "${python_script}" create >/dev/null 2>&1 && return 0 - echo "Create failed; attempting rebuild..." - python3 "${python_script}" rebuild - + echo "Python environment not found; creating..." + python3 "${python_script}" create >/dev/null 2>&1 && return 0 + echo "Create failed; attempting rebuild..." + python3 "${python_script}" rebuild } python_activate() { - - local python_env="${XDG_STATE_HOME:-$HOME/.local/state}/hyde/python_env/bin/activate" - if [[ -r "${python_env}" ]]; then - # shellcheck disable=SC1090 - source "${python_env}" - else - printf "Warning: Python virtual environment not found at %s\n" "${python_env}" - printf "You may need to run 'hyde-shell pyinit' to set it up.\n" - python_initialized - fi - + local python_env="${XDG_STATE_HOME:-$HOME/.local/state}/hyde/python_env/bin/activate" + if [[ -r "${python_env}" ]]; then + source "${python_env}" + else + printf "Warning: Python virtual environment not found at %s\n" "${python_env}" + printf "You may need to run 'hyde-shell pyinit' to set it up.\n" + python_initialized + fi } lua_initialized() { -python_activate -python3 "${LIB_DIR}/hyde/pyutils/lua_env.py" sync || \ -python3 "${LIB_DIR}/hyde/pyutils/lua_env.py" rebuild + python_activate + python3 "${LIB_DIR}/hyde/pyutils/lua_env.py" sync || + python3 "${LIB_DIR}/hyde/pyutils/lua_env.py" rebuild } - initialized() { - cat </dev/null || echo 80) - local sep - sep=$(printf '─%.0s' $(seq 1 "$((cols - 2))")) - - local _R=$'\e[0m' _BOLD=$'\e[1m' _DIM=$'\e[2m' _CYAN=$'\e[36m' - - printf '\n%s HyDE Shell%s\n' "$_BOLD" "$_R" - printf ' %s%s%s\n\n' "$_DIM" "$sep" "$_R" - - printf ' %sUSAGE%s\n' "$_BOLD" "$_R" - printf ' hyde-shell %s[command]%s %s[args]%s\n\n' "$_CYAN" "$_R" "$_DIM" "$_R" - - printf ' %sCOMMANDS%s\n' "$_BOLD" "$_R" - local cmds=( - 'help, -h' 'Show this help message' - '-r, reload' 'Reload HyDE' - '-s, scripts' 'List available scripts (formatted)' - 'wallbash