Compare commits
13 Commits
upstream-m
...
zshfish
| Author | SHA1 | Date | |
|---|---|---|---|
| f176886688 | |||
| 0c738fdb67 | |||
| 526979a9f9 | |||
| adab24d93f | |||
| d5051c5c96 | |||
| 6c3bef60c6 | |||
| ce02d5357b | |||
| 113c023b3c | |||
| f85d049cbd | |||
| 49fd73e67b | |||
| 16a504966c | |||
| a23f49bcaf | |||
| d9bdf7e748 |
@@ -19,7 +19,6 @@ if gum confirm "Do you want to run a short system check?" ;then
|
||||
_commandExists "wlogout" "wlogout"
|
||||
_commandExists "eww" "eww"
|
||||
_commandExists "magick" "imagemagick"
|
||||
_commandExists "waypaper" "waypaper"
|
||||
|
||||
elif [ $? -eq 130 ]; then
|
||||
exit 130
|
||||
|
||||
@@ -63,15 +63,10 @@ if [ -z "${dmsel}" ] ;then
|
||||
fi
|
||||
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
|
||||
# Try to force the installation of sddm
|
||||
echo ":: Install sddm"
|
||||
yay -S --noconfirm sddm sddm-sugar-candy-git --ask 4
|
||||
yay -S --noconfirm sddm --ask 4
|
||||
|
||||
# Enable sddm
|
||||
if [ -f /etc/systemd/system/display-manager.service ]; then
|
||||
@@ -79,24 +74,41 @@ if [ "$dmsel" == "Install sddm and theme" ] ;then
|
||||
fi
|
||||
sudo systemctl enable sddm.service
|
||||
|
||||
# Create sddm.conf.d folder
|
||||
if [ ! -d /etc/sddm.conf.d/ ]; then
|
||||
sudo mkdir /etc/sddm.conf.d
|
||||
echo "Folder /etc/sddm.conf.d created."
|
||||
echo ":: Folder /etc/sddm.conf.d created."
|
||||
fi
|
||||
|
||||
# Copy sddm.conf
|
||||
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
|
||||
|
||||
# Cache file for holding the current wallpaper
|
||||
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 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
|
||||
|
||||
elif [ "$dmsel" == "Deactivate current display manager" ] ;then
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
# ------------------------------------------------------
|
||||
# Modify existing files before restore starts
|
||||
# install fish
|
||||
# ------------------------------------------------------
|
||||
|
||||
if [ -d ~/dotfiles ] ;then
|
||||
echo ":: Modify existing files"
|
||||
fi
|
||||
packagesPacman=("fish");
|
||||
packagesYay=();
|
||||
source .install/install-packages.sh
|
||||
@@ -43,8 +43,5 @@ fi
|
||||
if [ -d ~/dotfiles-versions/$version/fastfetch ]; then
|
||||
_installSymLink fastfetch ~/.config/fastfetch ~/dotfiles/fastfetch/ ~/.config
|
||||
fi
|
||||
if [ -d ~/dotfiles-versions/$version/waypaper ]; then
|
||||
_installSymLink waypaper ~/.config/waypaper ~/dotfiles/waypaper/ ~/.config
|
||||
fi
|
||||
echo ":: Symbolic links created."
|
||||
echo
|
||||
@@ -16,5 +16,4 @@ packagesYay=(
|
||||
"nwg-look"
|
||||
"eww"
|
||||
"hyprshade"
|
||||
"waypaper"
|
||||
);
|
||||
|
||||
@@ -8,7 +8,7 @@ echo
|
||||
|
||||
# Check for required packages
|
||||
echo "Checking that required packages for the installation are installed..."
|
||||
_installPackagesPacman "rsync" "gum" "figlet" "python" "git";
|
||||
_installPackagesPacman "rsync" "gum" "figlet" "python";
|
||||
|
||||
# Double check rsync
|
||||
if ! command -v rsync &> /dev/null; then
|
||||
|
||||
@@ -14,6 +14,14 @@ _showRestoreOptions() {
|
||||
restorelist+="~/dotfiles/.bashrc "
|
||||
selectedlist+="~/dotfiles/.bashrc,"
|
||||
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
|
||||
restorelist+="~/dotfiles/.settings "
|
||||
selectedlist+="~/dotfiles/.settings,"
|
||||
@@ -24,7 +32,7 @@ _showRestoreOptions() {
|
||||
then
|
||||
restorelist+="~/dotfiles/hypr/hypridle.conf "
|
||||
selectedlist+="~/dotfiles/hypr/hypridle.conf,"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [ -f ~/dotfiles/hypr/conf/custom.conf ]; then
|
||||
restorelist+="~/dotfiles/hypr/conf/custom.conf "
|
||||
@@ -75,13 +83,13 @@ _showRestoreOptions() {
|
||||
fi
|
||||
restoreselect=$(gum choose --no-limit --height 20 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " --selected="$selectedlist" $restorelist)
|
||||
if [ ! -z "$restoreselect" ] ;then
|
||||
echo "Selected to restore:"
|
||||
echo "Selected to restore:"
|
||||
echo "$restoreselect"
|
||||
echo ""
|
||||
confirmrestore=$(gum choose "Start restore" "Change restore" "Skip restore")
|
||||
if [ "$confirmrestore" == "Start restore" ] ;then
|
||||
_startRestore
|
||||
elif [ "$confirmrestore" == "Change restore" ]; then
|
||||
elif [ "$confirmrestore" == "Change restore" ]; then
|
||||
_showRestoreOptions
|
||||
else
|
||||
echo ":: Restore skipped."
|
||||
@@ -94,7 +102,7 @@ _showRestoreOptions() {
|
||||
echo ":: Installation canceled."
|
||||
exit
|
||||
fi
|
||||
if [ "$confirmrestore" == "Change restore" ]; then
|
||||
if [ "$confirmrestore" == "Change restore" ]; then
|
||||
echo ""
|
||||
_showRestoreOptions
|
||||
else
|
||||
@@ -135,11 +143,11 @@ _startRestore() {
|
||||
cp ~/dotfiles/hypr/conf/keyboard.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||
echo ":: Hyprland keyboard.conf restored!"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/monitor.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||
if [ -f ~/dotfiles/hypr/conf/monitor.conf ]; then
|
||||
cp ~/dotfiles/hypr/conf/monitor.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||
echo ":: Hyprland monitor.conf restored!"
|
||||
echo ":: Hyprland monitor.conf restored!"
|
||||
fi
|
||||
fi
|
||||
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/
|
||||
echo ":: Hyprland environment.conf restored!"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/layout.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||
if [ -f ~/dotfiles/hypr/conf/layout.conf ]; then
|
||||
cp ~/dotfiles/hypr/conf/layout.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||
echo ":: Hyprland layout.conf restored!"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/windowrule.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||
if [ -f ~/dotfiles/hypr/conf/windowrule.conf ]; then
|
||||
cp ~/dotfiles/hypr/conf/windowrule.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||
echo ":: Hyprland windowrule.conf restored!"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/animation.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||
if [ -f ~/dotfiles/hypr/conf/animation.conf ]; then
|
||||
cp ~/dotfiles/hypr/conf/animation.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||
|
||||
@@ -24,7 +24,7 @@ input {
|
||||
# for laptop
|
||||
# natural_scroll = yes
|
||||
# middle_button_emulation = true
|
||||
# clickfinger_behavior = false
|
||||
# clickfinger_behavior = 1
|
||||
}
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ input {
|
||||
# for laptop
|
||||
natural_scroll = true
|
||||
middle_button_emulation = true
|
||||
clickfinger_behavior = false
|
||||
clickfinger_behavior = true
|
||||
disable_while_typing = true
|
||||
}
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
22
.install/zsh.sh
Normal 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
.install/zshfish.sh
Normal 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
|
||||
@@ -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 @@
|
||||
2.9.2
|
||||
2.9.1.2
|
||||
@@ -1 +1 @@
|
||||
2920
|
||||
2912
|
||||
88
.zshrc_ohmyzsh
Normal 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
.zshrc_zinit
Normal 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
|
||||
15
CHANGELOG.md
@@ -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
|
||||
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
|
||||
- More functions deactivated in Game Mode (SUPER+ALT+G)
|
||||
|
||||
10
README.md
@@ -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.
|
||||
|
||||
[]()
|
||||
[](screenshots/screenshot2.png)
|
||||
|
||||
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/screenshot1.png)
|
||||
|
||||
[](screenshots/screenshot3.png)
|
||||
|
||||
[](screenshots/screenshot5.png)
|
||||
|
||||
## Wallpaper repository
|
||||
|
||||
|
||||
@@ -11,6 +11,3 @@ opacity = 0.7
|
||||
[window.padding]
|
||||
x = 15
|
||||
y = 15
|
||||
|
||||
[selection]
|
||||
save_to_clipboard = true
|
||||
|
||||
@@ -20,18 +20,15 @@ exec-once = hypridle
|
||||
# Load cliphist history
|
||||
exec-once = wl-paste --watch cliphist store
|
||||
|
||||
# Initialize Wallpaper Engine
|
||||
exec-once = ~/dotfiles/hypr/scripts/init-wallpaper-engine.sh
|
||||
|
||||
# Autostart ML4W App
|
||||
exec-once = ~/dotfiles/hypr/scripts/ml4w-welcome-autostart.sh
|
||||
|
||||
# Start ewww daemon
|
||||
exec-once = ~/dotfiles/hypr/scripts/eww.sh
|
||||
|
||||
# Initialize waypaper
|
||||
exec-once = waypaper --restore
|
||||
|
||||
# Launch Waybar
|
||||
exec-once = ~/dotfiles/waybar/launch.sh
|
||||
|
||||
# Start autostart cleanup
|
||||
exec-once = ~/dotfiles/hypr/scripts/cleanup.sh
|
||||
|
||||
|
||||
@@ -2,4 +2,11 @@
|
||||
# Environment Variables
|
||||
# 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
|
||||
|
||||
@@ -2,5 +2,13 @@
|
||||
# Environment Variables
|
||||
# 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_NO_HARDWARE_CURSORS, 1
|
||||
@@ -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, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh # Take a screenshot
|
||||
bind = $mainMod CTRL, Q, exec, wlogout # Start wlogout
|
||||
bind = $mainMod SHIFT, W, exec, waypaper --random # Change the wallpaper
|
||||
bind = $mainMod CTRL, W, exec, waypaper # Open wallpaper selector
|
||||
bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh # Change the wallpaper
|
||||
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, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh # Show keybindings
|
||||
bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh # Reload waybar
|
||||
|
||||
@@ -8,8 +8,7 @@ dwindle {
|
||||
}
|
||||
|
||||
master {
|
||||
# new_is_master = true
|
||||
# new_status = master
|
||||
new_is_master = true
|
||||
}
|
||||
|
||||
gestures {
|
||||
|
||||
@@ -8,8 +8,7 @@ dwindle {
|
||||
}
|
||||
|
||||
master {
|
||||
# new_is_master = true
|
||||
# new_status = master
|
||||
new_is_master = true
|
||||
}
|
||||
|
||||
gestures {
|
||||
|
||||
@@ -2,22 +2,10 @@
|
||||
# ML4W configurations
|
||||
# -----------------------------------------------------
|
||||
|
||||
# Pavucontrol floating
|
||||
windowrulev2 = float,class:(.*org.pulseaudio.pavucontrol.*)
|
||||
windowrulev2 = size 700 600,class:(.*org.pulseaudio.pavucontrol.*)
|
||||
windowrulev2 = center,class:(.*org.pulseaudio.pavucontrol.*)
|
||||
windowrulev2 = float,class:(.*chat.openai.com.*)
|
||||
windowrulev2 = size 500 50%,class:(.*chat.openai.com.*)
|
||||
windowrulev2 = move 20 70,class:(.*chat.openai.com.*)
|
||||
|
||||
# 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 = size 700 600,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 = center,class:(ml4w-welcome.py)
|
||||
|
||||
# ML4W Settings App floating
|
||||
windowrulev2 = float,class:(com.ml4w.dotfilessettings)
|
||||
windowrulev2 = size 700 600,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 = move 10% 20%,class:(ml4w-dotfiles-settings.py)
|
||||
|
||||
# ML4W Hyprland App floating
|
||||
windowrulev2 = float,class:(com.ml4w.hyprland.settings)
|
||||
windowrulev2 = size 700 600,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 = center,class:(ml4w-hyprland-settings.py)
|
||||
|
||||
# General floating
|
||||
windowrulev2 = float,class:(dotfiles-floating)
|
||||
windowrulev2 = size 1000 800,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 = XCURSOR_SIZE,24
|
||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
|
||||
@@ -10,5 +10,4 @@ general {
|
||||
col.active_border = rgba(ffffffff)
|
||||
col.inactive_border = $color11
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
@@ -10,5 +10,4 @@ general {
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
@@ -10,5 +10,4 @@ general {
|
||||
col.active_border = rgba(ffffffff)
|
||||
col.inactive_border = $color11
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
@@ -10,5 +10,4 @@ general {
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
@@ -10,5 +10,4 @@ general {
|
||||
col.active_border = rgba(ffffffff)
|
||||
col.inactive_border = $color11
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
@@ -10,5 +10,4 @@ general {
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
@@ -10,5 +10,4 @@ general {
|
||||
col.active_border = rgba(ffffffff)
|
||||
col.inactive_border = $color11
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
@@ -10,5 +10,4 @@ general {
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
@@ -10,5 +10,4 @@ general {
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
@@ -10,5 +10,4 @@ general {
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
@@ -10,5 +10,4 @@ general {
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
resize_on_border = true
|
||||
}
|
||||
|
||||
@@ -43,7 +43,6 @@ input-field {
|
||||
|
||||
label {
|
||||
monitor =
|
||||
#clock
|
||||
text = cmd[update:1000] echo "$TIME"
|
||||
color = rgba(200, 200, 200, 1.0)
|
||||
font_size = 55
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
preload = $HOME/wallpaper/default.jpg
|
||||
wallpaper = ,$HOME/wallpaper/default.jpg
|
||||
preload = $HOME/wallpaper/hyprland.jpg
|
||||
wallpaper = ,$HOME/wallpaper/hyprland.jpg
|
||||
splash = false
|
||||
@@ -46,7 +46,6 @@ _commandExists "swww" "swww"
|
||||
_commandExists "eww" "eww"
|
||||
_commandExists "magick" "imagemagick"
|
||||
_commandExists "figlet" "figlet"
|
||||
_commandExists "waypaper" "waypaper"
|
||||
|
||||
echo
|
||||
echo "Press return to exit"
|
||||
|
||||
@@ -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"
|
||||
@@ -9,135 +9,181 @@
|
||||
# by Stephan Raabe (2024)
|
||||
# -----------------------------------------------------
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Get selected wallpaper
|
||||
# -----------------------------------------------------
|
||||
echo ":: Using wallpaper $1"
|
||||
wallpaper=$1
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Check to use wallpaper cache
|
||||
# -----------------------------------------------------
|
||||
use_cache=0
|
||||
if [ -f $HOME/dotfiles/.settings/wallpaper_cache ] ;then
|
||||
use_cache=1
|
||||
# Cache file for holding the current wallpaper
|
||||
wallpaper_folder="$HOME/wallpaper"
|
||||
if [ -f ~/dotfiles/.settings/wallpaper-folder.sh ] ;then
|
||||
source ~/dotfiles/.settings/wallpaper-folder.sh
|
||||
fi
|
||||
|
||||
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"
|
||||
used_wallpaper="$HOME/.cache/used_wallpaper"
|
||||
cache_file="$HOME/.cache/current_wallpaper"
|
||||
blurred_wallpaper="$HOME/.cache/blurred_wallpaper.png"
|
||||
square_wallpaper="$HOME/.cache/square_wallpaper.png"
|
||||
blurred="$HOME/.cache/blurred_wallpaper.png"
|
||||
square="$HOME/.cache/square_wallpaper.png"
|
||||
rasi_file="$HOME/.cache/current_wallpaper.rasi"
|
||||
blur_file="$HOME/dotfiles/.settings/blur.sh"
|
||||
|
||||
blur="50x30"
|
||||
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
|
||||
if [ ! -f $rasi_file ] ;then
|
||||
touch $rasi_file
|
||||
echo "* { current-image: url(\"$wallpaper_folder/default.jpg\", height); }" > "$rasi_file"
|
||||
fi
|
||||
|
||||
# Create folder with generated versions of wallpaper if not exists
|
||||
if [ ! -d $generated_versions ] ;then
|
||||
mkdir $generated_versions
|
||||
fi
|
||||
current_wallpaper=$(cat "$cache_file")
|
||||
|
||||
case $1 in
|
||||
|
||||
# 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"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# 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
|
||||
effect=$(cat $HOME/dotfiles/.settings/wallpaper-effect.sh)
|
||||
if [ ! "$effect" == "off" ] ;then
|
||||
used_wallpaper=$generated_versions/$effect-$newwall
|
||||
if [ -f $generated_versions/$effect-$newwall ] && [ "$force_generate" == "0" ] && [ "$use_cache" == "1" ] ;then
|
||||
echo ":: Use cached wallpaper $effect-$newwall"
|
||||
if [ "$1" == "init" ] ;then
|
||||
echo ":: Init"
|
||||
else
|
||||
echo ":: Generate new cached wallpaper $effect-$newwall with effect $effect"
|
||||
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
|
||||
dunstify "Using wallpaper effect $effect..." "with image $newwall" -h int:value:10 -h string:x-dunst-stack-tag:wallpaper
|
||||
fi
|
||||
echo ":: Loading wallpaper $generated_versions/$effect-$newwall with effect $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"
|
||||
source $HOME/dotfiles/hypr/effects/wallpaper/$effect
|
||||
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
|
||||
# -----------------------------------------------------
|
||||
if [ -f $generated_versions/blur-$blur-$newwall.png ] && [ "$force_generate" == "0" ] && [ "$use_cache" == "1" ] ;then
|
||||
echo ":: Use cached wallpaper blur-$blur-$newwall.png"
|
||||
if [ "$1" == "init" ] ;then
|
||||
echo ":: Init"
|
||||
else
|
||||
echo ":: Generate new cached wallpaper blur-$blur-$newwall with blur $blur"
|
||||
if [ "$1" == "init" ] ;then
|
||||
echo ":: Init"
|
||||
else
|
||||
dunstify "Creating blurred version ..." "with image $newwall" -h int:value:50 -h string:x-dunst-stack-tag:wallpaper
|
||||
fi
|
||||
magick $wallpaper -resize 75% $blurred_wallpaper
|
||||
echo ":: Resized to 75%"
|
||||
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
|
||||
dunstify "Creating blurred version ..." "with image $newwall" -h int:value:50 -h string:x-dunst-stack-tag:wallpaper
|
||||
fi
|
||||
|
||||
magick $used_wallpaper -resize 75% $blurred
|
||||
echo ":: Resized to 75%"
|
||||
if [ ! "$blur" == "0x0" ] ;then
|
||||
magick $blurred -blur $blur $blurred
|
||||
echo ":: Blurred"
|
||||
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
|
||||
echo ":: Use cached wallpaper square-$newwall.png"
|
||||
if [ "$1" == "init" ] ;then
|
||||
echo ":: Init"
|
||||
else
|
||||
echo ":: Generate new cached wallpaper square-$newwall"
|
||||
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
|
||||
dunstify "Creating square version ..." "with image $newwall" -h int:value:75 -h string:x-dunst-stack-tag:wallpaper
|
||||
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!"
|
||||
|
||||
@@ -15,7 +15,7 @@ killall -e xdg-desktop-portal-kde
|
||||
killall -e xdg-desktop-portal-lxqt
|
||||
killall -e xdg-desktop-portal-wlr
|
||||
killall -e xdg-desktop-portal-gtk
|
||||
killall -e xdg-desktop-portal
|
||||
killall xdg-desktop-portal
|
||||
sleep 1
|
||||
|
||||
# start xdg-desktop-portal-hyprland
|
||||
|
||||
21
install.sh
@@ -34,7 +34,7 @@ else
|
||||
fi
|
||||
echo ""
|
||||
source .install/required.sh
|
||||
source .install/confirm_start.sh
|
||||
source .install/confirm-start.sh
|
||||
source .install/paralleldownloads.sh
|
||||
source .install/yay.sh
|
||||
source .install/updatesystem.sh
|
||||
@@ -44,46 +44,39 @@ source .install/installer.sh
|
||||
source .install/remove.sh
|
||||
source .install/general.sh
|
||||
source .install/packages/general-packages.sh
|
||||
source .install/install_packages.sh
|
||||
source .install/install-packages.sh
|
||||
source .install/profile.sh
|
||||
if [[ $profile == *"Hyprland"* ]]; then
|
||||
echo -e "${GREEN}"
|
||||
figlet "Hyprland"
|
||||
echo -e "${NONE}"
|
||||
source .install/packages/hyprland-packages.sh
|
||||
source .install/install_packages.sh
|
||||
source .install/install-packages.sh
|
||||
fi
|
||||
if [[ $profile == *"Qtile"* ]]; then
|
||||
echo -e "${GREEN}"
|
||||
figlet "Qtile"
|
||||
echo -e "${NONE}"
|
||||
source .install/packages/qtile-packages.sh
|
||||
source .install/install_packages.sh
|
||||
source .install/install-packages.sh
|
||||
fi
|
||||
source .install/wallpaper.sh
|
||||
source .install/displaymanager.sh
|
||||
source .install/issue.sh
|
||||
|
||||
# Modify existing files before restore starts
|
||||
source .install/before_restore.sh
|
||||
|
||||
# Restore configuration and settings
|
||||
source .install/restore.sh
|
||||
|
||||
# Setup the input devices
|
||||
source .install/keyboard.sh
|
||||
|
||||
source .install/neovim.sh
|
||||
source .install/hook.sh
|
||||
source .install/vm.sh
|
||||
source .install/copy.sh
|
||||
source .install/init-pywal.sh
|
||||
if [[ $profile == *"Hyprland"* ]]; then
|
||||
source .install/hyprland_dotfiles.sh
|
||||
source .install/hyprland-dotfiles.sh
|
||||
fi
|
||||
if [[ $profile == *"Qtile"* ]]; then
|
||||
source .install/qtile_dotfiles.sh
|
||||
source .install/qtile-dotfiles.sh
|
||||
fi
|
||||
source .install/zshfish.sh
|
||||
source .install/settings.sh
|
||||
source .install/apps.sh
|
||||
source .install/gtk.sh
|
||||
|
||||
BIN
screenshots/screenshot1.png
Normal file
|
After Width: | Height: | Size: 3.2 MiB |
BIN
screenshots/screenshot2.png
Normal file
|
After Width: | Height: | Size: 3.0 MiB |
BIN
screenshots/screenshot3.png
Normal file
|
After Width: | Height: | Size: 2.4 MiB |
BIN
screenshots/screenshot4.png
Normal file
|
After Width: | Height: | Size: 2.3 MiB |
@@ -25,7 +25,7 @@ sleep 0.2
|
||||
# -----------------------------------------------------
|
||||
# Default theme: /THEMEFOLDER;/VARIATION
|
||||
# -----------------------------------------------------
|
||||
themestyle="/ml4w-blur;/ml4w-blur/white"
|
||||
themestyle="/ml4w;/ml4w/light"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Get current theme information from .cache/.themestyle.sh
|
||||
@@ -38,7 +38,7 @@ else
|
||||
fi
|
||||
|
||||
IFS=';' read -ra arrThemes <<< "$themestyle"
|
||||
echo ":: Theme: ${arrThemes[0]}"
|
||||
echo "Theme: ${arrThemes[0]}"
|
||||
|
||||
if [ ! -f ~/dotfiles/waybar/themes${arrThemes[1]}/style.css ]; then
|
||||
themestyle="/ml4w;/ml4w/light"
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
// Wallpaper
|
||||
"custom/wallpaper": {
|
||||
"format": "",
|
||||
"on-click": "waypaper",
|
||||
"on-click": "~/dotfiles/hypr/scripts/wallpaper.sh select",
|
||||
"on-click-right": "~/dotfiles/hypr/scripts/wallpaper-effects.sh",
|
||||
"tooltip-format": "Left: Select a wallpaper\nRight: Select wallpaper effect"
|
||||
},
|
||||
@@ -136,6 +136,20 @@
|
||||
"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
|
||||
"custom/chatgpt": {
|
||||
"format": " ",
|
||||
@@ -301,6 +315,15 @@
|
||||
]
|
||||
},
|
||||
|
||||
// Group Quicklinks
|
||||
"group/quicklinks": {
|
||||
"orientation": "horizontal",
|
||||
"modules": [
|
||||
"custom/browser",
|
||||
"custom/filemanager",
|
||||
]
|
||||
},
|
||||
|
||||
// Network
|
||||
"network": {
|
||||
"format": "{ifname}",
|
||||
|
||||
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 |
@@ -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 {
|
||||
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");
|
||||
}
|
||||
|
||||
|
||||
@@ -19,10 +19,7 @@
|
||||
"spacing": 0,
|
||||
|
||||
// Load Modules
|
||||
"include": [
|
||||
"~/dotfiles/.settings/waybar-quicklinks.json",
|
||||
"~/dotfiles/waybar/modules.json"
|
||||
],
|
||||
"include": ["~/dotfiles/waybar/modules.json"],
|
||||
|
||||
// Modules Left
|
||||
"modules-left": [
|
||||
|
||||
@@ -18,11 +18,3 @@
|
||||
window#waybar {
|
||||
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");
|
||||
}
|
||||
|
||||
@@ -20,9 +20,5 @@ window#waybar {
|
||||
}
|
||||
|
||||
#custom-ml4w-welcome {
|
||||
background-image: url("../../assets/ml4w-icon-black.svg");
|
||||
}
|
||||
|
||||
#custom-chatgpt {
|
||||
background-image: url("../../assets/openai-black.svg");
|
||||
background-image: url("../../assets/ml4w-icon-dark.png");
|
||||
}
|
||||
|
||||
@@ -19,10 +19,7 @@
|
||||
"spacing": 0,
|
||||
|
||||
// Load Modules
|
||||
"include": [
|
||||
"~/dotfiles/.settings/waybar-quicklinks.json",
|
||||
"~/dotfiles/waybar/modules.json"
|
||||
],
|
||||
"include": ["~/dotfiles/waybar/modules.json"],
|
||||
|
||||
// Modules Left
|
||||
"modules-left": [
|
||||
|
||||
@@ -165,16 +165,6 @@ window#waybar.empty #window {
|
||||
#custom-system,
|
||||
#custom-hyprshade,
|
||||
#custom-hypridle,
|
||||
#custom-quicklink1,
|
||||
#custom-quicklink2,
|
||||
#custom-quicklink3,
|
||||
#custom-quicklink4,
|
||||
#custom-quicklink5,
|
||||
#custom-quicklink6,
|
||||
#custom-quicklink7,
|
||||
#custom-quicklink8,
|
||||
#custom-quicklink9,
|
||||
#custom-quicklink10,
|
||||
#custom-waybarthemes {
|
||||
margin-right: 23px;
|
||||
font-size: 20px;
|
||||
@@ -213,11 +203,10 @@ window#waybar.empty #window {
|
||||
|
||||
#custom-ml4w-welcome {
|
||||
margin-right: 12px;
|
||||
background-image: url("../assets/ml4w-icon.svg");
|
||||
background-position: center;
|
||||
background-image: url("../assets/ml4w-icon.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
padding-right: 20px;
|
||||
background-position: center;
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
#custom-ml4w-hyprland-settings {
|
||||
@@ -230,11 +219,10 @@ window#waybar.empty #window {
|
||||
|
||||
#custom-chatgpt {
|
||||
margin-right: 12px;
|
||||
background-image: url("../assets/openai.svg");
|
||||
background-image: url("../assets/ai-icon-20.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: contain;
|
||||
padding-right: 16px;
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
/* -----------------------------------------------------
|
||||
|
||||
@@ -18,11 +18,3 @@
|
||||
window#waybar {
|
||||
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");
|
||||
}
|
||||
|
||||
@@ -16,9 +16,5 @@
|
||||
@import '../../ml4w/style.css';
|
||||
|
||||
#custom-ml4w-welcome {
|
||||
background-image: url("../../assets/ml4w-icon-black.svg");
|
||||
}
|
||||
|
||||
#custom-chatgpt {
|
||||
background-image: url("../../assets/openai-black.svg");
|
||||
background-image: url("../../assets/ml4w-icon-dark.png");
|
||||
}
|
||||
|
||||
@@ -19,10 +19,7 @@
|
||||
"spacing": 0,
|
||||
|
||||
// Load Modules
|
||||
"include": [
|
||||
"~/dotfiles/.settings/waybar-quicklinks.json",
|
||||
"~/dotfiles/waybar/modules.json"
|
||||
],
|
||||
"include": ["~/dotfiles/waybar/modules.json"],
|
||||
|
||||
// Modules Left
|
||||
"modules-left": [
|
||||
|
||||
@@ -14,11 +14,3 @@
|
||||
@define-color iconcolor #FFFFFF;
|
||||
|
||||
@import '../../ml4w/style.css';
|
||||
|
||||
#custom-ml4w-welcome {
|
||||
background-image: url("../../assets/ml4w-icon-white.svg");
|
||||
}
|
||||
|
||||
#custom-chatgpt {
|
||||
background-image: url("../../assets/openai-white.svg");
|
||||
}
|
||||
|
||||
@@ -18,10 +18,7 @@
|
||||
"spacing": 0,
|
||||
|
||||
// Load Modules
|
||||
"include": [
|
||||
"~/dotfiles/.settings/waybar-quicklinks.json",
|
||||
"~/dotfiles/waybar/modules.json"
|
||||
],
|
||||
"include": ["~/dotfiles/waybar/modules.json"],
|
||||
|
||||
// Modules Left
|
||||
"modules-left": [
|
||||
|
||||
@@ -136,16 +136,6 @@ window#waybar.empty #window {
|
||||
#custom-system,
|
||||
#custom-hyprshade,
|
||||
#custom-hypridle,
|
||||
#custom-quicklink1,
|
||||
#custom-quicklink2,
|
||||
#custom-quicklink3,
|
||||
#custom-quicklink4,
|
||||
#custom-quicklink5,
|
||||
#custom-quicklink6,
|
||||
#custom-quicklink7,
|
||||
#custom-quicklink8,
|
||||
#custom-quicklink9,
|
||||
#custom-quicklink10,
|
||||
#custom-waybarthemes {
|
||||
margin-right: 23px;
|
||||
font-size: 14px;
|
||||
@@ -195,12 +185,11 @@ window#waybar.empty #window {
|
||||
|
||||
|
||||
#custom-ml4w-welcome {
|
||||
margin-right: 12px;
|
||||
background-image: url("../assets/ml4w-icon.svg");
|
||||
background-position: center;
|
||||
margin-right: 15px;
|
||||
background-image: url("../assets/ml4w-icon-20.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
padding-right: 20px;
|
||||
background-position: center;
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
#custom-ml4w-hyprland-settings {
|
||||
|
||||
@@ -15,10 +15,6 @@
|
||||
|
||||
@import '../style.css';
|
||||
|
||||
#custom-ml4w-welcome {
|
||||
background-image: url("../../assets/ml4w-icon-black.svg");
|
||||
}
|
||||
|
||||
#custom-chatgpt {
|
||||
background-image: url("../../assets/openai-black.svg");
|
||||
#custom-ml4w-welcome {
|
||||
background-image: url("../../assets/ml4w-icon-dark.png");
|
||||
}
|
||||
|
||||
@@ -19,10 +19,7 @@
|
||||
"spacing": 0,
|
||||
|
||||
// Load Modules
|
||||
"include": [
|
||||
"~/dotfiles/.settings/waybar-quicklinks.json",
|
||||
"~/dotfiles/waybar/modules.json"
|
||||
],
|
||||
"include": ["~/dotfiles/waybar/modules.json"],
|
||||
|
||||
// Modules Left
|
||||
"modules-left": [
|
||||
|
||||
@@ -166,16 +166,6 @@ window#waybar.empty #window {
|
||||
#custom-system,
|
||||
#custom-hyprshade,
|
||||
#custom-hypridle,
|
||||
#custom-quicklink1,
|
||||
#custom-quicklink2,
|
||||
#custom-quicklink3,
|
||||
#custom-quicklink4,
|
||||
#custom-quicklink5,
|
||||
#custom-quicklink6,
|
||||
#custom-quicklink7,
|
||||
#custom-quicklink8,
|
||||
#custom-quicklink9,
|
||||
#custom-quicklink10,
|
||||
#custom-waybarthemes {
|
||||
margin-right: 23px;
|
||||
font-size: 20px;
|
||||
@@ -214,20 +204,18 @@ window#waybar.empty #window {
|
||||
|
||||
#custom-chatgpt {
|
||||
margin-right: 12px;
|
||||
background-image: url("../assets/openai.svg");
|
||||
background-image: url("../assets/ai-icon.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
background-size: contain;
|
||||
padding-right: 16px;
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
#custom-ml4w-welcome {
|
||||
margin-right: 12px;
|
||||
background-image: url("../assets/ml4w-icon.svg");
|
||||
background-position: center;
|
||||
background-image: url("../assets/ml4w-icon.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
padding-right: 20px;
|
||||
background-position: center;
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
#custom-ml4w-hyprland-settings {
|
||||
|
||||
@@ -1,24 +1,17 @@
|
||||
/* -----------------------------------------------------
|
||||
* Import Pywal colors
|
||||
* ----------------------------------------------------- */
|
||||
@import '../../../../../.cache/wal/colors-waybar.css';
|
||||
@import '../../../../../.cache/wal/colors-waybar.css';
|
||||
|
||||
@define-color backgroundlight #FFFFFF;
|
||||
@define-color backgrounddark #FFFFFF;
|
||||
@define-color workspacesbackground1 #FFFFFF;
|
||||
@define-color workspacesbackground2 #CCCCCC;
|
||||
@define-color bordercolor #FFFFFF;
|
||||
@define-color textcolor1 #000000;
|
||||
@define-color textcolor2 #000000;
|
||||
@define-color textcolor3 #000000;
|
||||
@define-color iconcolor #FFFFFF;
|
||||
@define-color backgroundlight #FFFFFF;
|
||||
@define-color backgrounddark #FFFFFF;
|
||||
@define-color workspacesbackground1 #FFFFFF;
|
||||
@define-color workspacesbackground2 #CCCCCC;
|
||||
@define-color bordercolor #FFFFFF;
|
||||
@define-color textcolor1 #000000;
|
||||
@define-color textcolor2 #000000;
|
||||
@define-color textcolor3 #000000;
|
||||
@define-color iconcolor #FFFFFF;
|
||||
|
||||
@import '../style.css';
|
||||
|
||||
#custom-ml4w-welcome {
|
||||
background-image: url("../../assets/ml4w-icon-white.svg");
|
||||
}
|
||||
|
||||
#custom-chatgpt {
|
||||
background-image: url("../../assets/openai-white.svg");
|
||||
}
|
||||
@import '../style.css';
|
||||
|
||||
@@ -26,10 +26,7 @@
|
||||
"spacing": 0,
|
||||
|
||||
// Load Modules
|
||||
"include": [
|
||||
"~/dotfiles/.settings/waybar-quicklinks.json",
|
||||
"~/dotfiles/waybar/themes/starter/modules.json"
|
||||
],
|
||||
"include": ["~/dotfiles/waybar/themes/starter/modules.json"],
|
||||
|
||||
// Modules Left
|
||||
"modules-left": [
|
||||
|
||||
@@ -166,16 +166,6 @@ window#waybar.empty #window {
|
||||
#custom-system,
|
||||
#custom-hyprshade,
|
||||
#custom-hypridle,
|
||||
#custom-quicklink1,
|
||||
#custom-quicklink2,
|
||||
#custom-quicklink3,
|
||||
#custom-quicklink4,
|
||||
#custom-quicklink5,
|
||||
#custom-quicklink6,
|
||||
#custom-quicklink7,
|
||||
#custom-quicklink8,
|
||||
#custom-quicklink9,
|
||||
#custom-quicklink10,
|
||||
#custom-waybarthemes {
|
||||
margin-right: 23px;
|
||||
font-size: 20px;
|
||||
@@ -204,11 +194,10 @@ window#waybar.empty #window {
|
||||
}
|
||||
|
||||
#custom-ml4w-welcome {
|
||||
margin-right: 12px;
|
||||
background-image: url("../assets/ml4w-icon.svg");
|
||||
background-position: center;
|
||||
margin-right: 15px;
|
||||
background-image: url("../assets/ml4w-icon.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
background-position: center;
|
||||
padding-right: 24px;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||