66 Commits
Author SHA1 Message Date
wyj 0120c08205 update: use Vimix-hyprcursors instead 2024-06-12 23:20:42 -04:00
wyj e1801c20cb fix: link of vimix hyprcursor 2024-06-10 18:05:07 -04:00
wyj 8fb376e095 update: float fdm 2024-06-09 20:29:06 -04:00
wyj 34cda567b3 update: add tray on sencond display 2024-06-09 20:23:15 -04:00
wyj d1036c31c6 update: split my waybar theme as standalone meow-blur 2024-06-09 13:38:26 -04:00
wyj b156843244 fix: also set opacity for wayland vscode 2024-06-09 13:24:27 -04:00
wyj d2d71fef55 fix: disable use cursors from gtk, so hyprcursors will be used 2024-06-09 13:21:27 -04:00
wyj bc97bf2569 update: change some keybings 2024-06-07 01:51:20 -04:00
wyj 7e2f972430 update: add vimix cursor and orchis theme 2024-06-06 01:02:38 -04:00
wyj 3ba0df7b7c update: more cleanup 2024-06-06 00:57:18 -04:00
wyj a23d8a5c38 update: remove the fucking unused packages 2024-06-06 00:35:28 -04:00
wyj 6cd8154bab update: Vimix hyprcursors 2024-06-05 23:20:28 -04:00
wyj 3bc6335304 update: get my laptop layout back 2024-06-05 05:56:08 -04:00
wyj ac677d9bb9 Merge branch 'upstream-main' into upstream-custom 2024-06-05 05:50:17 -04:00
wyj 245ab326fd update: use drawer to have idle_inhibiner 2024-06-04 16:52:29 -04:00
wyj 5326446dd7 fix: typo: ture->true 2024-05-28 16:19:42 -04:00
wyj 827adc2140 update: add DP-2 in waybar 2024-05-28 15:12:43 -04:00
wyj d890fad373 feat: add window swallow 2024-05-28 02:19:29 -04:00
wyj 604242d58d fix: change workspace button style order 2024-05-27 03:37:38 -04:00
wyj a479750bd7 update: add laptop touchpad and gestures 2024-05-26 19:21:50 -04:00
wyj 08947e991c update: battery icon and space 2024-05-26 18:47:31 -04:00
wyj 3ca359ce96 fix: add kitty config 2024-05-26 18:41:55 -04:00
wyj 8a05e91018 update: add ttf-firacode-nerd 2024-05-26 18:24:11 -04:00
wyj 43e564e47a update: waybar 2024-05-26 18:22:25 -04:00
wyj 6cf2a43c2c update: waybar 2024-05-26 02:54:26 -04:00
wyj 2a3b26adb7 update: add main monitor settings to dual 2024-05-26 01:59:26 -04:00
wyj d01229183c fix: kitty-dropterm 2024-05-26 01:44:50 -04:00
wyj 20643e9048 update: change default animation 2024-05-26 01:30:03 -04:00
wyj e01895d286 update: use us keyboad layout 2024-05-26 01:11:33 -04:00
wyj 985b12cc6e update: wazbar 2024-05-26 00:50:57 -04:00
wyj 24f4e6e424 update: use kitty as drop-down term 2024-05-25 14:46:40 -04:00
wyj dd8866242e fix: add pyprland to packages 2024-05-23 19:00:19 -04:00
wyj 8fc4cb9d9e feat: add pyprland and term dropdown 2024-05-23 03:18:10 -04:00
wyj 73d4480014 feat: add chrome-flags.conf 2024-05-23 01:35:44 -04:00
wyj efb387ef14 update: change wallpapers to my own 2024-05-22 00:19:43 -04:00
wyj 3e99847d8b update: copy a waybar config 2024-05-22 00:12:43 -04:00
wyj c1542e026c update: new colors in fastfetch 2024-05-21 19:16:39 -04:00
wyj dd5a4b76ae update: float QQ 2024-05-17 13:14:19 -04:00
wyj 3a49bd1ad7 update: use fastfetch instead of neofetch 2024-05-10 17:05:12 -04:00
wyj 075a5df837 enhence: add fastfetch config 2024-05-10 17:02:55 -04:00
wyj 6500fe1c1a enhence: add display selection in screenshot 2024-05-07 23:45:52 -04:00
wyj 77b6b90448 Merge branch 'upstream-main' into upstream-custom 2024-05-05 16:40:17 -04:00
wyj 149d10a285 update: add some custom packages 2024-04-19 14:43:23 -04:00
wyj fd46e16738 update: make alacritty auto copy 2024-04-19 02:48:51 -04:00
wyj f68578bc48 update: idle... margin in waybar 2024-04-15 19:53:17 -04:00
wyj d46e796571 update: waybar ram icon 2024-04-15 13:17:46 -04:00
wyj 14a56275eb update: wifi icon in waybar 2024-04-09 14:16:04 -04:00
wyj 26654d87e9 fix: rofi border radius 2024-04-05 16:20:36 -04:00
wyj ee983e39db update: waybar tray 2024-04-05 02:59:46 -04:00
wyj 18bed6fbdf update: rofi border-radius and position etc 2024-04-05 01:33:45 -04:00
wyj 77cd4cf980 minor: space in cpu module in waybar 2024-04-04 05:10:16 -04:00
wyj f095151882 update: better cpu icon in waybar 2024-04-04 04:52:18 -04:00
wyj bc227bed49 minor: trail space 2024-04-04 04:44:25 -04:00
wyj 475fbc55cc update: better battery in waybar 2024-04-04 04:42:52 -04:00
wyj 1c96f24b09 update: new battary icons in waybar 2024-04-04 03:17:29 -04:00
wyj 71caefa11a update: rm volume number from waybar 2024-04-04 02:29:48 -04:00
wyj 4b9812dc7f update: add notify-sent to volume change 2024-04-04 00:02:50 -04:00
wyj 20ce47fa20 update: add ~/.local/bin to PATH in bashrc (for zathura-pywal) 2024-04-03 22:27:27 -04:00
wyj 1763d37ee4 update: keep memory in waybar 0.1f 2024-04-03 17:31:32 -04:00
wyj b113e1f81d update: keep idle-inh... 2024-04-03 14:34:31 -04:00
wyj 289308a542 update: keep idle-inh... 2024-04-03 14:29:05 -04:00
wyj 8c2be8fed6 Merge remote-tracking branch 'upstream/main' into upstream-custom 2024-04-03 14:22:56 -04:00
wyj beb717a961 update: custom waybar 2024-04-03 13:25:27 -04:00
wyj 2e985927af update: add custom blur waybar themes 2024-03-28 19:30:14 -04:00
wyj 8265c9fdea update: add custom waybar themes 2024-03-28 19:26:19 -04:00
wyj c1873060de update: add custom settings 2024-03-28 13:02:10 -04:00
128 changed files with 2830 additions and 2513 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="/usr/lib/ccache/bin/:$PATH" export PATH="$HOME/.local/bin/:/usr/lib/ccache/bin/:$PATH"
# ----------------------------------------------------- # -----------------------------------------------------
# DEVELOPMENT # DEVELOPMENT
-18
View File
@@ -13,24 +13,6 @@ if [[ $(_isInstalledPacman "ttf-ms-fonts") == 0 ]]; then
fi fi
fi fi
# Check for running NetworkManager.service
if [[ $(systemctl list-units --all -t service --full --no-legend "NetworkManager.service" | sed 's/^\s*//g' | cut -f1 -d' ') == "NetworkManager.service" ]];then
echo ":: NetworkManager.service already running."
else
sudo systemctl enable NetworkManager.service
sudo systemctl start NetworkManager.service
echo ":: NetworkManager.service activated successfully."
fi
# Check for running bluetooth.service
if [[ $(systemctl list-units --all -t service --full --no-legend "bluetooth.service" | sed 's/^\s*//g' | cut -f1 -d' ') == "bluetooth.service" ]];then
echo ":: bluetooth.service already running."
else
sudo systemctl enable bluetooth.service
sudo systemctl start bluetooth.service
echo ":: bluetooth.service activated successfully."
fi
if [ -d ~/dotfiles/hypr/settings/ ] ;then if [ -d ~/dotfiles/hypr/settings/ ] ;then
rm -rf ~/dotfiles/hypr/settings rm -rf ~/dotfiles/hypr/settings
echo ":: ~/dotfiles/hypr/settings removed." echo ":: ~/dotfiles/hypr/settings removed."
-6
View File
@@ -1,6 +0,0 @@
# ------------------------------------------------------
# install fish
# ------------------------------------------------------
packagesPacman=("fish");
packagesYay=();
source .install/install-packages.sh
+11 -1
View File
@@ -5,6 +5,9 @@
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
@@ -37,11 +40,18 @@ 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/eww ]; then if [ -d ~/dotfiles-versions/$version/swappy ]; 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
_installSymLink chrome-flags ~/.config/chrome-flags.conf ~/dotfiles/chrome-flags.conf ~/.config
fi
if [ -d ~/dotfiles-versions/$version/Vimix-hyprcursors ]; then
if [ ! -d ~/.local/share/icons ]; then mkdir -pv ~/.local/share/icons; fi
_installSymLink Vimix-hyprcursors ~/.local/share/icons/Vimix-hyprcursors ~/dotfiles/Vimix-hyprcursors ~/.local/share/icons/
fi
echo ":: Symbolic links created." echo ":: Symbolic links created."
echo echo
+10 -18
View File
@@ -1,65 +1,57 @@
packagesPacman=( packagesPacman=(
"pacman-contrib" "pacman-contrib"
"vim" "vim"
"bluez" "bat"
"bluez-utils" "fzf"
"zsh"
"fastfetch"
"ranger"
"btop"
"neovim" "neovim"
"wget" "wget"
"unzip" "unzip"
"alacritty" "alacritty"
"chromium"
"dunst" "dunst"
"starship" "starship"
"mpv" "mpv"
"thunar" "thunar"
"nautilus" "nautilus"
"mousepad"
"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"
"eza" "eza"
"python-pip" "python-pip"
"python-psutil" "python-psutil"
"python-rich" "python-rich"
"python-click"
"python-pywal" "python-pywal"
"python-gobject"
"pavucontrol" "pavucontrol"
"tumbler" "tumbler"
"papirus-icon-theme" "papirus-icon-theme"
"breeze-icons"
"polkit-gnome"
"brightnessctl"
"gum" "gum"
"man-pages" "man-pages"
"nm-connection-editor"
"gvfs" "gvfs"
"xdg-user-dirs" "xdg-user-dirs"
"xdg-desktop-portal-gtk" "xdg-desktop-portal-gtk"
"networkmanager"
"network-manager-applet"
"xarchiver" "xarchiver"
"thunar-archive-plugin" "thunar-archive-plugin"
"zip" "zip"
"fuse2" "fuse2"
"gtk4"
"libadwaita"
"xdg-desktop-portal" "xdg-desktop-portal"
"qalculate-gtk" "qalculate-gtk"
"imagemagick" "imagemagick"
"guvcview"
"jq" "jq"
"rofi-wayland" "rofi-wayland"
"fastfetch" "fastfetch"
"blueman"
); );
packagesYay=( packagesYay=(
"bibata-cursor-theme" "vimix-cursors"
"orchis-theme"
"trizen" "trizen"
"pacseek" "google-chrome"
); );
+2
View File
@@ -9,9 +9,11 @@ packagesPacman=(
"slurp" "slurp"
"swappy" "swappy"
"cliphist" "cliphist"
"kitty"
); );
packagesYay=( packagesYay=(
"pyprland"
"wlogout" "wlogout"
"nwg-look" "nwg-look"
"eww" "eww"
+3
View File
@@ -35,4 +35,7 @@ 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."
-8
View File
@@ -14,14 +14,6 @@ _showRestoreOptions() {
restorelist+="~/dotfiles/.bashrc " restorelist+="~/dotfiles/.bashrc "
selectedlist+="~/dotfiles/.bashrc," selectedlist+="~/dotfiles/.bashrc,"
fi fi
if [ -f ~/dotfiles/.zshrc ]; then
restorelist+="~/dotfiles/.zshrc "
selectedlist+="~/dotfiles/.zshrc,"
fi
if [ -f ~/dotfiles/.p10k.zsh ]; then
restorelist+="~/dotfiles/.p10k.zsh "
selectedlist+="~/dotfiles/.p10k.zsh,"
fi
if [ -d ~/dotfiles/.settings ]; then if [ -d ~/dotfiles/.settings ]; then
restorelist+="~/dotfiles/.settings " restorelist+="~/dotfiles/.settings "
selectedlist+="~/dotfiles/.settings," selectedlist+="~/dotfiles/.settings,"
+1 -5
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
@@ -28,7 +28,3 @@ input {
} }
sensitivity = 0 # -1.0 - 1.0, 0 means no modification. sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
} }
gestures {
workspace_swipe = true
}
+3 -8
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,14 +22,9 @@ input {
# natural_scroll = false # natural_scroll = false
# for laptop # for laptop
natural_scroll = true natural_scroll = yes
middle_button_emulation = true middle_button_emulation = true
clickfinger_behavior = true clickfinger_behavior = 1
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
}
+8 -7
View File
@@ -5,16 +5,17 @@ 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://gitlab.com/stephan-raabe/wallpaper/ ?" echo "Do you want to download the wallpapers from repository https://gitea.phywyj.dynv6.net/wyj/wallpaper.git ?"
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
-22
View File
@@ -1,22 +0,0 @@
# ------------------------------------------------------
# install zsh and zinit
# ------------------------------------------------------
packagesPacman=("zsh");
echo "Please select the zsh plugin manager:"
zsh_manager=$(gum choose --limit=1 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " "oh my zsh" "zinit")
if [[ "${zsh_manager}" == *"oh my zsh"* ]]; then
source .install/install-packages.sh
if [ ! -d ~/.oh-my-zsh ]; then
RUNZSH=no CHSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
fi
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
_installSymLink zshrc ~/.zshrc ~/dotfiles/.zshrc_ohmyzsh ~/.zshrc
else
packagesYay=("zinit");
source .install/install-packages.sh
_installSymLink zshrc ~/.zshrc ~/dotfiles/.zshrc_zinit ~/.zshrc
fi
_installSymLink p10k ~/.p10k.zsh ~/dotfiles/.p10k.zsh ~/
-25
View File
@@ -1,25 +0,0 @@
# ------------------------------------------------------
# Select additional shell
# ------------------------------------------------------
echo -e "${GREEN}"
figlet "Zsh Fish"
echo -e "${NONE}"
echo "Please select if you want to install zsh or fish."
echo
zshfish=$(gum choose --no-limit --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " "zsh" "fish")
if [ -z "${zshfish}" ] ;then
echo ":: No shell selected. Keep using bash."
else
echo "Please select your default shell."
echo
shell=$(echo -e "bash\n$zshfish" | gum choose --limit=1 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) ")
if [[ $zshfish == *"zsh"* ]]; then
echo ":: zsh selected"
source .install/zsh.sh
fi
if [[ $zshfish == *"fish"* ]]; then
echo ":: fish selected"
source .install/fish.sh
fi
fi
-1718
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1 +1 @@
chromium google-chrome-stable
+1 -1
View File
@@ -1 +1 @@
mousepad ~/dotfiles/.settings/terminal.sh -e vim
-1
View File
@@ -1 +0,0 @@
nm-connection-editor
+3
View File
@@ -0,0 +1,3 @@
* {
border-radius: 15px;
}
+3 -1
View File
@@ -1 +1,3 @@
* { border-width: 3px; } * {
border-width: 2px;
}
-1
View File
@@ -1 +0,0 @@
alacritty -e pacseek
+1 -1
View File
@@ -1 +1 @@
2.9.1.2 2.9.1.1
+1 -1
View File
@@ -1 +1 @@
2912 2911
-88
View File
@@ -1,88 +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
# -----------------------------------------------------
# Oh my zsh settings
# -----------------------------------------------------
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# ZSH_THEME="robbyrussell"
ZSH_THEME="powerlevel10k/powerlevel10k"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
zstyle ':omz:update' mode auto
# Uncomment the following line to display red dots whilst waiting for completion.
# You can also set it to another string to have that shown instead of the default red dots.
# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
COMPLETION_WAITING_DOTS="true"
# -----------------------------------------------------
# Plugins
# -----------------------------------------------------
plugins=(git colored-man-pages eza z sudo zsh-autosuggestions fast-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# -----------------------------------------------------
# Variables
# -----------------------------------------------------
export PATH=$HOME/.cargo/bin:$HOME/.local/bin:/usr/local/bin:$PATH
# export MANPATH="/usr/local/man:$MANPATH"
export LANG=en_US.UTF-8
export EDITOR='nvim'
export MAKEFLAGS='-j$(nproc)'
export CFLAGS='-march=native -O2 -pipe'
# -----------------------------------------------------
# Alias
# -----------------------------------------------------
alias sshkoko="TERM=xterm-256color ssh ywang2020@koko-login.hpc.fau.edu"
alias wakemac="wakeonlan 18:C0:4D:8D:56:0E"
alias ls="eza --icons=auto"
alias githashselector="git log --oneline | gum filter | cut -d' ' -f1"
alias bat="bat --paging=never"
alias code="code --ozone-platform=wayland --enable-wayland-ime"
# fix ssh if in kitty
if [[ "$TERM" == "xterm-kitty" && -z "$SSH_CONNECTION" ]]; then
alias ssh="kitty +kitten ssh"
fi
# -----------------------------------------------------
# Completion
# -----------------------------------------------------
[[ -f /home/wyj/.dart-cli-completion/zsh-config.zsh ]] && . /home/wyj/.dart-cli-completion/zsh-config.zsh || true
# -----------------------------------------------------
# evals
# -----------------------------------------------------
eval $(thefuck --alias)
eval "$(fzf --zsh)"
# -----------------------------------------------------
# PYWAL
# -----------------------------------------------------
cat ~/.cache/wal/sequences
# -----------------------------------------------------
# Custom
# -----------------------------------------------------
[[ ! -f ~/.custom.zsh ]] || source ~/.custom.zsh
# -----------------------------------------------------
# miscs
# -----------------------------------------------------
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
-64
View File
@@ -1,64 +0,0 @@
# ---------------------------------------------------
# Zinit and plugins
# ---------------------------------------------------
source /usr/share/zinit/zinit.zsh
# Load powerlevel10k theme
zinit ice depth"1" # git clone depth
zinit light romkatv/powerlevel10k
# Load plugins
zinit light zsh-users/zsh-autosuggestions
zinit light zdharma-continuum/fast-syntax-highlighting
# oh-my-zsh plugins
zi snippet OMZL::git.zsh
zi snippet OMZP::git
zi snippet OMZP::sudo
zi snippet OMZP::colored-man-pages
zi snippet OMZP::eza
zi snippet OMZP::z
# others
zplugin ice as"program" pick"bin/git-dsf"
zplugin light zdharma-continuum/zsh-diff-so-fancy
# ----------------------------------------------------
# Variables
# ----------------------------------------------------
export PATH=$HOME/bin:$HOME/.cargo/bin:$HOME/.local/bin:/usr/local/bin:$PATH
export EDITOR=vim
# ----------------------------------------------------
# Alias
# ----------------------------------------------------
alias sshkoko="TERM=xterm-256color ssh ywang2020@koko-login.hpc.fau.edu"
alias wakemac="wakeonlan 18:C0:4D:8D:56:0E"
alias eza="eza --icons=auto"
alias githashselector="git log --oneline | gum filter | cut -d' ' -f1"
alias bat="bat --paging=never"
# -----------------------------------------------------
# evals
# -----------------------------------------------------
eval $(thefuck --alias)
eval "$(fzf --zsh)"
# -----------------------------------------------------
# Miscs
# -----------------------------------------------------
# fix ssh if in kitty
if [[ "$TERM" == "xterm-kitty" && -z "$SSH_CONNECTION" ]]; then
alias ssh="kitty +kitten ssh"
fi
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
# -----------------------------------------------------
# PYWAL
# -----------------------------------------------------
cat ~/.cache/wal/sequences
# -----------------------------------------------------
# Custom
# -----------------------------------------------------
[[ ! -f ~/.custom.zsh ]] || source ~/.custom.zsh
-8
View File
@@ -1,11 +1,3 @@
Version 2.9.1.2
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9.1.1
--------------------------------------------------------
- Workspaces module in waybar updated to enable scroll to change the workspace https://gitlab.com/stephan-raabe/dotfiles/-/merge_requests/114
- More functions deactivated in Game Mode (SUPER+ALT+G)
- 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
-------------------------------------------------------- --------------------------------------------------------
+1 -3
View File
@@ -1,4 +1,4 @@
# ML4W Dotfiles 2.9.1.2 # ML4W Dotfiles 2.9.1.1
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.
@@ -55,8 +55,6 @@ 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...
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
name = Extracted Theme
description = Automatically extracted with hyprcursor-util
version = 0.1
cursors_directory = hyprcursors
+3
View File
@@ -11,3 +11,6 @@ opacity = 0.7
[window.padding] [window.padding]
x = 15 x = 15
y = 15 y = 15
[selection]
save_to_clipboard = true
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
--ozone-platform=wayland --enable-wayland-ime
+163 -108
View File
@@ -1,110 +1,165 @@
// Thanks to Bina // Note that you must replace the image path to an existing image to display it.
{ {
"$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": {
"padding": { // "type": "iterm",
"top": 2 // "source": "/Users/carter/Desktop/apple1.png",
} // "width": 28,
}, // "height": 12
"display": { // },
"separator": " ➜ " "display": {
}, // "separator": "  "
"modules": [ "separator": " "
"break", },
"break", "modules": [
"break", {
{ "type": "host",
"type": "os", "key": "╭─󰌢",
"key": "OS ", "keyColor": "green"
"keyColor": "31", // = color1 },
}, {
{ "type": "cpu",
"type": "kernel", "key": "├─󰻠",
"key": " ├  ", "keyColor": "green"
"keyColor": "31", },
}, {
{ "type": "gpu",
"type": "packages", "key": "├─󰍛",
"format": "{} (pacman)", "keyColor": "green"
"key": " ├ 󰏖 ", },
"keyColor": "31", {
}, "type": "disk",
{ "key": "├─",
"type": "shell", "keyColor": "green"
"key": " └  ", },
"keyColor": "31", {
}, "type": "memory",
"break", "key": "├─󰑭",
{ "keyColor": "green"
"type": "wm", },
"key": "WM ", {
"keyColor": "32", "type": "swap",
}, "key": "├─󰓡",
{ "keyColor": "green"
"type": "wmtheme", },
"key": " ├ 󰉼 ", {
"keyColor": "32", "type": "display",
}, "key": "├─󰍹",
{ "keyColor": "green"
"type": "icons", },
"key": " ├ 󰀻 ", {
"keyColor": "32", "type": "battery",
}, "key": "├─",
{ "keyColor": "green"
"type": "cursor", },
"key": " ├  ", {
"keyColor": "32", "type": "poweradapter",
}, "key": "├─",
{ "keyColor": "green"
"type": "terminal", },
"key": " ├  ", {
"keyColor": "32", "type": "gamepad",
}, "key": "├─",
{ "keyColor": "green"
"type": "terminalfont", },
"key": " └  ", {
"keyColor": "32", "type": "bluetooth",
}, "key": "├─",
"break", "keyColor": "green"
{ },
"type": "host", {
"format": "{5} {1} Type {2}", "type": "sound",
"key": "PC ", "key": "╰─",
"keyColor": "33", "keyColor": "green"
}, },
{ "break",
"type": "cpu",
"format": "{1} ({3}) @ {7} GHz", {
"key": " ├  ", "type": "shell",
"keyColor": "33", "key": "╭─",
}, "keyColor": "yellow"
{ },
"type": "gpu", {
"format": "{1} {2} @ {12} GHz", "type": "terminal",
"key": " ├ 󰢮 ", "key": "├─",
"keyColor": "33", "keyColor": "yellow"
}, },
{ {
"type": "memory", "type": "terminalfont",
"key": " ├  ", "key": "├─",
"keyColor": "33", "keyColor": "yellow"
}, },
{ {
"type": "swap", "type": "lm",
"key": " ├ 󰓡 ", "key": "├─󰧨",
"keyColor": "33", "keyColor": "yellow"
}, },
{ {
"type": "disk", "type": "de",
"key": " ├ 󰋊 ", "key": "├─",
"keyColor": "33", "keyColor": "yellow"
}, },
{ {
"type": "monitor", "type": "wm",
"key": " └  ", "key": "├─",
"keyColor": "33", "keyColor": "yellow"
}, },
"break", {
"break", "type": "theme",
] "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/default.conf source = ~/dotfiles/hypr/conf/animations/animations-high.conf
+3 -3
View File
@@ -29,8 +29,8 @@ 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
# Start autostart cleanup # Start autostart cleanup
exec-once = ~/dotfiles/hypr/scripts/cleanup.sh exec-once = ~/dotfiles/hypr/scripts/cleanup.sh
# Load configuration from ML4W Hyprland Settings App
exec = ~/.config/ml4w-hyprland-settings/hyprctl.sh
+2 -1
View File
@@ -1 +1,2 @@
exec-once = hyprctl setcursor Bibata-Modern-Ice 24 exec-once = hyprctl setcursor Vimix-hyprcursors 24
env = HYPRCURSOR_THEME,Vimix-hyprcursors
+1 -1
View File
@@ -1 +1 @@
source = ~/dotfiles/hypr/conf/decorations/default.conf source = ~/dotfiles/hypr/conf/decorations/custom.conf
+25
View File
@@ -0,0 +1,25 @@
# -----------------------------------------------------
# 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 -1
View File
@@ -1 +1 @@
source = ~/dotfiles/hypr/conf/keybindings/default.conf source = ~/dotfiles/hypr/conf/keybindings/custom.conf
+100
View File
@@ -0,0 +1,100 @@
# -----------------------------------------------------
# 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 SHIFT, E, 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, SPACE, 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 CTRL, B, exec, ~/dotfiles/waybar/toggle.sh
bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.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
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
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
+77 -76
View File
@@ -7,88 +7,89 @@
$mainMod = SUPER $mainMod = SUPER
# Applications # Applications
bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh # Open the terminal bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh
bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh # Open the browser bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh
bind = $mainMod, E, exec, ~/dotfiles/.settings/filemanager.sh # Open the filemanager
# Windows # Windows
bind = $mainMod, Q, killactive # Kill active window bind = $mainMod, Q, killactive
bind = $mainMod, F, fullscreen # Set active window to fullscreen bind = $mainMod, F, fullscreen
bind = $mainMod, T, togglefloating # Toggle active windows into floating mode bind = $mainMod, E, exec, ~/dotfiles/.settings/filemanager.sh
bind = $mainMod SHIFT, T, exec, ~/dotfiles/hypr/scripts/toggleallfloat.sh # Toggle all windows into floating mode bind = $mainMod, T, togglefloating
bind = $mainMod, J, togglesplit # Toggle split bind = $mainMod SHIFT, T, exec, ~/dotfiles/hypr/scripts/toggleallfloat.sh
bind = $mainMod, left, movefocus, l # Move focus left bind = $mainMod, J, togglesplit
bind = $mainMod, right, movefocus, r # Move focus right bind = $mainMod, left, movefocus, l
bind = $mainMod, up, movefocus, u # Move focus up bind = $mainMod, right, movefocus, r
bind = $mainMod, down, movefocus, d # Move focus down bind = $mainMod, up, movefocus, u
bindm = $mainMod, mouse:272, movewindow # Move window with the mouse bind = $mainMod, down, movefocus, d
bindm = $mainMod, mouse:273, resizewindow # Resize window with the mouse bindm = $mainMod, mouse:272, movewindow
bind = $mainMod SHIFT, right, resizeactive, 100 0 # Increase window width with keyboard bindm = $mainMod, mouse:273, resizewindow
bind = $mainMod SHIFT, left, resizeactive, -100 0 # Reduce window width with keyboard bind = $mainMod SHIFT, right, resizeactive, 100 0
bind = $mainMod SHIFT, down, resizeactive, 0 100 # Increase window height with keyboard bind = $mainMod SHIFT, left, resizeactive, -100 0
bind = $mainMod SHIFT, up, resizeactive, 0 -100 # Reduce window height with keyboard bind = $mainMod SHIFT, up, resizeactive, 0 -100
bind = $mainMod, G, togglegroup # Toggle window group bind = $mainMod SHIFT, down, resizeactive, 0 100
bind = $mainMod, G, togglegroup
# Actions # Actions
bind = $mainMod SHIFT, A, exec, ~/dotfiles/hypr/scripts/toggle-animations.sh # Toggle animations bind = $mainMod SHIFT, A, exec, ~/dotfiles/hypr/scripts/toggle-animations.sh
bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh # Take a screenshot bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh
bind = $mainMod CTRL, Q, exec, wlogout # Start wlogout bind = $mainMod CTRL, Q, exec, wlogout
bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh # Change the wallpaper bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh
bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select # Open wallpaper selector bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select
bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i # Open application launcher bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i
bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh # Show keybindings bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh
bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh # Reload waybar bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh
bind = $mainMod CTRL, B, exec, ~/dotfiles/waybar/toggle.sh # Toggle waybar bind = $mainMod CTRL, B, exec, ~/dotfiles/waybar/toggle.sh
bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh # Reload hyprland config bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.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 # Open workspace 1 bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2 # Open workspace 2 bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3 # Open workspace 3 bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4 # Open workspace 4 bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5 # Open workspace 5 bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6 # Open workspace 6 bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7 # Open workspace 7 bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8 # Open workspace 8 bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9 # Open workspace 9 bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10 # Open workspace 10 bind = $mainMod, 0, workspace, 10
bind = $mainMod SHIFT, 1, movetoworkspace, 1 # Move active window to workspace 1 bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2 # Move active window to workspace 2 bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3 # Move active window to workspace 3 bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4 # Move active window to workspace 4 bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5 # Move active window to workspace 5 bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6 # Move active window to workspace 6 bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7 # Move active window to workspace 7 bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8 # Move active window to workspace 8 bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9 # Move active window to workspace 9 bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Move active window to workspace 10 bind = $mainMod SHIFT, 0, movetoworkspace, 10
bind = $mainMod, mouse_down, workspace, e+1 # Open next workspace bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1 # Open previous workspace bind = $mainMod, mouse_up, workspace, e-1
bind = $mainMod CTRL, down, workspace, empty # Open the next empty workspace bind = $mainMod CTRL, down, workspace, empty
# Passthrough SUPER KEY to Virtual Machine
bind = $mainMod, P, submap, passthru # Passthrough SUPER key to virtual machine
submap = passthru
bind = SUPER, Escape, submap, reset # Get SUPER key back from virtual machine
submap = reset
# Fn keys # Fn keys
bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10% # Increase brightness by 10% bind = , XF86MonBrightnessUp, exec, brightnessctl -q s +10%
bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%- # Reduce brightness by 10% bind = , XF86MonBrightnessDown, exec, brightnessctl -q s 10%-
bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5% # Increase volume by 5% bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5% # Reduce volume by 5% bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle # Toggle mute bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = , XF86AudioPlay, exec, playerctl play-pause # Audio play pause bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioPause, exec, playerctl pause # Audio pause bind = , XF86AudioPause, exec, playerctl pause
bind = , XF86AudioNext, exec, playerctl next # Audio next bind = , XF86AudioNext, exec, playerctl next
bind = , XF86AudioPrev, exec, playerctl previous # Audio previous bind = , XF86AudioPrev, exec, playerctl previous
bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle # Toggle microphone bind = , XF86AudioMicMute, exec, pactl set-source-mute @DEFAULT_SOURCE@ toggle
bind = , XF86Calculator, exec, qalculate-gtk # Open calculator bind = , XF86Calculator, exec, qalculate-gtk
bind = , XF86Lock, exec, hyprlock # Open screenlock bind = , XF86Lock, exec, hyprlock
bind = , XF86Tools, exec, alacritty --class dotfiles-floating -e ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage # Open ML4W Dotfiles Settings app 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
+4 -2
View File
@@ -3,7 +3,7 @@
# https://wiki.hyprland.org/Configuring/Variables/#input # https://wiki.hyprland.org/Configuring/Variables/#input
# ----------------------------------------------------- # -----------------------------------------------------
input { input {
kb_layout = de kb_layout = us
kb_variant = kb_variant =
kb_model = kb_model =
kb_options = kb_options =
@@ -11,7 +11,9 @@ input {
follow_mouse = 1 follow_mouse = 1
mouse_refocus=false mouse_refocus=false
touchpad { touchpad {
natural_scroll = false natural_scroll = true
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.
} }
+8 -1
View File
@@ -12,5 +12,12 @@ 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,4 +5,6 @@
misc { misc {
disable_hyprland_logo = true disable_hyprland_logo = true
disable_splash_rendering = true disable_splash_rendering = true
enable_swallow = true
swallow_regex = ^(Alacritty)$
} }
+4 -3
View File
@@ -22,9 +22,9 @@ 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.hyprland.settings) windowrulev2 = float,class:(com.ml4w.hyprlandsettings)
windowrulev2 = size 700 600,class:(com.ml4w.hyprland.settings) windowrulev2 = size 700 600,class:(com.ml4w.hyprlandsettings)
windowrulev2 = center,class:(com.ml4w.hyprland.settings) windowrulev2 = center,class:(com.ml4w.hyprlandsettings)
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)
@@ -37,3 +37,4 @@ windowrulev2 = center,class:(dotfiles-floating)
env = APPIMAGELAUNCHER_DISABLE,1 env = APPIMAGELAUNCHER_DISABLE,1
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_CURRENT_DESKTOP,Hyprland
+10
View File
@@ -0,0 +1,10 @@
# -----------------------------------------------------
# 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/default.conf source = ~/dotfiles/hypr/conf/windowrules/custom.conf
+21
View File
@@ -0,0 +1,21 @@
# -----------------------------------------------------
# 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 = opacity 0.75, ^(code-url-handler)$
windowrule = float,^(QQ)$
windowrule = float,^(fdm)$
+1 -1
View File
@@ -6,7 +6,7 @@
general { general {
gaps_in = 10 gaps_in = 10
gaps_out = 14 gaps_out = 14
border_size = 3 border_size = 2
col.active_border = $color11 col.active_border = $color11
col.inactive_border = rgba(ffffffff) col.inactive_border = rgba(ffffffff)
layout = dwindle layout = dwindle
+12
View File
@@ -0,0 +1,12 @@
[pyprland]
plugins = [
"scratchpads",
"magnify",
]
[scratchpads.term]
animation = "fromTop"
command = "kitty --class kitty-dropterm"
class = "kitty-dropterm"
size = "75% 60%"
+5 -10
View File
@@ -7,18 +7,13 @@
# #
if [ -f ~/.cache/gamemode ] ;then if [ -f ~/.cache/gamemode ] ;then
hyprctl reload hyprctl keyword animations:enabled true
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 --batch "\ hyprctl keyword animations:enabled false
keyword animations:enabled 0;\ hyprctl keyword decoration:blur:enabled false
keyword decoration:drop_shadow 0;\ touch ~/.cache/gamemode
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
+4 -4
View File
@@ -29,7 +29,7 @@ gsettings set "$gnome_schema" cursor-theme "$cursor_theme"
gsettings set "$gnome_schema" font-name "$font_name" gsettings set "$gnome_schema" font-name "$font_name"
gsettings set "$gnome_schema" color-scheme "prefer-dark" gsettings set "$gnome_schema" color-scheme "prefer-dark"
if [ -f ~/dotfiles/hypr/conf/cursor.conf ] ;then # if [ -f ~/dotfiles/hypr/conf/cursor.conf ] ;then
echo "exec-once = hyprctl setcursor $cursor_theme $cursor_size" > ~/dotfiles/hypr/conf/cursor.conf # echo "exec-once = hyprctl setcursor $cursor_theme $cursor_size" > ~/dotfiles/hypr/conf/cursor.conf
hyprctl setcursor $cursor_theme $cursor_size # hyprctl setcursor $cursor_theme $cursor_size
fi # fi
+9 -25
View File
@@ -21,29 +21,13 @@ 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 # -----------------------------------------------------
while read -r line keybinds=$(grep -oP '(?<=bind = ).*' $config_file)
do keybinds=$(echo "$keybinds" | sed 's/$mainMod/SUPER/g'| sed 's/,\([^,]*\)$/ = \1/' | sed 's/, exec//g' | sed 's/^,//g')
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 -markup -eh 2 -replace -p "Keybinds" -config ~/dotfiles/rofi/config-compact.rasi <<< "$keybinds" rofi -dmenu -i -replace -p "Keybinds" -config ~/dotfiles/rofi/config-compact.rasi <<< "$keybinds"
-1
View File
@@ -76,7 +76,6 @@ fi
if [[ $profile == *"Qtile"* ]]; then if [[ $profile == *"Qtile"* ]]; then
source .install/qtile-dotfiles.sh source .install/qtile-dotfiles.sh
fi fi
source .install/zshfish.sh
source .install/settings.sh source .install/settings.sh
source .install/apps.sh source .install/apps.sh
source .install/gtk.sh source .install/gtk.sh
+14
View File
@@ -0,0 +1,14 @@
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

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