Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions Configs/.local/share/bin/logoutlaunch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,16 @@ export fntSize=$(( y_mon * 2 / 100 ))
#// detect wallpaper brightness

[ -f "${cacheDir}/wall.dcol" ] && source "${cacheDir}/wall.dcol"
# Theme mode: detects the color-scheme set in hypr.theme and falls back if nothing is parsed.
if [ "${enableWallDcol}" -eq 0 ]; then
colorScheme="$({ grep -q "^[[:space:]]*\$COLOR[-_]SCHEME\s*=" "${hydeThemeDir}/hypr.theme" && grep "^[[:space:]]*\$COLOR[-_]SCHEME\s*=" "${hydeThemeDir}/hypr.theme" | cut -d '=' -f2 | sed 's/^[[:space:]]*//;s/[[:space:]]*$//' ;} ||
grep 'gsettings set org.gnome.desktop.interface color-scheme' "${hydeThemeDir}/hypr.theme" | awk -F "'" '{print $((NF - 1))}')"
colorScheme=${colorScheme:-$(gsettings get org.gnome.desktop.interface color-scheme)}
# should be declared explicitly so we can easily debug
grep -q "dark" <<< "${colorScheme}" && dcol_mode="dark"
grep -q "light" <<< "${colorScheme}" && dcol_mode="light"
[ -f "${hydeThemeDir}/theme.dcol" ] && source "${hydeThemeDir}/theme.dcol"
fi
[ "${dcol_mode}" == "dark" ] && export BtnCol="white" || export BtnCol="black"


Expand Down
2 changes: 1 addition & 1 deletion Configs/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ alias mkdir='mkdir -p'
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

# Display Pokemon
pokemon-colorscripts --no-title -r 1,3,6
pokeget random --hide-name
2 changes: 1 addition & 1 deletion Scripts/custom_hypr.lst
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ zsh-theme-powerlevel10k-git|zsh oh-my-zsh-git # theme for zsh
eza|fish # file lister for fish
starship|fish # customizable shell prompt
fastfetch # system information fetch tool
pokemon-colorscripts-git|zsh # display pokemon sprites
pokeget|zsh # display pokemon sprites

# --------------------------------------------------- // HyDE
hyde-cli-git # cli tool to manage hyde