13 Commits
Author SHA1 Message Date
wyj f176886688 fix: install ohmyzsh only if haven't 2024-08-25 10:39:27 -04:00
wyj 0c738fdb67 fix: add powerlevel10k install 2024-08-21 21:03:13 -04:00
wyj 526979a9f9 fix: alsp fix kitten ssh in zinit 2024-08-18 00:23:22 -04:00
wyj adab24d93f update: zshrc 2024-08-11 01:44:58 -04:00
wyj d5051c5c96 Merge branch 'upstream-main' into zshfish 2024-06-13 21:29:08 -04:00
wyj 6c3bef60c6 fix: fix 2024-06-07 04:35:16 -04:00
wyj ce02d5357b fix: fix 2024-06-07 04:14:05 -04:00
wyj 113c023b3c fix: fix 2024-06-07 04:08:43 -04:00
wyj f85d049cbd fix: fix 2024-06-07 04:05:41 -04:00
wyj 49fd73e67b update: add choice between oh my zsh and zinit 2024-06-07 03:09:21 -04:00
wyj 16a504966c feat: complete done zsh install and swith to zinit 2024-06-07 01:04:42 -04:00
wyj a23f49bcaf Merge branch 'upstream-main' into zshfish 2024-06-05 05:51:09 -04:00
wyj d9bdf7e748 feat: add .zshrc 2024-05-20 23:01:49 -04:00
83 changed files with 2220 additions and 499 deletions
-1
View File
@@ -19,7 +19,6 @@ if gum confirm "Do you want to run a short system check?" ;then
_commandExists "wlogout" "wlogout" _commandExists "wlogout" "wlogout"
_commandExists "eww" "eww" _commandExists "eww" "eww"
_commandExists "magick" "imagemagick" _commandExists "magick" "imagemagick"
_commandExists "waypaper" "waypaper"
elif [ $? -eq 130 ]; then elif [ $? -eq 130 ]; then
exit 130 exit 130
+26 -14
View File
@@ -63,15 +63,10 @@ if [ -z "${dmsel}" ] ;then
fi fi
if [ "$dmsel" == "Install sddm and theme" ] ;then if [ "$dmsel" == "Install sddm and theme" ] ;then
if [ -d /usr/share/sddm/themes/sugar-candy/ ] ;then
sudo rm -rf /usr/share/sddm/themes/sugar-candy/
echo ":: Sugar Candy folder removed"
fi
disman=0 disman=0
# Try to force the installation of sddm # Try to force the installation of sddm
echo ":: Install sddm" echo ":: Install sddm"
yay -S --noconfirm sddm sddm-sugar-candy-git --ask 4 yay -S --noconfirm sddm --ask 4
# Enable sddm # Enable sddm
if [ -f /etc/systemd/system/display-manager.service ]; then if [ -f /etc/systemd/system/display-manager.service ]; then
@@ -79,24 +74,41 @@ if [ "$dmsel" == "Install sddm and theme" ] ;then
fi fi
sudo systemctl enable sddm.service sudo systemctl enable sddm.service
# Create sddm.conf.d folder
if [ ! -d /etc/sddm.conf.d/ ]; then if [ ! -d /etc/sddm.conf.d/ ]; then
sudo mkdir /etc/sddm.conf.d sudo mkdir /etc/sddm.conf.d
echo "Folder /etc/sddm.conf.d created." echo ":: Folder /etc/sddm.conf.d created."
fi fi
# Copy sddm.conf
sudo cp sddm/sddm.conf /etc/sddm.conf.d/ sudo cp sddm/sddm.conf /etc/sddm.conf.d/
echo "File /etc/sddm.conf.d/sddm.conf updated." echo ":: File /etc/sddm.conf.d/sddm.conf updated."
# Download and install sugar candy theme if not exists
if [ ! -d /usr/share/sddm/themes/sugar-candy ]; then
if [ -f ~/Downloads/sddm-sugar-candy-master.zip ] ;then
rm ~/Downloads/sddm-sugar-candy-master.zip
fi
wget -P ~/Downloads/ https://framagit.org/MarianArlt/sddm-sugar-candy/-/archive/master/sddm-sugar-candy-master.zip
if [ -f ~/Downloads/sddm-sugar-candy-master.zip ] ;then
unzip -o -q ~/Downloads/sddm-sugar-candy-master.zip -d ~/Downloads/
if [ ! -d /usr/share/sddm/themes/sugar-candy ] ;then
sudo mkdir -p /usr/share/sddm/themes/sugar-candy
fi
sudo cp -r ~/Downloads/sddm-sugar-candy-master/* /usr/share/sddm/themes/sugar-candy
echo ":: SDDM Sugar Candy Theme installed"
else
echo "ERROR: Sugar Candy Download not found"
fi
fi
# Install background wallpaper for sddm
if [ -f /usr/share/sddm/themes/sugar-candy/theme.conf ]; then if [ -f /usr/share/sddm/themes/sugar-candy/theme.conf ]; then
# Cache file for holding the current wallpaper
sudo cp wallpapers/default.jpg /usr/share/sddm/themes/sugar-candy/Backgrounds/current_wallpaper.jpg sudo cp wallpapers/default.jpg /usr/share/sddm/themes/sugar-candy/Backgrounds/current_wallpaper.jpg
echo "Default wallpaper copied into /usr/share/sddm/themes/sugar-candy/Backgrounds/" echo ":: Default wallpaper copied into /usr/share/sddm/themes/sugar-candy/Backgrounds/"
sudo cp sddm/theme.conf /usr/share/sddm/themes/sugar-candy/ sudo cp sddm/theme.conf /usr/share/sddm/themes/sugar-candy/
sudo sed -i 's/CURRENTWALLPAPER/'"current_wallpaper.jpg"'/' /usr/share/sddm/themes/sugar-candy/theme.conf sudo sed -i 's/CURRENTWALLPAPER/'"current_wallpaper.jpg"'/' /usr/share/sddm/themes/sugar-candy/theme.conf
echo "File theme.conf updated in /usr/share/sddm/themes/sugar-candy/" echo ":: File theme.conf updated in /usr/share/sddm/themes/sugar-candy/"
fi fi
elif [ "$dmsel" == "Deactivate current display manager" ] ;then elif [ "$dmsel" == "Deactivate current display manager" ] ;then
@@ -1,7 +1,6 @@
# ------------------------------------------------------ # ------------------------------------------------------
# Modify existing files before restore starts # install fish
# ------------------------------------------------------ # ------------------------------------------------------
packagesPacman=("fish");
if [ -d ~/dotfiles ] ;then packagesYay=();
echo ":: Modify existing files" source .install/install-packages.sh
fi
@@ -43,8 +43,5 @@ fi
if [ -d ~/dotfiles-versions/$version/fastfetch ]; then if [ -d ~/dotfiles-versions/$version/fastfetch ]; then
_installSymLink fastfetch ~/.config/fastfetch ~/dotfiles/fastfetch/ ~/.config _installSymLink fastfetch ~/.config/fastfetch ~/dotfiles/fastfetch/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/waypaper ]; then
_installSymLink waypaper ~/.config/waypaper ~/dotfiles/waypaper/ ~/.config
fi
echo ":: Symbolic links created." echo ":: Symbolic links created."
echo echo
-1
View File
@@ -16,5 +16,4 @@ packagesYay=(
"nwg-look" "nwg-look"
"eww" "eww"
"hyprshade" "hyprshade"
"waypaper"
); );
+1 -1
View File
@@ -8,7 +8,7 @@ echo
# Check for required packages # Check for required packages
echo "Checking that required packages for the installation are installed..." echo "Checking that required packages for the installation are installed..."
_installPackagesPacman "rsync" "gum" "figlet" "python" "git"; _installPackagesPacman "rsync" "gum" "figlet" "python";
# Double check rsync # Double check rsync
if ! command -v rsync &> /dev/null; then if ! command -v rsync &> /dev/null; then
+17 -9
View File
@@ -14,6 +14,14 @@ _showRestoreOptions() {
restorelist+="~/dotfiles/.bashrc " restorelist+="~/dotfiles/.bashrc "
selectedlist+="~/dotfiles/.bashrc," selectedlist+="~/dotfiles/.bashrc,"
fi fi
if [ -f ~/dotfiles/.zshrc ]; then
restorelist+="~/dotfiles/.zshrc "
selectedlist+="~/dotfiles/.zshrc,"
fi
if [ -f ~/dotfiles/.p10k.zsh ]; then
restorelist+="~/dotfiles/.p10k.zsh "
selectedlist+="~/dotfiles/.p10k.zsh,"
fi
if [ -d ~/dotfiles/.settings ]; then if [ -d ~/dotfiles/.settings ]; then
restorelist+="~/dotfiles/.settings " restorelist+="~/dotfiles/.settings "
selectedlist+="~/dotfiles/.settings," selectedlist+="~/dotfiles/.settings,"
@@ -24,7 +32,7 @@ _showRestoreOptions() {
then then
restorelist+="~/dotfiles/hypr/hypridle.conf " restorelist+="~/dotfiles/hypr/hypridle.conf "
selectedlist+="~/dotfiles/hypr/hypridle.conf," selectedlist+="~/dotfiles/hypr/hypridle.conf,"
fi fi
fi fi
if [ -f ~/dotfiles/hypr/conf/custom.conf ]; then if [ -f ~/dotfiles/hypr/conf/custom.conf ]; then
restorelist+="~/dotfiles/hypr/conf/custom.conf " restorelist+="~/dotfiles/hypr/conf/custom.conf "
@@ -75,13 +83,13 @@ _showRestoreOptions() {
fi fi
restoreselect=$(gum choose --no-limit --height 20 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " --selected="$selectedlist" $restorelist) restoreselect=$(gum choose --no-limit --height 20 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " --selected="$selectedlist" $restorelist)
if [ ! -z "$restoreselect" ] ;then if [ ! -z "$restoreselect" ] ;then
echo "Selected to restore:" echo "Selected to restore:"
echo "$restoreselect" echo "$restoreselect"
echo "" echo ""
confirmrestore=$(gum choose "Start restore" "Change restore" "Skip restore") confirmrestore=$(gum choose "Start restore" "Change restore" "Skip restore")
if [ "$confirmrestore" == "Start restore" ] ;then if [ "$confirmrestore" == "Start restore" ] ;then
_startRestore _startRestore
elif [ "$confirmrestore" == "Change restore" ]; then elif [ "$confirmrestore" == "Change restore" ]; then
_showRestoreOptions _showRestoreOptions
else else
echo ":: Restore skipped." echo ":: Restore skipped."
@@ -94,7 +102,7 @@ _showRestoreOptions() {
echo ":: Installation canceled." echo ":: Installation canceled."
exit exit
fi fi
if [ "$confirmrestore" == "Change restore" ]; then if [ "$confirmrestore" == "Change restore" ]; then
echo "" echo ""
_showRestoreOptions _showRestoreOptions
else else
@@ -135,11 +143,11 @@ _startRestore() {
cp ~/dotfiles/hypr/conf/keyboard.conf ~/dotfiles-versions/$version/hypr/conf/ cp ~/dotfiles/hypr/conf/keyboard.conf ~/dotfiles-versions/$version/hypr/conf/
echo ":: Hyprland keyboard.conf restored!" echo ":: Hyprland keyboard.conf restored!"
fi fi
fi fi
if [[ $restoreselect == *"~/dotfiles/hypr/conf/monitor.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then if [[ $restoreselect == *"~/dotfiles/hypr/conf/monitor.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
if [ -f ~/dotfiles/hypr/conf/monitor.conf ]; then if [ -f ~/dotfiles/hypr/conf/monitor.conf ]; then
cp ~/dotfiles/hypr/conf/monitor.conf ~/dotfiles-versions/$version/hypr/conf/ cp ~/dotfiles/hypr/conf/monitor.conf ~/dotfiles-versions/$version/hypr/conf/
echo ":: Hyprland monitor.conf restored!" echo ":: Hyprland monitor.conf restored!"
fi fi
fi fi
if [[ $restoreselect == *"~/dotfiles/hypr/conf/keybinding.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then if [[ $restoreselect == *"~/dotfiles/hypr/conf/keybinding.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
@@ -153,19 +161,19 @@ _startRestore() {
cp ~/dotfiles/hypr/conf/environment.conf ~/dotfiles-versions/$version/hypr/conf/ cp ~/dotfiles/hypr/conf/environment.conf ~/dotfiles-versions/$version/hypr/conf/
echo ":: Hyprland environment.conf restored!" echo ":: Hyprland environment.conf restored!"
fi fi
fi fi
if [[ $restoreselect == *"~/dotfiles/hypr/conf/layout.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then if [[ $restoreselect == *"~/dotfiles/hypr/conf/layout.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
if [ -f ~/dotfiles/hypr/conf/layout.conf ]; then if [ -f ~/dotfiles/hypr/conf/layout.conf ]; then
cp ~/dotfiles/hypr/conf/layout.conf ~/dotfiles-versions/$version/hypr/conf/ cp ~/dotfiles/hypr/conf/layout.conf ~/dotfiles-versions/$version/hypr/conf/
echo ":: Hyprland layout.conf restored!" echo ":: Hyprland layout.conf restored!"
fi fi
fi fi
if [[ $restoreselect == *"~/dotfiles/hypr/conf/windowrule.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then if [[ $restoreselect == *"~/dotfiles/hypr/conf/windowrule.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
if [ -f ~/dotfiles/hypr/conf/windowrule.conf ]; then if [ -f ~/dotfiles/hypr/conf/windowrule.conf ]; then
cp ~/dotfiles/hypr/conf/windowrule.conf ~/dotfiles-versions/$version/hypr/conf/ cp ~/dotfiles/hypr/conf/windowrule.conf ~/dotfiles-versions/$version/hypr/conf/
echo ":: Hyprland windowrule.conf restored!" echo ":: Hyprland windowrule.conf restored!"
fi fi
fi fi
if [[ $restoreselect == *"~/dotfiles/hypr/conf/animation.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then if [[ $restoreselect == *"~/dotfiles/hypr/conf/animation.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
if [ -f ~/dotfiles/hypr/conf/animation.conf ]; then if [ -f ~/dotfiles/hypr/conf/animation.conf ]; then
cp ~/dotfiles/hypr/conf/animation.conf ~/dotfiles-versions/$version/hypr/conf/ cp ~/dotfiles/hypr/conf/animation.conf ~/dotfiles-versions/$version/hypr/conf/
+1 -1
View File
@@ -24,7 +24,7 @@ input {
# for laptop # for laptop
# natural_scroll = yes # natural_scroll = yes
# middle_button_emulation = true # middle_button_emulation = true
# clickfinger_behavior = false # clickfinger_behavior = 1
} }
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
} }
+1 -1
View File
@@ -24,7 +24,7 @@ input {
# for laptop # for laptop
natural_scroll = true natural_scroll = true
middle_button_emulation = true middle_button_emulation = true
clickfinger_behavior = false clickfinger_behavior = true
disable_while_typing = true disable_while_typing = true
} }
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
+22
View File
@@ -0,0 +1,22 @@
# ------------------------------------------------------
# install zsh and zinit
# ------------------------------------------------------
packagesPacman=("zsh");
echo "Please select the zsh plugin manager:"
zsh_manager=$(gum choose --limit=1 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " "oh my zsh" "zinit")
if [[ "${zsh_manager}" == *"oh my zsh"* ]]; then
source .install/install-packages.sh
if [ ! -d ~/.oh-my-zsh ]; then
RUNZSH=no CHSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
fi
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
_installSymLink zshrc ~/.zshrc ~/dotfiles/.zshrc_ohmyzsh ~/.zshrc
else
packagesYay=("zinit");
source .install/install-packages.sh
_installSymLink zshrc ~/.zshrc ~/dotfiles/.zshrc_zinit ~/.zshrc
fi
_installSymLink p10k ~/.p10k.zsh ~/dotfiles/.p10k.zsh ~/
+25
View File
@@ -0,0 +1,25 @@
# ------------------------------------------------------
# Select additional shell
# ------------------------------------------------------
echo -e "${GREEN}"
figlet "Zsh Fish"
echo -e "${NONE}"
echo "Please select if you want to install zsh or fish."
echo
zshfish=$(gum choose --no-limit --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " "zsh" "fish")
if [ -z "${zshfish}" ] ;then
echo ":: No shell selected. Keep using bash."
else
echo "Please select your default shell."
echo
shell=$(echo -e "bash\n$zshfish" | gum choose --limit=1 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) ")
if [[ $zshfish == *"zsh"* ]]; then
echo ":: zsh selected"
source .install/zsh.sh
fi
if [[ $zshfish == *"fish"* ]]; then
echo ":: fish selected"
source .install/fish.sh
fi
fi
+1718
View File
File diff suppressed because it is too large Load Diff
View File
-26
View File
@@ -1,26 +0,0 @@
{
"custom/quicklink1": {
"format": "",
"on-click": "~/dotfiles/.settings/browser.sh",
"tooltip-format": "Open browser"
},
/*
"custom/quicklink1": {
"format": "",
"on-click": "firefox",
"tooltip-format": "Open Firefox"
},
*/
"custom/quicklink2": {
"format": "",
"on-click": "~/dotfiles/.settings/filemanager.sh",
"tooltip-format": "Open filemanager"
},
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/quicklink1",
"custom/quicklink2"
]
}
}
+1 -1
View File
@@ -1 +1 @@
2.9.2 2.9.1.2
+1 -1
View File
@@ -1 +1 @@
2920 2912
+88
View File
@@ -0,0 +1,88 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# -----------------------------------------------------
# Oh my zsh settings
# -----------------------------------------------------
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# ZSH_THEME="robbyrussell"
ZSH_THEME="powerlevel10k/powerlevel10k"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
zstyle ':omz:update' mode auto
# Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
COMPLETION_WAITING_DOTS="true"
# -----------------------------------------------------
# Plugins
# -----------------------------------------------------
plugins=(git colored-man-pages eza z sudo zsh-autosuggestions fast-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# -----------------------------------------------------
# Variables
# -----------------------------------------------------
export PATH=$HOME/.cargo/bin:$HOME/.local/bin:/usr/local/bin:$PATH
# export MANPATH="/usr/local/man:$MANPATH"
export LANG=en_US.UTF-8
export EDITOR='nvim'
export MAKEFLAGS='-j$(nproc)'
export CFLAGS='-march=native -O2 -pipe'
# -----------------------------------------------------
# Alias
# -----------------------------------------------------
alias sshkoko="TERM=xterm-256color ssh ywang2020@koko-login.hpc.fau.edu"
alias wakemac="wakeonlan 18:C0:4D:8D:56:0E"
alias ls="eza --icons=auto"
alias githashselector="git log --oneline | gum filter | cut -d' ' -f1"
alias bat="bat --paging=never"
alias code="code --ozone-platform=wayland --enable-wayland-ime"
# fix ssh if in kitty
if [[ "$TERM" == "xterm-kitty" && -z "$SSH_CONNECTION" ]]; then
alias ssh="kitty +kitten ssh"
fi
# -----------------------------------------------------
# Completion
# -----------------------------------------------------
[[ -f /home/wyj/.dart-cli-completion/zsh-config.zsh ]] && . /home/wyj/.dart-cli-completion/zsh-config.zsh || true
# -----------------------------------------------------
# evals
# -----------------------------------------------------
eval $(thefuck --alias)
eval "$(fzf --zsh)"
# -----------------------------------------------------
# PYWAL
# -----------------------------------------------------
cat ~/.cache/wal/sequences
# -----------------------------------------------------
# Custom
# -----------------------------------------------------
[[ ! -f ~/.custom.zsh ]] || source ~/.custom.zsh
# -----------------------------------------------------
# miscs
# -----------------------------------------------------
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
+64
View File
@@ -0,0 +1,64 @@
# ---------------------------------------------------
# Zinit and plugins
# ---------------------------------------------------
source /usr/share/zinit/zinit.zsh
# Load powerlevel10k theme
zinit ice depth"1" # git clone depth
zinit light romkatv/powerlevel10k
# Load plugins
zinit light zsh-users/zsh-autosuggestions
zinit light zdharma-continuum/fast-syntax-highlighting
# oh-my-zsh plugins
zi snippet OMZL::git.zsh
zi snippet OMZP::git
zi snippet OMZP::sudo
zi snippet OMZP::colored-man-pages
zi snippet OMZP::eza
zi snippet OMZP::z
# others
zplugin ice as"program" pick"bin/git-dsf"
zplugin light zdharma-continuum/zsh-diff-so-fancy
# ----------------------------------------------------
# Variables
# ----------------------------------------------------
export PATH=$HOME/bin:$HOME/.cargo/bin:$HOME/.local/bin:/usr/local/bin:$PATH
export EDITOR=vim
# ----------------------------------------------------
# Alias
# ----------------------------------------------------
alias sshkoko="TERM=xterm-256color ssh ywang2020@koko-login.hpc.fau.edu"
alias wakemac="wakeonlan 18:C0:4D:8D:56:0E"
alias eza="eza --icons=auto"
alias githashselector="git log --oneline | gum filter | cut -d' ' -f1"
alias bat="bat --paging=never"
# -----------------------------------------------------
# evals
# -----------------------------------------------------
eval $(thefuck --alias)
eval "$(fzf --zsh)"
# -----------------------------------------------------
# Miscs
# -----------------------------------------------------
# fix ssh if in kitty
if [[ "$TERM" == "xterm-kitty" && -z "$SSH_CONNECTION" ]]; then
alias ssh="kitty +kitten ssh"
fi
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# -----------------------------------------------------
# PYWAL
# -----------------------------------------------------
cat ~/.cache/wal/sequences
# -----------------------------------------------------
# Custom
# -----------------------------------------------------
[[ ! -f ~/.custom.zsh ]] || source ~/.custom.zsh
+1 -14
View File
@@ -1,18 +1,5 @@
Version 2.9.2
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9.2
--------------------------------------------------------
- Works with Hyprland 0.41.2
- Introducing waypaper as new wallpaper selector
- Wallpaper cache for generated wallpaper variants. Will speed up the change between wallpapers if cached files exists. https://gitlab.com/stephan-raabe/dotfiles/-/wikis/Home/Wallpapers#wallpaper-cache
- You can define custom quicklinks in waybar: https://gitlab.com/stephan-raabe/dotfiles/-/wikis/Home/Waybar#define-your-quicklinks
- New SVG icons in waybar for ML4W and ChatGPT
- Default waybar theme changed to ml4w-blur/white
- Alacritty: selected text will be copied to the primary clipboard
- General/standard Hyprland environment configuration moved to ml4w.conf (will be re-used in kvm.conf and nvidia.conf)
- The time format in hyprlock is now aligned with the waybar clock time format that is defined in the ML4W Settings App
Version 2.9.1.2 Version 2.9.1.2
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9.1.2 https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9.1.1
-------------------------------------------------------- --------------------------------------------------------
- Workspaces module in waybar updated to enable scroll to change the workspace https://gitlab.com/stephan-raabe/dotfiles/-/merge_requests/114 - Workspaces module in waybar updated to enable scroll to change the workspace https://gitlab.com/stephan-raabe/dotfiles/-/merge_requests/114
- More functions deactivated in Game Mode (SUPER+ALT+G) - More functions deactivated in Game Mode (SUPER+ALT+G)
+7 -3
View File
@@ -1,8 +1,8 @@
# ML4W Dotfiles 2.9.2 # ML4W Dotfiles 2.9.1.2
An advanced configuration of Hyprland for Arch Linux based distributions. This package includes an installation script to install and setup the required components. An advanced configuration of Hyprland for Arch Linux based distributions. This package includes an installation script to install and setup the required components.
[![Screenshot](https://gitlab.com/stephan-raabe/dotfiles/-/wikis/uploads/5715487b0af68f36295f4e37b634f17a/screenshot-20240627-113621.png "Screenshot")](![screenshots/screenshot2.png](https://gitlab.com/stephan-raabe/dotfiles/-/wikis/uploads/5715487b0af68f36295f4e37b634f17a/screenshot-20240627-113621.png)) [![Screenshot](screenshots/screenshot2.png "Screenshot")](screenshots/screenshot2.png)
The ML4W Dotfiles are available as The ML4W Dotfiles are available as
@@ -37,7 +37,11 @@ You can also visit the [ML4W Discord Server](https://discord.gg/c4fJK7Za3g) to s
## Screenshots ## Screenshots
[![Screenshot](https://gitlab.com/stephan-raabe/dotfiles/-/wikis/uploads/b8dc6a841b6b04fe0b2d380377117a50/screenshot-20240627-113733.png "Screenshot")](![screenshots/screenshot1.png](https://gitlab.com/stephan-raabe/dotfiles/-/wikis/uploads/b8dc6a841b6b04fe0b2d380377117a50/screenshot-20240627-113733.png)) [![Screenshot](screenshots/screenshot1.png "Screenshot")](screenshots/screenshot1.png)
[![Screenshot](screenshots/screenshot3.png "Screenshot")](screenshots/screenshot3.png)
[![Screenshot](screenshots/screenshot4.png "Screenshot")](screenshots/screenshot5.png)
## Wallpaper repository ## Wallpaper repository
-3
View File
@@ -11,6 +11,3 @@ opacity = 0.7
[window.padding] [window.padding]
x = 15 x = 15
y = 15 y = 15
[selection]
save_to_clipboard = true
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3 -6
View File
@@ -20,18 +20,15 @@ exec-once = hypridle
# Load cliphist history # Load cliphist history
exec-once = wl-paste --watch cliphist store exec-once = wl-paste --watch cliphist store
# Initialize Wallpaper Engine
exec-once = ~/dotfiles/hypr/scripts/init-wallpaper-engine.sh
# Autostart ML4W App # Autostart ML4W App
exec-once = ~/dotfiles/hypr/scripts/ml4w-welcome-autostart.sh exec-once = ~/dotfiles/hypr/scripts/ml4w-welcome-autostart.sh
# Start ewww daemon # Start ewww daemon
exec-once = ~/dotfiles/hypr/scripts/eww.sh exec-once = ~/dotfiles/hypr/scripts/eww.sh
# Initialize waypaper
exec-once = waypaper --restore
# Launch Waybar
exec-once = ~/dotfiles/waybar/launch.sh
# Start autostart cleanup # Start autostart cleanup
exec-once = ~/dotfiles/hypr/scripts/cleanup.sh exec-once = ~/dotfiles/hypr/scripts/cleanup.sh
+8 -1
View File
@@ -2,4 +2,11 @@
# Environment Variables # Environment Variables
# name: "Default" # name: "Default"
# ----------------------------------------------------- # -----------------------------------------------------
# Set in ml4w.conf
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = QT_QPA_PLATFORM,wayland
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = MOZ_ENABLE_WAYLAND,1
env = GDK_SCALE,1
+8
View File
@@ -2,5 +2,13 @@
# Environment Variables # Environment Variables
# name: "KVM" # name: "KVM"
# ----------------------------------------------------- # -----------------------------------------------------
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = QT_QPA_PLATFORM,wayland
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = MOZ_ENABLE_WAYLAND,1
env = GDK_SCALE,1
env = WLR_RENDERER_ALLOW_SOFTWARE, 1 env = WLR_RENDERER_ALLOW_SOFTWARE, 1
env = WLR_NO_HARDWARE_CURSORS, 1 env = WLR_NO_HARDWARE_CURSORS, 1
+2 -2
View File
@@ -33,8 +33,8 @@ bind = $mainMod, G, togglegroup # Toggle window group
bind = $mainMod SHIFT, A, exec, ~/dotfiles/hypr/scripts/toggle-animations.sh # Toggle animations bind = $mainMod SHIFT, A, exec, ~/dotfiles/hypr/scripts/toggle-animations.sh # Toggle animations
bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh # Take a screenshot bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh # Take a screenshot
bind = $mainMod CTRL, Q, exec, wlogout # Start wlogout bind = $mainMod CTRL, Q, exec, wlogout # Start wlogout
bind = $mainMod SHIFT, W, exec, waypaper --random # Change the wallpaper bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh # Change the wallpaper
bind = $mainMod CTRL, W, exec, waypaper # Open wallpaper selector bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select # Open wallpaper selector
bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i # Open application launcher bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i # Open application launcher
bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh # Show keybindings bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh # Show keybindings
bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh # Reload waybar bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh # Reload waybar
+1 -2
View File
@@ -8,8 +8,7 @@ dwindle {
} }
master { master {
# new_is_master = true new_is_master = true
# new_status = master
} }
gestures { gestures {
+1 -2
View File
@@ -8,8 +8,7 @@ dwindle {
} }
master { master {
# new_is_master = true new_is_master = true
# new_status = master
} }
gestures { gestures {
+5 -40
View File
@@ -2,22 +2,10 @@
# ML4W configurations # ML4W configurations
# ----------------------------------------------------- # -----------------------------------------------------
# Pavucontrol floating windowrulev2 = float,class:(.*chat.openai.com.*)
windowrulev2 = float,class:(.*org.pulseaudio.pavucontrol.*) windowrulev2 = size 500 50%,class:(.*chat.openai.com.*)
windowrulev2 = size 700 600,class:(.*org.pulseaudio.pavucontrol.*) windowrulev2 = move 20 70,class:(.*chat.openai.com.*)
windowrulev2 = center,class:(.*org.pulseaudio.pavucontrol.*)
# OpenAI ChatGPT floating
windowrulev2 = float,title:(.*chat.openai.com.*)
windowrulev2 = size 500 50%,title:(.*chat.openai.com.*)
windowrulev2 = move 20 70,title:(.*chat.openai.com.*)
# ML4W Welcome App floating
windowrulev2 = float,class:(.*waypaper.*)
windowrulev2 = size 800 700,class:(.*waypaper.*)
windowrulev2 = center,class:(.*waypaper.*)
# ML4W Welcome App floating
windowrulev2 = float,class:(com.ml4w.welcome) windowrulev2 = float,class:(com.ml4w.welcome)
windowrulev2 = size 700 600,class:(com.ml4w.welcome) windowrulev2 = size 700 600,class:(com.ml4w.welcome)
windowrulev2 = center,class:(com.ml4w.welcome) windowrulev2 = center,class:(com.ml4w.welcome)
@@ -26,7 +14,6 @@ windowrulev2 = float,class:(ml4w-welcome.py)
windowrulev2 = size 400 500,class:(ml4w-welcome.py) windowrulev2 = size 400 500,class:(ml4w-welcome.py)
windowrulev2 = center,class:(ml4w-welcome.py) windowrulev2 = center,class:(ml4w-welcome.py)
# ML4W Settings App floating
windowrulev2 = float,class:(com.ml4w.dotfilessettings) windowrulev2 = float,class:(com.ml4w.dotfilessettings)
windowrulev2 = size 700 600,class:(com.ml4w.dotfilessettings) windowrulev2 = size 700 600,class:(com.ml4w.dotfilessettings)
windowrulev2 = move 10% 20%,class:(com.ml4w.dotfilessettings) windowrulev2 = move 10% 20%,class:(com.ml4w.dotfilessettings)
@@ -35,7 +22,6 @@ windowrulev2 = float,class:(ml4w-dotfiles-settings.py)
windowrulev2 = size 400 500,class:(ml4w-dotfiles-settings.py) windowrulev2 = size 400 500,class:(ml4w-dotfiles-settings.py)
windowrulev2 = move 10% 20%,class:(ml4w-dotfiles-settings.py) windowrulev2 = move 10% 20%,class:(ml4w-dotfiles-settings.py)
# ML4W Hyprland App floating
windowrulev2 = float,class:(com.ml4w.hyprland.settings) windowrulev2 = float,class:(com.ml4w.hyprland.settings)
windowrulev2 = size 700 600,class:(com.ml4w.hyprland.settings) windowrulev2 = size 700 600,class:(com.ml4w.hyprland.settings)
windowrulev2 = center,class:(com.ml4w.hyprland.settings) windowrulev2 = center,class:(com.ml4w.hyprland.settings)
@@ -44,31 +30,10 @@ windowrulev2 = float,class:(ml4w-hyprland-settings.py)
windowrulev2 = size 700 600,class:(ml4w-hyprland-settings.py) windowrulev2 = size 700 600,class:(ml4w-hyprland-settings.py)
windowrulev2 = center,class:(ml4w-hyprland-settings.py) windowrulev2 = center,class:(ml4w-hyprland-settings.py)
# General floating
windowrulev2 = float,class:(dotfiles-floating) windowrulev2 = float,class:(dotfiles-floating)
windowrulev2 = size 1000 800,class:(dotfiles-floating) windowrulev2 = size 1000 800,class:(dotfiles-floating)
windowrulev2 = center,class:(dotfiles-floating) windowrulev2 = center,class:(dotfiles-floating)
# XDG Desktop Portal
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
# QT
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
# GTK
env = GDK_SCALE,1
# Mozilla
env = MOZ_ENABLE_WAYLAND,1
# Set the cursor size for xcursor
env = XCURSOR_SIZE,24
# Disable appimage launcher by default
env = APPIMAGELAUNCHER_DISABLE,1 env = APPIMAGELAUNCHER_DISABLE,1
env = XCURSOR_SIZE,24
env = XDG_CURRENT_DESKTOP,Hyprland
-1
View File
@@ -10,5 +10,4 @@ general {
col.active_border = rgba(ffffffff) col.active_border = rgba(ffffffff)
col.inactive_border = $color11 col.inactive_border = $color11
layout = dwindle layout = dwindle
resize_on_border = true
} }
-1
View File
@@ -10,5 +10,4 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
-1
View File
@@ -10,5 +10,4 @@ general {
col.active_border = rgba(ffffffff) col.active_border = rgba(ffffffff)
col.inactive_border = $color11 col.inactive_border = $color11
layout = dwindle layout = dwindle
resize_on_border = true
} }
-1
View File
@@ -10,5 +10,4 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
-1
View File
@@ -10,5 +10,4 @@ general {
col.active_border = rgba(ffffffff) col.active_border = rgba(ffffffff)
col.inactive_border = $color11 col.inactive_border = $color11
layout = dwindle layout = dwindle
resize_on_border = true
} }
-1
View File
@@ -10,5 +10,4 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
-1
View File
@@ -10,5 +10,4 @@ general {
col.active_border = rgba(ffffffff) col.active_border = rgba(ffffffff)
col.inactive_border = $color11 col.inactive_border = $color11
layout = dwindle layout = dwindle
resize_on_border = true
} }
-1
View File
@@ -10,5 +10,4 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
-1
View File
@@ -10,5 +10,4 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
@@ -10,5 +10,4 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
-1
View File
@@ -10,5 +10,4 @@ general {
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
resize_on_border = true
} }
-1
View File
@@ -43,7 +43,6 @@ input-field {
label { label {
monitor = monitor =
#clock
text = cmd[update:1000] echo "$TIME" text = cmd[update:1000] echo "$TIME"
color = rgba(200, 200, 200, 1.0) color = rgba(200, 200, 200, 1.0)
font_size = 55 font_size = 55
+2 -2
View File
@@ -1,3 +1,3 @@
preload = $HOME/wallpaper/default.jpg preload = $HOME/wallpaper/hyprland.jpg
wallpaper = ,$HOME/wallpaper/default.jpg wallpaper = ,$HOME/wallpaper/hyprland.jpg
splash = false splash = false
-1
View File
@@ -46,7 +46,6 @@ _commandExists "swww" "swww"
_commandExists "eww" "eww" _commandExists "eww" "eww"
_commandExists "magick" "imagemagick" _commandExists "magick" "imagemagick"
_commandExists "figlet" "figlet" _commandExists "figlet" "figlet"
_commandExists "waypaper" "waypaper"
echo echo
echo "Press return to exit" echo "Press return to exit"
-5
View File
@@ -1,5 +0,0 @@
#!/bin/bash
generated_versions="$HOME/.cache/ml4w-wallpaper-generated"
rm $HOME/.cache/ml4w-wallpaper-generated/*
echo ":: Wallpaper cache cleared"
notify-send "Wallpaper cache cleared"
+139 -93
View File
@@ -9,135 +9,181 @@
# by Stephan Raabe (2024) # by Stephan Raabe (2024)
# ----------------------------------------------------- # -----------------------------------------------------
# ----------------------------------------------------- # Cache file for holding the current wallpaper
# Get selected wallpaper wallpaper_folder="$HOME/wallpaper"
# ----------------------------------------------------- if [ -f ~/dotfiles/.settings/wallpaper-folder.sh ] ;then
echo ":: Using wallpaper $1" source ~/dotfiles/.settings/wallpaper-folder.sh
wallpaper=$1
# -----------------------------------------------------
# Check to use wallpaper cache
# -----------------------------------------------------
use_cache=0
if [ -f $HOME/dotfiles/.settings/wallpaper_cache ] ;then
use_cache=1
fi fi
used_wallpaper="$HOME/.cache/used_wallpaper"
if [ "$use_cache" == "1" ] ;then
echo ":: Using Wallpaper Cache"
else
echo ":: Wallpaper Cache disabled"
fi
# -----------------------------------------------------
# File and folder names
# -----------------------------------------------------
force_generate=0
generated_versions="$HOME/.cache/ml4w-wallpaper-generated"
cache_file="$HOME/.cache/current_wallpaper" cache_file="$HOME/.cache/current_wallpaper"
blurred_wallpaper="$HOME/.cache/blurred_wallpaper.png" blurred="$HOME/.cache/blurred_wallpaper.png"
square_wallpaper="$HOME/.cache/square_wallpaper.png" square="$HOME/.cache/square_wallpaper.png"
rasi_file="$HOME/.cache/current_wallpaper.rasi" rasi_file="$HOME/.cache/current_wallpaper.rasi"
blur_file="$HOME/dotfiles/.settings/blur.sh" blur_file="$HOME/dotfiles/.settings/blur.sh"
blur="50x30" blur="50x30"
blur=$(cat $blur_file) blur=$(cat $blur_file)
# Create cache file if not exists
if [ ! -f $cache_file ] ;then
touch $cache_file
echo "$wallpaper_folder/default.jpg" > "$cache_file"
fi
# Create rasi file if not exists # Create rasi file if not exists
if [ ! -f $rasi_file ] ;then if [ ! -f $rasi_file ] ;then
touch $rasi_file touch $rasi_file
echo "* { current-image: url(\"$wallpaper_folder/default.jpg\", height); }" > "$rasi_file" echo "* { current-image: url(\"$wallpaper_folder/default.jpg\", height); }" > "$rasi_file"
fi fi
# Create folder with generated versions of wallpaper if not exists current_wallpaper=$(cat "$cache_file")
if [ ! -d $generated_versions ] ;then
mkdir $generated_versions case $1 in
fi
# Load wallpaper from .cache of last session
"init")
sleep 1
if [ -f $cache_file ]; then
wal -q -i $current_wallpaper
else
wal -q -i $wallpaper_folder/
fi
;;
# Select wallpaper with rofi
"select")
sleep 0.2
selected=$( find "$wallpaper_folder" -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" \) -exec basename {} \; | sort -R | while read rfile
do
echo -en "$rfile\x00icon\x1f$wallpaper_folder/${rfile}\n"
done | rofi -dmenu -i -replace -config ~/dotfiles/rofi/config-wallpaper.rasi)
if [ ! "$selected" ]; then
echo "No wallpaper selected"
exit
fi
wal -q -i $wallpaper_folder/$selected
;;
# Randomly select wallpaper
*)
wal -q -i $wallpaper_folder/
;;
esac
# ----------------------------------------------------- # -----------------------------------------------------
# Current wallpaper # Load current pywal color scheme
# ----------------------------------------------------- # -----------------------------------------------------
current_wallpaper=$wallpaper
current_wallpaper_filename=$(basename $current_wallpaper)
echo ":: Current Wallpaper: $current_wallpaper"
echo ":: Current Wallpaper Filename: $current_wallpaper_filename"
newwall=$current_wallpaper_filename
# -----------------------------------------------------
# Execute pywal
# -----------------------------------------------------
echo ":: Execute wallpaper"
wal -q -i $wallpaper
source "$HOME/.cache/wal/colors.sh" source "$HOME/.cache/wal/colors.sh"
# ----------------------------------------------------- # -----------------------------------------------------
# Wallpaper Effects # get wallpaper image name
# ----------------------------------------------------- # -----------------------------------------------------
newwall=$(echo $wallpaper | sed "s|$wallpaper_folder/||g")
# -----------------------------------------------------
# Reload waybar with new colors
# -----------------------------------------------------
~/dotfiles/waybar/launch.sh
# -----------------------------------------------------
# Set the new wallpaper
# -----------------------------------------------------
transition_type="wipe"
# transition_type="outer"
# transition_type="random"
cp $wallpaper $HOME/.cache/
mv $HOME/.cache/$newwall $used_wallpaper
# Load Wallpaper Effect
if [ -f $HOME/dotfiles/.settings/wallpaper-effect.sh ] ;then if [ -f $HOME/dotfiles/.settings/wallpaper-effect.sh ] ;then
effect=$(cat $HOME/dotfiles/.settings/wallpaper-effect.sh) effect=$(cat $HOME/dotfiles/.settings/wallpaper-effect.sh)
if [ ! "$effect" == "off" ] ;then if [ ! "$effect" == "off" ] ;then
used_wallpaper=$generated_versions/$effect-$newwall if [ "$1" == "init" ] ;then
if [ -f $generated_versions/$effect-$newwall ] && [ "$force_generate" == "0" ] && [ "$use_cache" == "1" ] ;then echo ":: Init"
echo ":: Use cached wallpaper $effect-$newwall"
else else
echo ":: Generate new cached wallpaper $effect-$newwall with effect $effect" dunstify "Using wallpaper effect $effect..." "with image $newwall" -h int:value:10 -h string:x-dunst-stack-tag:wallpaper
if [ "$1" == "init" ] ;then
echo ":: Init"
else
dunstify "Using wallpaper effect $effect..." "with image $newwall" -h int:value:10 -h string:x-dunst-stack-tag:wallpaper
fi
source $HOME/dotfiles/hypr/effects/wallpaper/$effect
fi fi
echo ":: Loading wallpaper $generated_versions/$effect-$newwall with effect $effect" source $HOME/dotfiles/hypr/effects/wallpaper/$effect
killall -e hyprpaper &
sleep 1;
wal_tpl=$(cat $HOME/dotfiles/.settings/hyprpaper.tpl)
echo $wal_tpl
output=${wal_tpl//WALLPAPER/$used_wallpaper}
echo "$output" > $HOME/dotfiles/hypr/hyprpaper.conf
hyprpaper & > /dev/null 2>&1
else
echo ":: Wallpaper effect is set to off"
fi fi
fi fi
wallpaper_engine=$(cat $HOME/dotfiles/.settings/wallpaper-engine.sh)
if [ "$wallpaper_engine" == "swww" ] ;then
# swww
echo ":: Using swww"
swww img $used_wallpaper \
--transition-bezier .43,1.19,1,.4 \
--transition-fps=60 \
--transition-type=$transition_type \
--transition-duration=0.7 \
--transition-pos "$( hyprctl cursorpos )"
elif [ "$wallpaper_engine" == "hyprpaper" ] ;then
# hyprpaper
echo ":: Using hyprpaper"
killall hyprpaper
wal_tpl=$(cat $HOME/dotfiles/.settings/hyprpaper.tpl)
output=${wal_tpl//WALLPAPER/$used_wallpaper}
echo "$output" > $HOME/dotfiles/hypr/hyprpaper.conf
hyprpaper &
else
echo ":: Wallpaper Engine disabled"
fi
if [ "$1" == "init" ] ;then
echo ":: Init"
else
sleep 1
dunstify "Changing wallpaper ..." "with image $newwall" -h int:value:25 -h string:x-dunst-stack-tag:wallpaper
# -----------------------------------------------------
# Reload Hyprctl.sh
# -----------------------------------------------------
$HOME/.config/ml4w-hyprland-settings/hyprctl.sh &
fi
# ----------------------------------------------------- # -----------------------------------------------------
# Created blurred wallpaper # Created blurred wallpaper
# ----------------------------------------------------- # -----------------------------------------------------
if [ -f $generated_versions/blur-$blur-$newwall.png ] && [ "$force_generate" == "0" ] && [ "$use_cache" == "1" ] ;then if [ "$1" == "init" ] ;then
echo ":: Use cached wallpaper blur-$blur-$newwall.png" echo ":: Init"
else else
echo ":: Generate new cached wallpaper blur-$blur-$newwall with blur $blur" dunstify "Creating blurred version ..." "with image $newwall" -h int:value:50 -h string:x-dunst-stack-tag:wallpaper
if [ "$1" == "init" ] ;then fi
echo ":: Init"
else magick $used_wallpaper -resize 75% $blurred
dunstify "Creating blurred version ..." "with image $newwall" -h int:value:50 -h string:x-dunst-stack-tag:wallpaper echo ":: Resized to 75%"
fi if [ ! "$blur" == "0x0" ] ;then
magick $wallpaper -resize 75% $blurred_wallpaper magick $blurred -blur $blur $blurred
echo ":: Resized to 75%" echo ":: Blurred"
if [ ! "$blur" == "0x0" ] ;then
magick $blurred_wallpaper -blur $blur $blurred_wallpaper
cp $blurred_wallpaper $generated_versions/blur-$blur-$newwall.png
echo ":: Blurred"
fi
cp $generated_versions/blur-$blur-$newwall.png $blurred_wallpaper
fi fi
cp $generated_versions/blur-$blur-$newwall.png $blurred_wallpaper
# ----------------------------------------------------- # -----------------------------------------------------
# Created square wallpaper # Created quare wallpaper
# ----------------------------------------------------- # -----------------------------------------------------
if [ -f $generated_versions/square-$newwall.png ] && [ "$force_generate" == "0" ] && [ "$use_cache" == "1" ] ;then if [ "$1" == "init" ] ;then
echo ":: Use cached wallpaper square-$newwall.png" echo ":: Init"
else else
echo ":: Generate new cached wallpaper square-$newwall" dunstify "Creating square version ..." "with image $newwall" -h int:value:75 -h string:x-dunst-stack-tag:wallpaper
if [ "$1" == "init" ] ;then
echo ":: Init"
else
dunstify "Creating square version ..." "with image $newwall" -h int:value:75 -h string:x-dunst-stack-tag:wallpaper
fi
magick $wallpaper -gravity Center -extent 1:1 $square_wallpaper
cp $square_wallpaper $generated_versions/square-$newwall.png
fi fi
cp $generated_versions/square-$newwall.png $square_wallpaper magick $wallpaper -gravity Center -extent 1:1 $square
echo ":: Square version created"
# -----------------------------------------------------
# Write selected wallpaper into .cache files
# -----------------------------------------------------
echo "$wallpaper" > "$cache_file"
echo "* { current-image: url(\"$blurred\", height); }" > "$rasi_file"
# -----------------------------------------------------
# Send notification
# -----------------------------------------------------
if [ "$1" == "init" ] ;then
echo ":: Init"
else
dunstify "Wallpaper procedure complete!" "with image $newwall" -h int:value:100 -h string:x-dunst-stack-tag:wallpaper
fi
echo "DONE!"
+1 -1
View File
@@ -15,7 +15,7 @@ killall -e xdg-desktop-portal-kde
killall -e xdg-desktop-portal-lxqt killall -e xdg-desktop-portal-lxqt
killall -e xdg-desktop-portal-wlr killall -e xdg-desktop-portal-wlr
killall -e xdg-desktop-portal-gtk killall -e xdg-desktop-portal-gtk
killall -e xdg-desktop-portal killall xdg-desktop-portal
sleep 1 sleep 1
# start xdg-desktop-portal-hyprland # start xdg-desktop-portal-hyprland
+7 -14
View File
@@ -34,7 +34,7 @@ else
fi fi
echo "" echo ""
source .install/required.sh source .install/required.sh
source .install/confirm_start.sh source .install/confirm-start.sh
source .install/paralleldownloads.sh source .install/paralleldownloads.sh
source .install/yay.sh source .install/yay.sh
source .install/updatesystem.sh source .install/updatesystem.sh
@@ -44,46 +44,39 @@ source .install/installer.sh
source .install/remove.sh source .install/remove.sh
source .install/general.sh source .install/general.sh
source .install/packages/general-packages.sh source .install/packages/general-packages.sh
source .install/install_packages.sh source .install/install-packages.sh
source .install/profile.sh source .install/profile.sh
if [[ $profile == *"Hyprland"* ]]; then if [[ $profile == *"Hyprland"* ]]; then
echo -e "${GREEN}" echo -e "${GREEN}"
figlet "Hyprland" figlet "Hyprland"
echo -e "${NONE}" echo -e "${NONE}"
source .install/packages/hyprland-packages.sh source .install/packages/hyprland-packages.sh
source .install/install_packages.sh source .install/install-packages.sh
fi fi
if [[ $profile == *"Qtile"* ]]; then if [[ $profile == *"Qtile"* ]]; then
echo -e "${GREEN}" echo -e "${GREEN}"
figlet "Qtile" figlet "Qtile"
echo -e "${NONE}" echo -e "${NONE}"
source .install/packages/qtile-packages.sh source .install/packages/qtile-packages.sh
source .install/install_packages.sh source .install/install-packages.sh
fi fi
source .install/wallpaper.sh source .install/wallpaper.sh
source .install/displaymanager.sh source .install/displaymanager.sh
source .install/issue.sh source .install/issue.sh
# Modify existing files before restore starts
source .install/before_restore.sh
# Restore configuration and settings
source .install/restore.sh source .install/restore.sh
# Setup the input devices
source .install/keyboard.sh source .install/keyboard.sh
source .install/neovim.sh source .install/neovim.sh
source .install/hook.sh source .install/hook.sh
source .install/vm.sh source .install/vm.sh
source .install/copy.sh source .install/copy.sh
source .install/init-pywal.sh source .install/init-pywal.sh
if [[ $profile == *"Hyprland"* ]]; then if [[ $profile == *"Hyprland"* ]]; then
source .install/hyprland_dotfiles.sh source .install/hyprland-dotfiles.sh
fi fi
if [[ $profile == *"Qtile"* ]]; then if [[ $profile == *"Qtile"* ]]; then
source .install/qtile_dotfiles.sh source .install/qtile-dotfiles.sh
fi fi
source .install/zshfish.sh
source .install/settings.sh source .install/settings.sh
source .install/apps.sh source .install/apps.sh
source .install/gtk.sh source .install/gtk.sh
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

+2 -2
View File
@@ -25,7 +25,7 @@ sleep 0.2
# ----------------------------------------------------- # -----------------------------------------------------
# Default theme: /THEMEFOLDER;/VARIATION # Default theme: /THEMEFOLDER;/VARIATION
# ----------------------------------------------------- # -----------------------------------------------------
themestyle="/ml4w-blur;/ml4w-blur/white" themestyle="/ml4w;/ml4w/light"
# ----------------------------------------------------- # -----------------------------------------------------
# Get current theme information from .cache/.themestyle.sh # Get current theme information from .cache/.themestyle.sh
@@ -38,7 +38,7 @@ else
fi fi
IFS=';' read -ra arrThemes <<< "$themestyle" IFS=';' read -ra arrThemes <<< "$themestyle"
echo ":: Theme: ${arrThemes[0]}" echo "Theme: ${arrThemes[0]}"
if [ ! -f ~/dotfiles/waybar/themes${arrThemes[1]}/style.css ]; then if [ ! -f ~/dotfiles/waybar/themes${arrThemes[1]}/style.css ]; then
themestyle="/ml4w;/ml4w/light" themestyle="/ml4w;/ml4w/light"
+24 -1
View File
@@ -110,7 +110,7 @@
// Wallpaper // Wallpaper
"custom/wallpaper": { "custom/wallpaper": {
"format": "", "format": "",
"on-click": "waypaper", "on-click": "~/dotfiles/hypr/scripts/wallpaper.sh select",
"on-click-right": "~/dotfiles/hypr/scripts/wallpaper-effects.sh", "on-click-right": "~/dotfiles/hypr/scripts/wallpaper-effects.sh",
"tooltip-format": "Left: Select a wallpaper\nRight: Select wallpaper effect" "tooltip-format": "Left: Select a wallpaper\nRight: Select wallpaper effect"
}, },
@@ -136,6 +136,20 @@
"tooltip": false "tooltip": false
}, },
// Filemanager Launcher
"custom/filemanager": {
"format": "",
"on-click": "~/dotfiles/.settings/filemanager.sh",
"tooltip-format": "Open filemanager"
},
// Browser Launcher
"custom/browser": {
"format": "",
"on-click": "~/dotfiles/.settings/browser.sh",
"tooltip-format": "Open browser"
},
// ChatGPT Launcher // ChatGPT Launcher
"custom/chatgpt": { "custom/chatgpt": {
"format": " ", "format": " ",
@@ -301,6 +315,15 @@
] ]
}, },
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/browser",
"custom/filemanager",
]
},
// Network // Network
"network": { "network": {
"format": "{ifname}", "format": "{ifname}",
-18
View File
@@ -1,18 +0,0 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img">
<!-- Define the mask for the cutouts -->
<mask id="cutoutMask">
<!-- Circle -->
<circle fill="white" cx="120" cy="120" r="120" />
<!-- Big L Shape -->
<rect x="60" y="165" width="120" height="15" rx="4" ry="4" fill="black"/>
<rect x="60" y="60" width="15" height="120" rx="4" ry="4" fill="black"/>
<!-- Little L Shape -->
<rect x="110" y="120" width="75" height="15" rx="4" ry="4" fill="black"/>
<rect x="110" y="55" width="15" height="80" rx="4" ry="4" fill="black"/>
</mask>
<!-- Circle with cutouts -->
<circle fill="black" cx="120" cy="120" r="120" mask="url(#cutoutMask)" />
</svg>

Before

Width:  |  Height:  |  Size: 728 B

-18
View File
@@ -1,18 +0,0 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img">
<!-- Define the mask for the cutouts -->
<mask id="cutoutMask">
<!-- Circle -->
<circle fill="white" cx="120" cy="120" r="120" />
<!-- Big L Shape -->
<rect x="60" y="165" width="120" height="15" rx="4" ry="4" fill="black"/>
<rect x="60" y="60" width="15" height="120" rx="4" ry="4" fill="black"/>
<!-- Little L Shape -->
<rect x="110" y="120" width="75" height="15" rx="4" ry="4" fill="black"/>
<rect x="110" y="55" width="15" height="80" rx="4" ry="4" fill="black"/>
</mask>
<!-- Circle with cutouts -->
<circle fill="white" cx="120" cy="120" r="120" mask="url(#cutoutMask)" />
</svg>

Before

Width:  |  Height:  |  Size: 728 B

-18
View File
@@ -1,18 +0,0 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" role="img">
<!-- Define the mask for the cutouts -->
<mask id="cutoutMask">
<!-- Circle -->
<circle fill="#19cddb" cx="120" cy="120" r="120" />
<!-- Big L Shape -->
<rect x="60" y="165" width="120" height="15" rx="4" ry="4" fill="black"/>
<rect x="60" y="60" width="15" height="120" rx="4" ry="4" fill="black"/>
<!-- Little L Shape -->
<rect x="110" y="120" width="75" height="15" rx="4" ry="4" fill="black"/>
<rect x="110" y="55" width="15" height="80" rx="4" ry="4" fill="black"/>
</mask>
<!-- Circle with cutouts -->
<circle fill="#19cddb" cx="120" cy="120" r="120" mask="url(#cutoutMask)" />
</svg>

Before

Width:  |  Height:  |  Size: 732 B

-2
View File
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg fill="#000000" width="800px" height="800px" viewBox="0 0 24 24" role="img" xmlns="http://www.w3.org/2000/svg"><title>OpenAI icon</title><path d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"/></svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

-2
View File
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg fill="#ffffff" width="800px" height="800px" viewBox="0 0 24 24" role="img" xmlns="http://www.w3.org/2000/svg"><title>OpenAI icon</title><path d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"/></svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

-2
View File
@@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
<svg fill="#ffffff" width="800px" height="800px" viewBox="0 0 24 24" role="img" xmlns="http://www.w3.org/2000/svg"><title>OpenAI icon</title><path d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"/></svg>

Before

Width:  |  Height:  |  Size: 1.7 KiB

@@ -20,10 +20,5 @@ window#waybar {
} }
#custom-ml4w-welcome { #custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-black.svg"); background-image: url("../../assets/ml4w-icon-dark.png");
} }
#custom-chatgpt {
background-image: url("../../assets/openai-black.svg");
}
+1 -4
View File
@@ -19,10 +19,7 @@
"spacing": 0, "spacing": 0,
// Load Modules // Load Modules
"include": [ "include": ["~/dotfiles/waybar/modules.json"],
"~/dotfiles/.settings/waybar-quicklinks.json",
"~/dotfiles/waybar/modules.json"
],
// Modules Left // Modules Left
"modules-left": [ "modules-left": [
@@ -18,11 +18,3 @@
window#waybar { window#waybar {
background-color: rgba(255,255,255,0.1); background-color: rgba(255,255,255,0.1);
} }
#custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-white.svg");
}
#custom-chatgpt {
background-image: url("../../assets/openai-white.svg");
}
+1 -5
View File
@@ -20,9 +20,5 @@ window#waybar {
} }
#custom-ml4w-welcome { #custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-black.svg"); background-image: url("../../assets/ml4w-icon-dark.png");
}
#custom-chatgpt {
background-image: url("../../assets/openai-black.svg");
} }
+1 -4
View File
@@ -19,10 +19,7 @@
"spacing": 0, "spacing": 0,
// Load Modules // Load Modules
"include": [ "include": ["~/dotfiles/waybar/modules.json"],
"~/dotfiles/.settings/waybar-quicklinks.json",
"~/dotfiles/waybar/modules.json"
],
// Modules Left // Modules Left
"modules-left": [ "modules-left": [
+5 -17
View File
@@ -165,16 +165,6 @@ window#waybar.empty #window {
#custom-system, #custom-system,
#custom-hyprshade, #custom-hyprshade,
#custom-hypridle, #custom-hypridle,
#custom-quicklink1,
#custom-quicklink2,
#custom-quicklink3,
#custom-quicklink4,
#custom-quicklink5,
#custom-quicklink6,
#custom-quicklink7,
#custom-quicklink8,
#custom-quicklink9,
#custom-quicklink10,
#custom-waybarthemes { #custom-waybarthemes {
margin-right: 23px; margin-right: 23px;
font-size: 20px; font-size: 20px;
@@ -213,11 +203,10 @@ window#waybar.empty #window {
#custom-ml4w-welcome { #custom-ml4w-welcome {
margin-right: 12px; margin-right: 12px;
background-image: url("../assets/ml4w-icon.svg"); background-image: url("../assets/ml4w-icon.png");
background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-position: center;
padding-right: 20px; padding-right: 24px;
} }
#custom-ml4w-hyprland-settings { #custom-ml4w-hyprland-settings {
@@ -230,11 +219,10 @@ window#waybar.empty #window {
#custom-chatgpt { #custom-chatgpt {
margin-right: 12px; margin-right: 12px;
background-image: url("../assets/openai.svg"); background-image: url("../assets/ai-icon-20.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-size: contain; padding-right: 24px;
padding-right: 16px;
} }
/* ----------------------------------------------------- /* -----------------------------------------------------
-8
View File
@@ -18,11 +18,3 @@
window#waybar { window#waybar {
background-color: rgba(255,255,255,0.1); background-color: rgba(255,255,255,0.1);
} }
#custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-white.svg");
}
#custom-chatgpt {
background-image: url("../../assets/openai-white.svg");
}
+1 -5
View File
@@ -16,9 +16,5 @@
@import '../../ml4w/style.css'; @import '../../ml4w/style.css';
#custom-ml4w-welcome { #custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-black.svg"); background-image: url("../../assets/ml4w-icon-dark.png");
}
#custom-chatgpt {
background-image: url("../../assets/openai-black.svg");
} }
+1 -4
View File
@@ -19,10 +19,7 @@
"spacing": 0, "spacing": 0,
// Load Modules // Load Modules
"include": [ "include": ["~/dotfiles/waybar/modules.json"],
"~/dotfiles/.settings/waybar-quicklinks.json",
"~/dotfiles/waybar/modules.json"
],
// Modules Left // Modules Left
"modules-left": [ "modules-left": [
@@ -14,11 +14,3 @@
@define-color iconcolor #FFFFFF; @define-color iconcolor #FFFFFF;
@import '../../ml4w/style.css'; @import '../../ml4w/style.css';
#custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-white.svg");
}
#custom-chatgpt {
background-image: url("../../assets/openai-white.svg");
}
+1 -4
View File
@@ -18,10 +18,7 @@
"spacing": 0, "spacing": 0,
// Load Modules // Load Modules
"include": [ "include": ["~/dotfiles/waybar/modules.json"],
"~/dotfiles/.settings/waybar-quicklinks.json",
"~/dotfiles/waybar/modules.json"
],
// Modules Left // Modules Left
"modules-left": [ "modules-left": [
+4 -15
View File
@@ -136,16 +136,6 @@ window#waybar.empty #window {
#custom-system, #custom-system,
#custom-hyprshade, #custom-hyprshade,
#custom-hypridle, #custom-hypridle,
#custom-quicklink1,
#custom-quicklink2,
#custom-quicklink3,
#custom-quicklink4,
#custom-quicklink5,
#custom-quicklink6,
#custom-quicklink7,
#custom-quicklink8,
#custom-quicklink9,
#custom-quicklink10,
#custom-waybarthemes { #custom-waybarthemes {
margin-right: 23px; margin-right: 23px;
font-size: 14px; font-size: 14px;
@@ -195,12 +185,11 @@ window#waybar.empty #window {
#custom-ml4w-welcome { #custom-ml4w-welcome {
margin-right: 12px; margin-right: 15px;
background-image: url("../assets/ml4w-icon.svg"); background-image: url("../assets/ml4w-icon-20.png");
background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-position: center;
padding-right: 20px; padding-right: 24px;
} }
#custom-ml4w-hyprland-settings { #custom-ml4w-hyprland-settings {
+2 -6
View File
@@ -15,10 +15,6 @@
@import '../style.css'; @import '../style.css';
#custom-ml4w-welcome { #custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-black.svg"); background-image: url("../../assets/ml4w-icon-dark.png");
}
#custom-chatgpt {
background-image: url("../../assets/openai-black.svg");
} }
+1 -4
View File
@@ -19,10 +19,7 @@
"spacing": 0, "spacing": 0,
// Load Modules // Load Modules
"include": [ "include": ["~/dotfiles/waybar/modules.json"],
"~/dotfiles/.settings/waybar-quicklinks.json",
"~/dotfiles/waybar/modules.json"
],
// Modules Left // Modules Left
"modules-left": [ "modules-left": [
+5 -17
View File
@@ -166,16 +166,6 @@ window#waybar.empty #window {
#custom-system, #custom-system,
#custom-hyprshade, #custom-hyprshade,
#custom-hypridle, #custom-hypridle,
#custom-quicklink1,
#custom-quicklink2,
#custom-quicklink3,
#custom-quicklink4,
#custom-quicklink5,
#custom-quicklink6,
#custom-quicklink7,
#custom-quicklink8,
#custom-quicklink9,
#custom-quicklink10,
#custom-waybarthemes { #custom-waybarthemes {
margin-right: 23px; margin-right: 23px;
font-size: 20px; font-size: 20px;
@@ -214,20 +204,18 @@ window#waybar.empty #window {
#custom-chatgpt { #custom-chatgpt {
margin-right: 12px; margin-right: 12px;
background-image: url("../assets/openai.svg"); background-image: url("../assets/ai-icon.png");
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
background-size: contain; padding-right: 24px;
padding-right: 16px;
} }
#custom-ml4w-welcome { #custom-ml4w-welcome {
margin-right: 12px; margin-right: 12px;
background-image: url("../assets/ml4w-icon.svg"); background-image: url("../assets/ml4w-icon.png");
background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-position: center;
padding-right: 20px; padding-right: 24px;
} }
#custom-ml4w-hyprland-settings { #custom-ml4w-hyprland-settings {
+12 -19
View File
@@ -1,24 +1,17 @@
/* ----------------------------------------------------- /* -----------------------------------------------------
* Import Pywal colors * Import Pywal colors
* ----------------------------------------------------- */ * ----------------------------------------------------- */
@import '../../../../../.cache/wal/colors-waybar.css'; @import '../../../../../.cache/wal/colors-waybar.css';
@define-color backgroundlight #FFFFFF; @define-color backgroundlight #FFFFFF;
@define-color backgrounddark #FFFFFF; @define-color backgrounddark #FFFFFF;
@define-color workspacesbackground1 #FFFFFF; @define-color workspacesbackground1 #FFFFFF;
@define-color workspacesbackground2 #CCCCCC; @define-color workspacesbackground2 #CCCCCC;
@define-color bordercolor #FFFFFF; @define-color bordercolor #FFFFFF;
@define-color textcolor1 #000000; @define-color textcolor1 #000000;
@define-color textcolor2 #000000; @define-color textcolor2 #000000;
@define-color textcolor3 #000000; @define-color textcolor3 #000000;
@define-color iconcolor #FFFFFF; @define-color iconcolor #FFFFFF;
@import '../style.css'; @import '../style.css';
#custom-ml4w-welcome {
background-image: url("../../assets/ml4w-icon-white.svg");
}
#custom-chatgpt {
background-image: url("../../assets/openai-white.svg");
}
+1 -4
View File
@@ -26,10 +26,7 @@
"spacing": 0, "spacing": 0,
// Load Modules // Load Modules
"include": [ "include": ["~/dotfiles/waybar/themes/starter/modules.json"],
"~/dotfiles/.settings/waybar-quicklinks.json",
"~/dotfiles/waybar/themes/starter/modules.json"
],
// Modules Left // Modules Left
"modules-left": [ "modules-left": [
+3 -14
View File
@@ -166,16 +166,6 @@ window#waybar.empty #window {
#custom-system, #custom-system,
#custom-hyprshade, #custom-hyprshade,
#custom-hypridle, #custom-hypridle,
#custom-quicklink1,
#custom-quicklink2,
#custom-quicklink3,
#custom-quicklink4,
#custom-quicklink5,
#custom-quicklink6,
#custom-quicklink7,
#custom-quicklink8,
#custom-quicklink9,
#custom-quicklink10,
#custom-waybarthemes { #custom-waybarthemes {
margin-right: 23px; margin-right: 23px;
font-size: 20px; font-size: 20px;
@@ -204,11 +194,10 @@ window#waybar.empty #window {
} }
#custom-ml4w-welcome { #custom-ml4w-welcome {
margin-right: 12px; margin-right: 15px;
background-image: url("../assets/ml4w-icon.svg"); background-image: url("../assets/ml4w-icon.png");
background-position: center;
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-position: center;
padding-right: 24px; padding-right: 24px;
} }
-19
View File
@@ -1,19 +0,0 @@
[Settings]
language = en
folder = ~/wallpaper
wallpaper = ~/wallpaper/default.jpg
backend = hyprpaper
monitors = All
fill = fill
sort = name
color = #ffffff
subfolders = False
show_hidden = False
show_gifs_only = False
post_command = ~/dotfiles/hypr/scripts/wallpaper.sh $wallpaper
number_of_columns = 3
swww_transition_type = any
swww_transition_step = 90
swww_transition_angle = 0
swww_transition_duration = 2