46 Commits
Author SHA1 Message Date
Stephan Raabe 82d1943ada Updates 2024-06-27 15:34:51 +02:00
Stephan Raabe eae75455dc Updates 2024-06-27 14:59:22 +02:00
Stephan Raabe 5027ad2902 Updates 2024-06-27 14:53:17 +02:00
Stephan Raabe 9f809b2594 Updates 2024-06-27 13:34:59 +02:00
Stephan Raabe 5bc1ae6dff Updates 2024-06-27 13:24:24 +02:00
Stephan Raabe f381ec0f2c Updates 2024-06-27 13:00:50 +02:00
Stephan Raabe 594d205fd0 Updates 2024-06-27 12:59:59 +02:00
Stephan Raabe 0575e889e5 Updates 2024-06-27 12:49:20 +02:00
Stephan Raabe 7bd765bb1c Updates 2024-06-27 11:25:35 +02:00
Stephan Raabe 3acfd4da39 Updates 2024-06-27 11:12:16 +02:00
Stephan Raabe 10a98cd6c4 Updates 2024-06-27 08:45:54 +02:00
Stephan Raabe 6838898454 Updates 2024-06-26 21:53:16 +02:00
Stephan Raabe aafa4811c5 Updates 2024-06-26 21:36:25 +02:00
Stephan Raabe 28dd33d0e2 Updates 2024-06-25 21:33:37 +02:00
Stephan Raabe 979b5e4bb8 Updates 2024-06-25 17:41:25 +02:00
Stephan Raabe c514d24583 Updates 2024-06-24 17:59:26 +02:00
Stephan Raabe 12392a98dc Updates 2024-06-24 17:58:41 +02:00
Stephan Raabe e1fee66276 Updates 2024-06-24 17:54:34 +02:00
Stephan Raabe e42fec9420 Updates 2024-06-24 17:49:51 +02:00
Stephan Raabe e4325abf4f Updates 2024-06-24 17:24:39 +02:00
Stephan Raabe fb2731d62b Updates 2024-06-24 17:23:17 +02:00
Stephan Raabe 6250bba6bc Updates 2024-06-24 16:54:42 +02:00
Stephan Raabe 0d04846e70 Updates 2024-06-24 16:35:23 +02:00
Stephan Raabe ae8c49f9f7 Updates 2024-06-24 16:07:26 +02:00
Stephan Raabe 9bd6342ba8 Updates 2024-06-24 14:54:02 +02:00
Stephan Raabe 14130ce095 Updates 2024-06-21 10:28:26 +02:00
Stephan Raabe 5ef6495c9a Updates 2024-06-21 10:23:23 +02:00
Stephan Raabe 3cef312532 Updates 2024-06-21 10:19:21 +02:00
Stephan Raabe 1f693c84a2 Updates 2024-06-21 10:10:22 +02:00
Stephan Raabe 2fe54cd465 Updates 2024-06-20 22:51:01 +02:00
Stephan Raabe 32e04e098c Updates 2024-06-20 17:31:08 +02:00
Stephan Raabe f9239bac72 Updates 2024-06-20 17:11:26 +02:00
Stephan Raabe 584bcb2984 Update Settings App for Wallpaper Cache 2024-06-13 15:44:52 +02:00
Stephan Raabe daf9683dc5 Updates 2024-06-13 15:06:45 +02:00
Stephan Raabe 95ff240509 Updates 2024-06-12 13:02:08 +02:00
Stephan Raabe d6fce7ecd3 Updates 2024-06-12 13:00:40 +02:00
Stephan Raabe 44b52eecb4 Updates 2024-06-12 12:32:03 +02:00
Stephan Raabe fc346fe68d Updates 2024-06-12 10:20:13 +02:00
Stephan Raabe 0a6879e9ab Updates 2024-06-12 07:26:20 +02:00
Stephan Raabe e5fbdb7de0 Updates 2024-06-09 15:33:11 +02:00
Stephan Raabe 26f42750d7 Updates 2024-06-07 22:07:10 +02:00
Stephan Raabe e6c2420ef4 Updates 2024-06-07 21:25:01 +02:00
Stephan Raabe 338f34b28d Updates 2024-06-07 20:53:47 +02:00
Stephan Raabe 972d49978c Updates 2024-06-05 17:05:48 +02:00
Stephan Raabe 41b6b496c1 Updates 2024-06-05 10:40:53 +02:00
Stephan Raabe 7f945d3143 Updates 2024-06-05 08:55:24 +02:00
128 changed files with 798 additions and 3262 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ alias setkb='setxkbmap de;echo "Keyboard set back to de."'
alias res1='xrandr --output DisplayPort-0 --mode 2560x1440 --rate 120' alias res1='xrandr --output DisplayPort-0 --mode 2560x1440 --rate 120'
alias res2='xrandr --output DisplayPort-0 --mode 1920x1080 --rate 120' alias res2='xrandr --output DisplayPort-0 --mode 1920x1080 --rate 120'
export PATH="$HOME/.local/bin/:/usr/lib/ccache/bin/:$PATH" export PATH="/usr/lib/ccache/bin/:$PATH"
# ----------------------------------------------------- # -----------------------------------------------------
# DEVELOPMENT # DEVELOPMENT
+7
View File
@@ -0,0 +1,7 @@
# ------------------------------------------------------
# Modify existing files before restore starts
# ------------------------------------------------------
if [ -d ~/dotfiles ] ;then
echo ":: Modify existing files"
fi
+1
View File
@@ -19,6 +19,7 @@ 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
+14 -26
View File
@@ -63,10 +63,15 @@ 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 --ask 4 yay -S --noconfirm sddm sddm-sugar-candy-git --ask 4
# Enable sddm # Enable sddm
if [ -f /etc/systemd/system/display-manager.service ]; then if [ -f /etc/systemd/system/display-manager.service ]; then
@@ -74,41 +79,24 @@ 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
-24
View File
@@ -1,24 +0,0 @@
# ------------------------------------------------------
# Select fcitx5 or not
# ------------------------------------------------------
echo -e "${GREEN}"
figlet "fcitx5"
echo -e "${NONE}"
if gum confirm "Do you want to install fcitx5 and chinese input method?" ;then
packagesPacman=(
"fcitx5"
"fcitx5-chinese-addons"
"fcitx5-configtool"
"fcitx5-gtk"
"fcitx5-qt"
);
packagesYay=(
"fcitx5-skin-seasons"
);
source .install/install-packages.sh
echo -e "\n# -----------------------------------------------------" >> ~/dotfiles-versions/${version}/hypr/hyprland.conf
echo "# fcitx5 support" >> ~/dotfiles-versions/${version}/hypr/hyprland.conf
echo "# -----------------------------------------------------" >> ~/dotfiles-versions/${version}/hypr/hyprland.conf
echo "source = ~/dotfiles/hypr/conf/fcitx5.conf" >> ~/dotfiles-versions/${version}/hypr/hyprland.conf
fi
-17
View File
@@ -1,17 +0,0 @@
# ------------------------------------------------------
# hidpi support
# ------------------------------------------------------
echo -e "${GREEN}"
figlet "hidpi"
echo -e "${NONE}"
hidpiconfirm="Do you want 2x hidpi scale?"
if gum confirm "$hidpiconfirm"; then
sed -i -E 's/size = [0-9]+(\.[0-9]+)?/size = 16/' ~/dotfiles-versions/$version/alacritty/alacritty.toml
sed -i -E 's/[0-9]+(\.[0-9]+)?/16/' ~/dotfiles-versions/$version/.settings/rofi-font.rasi
echo -e '\n\n# hidpi scale\nsource = ~/dotfiles/hypr/conf/hidpi.conf' >> ~/dotfiles-versions/$version/hypr/conf/custom.conf
sed -i -E 's/1/2/' ~/dotfiles-versions/$version/hypr/conf/monitors/default.conf
echo ":: finished hidpi patch."
fi
@@ -5,9 +5,6 @@
if [ -d ~/dotfiles-versions/$version/alacritty ]; then if [ -d ~/dotfiles-versions/$version/alacritty ]; then
_installSymLink alacritty ~/.config/alacritty ~/dotfiles/alacritty/ ~/.config _installSymLink alacritty ~/.config/alacritty ~/dotfiles/alacritty/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/kitty ]; then
_installSymLink kitty ~/.config/kitty ~/dotfiles/kitty/ ~/.config
fi
if [ -d ~/dotfiles-versions/$version/vim ]; then if [ -d ~/dotfiles-versions/$version/vim ]; then
_installSymLink vim ~/.config/vim ~/dotfiles/vim/ ~/.config _installSymLink vim ~/.config/vim ~/dotfiles/vim/ ~/.config
fi fi
@@ -40,14 +37,14 @@ fi
if [ -d ~/dotfiles-versions/$version/swappy ]; then if [ -d ~/dotfiles-versions/$version/swappy ]; then
_installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config _installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/swappy ]; then if [ -d ~/dotfiles-versions/$version/eww ]; then
_installSymLink eww ~/.config/eww ~/dotfiles/eww/ ~/.config _installSymLink eww ~/.config/eww ~/dotfiles/eww/ ~/.config
fi 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 [ -f ~/dotfiles-versions/$version/chrome-flags.conf ]; then if [ -d ~/dotfiles-versions/$version/waypaper ]; then
_installSymLink chrome-flags ~/.config/chrome-flags.conf ~/dotfiles/chrome-flags.conf ~/.config _installSymLink waypaper ~/.config/waypaper ~/dotfiles/waypaper/ ~/.config
fi fi
echo ":: Symbolic links created." echo ":: Symbolic links created."
echo echo
+2 -9
View File
@@ -1,12 +1,6 @@
packagesPacman=( packagesPacman=(
"pacman-contrib" "pacman-contrib"
"vim" "vim"
"bat"
"fzf"
"zsh"
"fastfetch"
"ranger"
"btop"
"bluez" "bluez"
"bluez-utils" "bluez-utils"
"neovim" "neovim"
@@ -23,8 +17,7 @@ packagesPacman=(
"noto-fonts" "noto-fonts"
"otf-font-awesome" "otf-font-awesome"
"ttf-fira-sans" "ttf-fira-sans"
"ttf-fira-code" "ttf-fira-code"
"ttf-firacode-nerd"
"ttf-firacode-nerd" "ttf-firacode-nerd"
"figlet" "figlet"
"vlc" "vlc"
@@ -66,7 +59,7 @@ packagesPacman=(
); );
packagesYay=( packagesYay=(
"vimix-cursors" "bibata-cursor-theme"
"trizen" "trizen"
"pacseek" "pacseek"
); );
+1 -2
View File
@@ -9,13 +9,12 @@ packagesPacman=(
"slurp" "slurp"
"swappy" "swappy"
"cliphist" "cliphist"
"kitty"
); );
packagesYay=( packagesYay=(
"pyprland"
"wlogout" "wlogout"
"nwg-look" "nwg-look"
"eww" "eww"
"hyprshade" "hyprshade"
"waypaper"
); );
@@ -35,7 +35,4 @@ fi
if [ -d ~/dotfiles-versions/$version/swappy ]; then if [ -d ~/dotfiles-versions/$version/swappy ]; then
_installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config _installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config
fi fi
if [ -d ~/dotfiles-versions/$version/fastfetch ]; then
_installSymLink fastfetch ~/.config/fastfetch ~/dotfiles/fastfetch/ ~/.config
fi
echo ":: Symbolic links created." echo ":: Symbolic links created."
+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"; _installPackagesPacman "rsync" "gum" "figlet" "python" "git";
# Double check rsync # Double check rsync
if ! command -v rsync &> /dev/null; then if ! command -v rsync &> /dev/null; then
+6 -2
View File
@@ -8,7 +8,7 @@ input {
kb_model = kb_model =
kb_options = kb_options =
numlock_by_default = true numlock_by_default = true
mouse_refocus=false mouse_refocus = false
# For United States # For United States
# kb_layout = us # kb_layout = us
@@ -24,7 +24,11 @@ input {
# for laptop # for laptop
# natural_scroll = yes # natural_scroll = yes
# middle_button_emulation = true # middle_button_emulation = true
# clickfinger_behavior = 1 # clickfinger_behavior = false
} }
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
} }
gestures {
workspace_swipe = true
}
+8 -3
View File
@@ -8,7 +8,7 @@ input {
kb_model = kb_model =
kb_options = kb_options =
numlock_by_default = true numlock_by_default = true
mouse_refocus=false mouse_refocus = false
# For United States # For United States
# kb_layout = us # kb_layout = us
@@ -22,9 +22,14 @@ input {
# natural_scroll = false # natural_scroll = false
# for laptop # for laptop
natural_scroll = yes natural_scroll = true
middle_button_emulation = true middle_button_emulation = true
clickfinger_behavior = 1 clickfinger_behavior = false
disable_while_typing = true
} }
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
} }
gestures {
workspace_swipe = true
}
+7 -8
View File
@@ -5,17 +5,16 @@ echo -e "${GREEN}"
figlet "Wallpapers" figlet "Wallpapers"
echo -e "${NONE}" echo -e "${NONE}"
if [ ! -d ~/wallpaper ]; then if [ ! -d ~/wallpaper ]; then
echo "Do you want to download the wallpapers from repository https://gitea.phywyj.dynv6.net/wyj/wallpaper.git ?" echo "Do you want to download the wallpapers from repository https://gitlab.com/stephan-raabe/wallpaper/ ?"
echo "If not, the script will install 3 default wallpapers in ~/wallpaper/" echo "If not, the script will install 3 default wallpapers in ~/wallpaper/"
echo "" echo ""
if gum confirm "Do you want to download the repository?" ;then if gum confirm "Do you want to download the repository?" ;then
# wget -P ~/Downloads/ https://gitlab.com/stephan-raabe/wallpaper/-/archive/main/wallpaper-main.zip wget -P ~/Downloads/ https://gitlab.com/stephan-raabe/wallpaper/-/archive/main/wallpaper-main.zip
# unzip -o ~/Downloads/wallpaper-main.zip -d ~/Downloads/ unzip -o ~/Downloads/wallpaper-main.zip -d ~/Downloads/
# if [ ! -d ~/wallpaper/ ]; then if [ ! -d ~/wallpaper/ ]; then
# mkdir ~/wallpaper mkdir ~/wallpaper
# fi fi
# cp ~/Downloads/wallpaper-main/* ~/wallpaper/ cp ~/Downloads/wallpaper-main/* ~/wallpaper/
git clone https://gitea.phywyj.dynv6.net/wyj/wallpaper.git ~/wallpaper
echo "Wallpapers from the repository installed successfully." echo "Wallpapers from the repository installed successfully."
elif [ $? -eq 130 ]; then elif [ $? -eq 130 ]; then
exit 130 exit 130
-3
View File
@@ -1,3 +0,0 @@
* {
border-radius: 15px;
}
+1 -3
View File
@@ -1,3 +1 @@
* { * { border-width: 3px; }
border-width: 2px;
}
View File
+26
View File
@@ -0,0 +1,26 @@
{
"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.1.1 2.9.2
+1 -1
View File
@@ -1 +1 @@
2911 2920
-128
View File
@@ -1,128 +0,0 @@
# 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
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:$HOME/.cargo/bin:$HOME/.local/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
# ZSH_THEME="robbyrussell"
ZSH_THEME="powerlevel10k/powerlevel10k"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in $ZSH/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment one of the following lines to change the auto-update behavior
# zstyle ':omz:update' mode disabled # disable automatic updates
# zstyle ':omz:update' mode auto # update automatically without asking
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
# Uncomment the following line to change how often to auto-update (in days).
# zstyle ':omz:update' frequency 13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# 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"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git colored-man-pages eza z sudo zsh-autosuggestions fast-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
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"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
eval $(thefuck --alias)
eval "$(fzf --zsh)"
# -----------------------------------------------------
# PYWAL
# -----------------------------------------------------
cat ~/.cache/wal/sequences
export EDITOR=nvim
+21
View File
@@ -1,3 +1,24 @@
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
--------------------------------------------------------
- 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)
- Keybindings rofi menu updated with keybinding description. Open with right mouse click on Apps waybar module
- Fixed bug of ML4W Hyprland Settings App with Hyprland 0.41.0
Version 2.9.1.1 Version 2.9.1.1
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9.1.1 https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9.1.1
-------------------------------------------------------- --------------------------------------------------------
+5 -7
View File
@@ -1,8 +1,8 @@
# ML4W Dotfiles 2.9.1.1 # ML4W Dotfiles 2.9.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](screenshots/screenshot2.png "Screenshot")](screenshots/screenshot2.png) [![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))
The ML4W Dotfiles are available as The ML4W Dotfiles are available as
@@ -37,11 +37,7 @@ You can also visit the [ML4W Discord Server](https://discord.gg/c4fJK7Za3g) to s
## Screenshots ## Screenshots
[![Screenshot](screenshots/screenshot1.png "Screenshot")](screenshots/screenshot1.png) [![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/screenshot3.png "Screenshot")](screenshots/screenshot3.png)
[![Screenshot](screenshots/screenshot4.png "Screenshot")](screenshots/screenshot5.png)
## Wallpaper repository ## Wallpaper repository
@@ -55,6 +51,8 @@ THANK YOU very much for all your support, contributions and ideas:
- Don Williams: https://github.com/dwilliam62 - Don Williams: https://github.com/dwilliam62
- Teodor Orzechowski: https://gitlab.com/sq6gtt - Teodor Orzechowski: https://gitlab.com/sq6gtt
- Jamie Deppeler: https://gitlab.com/bknight2k - Jamie Deppeler: https://gitlab.com/bknight2k
- Yingjie Wang: https://gitlab.com/GaugeAndGravity
- Daniel Gerber: https://gitlab.com/dan.john.gerber
- https://gitlab.com/muee - https://gitlab.com/muee
and many more... and many more...
+1 -1
View File
@@ -1,5 +1,5 @@
[font] [font]
size = 16.0 size = 12.0
[font.normal] [font.normal]
family = "FiraCode Nerd Font" family = "FiraCode Nerd Font"
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
-1
View File
@@ -1 +0,0 @@
--ozone-platform=wayland --enable-wayland-ime
+109 -164
View File
@@ -1,165 +1,110 @@
// Note that you must replace the image path to an existing image to display it. // Thanks to Bina
{ {
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
// "logo": { "logo": {
// "type": "iterm", "padding": {
// "source": "/Users/carter/Desktop/apple1.png", "top": 2
// "width": 28, }
// "height": 12 },
// }, "display": {
"display": { "separator": " ➜ "
// "separator": "  " },
"separator": " " "modules": [
}, "break",
"modules": [ "break",
{ "break",
"type": "host", {
"key": "╭─󰌢", "type": "os",
"keyColor": "green" "key": "OS ",
}, "keyColor": "31", // = color1
{ },
"type": "cpu", {
"key": "├─󰻠", "type": "kernel",
"keyColor": "green" "key": " ├  ",
}, "keyColor": "31",
{ },
"type": "gpu", {
"key": "├─󰍛", "type": "packages",
"keyColor": "green" "format": "{} (pacman)",
}, "key": " ├ 󰏖 ",
{ "keyColor": "31",
"type": "disk", },
"key": "├─", {
"keyColor": "green" "type": "shell",
}, "key": " └  ",
{ "keyColor": "31",
"type": "memory", },
"key": "├─󰑭", "break",
"keyColor": "green" {
}, "type": "wm",
{ "key": "WM ",
"type": "swap", "keyColor": "32",
"key": "├─󰓡", },
"keyColor": "green" {
}, "type": "wmtheme",
{ "key": " ├ 󰉼 ",
"type": "display", "keyColor": "32",
"key": "├─󰍹", },
"keyColor": "green" {
}, "type": "icons",
{ "key": " ├ 󰀻 ",
"type": "battery", "keyColor": "32",
"key": "├─", },
"keyColor": "green" {
}, "type": "cursor",
{ "key": " ├  ",
"type": "poweradapter", "keyColor": "32",
"key": "├─", },
"keyColor": "green" {
}, "type": "terminal",
{ "key": " ├  ",
"type": "gamepad", "keyColor": "32",
"key": "├─", },
"keyColor": "green" {
}, "type": "terminalfont",
{ "key": " └  ",
"type": "bluetooth", "keyColor": "32",
"key": "├─", },
"keyColor": "green" "break",
}, {
{ "type": "host",
"type": "sound", "format": "{5} {1} Type {2}",
"key": "╰─", "key": "PC ",
"keyColor": "green" "keyColor": "33",
}, },
"break", {
"type": "cpu",
{ "format": "{1} ({3}) @ {7} GHz",
"type": "shell", "key": " ├  ",
"key": "╭─", "keyColor": "33",
"keyColor": "yellow" },
}, {
{ "type": "gpu",
"type": "terminal", "format": "{1} {2} @ {12} GHz",
"key": "├─", "key": " ├ 󰢮 ",
"keyColor": "yellow" "keyColor": "33",
}, },
{ {
"type": "terminalfont", "type": "memory",
"key": "├─", "key": " ├  ",
"keyColor": "yellow" "keyColor": "33",
}, },
{ {
"type": "lm", "type": "swap",
"key": "├─󰧨", "key": " ├ 󰓡 ",
"keyColor": "yellow" "keyColor": "33",
}, },
{ {
"type": "de", "type": "disk",
"key": "├─", "key": " ├ 󰋊 ",
"keyColor": "yellow" "keyColor": "33",
}, },
{ {
"type": "wm", "type": "monitor",
"key": "├─", "key": " └  ",
"keyColor": "yellow" "keyColor": "33",
}, },
{ "break",
"type": "theme", "break",
"key": "├─󰉼", ]
"keyColor": "yellow" }
},
{
"type": "icons",
"key": "╰─󰀻",
"keyColor": "yellow"
},
"break",
{
"type": "title",
"key": "╭─",
"format": "{1}@{2}",
"keyColor": "blue"
},
{
"type": "os",
"key": "├─󰣇", // Just get your distro's logo off nerdfonts.com
"keyColor": "blue"
},
{
"type": "kernel",
"key": "├─",
"format": "{1} {2}",
"keyColor": "blue"
},
{
"type": "packages",
"key": "├─󰏖",
"keyColor": "blue"
},
{
"type": "uptime",
"key": "├─󰅐",
"keyColor": "blue"
},
{
"type": "media",
"key": "├─󰝚",
"keyColor": "blue"
},
{
"type": "localip",
"key": "╰─󰩟",
"compact": true,
"keyColor": "blue"
},
"break",
{
"type": "custom",
"format": " \u001b[90m󱓻 \u001b[31m󱓻 \u001b[32m󱓻 \u001b[33m󱓻 \u001b[34m󱓻 \u001b[35m󱓻 \u001b[36m󱓻 \u001b[37m󱓻 \u001b[38m󱓻 \u001b[39m󱓻"
}
]
}
+1 -1
View File
@@ -1 +1 @@
source = ~/dotfiles/hypr/conf/animations/animations-high.conf source = ~/dotfiles/hypr/conf/animations/default.conf
+4 -4
View File
@@ -20,17 +20,17 @@ 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
exec-once = pypr # 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
+1 -1
View File
@@ -1 +1 @@
exec-once = hyprctl setcursor Vimix 24 exec-once = hyprctl setcursor Bibata-Modern-Ice 24
+1 -1
View File
@@ -1 +1 @@
source = ~/dotfiles/hypr/conf/decorations/custom.conf source = ~/dotfiles/hypr/conf/decorations/default.conf
-25
View File
@@ -1,25 +0,0 @@
# -----------------------------------------------------
# General window decoration
# name: "Default"
# -----------------------------------------------------
decoration {
rounding = 10
blur {
enabled = true
size = 10
passes = 3
new_optimizations = on
ignore_opacity = true
xray = false
blurls = waybar
}
active_opacity = 1.0
inactive_opacity = 0.8
fullscreen_opacity = 1.0
drop_shadow = true
shadow_range = 30
shadow_render_power = 3
col.shadow = 0x66000000
}
+1 -8
View File
@@ -2,11 +2,4 @@
# 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,13 +2,5 @@
# 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
-5
View File
@@ -1,5 +0,0 @@
exec-once = fcitx5-remote -r
exec-once = fcitx5 -d --replace
exec-once = fcitx5-remote -r
bind=$mainMod CTRL, E, exec, pkill fcitx5 -9;sleep 1;fcitx5 -d --replace; sleep 1;fcitx5-remote -r
-6
View File
@@ -1,6 +0,0 @@
xwayland {
force_zero_scaling = true
}
env = GDK_SCALE,2
env = QT_SCALE_FACTOR=2
+1 -1
View File
@@ -1 +1 @@
source = ~/dotfiles/hypr/conf/keybindings/custom.conf source = ~/dotfiles/hypr/conf/keybindings/default.conf
-97
View File
@@ -1,97 +0,0 @@
# -----------------------------------------------------
# Key bindings
# name: "Default"
# -----------------------------------------------------
# SUPER KEY
$mainMod = SUPER
# Applications
bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh
bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh
bind = $mainMod, period, exec, emote
# Windows
bind = $mainMod, Q, killactive
bind = $mainMod, F, fullscreen
bind = $mainMod, E, exec, ~/dotfiles/.settings/filemanager.sh
bind = $mainMod, T, togglefloating
bind = $mainMod SHIFT, T, exec, ~/dotfiles/hypr/scripts/toggleallfloat.sh
bind = $mainMod, J, togglesplit
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bind = $mainMod SHIFT, right, resizeactive, 100 0
bind = $mainMod SHIFT, left, resizeactive, -100 0
bind = $mainMod SHIFT, up, resizeactive, 0 -100
bind = $mainMod SHIFT, down, resizeactive, 0 100
bind = $mainMod, G, togglegroup
# Actions
bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh
bind = $mainMod CTRL, Q, exec, wlogout
bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh
bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select
bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i
bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh
bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh
bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh
bind = $mainMod CTRL, F, exec, ~/dotfiles/scripts/filemanager.sh
bind = $mainMod CTRL, C, exec, ~/dotfiles/scripts/cliphist.sh
bind = $mainMod, V, exec, ~/dotfiles/scripts/cliphist.sh
bind = $mainMod CTRL, T, exec, ~/dotfiles/waybar/themeswitcher.sh
bind = $mainMod CTRL, S, exec, ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage
# Workspaces
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
bind = $mainMod CTRL, down, workspace, empty
bind = $mainMod CTRL, left, workspace, e-1
bind = $mainMod CTRL, right, workspace, e+1
# Fn keys
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10%
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%-
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% && notify-send -t 400 "Volume: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '/front-left/ {print $5}')"
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% && notify-send -t 400 "Volume: $(pactl get-sink-volume @DEFAULT_SINK@ | awk '/front-left/ {print $5}')"
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioPause, exec, playerctl pause
bind = , XF86AudioNext, exec, playerctl next
bind = , XF86AudioPrev, exec, playerctl previous
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
bind = , XF86Calculator, exec, qalculate-gtk
bind = , XF86Lock, exec, hyprlock
bind = , XF86Tools, exec, alacritty --class dotfiles-floating -e ~/dotfiles/hypr/settings/settings.sh
# Passthrough SUPER KEY to Virtual Machine
bind = $mainMod, P, submap, passthru
submap = passthru
bind = SUPER, Escape, submap, reset
submap = reset
# Pyprland
bind = $mainMod SHIFT, RETURN, exec, pypr toggle term
+75 -77
View File
@@ -7,90 +7,88 @@
$mainMod = SUPER $mainMod = SUPER
# Applications # Applications
bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh # Open the terminal
bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh # Open the browser
bind = $mainMod, E, exec, ~/dotfiles/.settings/filemanager.sh # Open the filemanager
# Windows # Windows
bind = $mainMod, Q, killactive bind = $mainMod, Q, killactive # Kill active window
bind = $mainMod, F, fullscreen bind = $mainMod, F, fullscreen # Set active window to fullscreen
bind = $mainMod, E, exec, ~/dotfiles/.settings/filemanager.sh bind = $mainMod, T, togglefloating # Toggle active windows into floating mode
bind = $mainMod, T, togglefloating bind = $mainMod SHIFT, T, exec, ~/dotfiles/hypr/scripts/toggleallfloat.sh # Toggle all windows into floating mode
bind = $mainMod SHIFT, T, exec, ~/dotfiles/hypr/scripts/toggleallfloat.sh bind = $mainMod, J, togglesplit # Toggle split
bind = $mainMod, J, togglesplit bind = $mainMod, left, movefocus, l # Move focus left
bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r # Move focus right
bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u # Move focus up
bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # Move focus down
bind = $mainMod, down, movefocus, d bindm = $mainMod, mouse:272, movewindow # Move window with the mouse
bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Resize window with the mouse
bindm = $mainMod, mouse:273, resizewindow bind = $mainMod SHIFT, right, resizeactive, 100 0 # Increase window width with keyboard
bind = $mainMod SHIFT, right, resizeactive, 100 0 bind = $mainMod SHIFT, left, resizeactive, -100 0 # Reduce window width with keyboard
bind = $mainMod SHIFT, left, resizeactive, -100 0 bind = $mainMod SHIFT, down, resizeactive, 0 100 # Increase window height with keyboard
bind = $mainMod SHIFT, up, resizeactive, 0 -100 bind = $mainMod SHIFT, up, resizeactive, 0 -100 # Reduce window height with keyboard
bind = $mainMod SHIFT, down, resizeactive, 0 100 bind = $mainMod, G, togglegroup # Toggle window group
bind = $mainMod, G, togglegroup
# Actions # Actions
bind = $mainMod SHIFT, A, exec, ~/dotfiles/hypr/scripts/toggle-animations.sh bind = $mainMod SHIFT, A, exec, ~/dotfiles/hypr/scripts/toggle-animations.sh # Toggle animations
bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh # Take a screenshot
bind = $mainMod CTRL, Q, exec, wlogout bind = $mainMod CTRL, Q, exec, wlogout # Start wlogout
bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh bind = $mainMod SHIFT, W, exec, waypaper --random # Change the wallpaper
bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select bind = $mainMod CTRL, W, exec, waypaper # Open wallpaper selector
bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i # Open application launcher
bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh # Show keybindings
bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh # Reload waybar
bind = $mainMod CTRL, B, exec, ~/dotfiles/waybar/toggle.sh bind = $mainMod CTRL, B, exec, ~/dotfiles/waybar/toggle.sh # Toggle waybar
bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh # Reload hyprland config
bind = $mainMod CTRL, F, exec, ~/dotfiles/scripts/filemanager.sh bind = $mainMod, V, exec, ~/dotfiles/scripts/cliphist.sh # Open clipboard manager
bind = $mainMod CTRL, C, exec, ~/dotfiles/scripts/cliphist.sh bind = $mainMod CTRL, T, exec, ~/dotfiles/waybar/themeswitcher.sh # Open waybar theme switcher
bind = $mainMod, V, exec, ~/dotfiles/scripts/cliphist.sh bind = $mainMod CTRL, S, exec, ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage # Open ML4W Dotfiles Settings app
bind = $mainMod CTRL, T, exec, ~/dotfiles/waybar/themeswitcher.sh bind = $mainMod SHIFT, S, exec, ~/dotfiles/hypr/scripts/hyprshade.sh # Toggle screenshader
bind = $mainMod CTRL, S, exec, ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage bind = $mainMod ALT, G, exec, ~/dotfiles/hypr/scripts/gamemode.sh # Toggle game mode
bind = $mainMod CTRL, P, exec, hyprpicker -a
bind = $mainMod SHIFT, S, exec, ~/dotfiles/hypr/scripts/hyprshade.sh
bind = $mainMod ALT, G, exec, ~/dotfiles/hypr/scripts/gamemode.sh
# Workspaces # Workspaces
bind = $mainMod, 1, workspace, 1 bind = $mainMod, 1, workspace, 1 # Open workspace 1
bind = $mainMod, 2, workspace, 2 bind = $mainMod, 2, workspace, 2 # Open workspace 2
bind = $mainMod, 3, workspace, 3 bind = $mainMod, 3, workspace, 3 # Open workspace 3
bind = $mainMod, 4, workspace, 4 bind = $mainMod, 4, workspace, 4 # Open workspace 4
bind = $mainMod, 5, workspace, 5 bind = $mainMod, 5, workspace, 5 # Open workspace 5
bind = $mainMod, 6, workspace, 6 bind = $mainMod, 6, workspace, 6 # Open workspace 6
bind = $mainMod, 7, workspace, 7 bind = $mainMod, 7, workspace, 7 # Open workspace 7
bind = $mainMod, 8, workspace, 8 bind = $mainMod, 8, workspace, 8 # Open workspace 8
bind = $mainMod, 9, workspace, 9 bind = $mainMod, 9, workspace, 9 # Open workspace 9
bind = $mainMod, 0, workspace, 10 bind = $mainMod, 0, workspace, 10 # Open workspace 10
bind = $mainMod SHIFT, 1, movetoworkspace, 1 bind = $mainMod SHIFT, 1, movetoworkspace, 1 # Move active window to workspace 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2 bind = $mainMod SHIFT, 2, movetoworkspace, 2 # Move active window to workspace 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3 bind = $mainMod SHIFT, 3, movetoworkspace, 3 # Move active window to workspace 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4 bind = $mainMod SHIFT, 4, movetoworkspace, 4 # Move active window to workspace 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5 bind = $mainMod SHIFT, 5, movetoworkspace, 5 # Move active window to workspace 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6 bind = $mainMod SHIFT, 6, movetoworkspace, 6 # Move active window to workspace 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7 bind = $mainMod SHIFT, 7, movetoworkspace, 7 # Move active window to workspace 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8 bind = $mainMod SHIFT, 8, movetoworkspace, 8 # Move active window to workspace 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 9, movetoworkspace, 9 # Move active window to workspace 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Move active window to workspace 10
bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_down, workspace, e+1 # Open next workspace
bind = $mainMod, mouse_up, workspace, e-1 bind = $mainMod, mouse_up, workspace, e-1 # Open previous workspace
bind = $mainMod CTRL, down, workspace, empty bind = $mainMod CTRL, down, workspace, empty # Open the next empty workspace
# Fn keys
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10%
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%-
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioPause, exec, playerctl pause
bind = , XF86AudioNext, exec, playerctl next
bind = , XF86AudioPrev, exec, playerctl previous
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
bind = , XF86Calculator, exec, qalculate-gtk
bind = , XF86Lock, exec, hyprlock
bind = , XF86Tools, exec, alacritty --class dotfiles-floating -e ~/dotfiles/hypr/settings/settings.sh
# Passthrough SUPER KEY to Virtual Machine # Passthrough SUPER KEY to Virtual Machine
bind = $mainMod, P, submap, passthru bind = $mainMod, P, submap, passthru # Passthrough SUPER key to virtual machine
submap = passthru submap = passthru
bind = SUPER, Escape, submap, reset bind = SUPER, Escape, submap, reset # Get SUPER key back from virtual machine
submap = reset submap = reset
# Fn keys
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10% # Increase brightness by 10%
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%- # Reduce brightness by 10%
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% # Increase volume by 5%
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% # Reduce volume by 5%
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle # Toggle mute
bind = , XF86AudioPlay, exec, playerctl play-pause # Audio play pause
bind = , XF86AudioPause, exec, playerctl pause # Audio pause
bind = , XF86AudioNext, exec, playerctl next # Audio next
bind = , XF86AudioPrev, exec, playerctl previous # Audio previous
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle # Toggle microphone
bind = , XF86Calculator, exec, qalculate-gtk # Open calculator
bind = , XF86Lock, exec, hyprlock # Open screenlock
bind = , XF86Tools, exec, alacritty --class dotfiles-floating -e ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage # Open ML4W Dotfiles Settings app
+3 -5
View File
@@ -3,17 +3,15 @@
# https://wiki.hyprland.org/Configuring/Variables/#input # https://wiki.hyprland.org/Configuring/Variables/#input
# ----------------------------------------------------- # -----------------------------------------------------
input { input {
kb_layout = us kb_layout = de
kb_variant = kb_variant =
kb_model = kb_model =
kb_options = kb_options =
numlock_by_default = true numlock_by_default = true
follow_mouse = 1 follow_mouse = 1
mouse_refocus=false mouse_refocus=false
touchpad { touchpad {
natural_scroll = true natural_scroll = false
disable_while_typing=true
tap-to-click=true
} }
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
} }
+2 -1
View File
@@ -8,7 +8,8 @@ dwindle {
} }
master { master {
new_is_master = true # new_is_master = true
# new_status = master
} }
gestures { gestures {
+3 -9
View File
@@ -8,16 +8,10 @@ dwindle {
} }
master { master {
new_is_master = true # new_is_master = true
# new_status = master
} }
gestures { gestures {
workspace_swipe=true workspace_swipe = true
workspace_swipe_fingers=3
workspace_swipe_distance=400
workspace_swipe_invert=true
workspace_swipe_min_speed_to_force=30
workspace_swipe_cancel_ratio=0.5
workspace_swipe_create_new=true
workspace_swipe_forever=true
} }
-2
View File
@@ -5,6 +5,4 @@
misc { misc {
disable_hyprland_logo = true disable_hyprland_logo = true
disable_splash_rendering = true disable_splash_rendering = true
enable_swallow = true
swallow_regex = ^(Alacritty)$
} }
+42 -8
View File
@@ -2,10 +2,22 @@
# ML4W configurations # ML4W configurations
# ----------------------------------------------------- # -----------------------------------------------------
windowrulev2 = float,class:(.*chat.openai.com.*) # Pavucontrol floating
windowrulev2 = size 500 50%,class:(.*chat.openai.com.*) windowrulev2 = float,class:(.*org.pulseaudio.pavucontrol.*)
windowrulev2 = move 20 70,class:(.*chat.openai.com.*) windowrulev2 = size 700 600,class:(.*org.pulseaudio.pavucontrol.*)
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)
@@ -14,6 +26,7 @@ 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)
@@ -22,19 +35,40 @@ 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)
windowrulev2 = float,class:(com.ml4w.hyprlandsettings) # ML4W Hyprland App floating
windowrulev2 = size 700 600,class:(com.ml4w.hyprlandsettings) windowrulev2 = float,class:(com.ml4w.hyprland.settings)
windowrulev2 = center,class:(com.ml4w.hyprlandsettings) windowrulev2 = size 700 600,class:(com.ml4w.hyprland.settings)
windowrulev2 = center,class:(com.ml4w.hyprland.settings)
windowrulev2 = float,class:(ml4w-hyprland-settings.py) 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)
env = APPIMAGELAUNCHER_DISABLE,1 # XDG Desktop Portal
env = XCURSOR_SIZE,24
env = XDG_CURRENT_DESKTOP,Hyprland 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
-6
View File
@@ -1,6 +0,0 @@
# -----------------------------------------------------
# Monitor Setup
# name: "Default"
# -----------------------------------------------------
monitor=,preferred,auto,2
-10
View File
@@ -1,10 +0,0 @@
# -----------------------------------------------------
# Monitor Setup
# name: "Default"
# -----------------------------------------------------
monitor=DP-1,preferred,0x0,2
monitor=HDMI-A-1,3840x2160,1920x-275,2,transform,1
workspace=1,monitor:DP-1
exec-once=hyprctl dispatch workspace 1
+1 -1
View File
@@ -1 +1 @@
source = ~/dotfiles/hypr/conf/windowrules/custom.conf source = ~/dotfiles/hypr/conf/windowrules/default.conf
-19
View File
@@ -1,19 +0,0 @@
# -----------------------------------------------------
# Window rules
# -----------------------------------------------------
windowrule = tile,^(Microsoft-edge)$
windowrule = tile,^(Brave-browser)$
windowrule = tile,^(Chromium)$
windowrule = float,^(pavucontrol)$
windowrule = float,^(blueman-manager)$
windowrule = float,^(nm-connection-editor)$
windowrule = float,^(qalculate-gtk)$
windowrule = float,^(showmethekey-gtk)$
windowrule = pin,^(showmethekey-gtk)$
layerrule = blur, gtk-layer-shell
layerrule = blur, logout_dialog
windowrule = float,title=^(Mathematica)$
windowrule = opacity 0.75, ^(Code)$
windowrule = float,^(QQ)$
+1
View File
@@ -10,4 +10,5 @@ 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,4 +10,5 @@ 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,4 +10,5 @@ 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,4 +10,5 @@ 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,4 +10,5 @@ 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,4 +10,5 @@ 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,4 +10,5 @@ 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,4 +10,5 @@ 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
} }
+2 -1
View File
@@ -6,8 +6,9 @@
general { general {
gaps_in = 10 gaps_in = 10
gaps_out = 14 gaps_out = 14
border_size = 2 border_size = 3
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,4 +10,5 @@ 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,4 +10,5 @@ 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,6 +43,7 @@ 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/hyprland.jpg preload = $HOME/wallpaper/default.jpg
wallpaper = ,$HOME/wallpaper/hyprland.jpg wallpaper = ,$HOME/wallpaper/default.jpg
splash = false splash = false
-12
View File
@@ -1,12 +0,0 @@
[pyprland]
plugins = [
"scratchpads",
"magnify",
]
[scratchpads.term]
animation = "fromTop"
command = "kitty --class kitty-dropterm"
class = "kitty-dropterm"
size = "75% 60%"
+1
View File
@@ -46,6 +46,7 @@ _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"
+10 -5
View File
@@ -7,13 +7,18 @@
# #
if [ -f ~/.cache/gamemode ] ;then if [ -f ~/.cache/gamemode ] ;then
hyprctl keyword animations:enabled true hyprctl reload
hyprctl keyword decoration:blur:enabled true
rm ~/.cache/gamemode rm ~/.cache/gamemode
notify-send "Gamemode deactivated" "Animations and blur enabled" notify-send "Gamemode deactivated" "Animations and blur enabled"
else else
hyprctl keyword animations:enabled false hyprctl --batch "\
hyprctl keyword decoration:blur:enabled false keyword animations:enabled 0;\
touch ~/.cache/gamemode keyword decoration:drop_shadow 0;\
keyword decoration:blur:enabled 0;\
keyword general:gaps_in 0;\
keyword general:gaps_out 0;\
keyword general:border_size 1;\
keyword decoration:rounding 0"
touch ~/.cache/gamemode
notify-send "Gamemode activated" "Animations and blur disabled" notify-send "Gamemode activated" "Animations and blur disabled"
fi fi
+25 -9
View File
@@ -21,13 +21,29 @@ config_file=${config_file/source=~/}
config_file="/home/$USER$config_file" config_file="/home/$USER$config_file"
echo "Reading from: $config_file" echo "Reading from: $config_file"
# ----------------------------------------------------- keybinds=""
# Parse keybindings
# ----------------------------------------------------- # Detect Start String
keybinds=$(grep -oP '(?<=bind = ).*' $config_file) while read -r line
keybinds=$(echo "$keybinds" | sed 's/$mainMod/SUPER/g'| sed 's/,\([^,]*\)$/ = \1/' | sed 's/, exec//g' | sed 's/^,//g') do
# ----------------------------------------------------- if [[ "$line" == "bind"* ]]; then
# Show keybindings in rofi
# ----------------------------------------------------- line="$(echo "$line" | sed 's/$mainMod/SUPER/g')"
line="$(echo "$line" | sed 's/bind = //g')"
line="$(echo "$line" | sed 's/bindm = //g')"
IFS='#'
read -a strarr <<<"$line"
kb_str=${strarr[0]}
cm_str=${strarr[1]}
IFS=','
read -a kbarr <<<"$kb_str"
item="${kbarr[0]} + ${kbarr[1]}"$'\r'"${cm_str:1}"
keybinds=$keybinds$item$'\n'
fi
done < "$config_file"
sleep 0.2 sleep 0.2
rofi -dmenu -i -replace -p "Keybinds" -config ~/dotfiles/rofi/config-compact.rasi <<< "$keybinds" rofi -dmenu -i -markup -eh 2 -replace -p "Keybinds" -config ~/dotfiles/rofi/config-compact.rasi <<< "$keybinds"
+1 -1
View File
@@ -42,4 +42,4 @@ case $choice in
notify-send "Screenshot created and copied to clipboard" "Mode: Fullscreen" notify-send "Screenshot created and copied to clipboard" "Mode: Fullscreen"
swappy -f "$DIR$NAME" swappy -f "$DIR$NAME"
;; ;;
esac esac
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
generated_versions="$HOME/.cache/ml4w-wallpaper-generated"
rm $HOME/.cache/ml4w-wallpaper-generated/*
echo ":: Wallpaper cache cleared"
notify-send "Wallpaper cache cleared"
+92 -138
View File
@@ -9,181 +9,135 @@
# by Stephan Raabe (2024) # by Stephan Raabe (2024)
# ----------------------------------------------------- # -----------------------------------------------------
# Cache file for holding the current wallpaper # -----------------------------------------------------
wallpaper_folder="$HOME/wallpaper" # Get selected wallpaper
if [ -f ~/dotfiles/.settings/wallpaper-folder.sh ] ;then # -----------------------------------------------------
source ~/dotfiles/.settings/wallpaper-folder.sh 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
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="$HOME/.cache/blurred_wallpaper.png" blurred_wallpaper="$HOME/.cache/blurred_wallpaper.png"
square="$HOME/.cache/square_wallpaper.png" square_wallpaper="$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
current_wallpaper=$(cat "$cache_file") # Create folder with generated versions of wallpaper if not exists
if [ ! -d $generated_versions ] ;then
case $1 in mkdir $generated_versions
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
# ----------------------------------------------------- # -----------------------------------------------------
# Load current pywal color scheme # Current wallpaper
# ----------------------------------------------------- # -----------------------------------------------------
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"
# ----------------------------------------------------- # -----------------------------------------------------
# get wallpaper image name # Wallpaper Effects
# -----------------------------------------------------
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
if [ "$1" == "init" ] ;then used_wallpaper=$generated_versions/$effect-$newwall
echo ":: Init" if [ -f $generated_versions/$effect-$newwall ] && [ "$force_generate" == "0" ] && [ "$use_cache" == "1" ] ;then
echo ":: Use cached wallpaper $effect-$newwall"
else else
dunstify "Using wallpaper effect $effect..." "with image $newwall" -h int:value:10 -h string:x-dunst-stack-tag:wallpaper 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
fi fi
source $HOME/dotfiles/hypr/effects/wallpaper/$effect 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"
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 [ "$1" == "init" ] ;then if [ -f $generated_versions/blur-$blur-$newwall.png ] && [ "$force_generate" == "0" ] && [ "$use_cache" == "1" ] ;then
echo ":: Init" echo ":: Use cached wallpaper blur-$blur-$newwall.png"
else else
dunstify "Creating blurred version ..." "with image $newwall" -h int:value:50 -h string:x-dunst-stack-tag:wallpaper echo ":: Generate new cached wallpaper blur-$blur-$newwall with blur $blur"
fi if [ "$1" == "init" ] ;then
echo ":: Init"
magick $used_wallpaper -resize 75% $blurred else
echo ":: Resized to 75%" dunstify "Creating blurred version ..." "with image $newwall" -h int:value:50 -h string:x-dunst-stack-tag:wallpaper
if [ ! "$blur" == "0x0" ] ;then fi
magick $blurred -blur $blur $blurred magick $wallpaper -resize 75% $blurred_wallpaper
echo ":: Blurred" 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
fi fi
cp $generated_versions/blur-$blur-$newwall.png $blurred_wallpaper
# ----------------------------------------------------- # -----------------------------------------------------
# Created quare wallpaper # Created square wallpaper
# ----------------------------------------------------- # -----------------------------------------------------
if [ "$1" == "init" ] ;then if [ -f $generated_versions/square-$newwall.png ] && [ "$force_generate" == "0" ] && [ "$use_cache" == "1" ] ;then
echo ":: Init" echo ":: Use cached wallpaper square-$newwall.png"
else else
dunstify "Creating square version ..." "with image $newwall" -h int:value:75 -h string:x-dunst-stack-tag:wallpaper 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
fi fi
magick $wallpaper -gravity Center -extent 1:1 $square cp $generated_versions/square-$newwall.png $square_wallpaper
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 xdg-desktop-portal killall -e xdg-desktop-portal
sleep 1 sleep 1
# start xdg-desktop-portal-hyprland # start xdg-desktop-portal-hyprland
+14 -8
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,39 +44,45 @@ 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/fcitx5.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/hidpi.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/settings.sh source .install/settings.sh
source .install/apps.sh source .install/apps.sh
-14
View File
@@ -1,14 +0,0 @@
font_family Fira Code Nerd Font
font_size 14.0
bold_font auto
italic_font auto
bold_italic_font auto
background_opacity 0.7
confirm_os_window_close 0
enable_audio_bell no
selection_foreground #000000
selection_background #F5FBFF
+10
View File
@@ -31,3 +31,13 @@ set ttyfast " Speed up scrolling in Vim
" set spell " enable spell check (may need to download language package) " set spell " enable spell check (may need to download language package)
" set noswapfile " disable creating swap file " set noswapfile " disable creating swap file
" set backupdir=~/.cache/vim " Directory to store backup files. " set backupdir=~/.cache/vim " Directory to store backup files.
hi NonText ctermbg=none guibg=NONE
hi Normal guibg=NONE ctermbg=NONE
hi NormalNC guibg=NONE ctermbg=NONE
hi SignColumn ctermbg=NONE ctermfg=NONE guibg=NONE
hi Pmenu ctermbg=NONE ctermfg=NONE guibg=NONE
hi FloatBorder ctermbg=NONE ctermfg=NONE guibg=NONE
hi NormalFloat ctermbg=NONE ctermfg=NONE guibg=NONE
hi TabLine ctermbg=None ctermfg=None guibg=None
+5 -8
View File
@@ -38,13 +38,12 @@ configuration {
/* ---- Load border width ---- */ /* ---- Load border width ---- */
@import "~/dotfiles/.settings/rofi-border.rasi" @import "~/dotfiles/.settings/rofi-border.rasi"
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 400px; width: 400px;
x-offset: -14px; x-offset: -14px;
y-offset: 14px; y-offset: 65px;
spacing: 0px; spacing: 0px;
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
@@ -57,7 +56,7 @@ window {
anchor: northeast; anchor: northeast;
fullscreen: false; fullscreen: false;
enabled: true; enabled: true;
border-radius: @border-radius; border-radius: 10px;
background-color: transparent; background-color: transparent;
} }
@@ -121,7 +120,6 @@ entry {
cursor: text; cursor: text;
placeholder: "Search"; placeholder: "Search";
placeholder-color: inherit; placeholder-color: inherit;
border-radius: 0px;
} }
/* ---- Mode Switcher ---- */ /* ---- Mode Switcher ---- */
@@ -134,7 +132,7 @@ mode-switcher{
button { button {
padding: 10px; padding: 10px;
border-radius: @border-radius; border-radius: 10px;
background-color: @background; background-color: @background;
text-color: inherit; text-color: inherit;
cursor: pointer; cursor: pointer;
@@ -162,8 +160,7 @@ listview {
padding: 10px; padding: 10px;
margin: 0px; margin: 0px;
background-color: @background; background-color: @background;
border: 0px; border:0px;
border-radius: 0px;
} }
/* ---- Element ---- */ /* ---- Element ---- */
@@ -173,7 +170,7 @@ element {
margin: 5px; margin: 5px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: @background;
border-radius: @border-radius; border-radius: 10px;
border: @border-width; border: @border-width;
} }
+4 -7
View File
@@ -39,7 +39,6 @@ configuration {
/* ---- Load border width ---- */ /* ---- Load border width ---- */
@import "~/dotfiles/.settings/rofi-border.rasi" @import "~/dotfiles/.settings/rofi-border.rasi"
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
@@ -58,7 +57,7 @@ window {
anchor: north; anchor: north;
fullscreen: false; fullscreen: false;
enabled: true; enabled: true;
border-radius: @border-radius; border-radius: 10px;
background-color: transparent; background-color: transparent;
} }
@@ -122,7 +121,6 @@ entry {
cursor: text; cursor: text;
placeholder: "Search"; placeholder: "Search";
placeholder-color: inherit; placeholder-color: inherit;
border-radius: 0px;
} }
/* ---- Mode Switcher ---- */ /* ---- Mode Switcher ---- */
@@ -135,7 +133,7 @@ mode-switcher{
button { button {
padding: 10px; padding: 10px;
border-radius: @border-radius; border-radius: 10px;
background-color: @background; background-color: @background;
text-color: inherit; text-color: inherit;
cursor: pointer; cursor: pointer;
@@ -163,8 +161,7 @@ listview {
padding: 10px; padding: 10px;
margin: 0px; margin: 0px;
background-color: @background; background-color: @background;
border: 0px; border:0px;
border-radius: 0px;
} }
/* ---- Element ---- */ /* ---- Element ---- */
@@ -174,7 +171,7 @@ element {
margin: 5px; margin: 5px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: @background;
border-radius: @border-radius; border-radius: 10px;
border: @border-width; border: @border-width;
} }
+3 -4
View File
@@ -38,7 +38,6 @@ configuration {
/* ---- Load border width ---- */ /* ---- Load border width ---- */
@import "~/dotfiles/.settings/rofi-border.rasi" @import "~/dotfiles/.settings/rofi-border.rasi"
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
@@ -57,7 +56,7 @@ window {
anchor: center; anchor: center;
fullscreen: false; fullscreen: false;
enabled: true; enabled: true;
border-radius: @border-radius; border-radius: 10px;
background-color: transparent; background-color: transparent;
} }
@@ -133,7 +132,7 @@ mode-switcher{
button { button {
padding: 10px; padding: 10px;
border-radius: @border-radius; border-radius: 10px;
background-color: @background; background-color: @background;
text-color: inherit; text-color: inherit;
cursor: pointer; cursor: pointer;
@@ -171,7 +170,7 @@ element {
margin: 5px; margin: 5px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: @background;
border-radius: @border-radius; border-radius: 10px;
border: @border-width; border: @border-width;
} }
+3 -4
View File
@@ -38,7 +38,6 @@ configuration {
/* ---- Load border width ---- */ /* ---- Load border width ---- */
@import "~/dotfiles/.settings/rofi-border.rasi" @import "~/dotfiles/.settings/rofi-border.rasi"
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
@@ -57,7 +56,7 @@ window {
anchor: center; anchor: center;
fullscreen: false; fullscreen: false;
enabled: true; enabled: true;
border-radius: @border-radius; border-radius: 10px;
background-color: transparent; background-color: transparent;
} }
@@ -133,7 +132,7 @@ mode-switcher{
button { button {
padding: 10px; padding: 10px;
border-radius: @border-radius; border-radius: 10px;
background-color: @background; background-color: @background;
text-color: inherit; text-color: inherit;
cursor: pointer; cursor: pointer;
@@ -171,7 +170,7 @@ element {
margin: 5px; margin: 5px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: @background;
border-radius: @border-radius; border-radius: 10px;
border: @border-width; border: @border-width;
} }
+3 -4
View File
@@ -38,7 +38,6 @@ configuration {
/* ---- Load border width ---- */ /* ---- Load border width ---- */
@import "~/dotfiles/.settings/rofi-border.rasi" @import "~/dotfiles/.settings/rofi-border.rasi"
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
@@ -58,7 +57,7 @@ window {
anchor: northeast; anchor: northeast;
fullscreen: false; fullscreen: false;
enabled: true; enabled: true;
border-radius: @border-radius; border-radius: 10px;
background-color: transparent; background-color: transparent;
} }
@@ -134,7 +133,7 @@ mode-switcher{
button { button {
padding: 10px; padding: 10px;
border-radius: @border-radius; border-radius: 10px;
background-color: @background; background-color: @background;
text-color: inherit; text-color: inherit;
cursor: pointer; cursor: pointer;
@@ -172,7 +171,7 @@ element {
margin: 5px; margin: 5px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: @background;
border-radius: @border-radius; border-radius: 10px;
border: @border-width; border: @border-width;
} }
+5 -8
View File
@@ -38,13 +38,12 @@ configuration {
/* ---- Load border width ---- */ /* ---- Load border width ---- */
@import "~/dotfiles/.settings/rofi-border.rasi" @import "~/dotfiles/.settings/rofi-border.rasi"
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 400px; width: 400px;
x-offset: 0px; x-offset: 0px;
y-offset: 14px; y-offset: 65px;
spacing: 0px; spacing: 0px;
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
@@ -57,7 +56,7 @@ window {
anchor: north; anchor: north;
fullscreen: false; fullscreen: false;
enabled: true; enabled: true;
border-radius: @border-radius; border-radius: 10px;
background-color: transparent; background-color: transparent;
} }
@@ -121,7 +120,6 @@ entry {
cursor: text; cursor: text;
placeholder: "Search"; placeholder: "Search";
placeholder-color: inherit; placeholder-color: inherit;
border-radius: 0px;
} }
/* ---- Mode Switcher ---- */ /* ---- Mode Switcher ---- */
@@ -134,7 +132,7 @@ mode-switcher{
button { button {
padding: 10px; padding: 10px;
border-radius: @border-radius; border-radius: 10px;
background-color: @background; background-color: @background;
text-color: inherit; text-color: inherit;
cursor: pointer; cursor: pointer;
@@ -162,8 +160,7 @@ listview {
padding: 10px; padding: 10px;
margin: 0px; margin: 0px;
background-color: @background; background-color: @background;
border: 0px; border:0px;
border-radius: 0px;
} }
/* ---- Element ---- */ /* ---- Element ---- */
@@ -173,7 +170,7 @@ element {
margin: 5px; margin: 5px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: @background;
border-radius: @border-radius; border-radius: 10px;
border: @border-width; border: @border-width;
} }
+7 -9
View File
@@ -33,13 +33,12 @@ configuration {
/* ---- Load border width ---- */ /* ---- Load border width ---- */
@import "~/dotfiles/.settings/rofi-border.rasi" @import "~/dotfiles/.settings/rofi-border.rasi"
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
width: 761px; width: 761px;
x-offset: 0px; x-offset: 0px;
y-offset: 14px; y-offset: 65px;
spacing: 0px; spacing: 0px;
padding: 0px; padding: 0px;
margin: 0px; margin: 0px;
@@ -52,7 +51,7 @@ window {
anchor: north; anchor: north;
fullscreen: false; fullscreen: false;
enabled: true; enabled: true;
border-radius: @border-radius; border-radius: 10px;
background-color: transparent; background-color: transparent;
} }
@@ -115,7 +114,6 @@ entry {
cursor: text; cursor: text;
placeholder: "Search"; placeholder: "Search";
placeholder-color: inherit; placeholder-color: inherit;
border-radius: 0px;
} }
/* ---- Mode Switcher ---- */ /* ---- Mode Switcher ---- */
@@ -128,7 +126,7 @@ mode-switcher{
button { button {
padding: 10px; padding: 10px;
border-radius: @border-radius; border-radius: 10px;
background-color: @background; background-color: @background;
text-color: inherit; text-color: inherit;
cursor: pointer; cursor: pointer;
@@ -153,11 +151,11 @@ listview {
spacing: 10px; spacing: 10px;
padding: 10px; padding: 10px;
margin: 0px; margin: 0px;
fixed-height: true; fixed-height: true;
fixed-columns: true; fixed-columns: true;
background-color: @background; background-color: @background;
border: 0px; border: 0px;
border-radius: 0px; flow: horizontal;
} }
/* ---- Element ---- */ /* ---- Element ---- */
@@ -167,7 +165,7 @@ element {
margin: 5px; margin: 5px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: @background;
border-radius: @border-radius; border-radius: 10px;
border: @border-width; border: @border-width;
orientation: vertical; orientation: vertical;
} }
+5 -7
View File
@@ -39,7 +39,6 @@ configuration {
/* ---- Load border width ---- */ /* ---- Load border width ---- */
@import "~/dotfiles/.settings/rofi-border.rasi" @import "~/dotfiles/.settings/rofi-border.rasi"
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
/* ---- Window ---- */ /* ---- Window ---- */
window { window {
@@ -51,14 +50,14 @@ window {
margin: 0px; margin: 0px;
color: #FFFFFF; color: #FFFFFF;
border: @border-width; border: @border-width;
border-color: @foreground; border-color: #FFFFFF;
cursor: "default"; cursor: "default";
transparency: "real"; transparency: "real";
location: center; location: center;
anchor: center; anchor: center;
fullscreen: false; fullscreen: false;
enabled: true; enabled: true;
border-radius: @border-radius; border-radius: 10px;
background-color: transparent; background-color: transparent;
} }
@@ -100,7 +99,7 @@ inputbar {
text-color: @foreground; text-color: @foreground;
spacing: 10px; spacing: 10px;
padding: 15px; padding: 15px;
border-radius: @border-radius; border-radius: 10px;
border-color: @foreground; border-color: @foreground;
background-color: @background; background-color: @background;
children: [ "textbox-prompt-colon", "entry" ]; children: [ "textbox-prompt-colon", "entry" ];
@@ -122,7 +121,6 @@ entry {
cursor: text; cursor: text;
placeholder: "Search"; placeholder: "Search";
placeholder-color: inherit; placeholder-color: inherit;
border-radius: 0px;
} }
/* ---- Mode Switcher ---- */ /* ---- Mode Switcher ---- */
@@ -135,7 +133,7 @@ mode-switcher{
button { button {
padding: 10px; padding: 10px;
border-radius: @border-radius; border-radius: 10px;
background-color: @background; background-color: @background;
text-color: inherit; text-color: inherit;
cursor: pointer; cursor: pointer;
@@ -173,7 +171,7 @@ element {
margin: 5px; margin: 5px;
cursor: pointer; cursor: pointer;
background-color: @background; background-color: @background;
border-radius: @border-radius; border-radius: 10px;
border: @border-width; border: @border-width;
} }
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

Binary file not shown.

Before

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;/ml4w/light" themestyle="/ml4w-blur;/ml4w-blur/white"
# ----------------------------------------------------- # -----------------------------------------------------
# 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"
+5 -27
View File
@@ -11,6 +11,8 @@
{ {
// Workspaces // Workspaces
"hyprland/workspaces" : { "hyprland/workspaces" : {
"on-scroll-up": "hyprctl dispatch workspace r-1",
"on-scroll-down": "hyprctl dispatch workspace r+1",
"on-click": "activate", "on-click": "activate",
"active-only": false, "active-only": false,
"all-outputs": true, "all-outputs": true,
@@ -33,8 +35,7 @@
"on-click": "activate", "on-click": "activate",
"on-click-middle": "close", "on-click-middle": "close",
"ignore-list": [ "ignore-list": [
"Alacritty", "Alacritty"
"alacritty-dropterm"
], ],
"app_ids-mapping": { "app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition" "firefoxdeveloperedition": "firefox-developer-edition"
@@ -109,7 +110,7 @@
// Wallpaper // Wallpaper
"custom/wallpaper": { "custom/wallpaper": {
"format": "", "format": "",
"on-click": "~/dotfiles/hypr/scripts/wallpaper.sh select", "on-click": "waypaper",
"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"
}, },
@@ -135,20 +136,6 @@
"tooltip": false "tooltip": false
}, },
// Filemanager Launcher
"custom/filemanager": {
"format": "",
"on-click": "~/dotfiles/.settings/filemanager.sh",
"tooltip-format": "Open the filemanager"
},
// Browser Launcher
"custom/browser": {
"format": "",
"on-click": "~/dotfiles/.settings/browser.sh",
"tooltip-format": "Open the browser"
},
// ChatGPT Launcher // ChatGPT Launcher
"custom/chatgpt": { "custom/chatgpt": {
"format": " ", "format": " ",
@@ -160,7 +147,7 @@
"custom/calculator": { "custom/calculator": {
"format": "", "format": "",
"on-click": "qalculate-gtk", "on-click": "qalculate-gtk",
"tooltip": false "tooltip-format": "Open calculator"
}, },
// Windows VM // Windows VM
@@ -314,15 +301,6 @@
] ]
}, },
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/browser",
"custom/filemanager",
]
},
// Network // Network
"network": { "network": {
"format": "{ifname}", "format": "{ifname}",
+18
View File
@@ -0,0 +1,18 @@
<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>

After

Width:  |  Height:  |  Size: 728 B

+18
View File
@@ -0,0 +1,18 @@
<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>

After

Width:  |  Height:  |  Size: 728 B

+18
View File
@@ -0,0 +1,18 @@
<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>

After

Width:  |  Height:  |  Size: 732 B

+2
View File
@@ -0,0 +1,2 @@
<?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>

After

Width:  |  Height:  |  Size: 1.7 KiB

+2
View File
@@ -0,0 +1,2 @@
<?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>

After

Width:  |  Height:  |  Size: 1.7 KiB

+2
View File
@@ -0,0 +1,2 @@
<?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>

After

Width:  |  Height:  |  Size: 1.7 KiB

-47
View File
@@ -1,47 +0,0 @@
/* -----------------------------------------------------
* Import Pywal colors
* ----------------------------------------------------- */
@import '../../../../../.cache/wal/colors-waybar.css';
@define-color backgroundlight @color5;
@define-color backgrounddark @color11;
@define-color workspacesbackground1 @color5;
@define-color workspacesbackground2 @color11;
@define-color bordercolor @color11;
@define-color textcolor1 #FFFFFF;
@define-color textcolor2 #FFFFFF;
@define-color textcolor3 #FFFFFF;
@define-color iconcolor #FFFFFF;
@define-color base #1e1e2e;
@define-color mantle #181825;
@define-color crust #11111b;
@define-color text #cdd6f4;
@define-color subtext0 #a6adc8;
@define-color subtext1 #bac2de;
@define-color surface0 #313244;
@define-color surface1 #45475a;
@define-color surface2 #585b70;
@define-color overlay0 #6c7086;
@define-color overlay1 #7f849c;
@define-color overlay2 #9399b2;
@define-color blue #89b4fa;
@define-color lavender #b4befe;
@define-color sapphire #74c7ec;
@define-color sky #89dceb;
@define-color teal #94e2d5;
@define-color green #a6e3a1;
@define-color yellow #f9e2af;
@define-color peach #fab387;
@define-color maroon #eba0ac;
@define-color red #f38ba8;
@define-color mauve #cba6f7;
@define-color pink #f5c2e7;
@define-color flamingo #f2cdcd;
@define-color rosewater #f5e0dc;
@import '../style.css';
-70
View File
@@ -1,70 +0,0 @@
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
// ### DEFAULT Top -Laptop ### //
{
"include": "~/dotfiles/waybar/themes/custom/modules.json",
"layer": "top",
//"mode": "dock",
"exclusive": true,
"passthrough": false,
"position": "top",
"spacing": 3,
"fixed-center": true,
"ipc": true,
"margin-top": 3,
"margin-left": 8,
"margin-right": 8,
"modules-left": [
"hyprland/workspaces#pacman",
"custom/separator#dot-line",
"cpu",
"custom/separator#dot-line",
"temperature",
"custom/separator#dot-line",
"memory",
"custom/separator#dot-line",
"custom/weather",
"custom/separator#blank_3",
"custom/cava_mviz",
],
"modules-center": [
"custom/menu",
"custom/separator#dot-line",
"idle_inhibitor",
"custom/separator#dot-line",
"clock",
"custom/separator#dot-line",
"custom/light_dark",
"custom/separator#dot-line",
"custom/lock",
//],
"custom/separator#dot-line",
"custom/hint",
],
"modules-right": [
"network#speed",
"custom/separator#dot-line",
"custom/swaync",
"tray",
"mpris",
"custom/separator#dot-line",
"bluetooth",
"custom/separator#dot-line",
"battery",
"custom/separator#dot-line",
"backlight",
"custom/separator#dot-line",
"pulseaudio",
"custom/separator#dot-line",
"pulseaudio#microphone",
"custom/separator#dot-line",
"keyboard-state",
"custom/separator#dot-line",
"custom/keyboard",
"custom/separator#dot-line",
"custom/power",
],
}
-2
View File
@@ -1,2 +0,0 @@
#!/bin/bash
theme_name="Custum 4k"

Some files were not shown because too many files have changed in this diff Show More