mirror of
https://github.com/HyDE-Project/HyDE.git
synced 2026-02-20 08:24:23 +08:00
* Workflow script fixes (#887) * fix: follow symlinks to work with stow and fix typo * feat: expose workflow set function to be used from other scripts * fix: gamemode script cleanup * feat: match with gamemode set via gamemode script * feat: improved workflows --------- Co-authored-by: Khing <53417443+kRHYME7@users.noreply.github.com> * Consistency, cleanup and minor improvements for waybar modules (#883) * fix: consistency, cleanup and minor improvements for waybar modules * fix: change case for consistency * fix: use hyde-shell for commands * feat: add glyphs for menu to bring consistency and eye candy * fix: make icons and spacing consistent * refactor: Porting our shaders to be #version 300 compatible (#894) * Refactor: Ports Shaders to use #version directive and use version 3.00 as default. This avoids warning on hyprland-git * fix: add the implementation script --------- Co-authored-by: Rubin Bhandari <roobin.bhandari@gmail.com> * feat: clean home directory (#867) * feat: add more dirs * feat: add wget * feat: add python history * Update env.zsh * Update env.zsh * Update env.zsh --------- Co-authored-by: Khing <53417443+kRHYME7@users.noreply.github.com> * refactor: chmod and some waybar fixes * fix: do not use uwsm for hyprlock (#898) * fix: add `prompt.zsh` to config restore list (#908) * fix: add `prompt.zsh` to config restore list * feat: source `${ZDOTDIR}/prompt.zsh` silently * proper test operator for terminal.zsh * formatting terminal.zsh * added optional keybind "?" to append and run with --help. i am used to running a cisco switch * remove -h * Make OMZ optional (#912) * feat: make OMZ optional so that other options like zinit can be used * fix: remove global alias for -h, fix #910 * chore: polish * fix: use existing variable * fix: use the correct var * feat: Add 'hyde-shell version' to get local version fix feat: hyde-shell --version should return HyDE's current install.sh -r #916 Closes #916 * Use latest flags for vscode and electron (#885) fix: use latest flags for vscode and electron Co-authored-by: Khing <53417443+kRHYME7@users.noreply.github.com> * Find symlinked themes (#924) fix: find themes that are symlinked Co-authored-by: Khing <53417443+kRHYME7@users.noreply.github.com> * Add new hyprlock layout (#874) * hyprlock layout new hyprlock layout similar to greetd login manager * Update greetd.conf * fix scaling issue * Update greetd.conf * Update greetd.conf * Update greetd.conf * add dnd script * Update keybindings.conf * Update keybindings.conf * Delete Configs/.local/lib/hyde/dnd.sh --------- Co-authored-by: Khing <53417443+kRHYME7@users.noreply.github.com> * fix(hyprlock): greetd * feat (hyprlock): greetd.conf with wallbash * add best fzf aliases ever pt 2 And fish cleanups and bug fixes (#919) * refactor: fzf functions structure in fish * fix: duf alias and finilize main fish conf * update zsh config to include new aliases * user > userprefs * refactor: hyde-shell is fork when executing script. ** Added some completions * fix: swaync * refactor (waybar): Full cava module rewrite Fixes: - https://github.com/HyDE-Project/HyDE/issues/936 - https://github.com/HyDE-Project/HyDE/issues/935 - https://github.com/HyDE-Project/HyDE/issues/189 - https://github.com/HyDE-Project/HyDE/issues/403 - Also TOOLTIP is now working!!! - 1 cava process for all clients! * hesoyam * fix > [#460 (comment)](https://github.com/HyDE-Project/HyDE/issues/460#issuecomment-2993943470) #943 Remove explicit position * fix (waybar): https://github.com/prasanthrangan/hyprdots/issues/2154 Fix https://github.com/prasanthrangan/hyprdots/issues/2154 * fix: Correct Brave browser class name in windowrules.conf (#947) * feat: corrected Brave-browser to brave-browser in windowrules * fix: Correct Brave browser class name in windowrules.conf This commit fixes a typo in the window rule for the Brave browser, changing `Brave` to `brave-browser` to ensure proper window management. * Update README.md * ci:test dev-rc * ci:test rc-master * ci:test rc-master * ci:test rc-master * ci:test rc-master * feat(zsh): Custom plugin.zsh for users to have there own zsh plugin management. I added some example using zinit TODO: Add prompt for omz installation * feat(zsh): added plugin.zsh * fix(core): stray line * bumb rc PR * feat(cava.py): added reload option, added channel and reverse mode. chore (hypridle): Added systemctl startup for hypridle. * feat: Add a backend for hyprpaper for wallpaper.sh (#967) # Pull Request ## Description This PR adds a backend for hyprpaper in wallpaper.sh, which allows people to have the splash, note that this requires the user who wants hyprpaper to install hyprpaper, but it's not an issue. ## Type of change - [ ] **Bug fix** (non-breaking change which fixes an issue) - [x] **New feature** (non-breaking change which adds functionality) - [ ] **Breaking change** (fix or feature that would cause existing functionality to not work as expected) - [ ] **Documentation update** (non-breaking change; modified files are limited to the documentations) - [ ] **Technical debt** (a code change that does not fix a bug or add a feature but makes something clearer for devs) - [ ] **Other** (provide details below) ## Checklist - [x] I have read the [CONTRIBUTING](https://github.com/HyDE-Project/HyDE/blob/master/CONTRIBUTING.md) document. - [x] My code follows the code style of this project. - [x] My commit message follows the [commit guidelines](https://github.com/HyDE-Project/HyDE/blob/master/COMMIT_MESSAGE_GUIDELINES.md). - [ ] My change requires a change to the documentation. - [ ] I have updated the documentation accordingly. - [ ] I have added a changelog entry. - [x] I have added necessary comments/documentation to my code. - [ ] I have added tests to cover my changes. - [x] I have tested my code locally and it works as expected. - [ ] All new and existing tests passed. * feat(cava.py): added reload option, added channel and reverse mode. * fix ffcd fish funtion (#973) fix pos arg in ffcd * fix pos arg in ffcd #973 followup (#974) fix pos arg in ffcd * optimize picker + fuzzy search (#978) * optimize picker + fuzzy search * fix and update glyph.db * opts for emoji*.sh and fix multi select in glyphpicker --------- Co-authored-by: Khing <53417443+kRHYME7@users.noreply.github.com> * fix (waybar) :ignore OBS and cava for privacy module * fix (waybar) :ignore OBS and cava for privacy module * Added additional args for emoji and glyph pickers * waybar privacy Do not monitor audio out * refactor: remove redundant hyde-shell TODO: make all scripts use [[ "${HYDE_SHELL_INIT}" -ne 1 ]] && eval "$(hyde-shell init)" this initiates hyde-shell if and only if it is not yet set. * feat(waybar): add border and background style groups (#983) * feat(waybar): add border and background style groups Add new CSS files for Waybar style groups, including border styles (solid, dotted, none) and color variants for borders. Also add transparent background style. * refactor(waybar): restructure styles directory layout --------- Co-authored-by: Khing <53417443+kRHYME7@users.noreply.github.com> * docs for contributions (#964) * docs for contributions squash this * Update CHANGELOG.md * Update CHANGELOG.md --------- Co-authored-by: Khing <53417443+kRHYME7@users.noreply.github.com> * Fix theme import terminal * Fix gnome-terminal and theme-import (#987) * Update theme-import command to new Hydectl * Fix gnome-terminal by removing '' from terminal So basically if you run gnome-terminal without | tr -d "'", it will try to run 'kitty' instead of kitty which is an invalid command. * use xargs to clean a string * Update gnome-terminal --------- Co-authored-by: Khing <53417443+kRHYME7@users.noreply.github.com> * Features and fixes for mediaplayer (#865) * feat(mediaplayer): Added waybar module for mediaplayer * feat(mediaplayer): modified mediaplayer to support multiple players * feat(mediaplayer): Add env option for players * fix(mediaplayer): get first player that is player if there are none then get first player in list * feat(mediaplayer): Added media controls (next/previous/playpause) * fix(mediaplayer): escaped & in song metadata * feat(mediaplayer.py): Made text only show main artist Tooltip shows all. * fix(mediaplayer.py): redo algorithm that proportions * feat(mediaplayer.py): Added env option for artist weight * fix(mediaplayer): moved all players output to tooltip except for current * docs(CONTRIBUTORS): added myself to CONTRIBUTORS.md * feat(mediaplayer): added player name to tooltip * fix(mediaplayer.py): Fixed waybar signaling twice to mediaplayer.py and fixed kill commands for media control * fix(mediaplayer): add back removed option --player * fix(mediaplayer): set player_found correctly * fix(mediaplayer): fix possible IndexError * feat(mediaplayer): change player when current one vanishes. * fix(mediaplayer): Fixed not tracking new players that appear when user doesn't provide players * fix(mediaplayer): Skipped a player because it is a duplicate for the browsers player * Added Changelog --------- Co-authored-by: Khing <53417443+kRHYME7@users.noreply.github.com> Co-authored-by: Khing <alampayk@gmail.com> * Try to fix waybar for multi user * bump * yup * Fix: [Bug]: spotify module not working #1002 * feat: General Purpose Mediaplayer * featxes 🏃➡️ * refactor: no redundant hyde-shell sourcing pt2 --------- Co-authored-by: Deepu K Sasidharan <d4udts@gmail.com> Co-authored-by: Khing <53417443+kRHYME7@users.noreply.github.com> Co-authored-by: Rubin Bhandari <roobin.bhandari@gmail.com> Co-authored-by: Ilya Bogdanov <zeerayne1337@gmail.com> Co-authored-by: Mahaveer Gurjar <mahaveergurjar.work@gmail.com> Co-authored-by: prime-run <prime0run@gmail.com> Co-authored-by: GokuPlay609 <120821054+GokuPlay609@users.noreply.github.com> Co-authored-by: Mircas001 <79532341+Mircas001@users.noreply.github.com> Co-authored-by: Harsh Dabas <160720271+iamharshdabas@users.noreply.github.com> Co-authored-by: rawnullbyte <120054040+rawnullbyte@users.noreply.github.com> Co-authored-by: Silvestre Espinoza <90989842+heeeeeeeeeeh@users.noreply.github.com> Co-authored-by: Khing <alampayk@gmail.com>
64 lines
1.7 KiB
Bash
Executable File
64 lines
1.7 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
HYDE_CLONE_PATH=$(git rev-parse --show-toplevel)
|
|
HYDE_BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
HYDE_REMOTE=$(git config --get remote.origin.url)
|
|
HYDE_VERSION=$(git describe --tags --always)
|
|
HYDE_COMMIT_HASH=$(git rev-parse HEAD)
|
|
HYDE_VERSION_COMMIT_MSG=$(git log -1 --pretty=%B)
|
|
HYDE_VERSION_LAST_CHECKED=$(date +%Y-%m-%d\ %H:%M%S\ %z)
|
|
|
|
generate_release_notes() {
|
|
local latest_tag
|
|
local commits
|
|
|
|
latest_tag=$(git describe --tags --abbrev=0 2>/dev/null)
|
|
|
|
if [[ -z "$latest_tag" ]]; then
|
|
echo "No release tags found"
|
|
return
|
|
fi
|
|
|
|
echo "=== Changes since $latest_tag ==="
|
|
|
|
commits=$(git log --oneline --pretty=format:"• %s" "$latest_tag"..HEAD 2>/dev/null)
|
|
|
|
if [[ -z "$commits" ]]; then
|
|
echo "No commits since last release"
|
|
return
|
|
fi
|
|
|
|
echo "$commits"
|
|
}
|
|
|
|
# HYDE_RELEASE_NOTES=$(generate_release_notes)
|
|
|
|
echo "HyDE $HYDE_VERSION built from branch $HYDE_BRANCH at commit ${HYDE_COMMIT_HASH:0:12} ($HYDE_VERSION_COMMIT_MSG)"
|
|
echo "Date: $HYDE_VERSION_LAST_CHECKED"
|
|
echo "Repository: $HYDE_CLONE_PATH"
|
|
echo "Remote: $HYDE_REMOTE"
|
|
echo ""
|
|
|
|
if [[ "$1" == "--cache" ]]; then
|
|
state_dir="${XDG_STATE_HOME:-$HOME/.local/state}/hyde"
|
|
mkdir -p "$state_dir"
|
|
version_file="$state_dir/version"
|
|
|
|
cat >"$version_file" <<EOL
|
|
HYDE_CLONE_PATH='$HYDE_CLONE_PATH'
|
|
HYDE_BRANCH='$HYDE_BRANCH'
|
|
HYDE_REMOTE='$HYDE_REMOTE'
|
|
HYDE_VERSION='$HYDE_VERSION'
|
|
HYDE_VERSION_LAST_CHECKED='$HYDE_VERSION_LAST_CHECKED'
|
|
HYDE_VERSION_COMMIT_MSG='$HYDE_VERSION_COMMIT_MSG'
|
|
HYDE_COMMIT_HASH='$HYDE_COMMIT_HASH'
|
|
EOL
|
|
# HYDE_RELEASE_NOTES='$HYDE_RELEASE_NOTES'
|
|
|
|
echo -e "Version cache output to $version_file\n"
|
|
|
|
elif [[ "$1" == "--release-notes" ]]; then
|
|
echo "$HYDE_RELEASE_NOTES"
|
|
|
|
fi
|