Compare commits
141
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b4977e52a | ||
|
|
f88efba29e | ||
|
|
12a4ccbc13 | ||
|
|
bc97bf2569 | ||
|
|
6e5fed1913 | ||
|
|
7e2f972430 | ||
|
|
5ad9e37759 | ||
|
|
3ba0df7b7c | ||
|
|
a23d8a5c38 | ||
|
|
6cd8154bab | ||
|
|
35c4cf74d2 | ||
|
|
04496cb334 | ||
|
|
7e5feec5e0 | ||
|
|
72a185c97e | ||
|
|
3bc6335304 | ||
|
|
36764c77b3 | ||
|
|
c2d2d45546 | ||
|
|
ac677d9bb9 | ||
|
|
1331fab4fb | ||
|
|
245ab326fd | ||
|
|
0a4d1b5a6a | ||
|
|
5326446dd7 | ||
|
|
60fc0572f0 | ||
|
|
827adc2140 | ||
|
|
2b45dd70d5 | ||
|
|
d890fad373 | ||
|
|
b6507b5b36 | ||
|
|
604242d58d | ||
|
|
dc31d31fb0 | ||
|
|
a479750bd7 | ||
|
|
9971614a64 | ||
|
|
308cf54c19 | ||
|
|
08947e991c | ||
|
|
3ca359ce96 | ||
|
|
a6ee6ced28 | ||
|
|
8a05e91018 | ||
|
|
43e564e47a | ||
|
|
1f63a28eeb | ||
|
|
6cf2a43c2c | ||
|
|
967c5bbc57 | ||
|
|
ca4b934dcf | ||
|
|
507143360d | ||
|
|
2a3b26adb7 | ||
|
|
23467523ed | ||
|
|
d01229183c | ||
|
|
20643e9048 | ||
|
|
8828e93f78 | ||
|
|
50e0fca95c | ||
|
|
e01895d286 | ||
|
|
6a943e7e61 | ||
|
|
985b12cc6e | ||
|
|
24f4e6e424 | ||
|
|
dd8866242e | ||
|
|
2a649838a4 | ||
|
|
8fc4cb9d9e | ||
|
|
73d4480014 | ||
|
|
efb387ef14 | ||
|
|
9f9ea20ee3 | ||
|
|
3e99847d8b | ||
|
|
bc37c0e612 | ||
|
|
c1542e026c | ||
|
|
567a892f8b | ||
|
|
c99a2809ce | ||
|
|
23f8294d48 | ||
|
|
dd5a4b76ae | ||
|
|
63a3e3e222 | ||
|
|
08096e83ff | ||
|
|
89623ce4f3 | ||
|
|
a0f43ada10 | ||
|
|
8503665117 | ||
|
|
3a49bd1ad7 | ||
|
|
3dac8139fe | ||
|
|
075a5df837 | ||
|
|
1e6940e88d | ||
|
|
6500fe1c1a | ||
|
|
90c646a8fe | ||
|
|
77b6b90448 | ||
|
|
b4a5e4d99c | ||
|
|
5c3bb19b01 | ||
|
|
149d10a285 | ||
|
|
8f7e902f81 | ||
|
|
fd46e16738 | ||
|
|
3c8149ed0b | ||
|
|
f68578bc48 | ||
|
|
c7fbe7c7f5 | ||
|
|
d46e796571 | ||
|
|
14a56275eb | ||
|
|
cc4a4fb1c0 | ||
|
|
26654d87e9 | ||
|
|
056ffe440f | ||
|
|
b9025fbfb1 | ||
|
|
d7a50ce2fe | ||
|
|
7a4d9f7b21 | ||
|
|
2c3ff9e10d | ||
|
|
249e71d187 | ||
|
|
48eab0a6ab | ||
|
|
380b43ea30 | ||
|
|
607178e5a2 | ||
|
|
ee983e39db | ||
|
|
71a63edafa | ||
|
|
18bed6fbdf | ||
|
|
091bbbfb1a | ||
|
|
77cd4cf980 | ||
|
|
f095151882 | ||
|
|
f058ea58f7 | ||
|
|
bc227bed49 | ||
|
|
475fbc55cc | ||
|
|
6a9270c276 | ||
|
|
1c96f24b09 | ||
|
|
71caefa11a | ||
|
|
4b9812dc7f | ||
|
|
58966c14c8 | ||
|
|
20ce47fa20 | ||
|
|
d2b6c0adcc | ||
|
|
1763d37ee4 | ||
|
|
75759b18c3 | ||
|
|
b113e1f81d | ||
|
|
a1f6438b3c | ||
|
|
289308a542 | ||
|
|
87b7bed3fe | ||
|
|
8c2be8fed6 | ||
|
|
45214117ef | ||
|
|
07c38a02b5 | ||
|
|
beb717a961 | ||
|
|
fdbd7de334 | ||
|
|
0d4b85956e | ||
|
|
059396985d | ||
|
|
8565146242 | ||
|
|
d2a368d166 | ||
|
|
c6678dcc96 | ||
|
|
b6156e3233 | ||
|
|
0da2e83f29 | ||
|
|
9f8b285ba3 | ||
|
|
671a47f09e | ||
|
|
51a350c544 | ||
|
|
2e985927af | ||
|
|
8265c9fdea | ||
|
|
d28d59b6b8 | ||
|
|
c1873060de | ||
|
|
943cb53c93 | ||
|
|
c3bfe46e79 |
@@ -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 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
|
||||
|
||||
@@ -13,24 +13,6 @@ if [[ $(_isInstalledPacman "ttf-ms-fonts") == 0 ]]; then
|
||||
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
|
||||
rm -rf ~/dotfiles/hypr/settings
|
||||
echo ":: ~/dotfiles/hypr/settings removed."
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------
|
||||
# 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
|
||||
Executable
+17
@@ -0,0 +1,17 @@
|
||||
|
||||
# ------------------------------------------------------
|
||||
# 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,6 +5,9 @@
|
||||
if [ -d ~/dotfiles-versions/$version/alacritty ]; then
|
||||
_installSymLink alacritty ~/.config/alacritty ~/dotfiles/alacritty/ ~/.config
|
||||
fi
|
||||
if [ -d ~/dotfiles-versions/$version/kitty ]; then
|
||||
_installSymLink kitty ~/.config/kitty ~/dotfiles/kitty/ ~/.config
|
||||
fi
|
||||
if [ -d ~/dotfiles-versions/$version/vim ]; then
|
||||
_installSymLink vim ~/.config/vim ~/dotfiles/vim/ ~/.config
|
||||
fi
|
||||
@@ -37,11 +40,17 @@ fi
|
||||
if [ -d ~/dotfiles-versions/$version/swappy ]; then
|
||||
_installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config
|
||||
fi
|
||||
if [ -d ~/dotfiles-versions/$version/eww ]; then
|
||||
if [ -d ~/dotfiles-versions/$version/swappy ]; then
|
||||
_installSymLink eww ~/.config/eww ~/dotfiles/eww/ ~/.config
|
||||
fi
|
||||
if [ -d ~/dotfiles-versions/$version/fastfetch ]; then
|
||||
_installSymLink fastfetch ~/.config/fastfetch ~/dotfiles/fastfetch/ ~/.config
|
||||
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
|
||||
_installSymLink Vimix-hyprcursors ~/.local/share/icons/Vimix-hyprcursors ~/dotfiles/Vimix-hyprcursors
|
||||
fi
|
||||
echo ":: Symbolic links created."
|
||||
echo
|
||||
|
||||
@@ -1,65 +1,57 @@
|
||||
packagesPacman=(
|
||||
"pacman-contrib"
|
||||
"vim"
|
||||
"bluez"
|
||||
"bluez-utils"
|
||||
"bat"
|
||||
"fzf"
|
||||
"zsh"
|
||||
"fastfetch"
|
||||
"ranger"
|
||||
"btop"
|
||||
"neovim"
|
||||
"wget"
|
||||
"unzip"
|
||||
"alacritty"
|
||||
"chromium"
|
||||
"dunst"
|
||||
"starship"
|
||||
"mpv"
|
||||
"thunar"
|
||||
"nautilus"
|
||||
"mousepad"
|
||||
"noto-fonts"
|
||||
"otf-font-awesome"
|
||||
"ttf-fira-sans"
|
||||
"ttf-fira-code"
|
||||
"ttf-firacode-nerd"
|
||||
"ttf-firacode-nerd"
|
||||
"figlet"
|
||||
"vlc"
|
||||
"eza"
|
||||
"python-pip"
|
||||
"python-psutil"
|
||||
"python-rich"
|
||||
"python-click"
|
||||
"python-pywal"
|
||||
"python-gobject"
|
||||
"pavucontrol"
|
||||
"tumbler"
|
||||
"papirus-icon-theme"
|
||||
"breeze-icons"
|
||||
"polkit-gnome"
|
||||
"brightnessctl"
|
||||
"gum"
|
||||
"man-pages"
|
||||
"nm-connection-editor"
|
||||
"gvfs"
|
||||
"xdg-user-dirs"
|
||||
"xdg-desktop-portal-gtk"
|
||||
"networkmanager"
|
||||
"network-manager-applet"
|
||||
"xarchiver"
|
||||
"thunar-archive-plugin"
|
||||
"zip"
|
||||
"fuse2"
|
||||
"gtk4"
|
||||
"libadwaita"
|
||||
"xdg-desktop-portal"
|
||||
"qalculate-gtk"
|
||||
"imagemagick"
|
||||
"guvcview"
|
||||
"jq"
|
||||
"rofi-wayland"
|
||||
"fastfetch"
|
||||
"blueman"
|
||||
);
|
||||
|
||||
packagesYay=(
|
||||
"bibata-cursor-theme"
|
||||
"vimix-cursors"
|
||||
"orchis-theme"
|
||||
"trizen"
|
||||
"pacseek"
|
||||
"google-chrome"
|
||||
);
|
||||
|
||||
@@ -9,9 +9,11 @@ packagesPacman=(
|
||||
"slurp"
|
||||
"swappy"
|
||||
"cliphist"
|
||||
"kitty"
|
||||
);
|
||||
|
||||
packagesYay=(
|
||||
"pyprland"
|
||||
"wlogout"
|
||||
"nwg-look"
|
||||
"eww"
|
||||
|
||||
@@ -35,4 +35,7 @@ fi
|
||||
if [ -d ~/dotfiles-versions/$version/swappy ]; then
|
||||
_installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config
|
||||
fi
|
||||
if [ -d ~/dotfiles-versions/$version/fastfetch ]; then
|
||||
_installSymLink fastfetch ~/.config/fastfetch ~/dotfiles/fastfetch/ ~/.config
|
||||
fi
|
||||
echo ":: Symbolic links created."
|
||||
|
||||
@@ -28,7 +28,3 @@ input {
|
||||
}
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
}
|
||||
@@ -22,14 +22,9 @@ input {
|
||||
# natural_scroll = false
|
||||
|
||||
# for laptop
|
||||
natural_scroll = true
|
||||
natural_scroll = yes
|
||||
middle_button_emulation = true
|
||||
clickfinger_behavior = true
|
||||
disable_while_typing = true
|
||||
clickfinger_behavior = 1
|
||||
}
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
}
|
||||
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
}
|
||||
@@ -5,16 +5,17 @@ echo -e "${GREEN}"
|
||||
figlet "Wallpapers"
|
||||
echo -e "${NONE}"
|
||||
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 gum confirm "Do you want to download the repository?" ;then
|
||||
wget -P ~/Downloads/ https://gitlab.com/stephan-raabe/wallpaper/-/archive/main/wallpaper-main.zip
|
||||
unzip -o ~/Downloads/wallpaper-main.zip -d ~/Downloads/
|
||||
if [ ! -d ~/wallpaper/ ]; then
|
||||
mkdir ~/wallpaper
|
||||
fi
|
||||
cp ~/Downloads/wallpaper-main/* ~/wallpaper/
|
||||
# wget -P ~/Downloads/ https://gitlab.com/stephan-raabe/wallpaper/-/archive/main/wallpaper-main.zip
|
||||
# unzip -o ~/Downloads/wallpaper-main.zip -d ~/Downloads/
|
||||
# if [ ! -d ~/wallpaper/ ]; then
|
||||
# mkdir ~/wallpaper
|
||||
# fi
|
||||
# cp ~/Downloads/wallpaper-main/* ~/wallpaper/
|
||||
git clone https://gitea.phywyj.dynv6.net/wyj/wallpaper.git ~/wallpaper
|
||||
echo "Wallpapers from the repository installed successfully."
|
||||
elif [ $? -eq 130 ]; then
|
||||
exit 130
|
||||
|
||||
+3
-6
@@ -7,16 +7,13 @@ 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
|
||||
_installSymLink zshrc ~/.zshrc ~/dotfiles/.zshrc_ohmyzsh ~
|
||||
else
|
||||
packagesYay=("zinit");
|
||||
source .install/install-packages.sh
|
||||
_installSymLink zshrc ~/.zshrc ~/dotfiles/.zshrc_zinit ~/.zshrc
|
||||
_installSymLink zshrc ~/.zshrc ~/dotfiles/.zshrc_zinit ~
|
||||
fi
|
||||
_installSymLink p10k ~/.p10k.zsh ~/dotfiles/.p10k.zsh ~/
|
||||
_installSymLink p10k ~/.p10k.zsh ~/dotfiles/.p10k.zsh ~
|
||||
|
||||
+2
-1
@@ -13,7 +13,8 @@ if [ -z "${zshfish}" ] ;then
|
||||
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 "( ) ")
|
||||
shell=$(echo "bash\n$zshfish" | gum choose --limit=1 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) ")
|
||||
sudo chsh -s $(which $shell) $(whoami)
|
||||
if [[ $zshfish == *"zsh"* ]]; then
|
||||
echo ":: zsh selected"
|
||||
source .install/zsh.sh
|
||||
|
||||
@@ -1 +1 @@
|
||||
chromium
|
||||
google-chrome-stable
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
mousepad
|
||||
~/dotfiles/.settings/terminal.sh -e vim
|
||||
@@ -1 +0,0 @@
|
||||
nm-connection-editor
|
||||
@@ -0,0 +1,3 @@
|
||||
* {
|
||||
border-radius: 15px;
|
||||
}
|
||||
@@ -1 +1,3 @@
|
||||
* { border-width: 3px; }
|
||||
* {
|
||||
border-width: 2px;
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
alacritty -e pacseek
|
||||
+1
-1
@@ -1 +1 @@
|
||||
2.9.1.2
|
||||
2.9.1.1
|
||||
+1
-1
@@ -1 +1 @@
|
||||
2912
|
||||
2911
|
||||
+2
-10
@@ -42,7 +42,7 @@ export PATH=$HOME/.cargo/bin:$HOME/.local/bin:/usr/local/bin:$PATH
|
||||
|
||||
export LANG=en_US.UTF-8
|
||||
|
||||
export EDITOR='nvim'
|
||||
export EDITOR='vim'
|
||||
|
||||
export MAKEFLAGS='-j$(nproc)'
|
||||
export CFLAGS='-march=native -O2 -pipe'
|
||||
@@ -55,16 +55,8 @@ 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
|
||||
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# evals
|
||||
|
||||
+1
-3
@@ -46,9 +46,7 @@ eval "$(fzf --zsh)"
|
||||
# Miscs
|
||||
# -----------------------------------------------------
|
||||
# fix ssh if in kitty
|
||||
if [[ "$TERM" == "xterm-kitty" && -z "$SSH_CONNECTION" ]]; then
|
||||
alias ssh="kitty +kitten ssh"
|
||||
fi
|
||||
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
@@ -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
|
||||
https://gitlab.com/stephan-raabe/dotfiles/-/releases/2.9.1.1
|
||||
--------------------------------------------------------
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -55,8 +55,6 @@ THANK YOU very much for all your support, contributions and ideas:
|
||||
- Don Williams: https://github.com/dwilliam62
|
||||
- Teodor Orzechowski: https://gitlab.com/sq6gtt
|
||||
- Jamie Deppeler: https://gitlab.com/bknight2k
|
||||
- Yingjie Wang: https://gitlab.com/GaugeAndGravity
|
||||
- Daniel Gerber: https://gitlab.com/dan.john.gerber
|
||||
- https://gitlab.com/muee
|
||||
|
||||
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.
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
name = Extracted Theme
|
||||
description = Automatically extracted with hyprcursor-util
|
||||
version = 0.1
|
||||
cursors_directory = hyprcursors
|
||||
@@ -1,5 +1,5 @@
|
||||
[font]
|
||||
size = 12.0
|
||||
size = 16.0
|
||||
|
||||
[font.normal]
|
||||
family = "FiraCode Nerd Font"
|
||||
@@ -11,3 +11,6 @@ opacity = 0.7
|
||||
[window.padding]
|
||||
x = 15
|
||||
y = 15
|
||||
|
||||
[selection]
|
||||
save_to_clipboard = true
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
--ozone-platform=wayland --enable-wayland-ime
|
||||
+142
-87
@@ -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",
|
||||
"logo": {
|
||||
"padding": {
|
||||
"top": 2
|
||||
}
|
||||
},
|
||||
// "logo": {
|
||||
// "type": "iterm",
|
||||
// "source": "/Users/carter/Desktop/apple1.png",
|
||||
// "width": 28,
|
||||
// "height": 12
|
||||
// },
|
||||
"display": {
|
||||
"separator": " ➜ "
|
||||
// "separator": " "
|
||||
"separator": " "
|
||||
},
|
||||
"modules": [
|
||||
"break",
|
||||
"break",
|
||||
"break",
|
||||
{
|
||||
"type": "os",
|
||||
"key": "OS ",
|
||||
"keyColor": "31", // = color1
|
||||
},
|
||||
{
|
||||
"type": "kernel",
|
||||
"key": " ├ ",
|
||||
"keyColor": "31",
|
||||
},
|
||||
{
|
||||
"type": "packages",
|
||||
"format": "{} (pacman)",
|
||||
"key": " ├ ",
|
||||
"keyColor": "31",
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"key": " └ ",
|
||||
"keyColor": "31",
|
||||
},
|
||||
"break",
|
||||
{
|
||||
"type": "wm",
|
||||
"key": "WM ",
|
||||
"keyColor": "32",
|
||||
},
|
||||
{
|
||||
"type": "wmtheme",
|
||||
"key": " ├ ",
|
||||
"keyColor": "32",
|
||||
},
|
||||
{
|
||||
"type": "icons",
|
||||
"key": " ├ ",
|
||||
"keyColor": "32",
|
||||
},
|
||||
{
|
||||
"type": "cursor",
|
||||
"key": " ├ ",
|
||||
"keyColor": "32",
|
||||
},
|
||||
{
|
||||
"type": "terminal",
|
||||
"key": " ├ ",
|
||||
"keyColor": "32",
|
||||
},
|
||||
{
|
||||
"type": "terminalfont",
|
||||
"key": " └ ",
|
||||
"keyColor": "32",
|
||||
},
|
||||
"break",
|
||||
{
|
||||
"type": "host",
|
||||
"format": "{5} {1} Type {2}",
|
||||
"key": "PC ",
|
||||
"keyColor": "33",
|
||||
"key": "╭─",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "cpu",
|
||||
"format": "{1} ({3}) @ {7} GHz",
|
||||
"key": " ├ ",
|
||||
"keyColor": "33",
|
||||
"key": "├─",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "gpu",
|
||||
"format": "{1} {2} @ {12} GHz",
|
||||
"key": " ├ ",
|
||||
"keyColor": "33",
|
||||
},
|
||||
{
|
||||
"type": "memory",
|
||||
"key": " ├ ",
|
||||
"keyColor": "33",
|
||||
},
|
||||
{
|
||||
"type": "swap",
|
||||
"key": " ├ ",
|
||||
"keyColor": "33",
|
||||
"key": "├─",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "disk",
|
||||
"key": " ├ ",
|
||||
"keyColor": "33",
|
||||
"key": "├─",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "monitor",
|
||||
"key": " └ ",
|
||||
"keyColor": "33",
|
||||
"type": "memory",
|
||||
"key": "├─",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "swap",
|
||||
"key": "├─",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "display",
|
||||
"key": "├─",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "battery",
|
||||
"key": "├─",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "poweradapter",
|
||||
"key": "├─",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "gamepad",
|
||||
"key": "├─",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "bluetooth",
|
||||
"key": "├─",
|
||||
"keyColor": "green"
|
||||
},
|
||||
{
|
||||
"type": "sound",
|
||||
"key": "╰─",
|
||||
"keyColor": "green"
|
||||
},
|
||||
"break",
|
||||
|
||||
{
|
||||
"type": "shell",
|
||||
"key": "╭─",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "terminal",
|
||||
"key": "├─",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "terminalfont",
|
||||
"key": "├─",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "lm",
|
||||
"key": "├─",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "de",
|
||||
"key": "├─",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"type": "wm",
|
||||
"key": "├─",
|
||||
"keyColor": "yellow"
|
||||
},
|
||||
{
|
||||
"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 @@
|
||||
source = ~/dotfiles/hypr/conf/animations/default.conf
|
||||
source = ~/dotfiles/hypr/conf/animations/animations-high.conf
|
||||
|
||||
@@ -29,8 +29,8 @@ exec-once = ~/dotfiles/hypr/scripts/ml4w-welcome-autostart.sh
|
||||
# Start ewww daemon
|
||||
exec-once = ~/dotfiles/hypr/scripts/eww.sh
|
||||
|
||||
exec-once = pypr
|
||||
|
||||
|
||||
# Start autostart cleanup
|
||||
exec-once = ~/dotfiles/hypr/scripts/cleanup.sh
|
||||
|
||||
# Load configuration from ML4W Hyprland Settings App
|
||||
exec = ~/.config/ml4w-hyprland-settings/hyprctl.sh
|
||||
|
||||
@@ -1 +1 @@
|
||||
exec-once = hyprctl setcursor Bibata-Modern-Ice 24
|
||||
exec-once = hyprctl setcursor Vimix 24
|
||||
|
||||
@@ -1 +1 @@
|
||||
source = ~/dotfiles/hypr/conf/decorations/default.conf
|
||||
source = ~/dotfiles/hypr/conf/decorations/custom.conf
|
||||
|
||||
@@ -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
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
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
|
||||
@@ -0,0 +1,6 @@
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
|
||||
env = GDK_SCALE,2
|
||||
env = QT_SCALE_FACTOR=2
|
||||
@@ -1 +1 @@
|
||||
source = ~/dotfiles/hypr/conf/keybindings/default.conf
|
||||
source = ~/dotfiles/hypr/conf/keybindings/custom.conf
|
||||
|
||||
@@ -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
|
||||
@@ -7,88 +7,89 @@
|
||||
$mainMod = SUPER
|
||||
|
||||
# Applications
|
||||
bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh # Open the terminal
|
||||
bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh # Open the browser
|
||||
bind = $mainMod, E, exec, ~/dotfiles/.settings/filemanager.sh # Open the filemanager
|
||||
bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh
|
||||
bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh
|
||||
|
||||
# Windows
|
||||
bind = $mainMod, Q, killactive # Kill active window
|
||||
bind = $mainMod, F, fullscreen # Set active window to fullscreen
|
||||
bind = $mainMod, T, togglefloating # Toggle active windows into floating mode
|
||||
bind = $mainMod SHIFT, T, exec, ~/dotfiles/hypr/scripts/toggleallfloat.sh # Toggle all windows into floating mode
|
||||
bind = $mainMod, J, togglesplit # Toggle split
|
||||
bind = $mainMod, left, movefocus, l # Move focus left
|
||||
bind = $mainMod, right, movefocus, r # Move focus right
|
||||
bind = $mainMod, up, movefocus, u # Move focus up
|
||||
bind = $mainMod, down, movefocus, d # Move focus down
|
||||
bindm = $mainMod, mouse:272, movewindow # Move window with the mouse
|
||||
bindm = $mainMod, mouse:273, resizewindow # Resize window with the mouse
|
||||
bind = $mainMod SHIFT, right, resizeactive, 100 0 # Increase window width with keyboard
|
||||
bind = $mainMod SHIFT, left, resizeactive, -100 0 # Reduce window width with keyboard
|
||||
bind = $mainMod SHIFT, down, resizeactive, 0 100 # Increase window height with keyboard
|
||||
bind = $mainMod SHIFT, up, resizeactive, 0 -100 # Reduce window height with keyboard
|
||||
bind = $mainMod, G, togglegroup # Toggle window group
|
||||
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 SHIFT, A, exec, ~/dotfiles/hypr/scripts/toggle-animations.sh # Toggle animations
|
||||
bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh # Take a screenshot
|
||||
bind = $mainMod CTRL, Q, exec, wlogout # Start wlogout
|
||||
bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh # Change the wallpaper
|
||||
bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select # Open wallpaper selector
|
||||
bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i # Open application launcher
|
||||
bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh # Show keybindings
|
||||
bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.sh # Reload waybar
|
||||
bind = $mainMod CTRL, B, exec, ~/dotfiles/waybar/toggle.sh # Toggle waybar
|
||||
bind = $mainMod SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh # Reload hyprland config
|
||||
bind = $mainMod, V, exec, ~/dotfiles/scripts/cliphist.sh # Open clipboard manager
|
||||
bind = $mainMod CTRL, T, exec, ~/dotfiles/waybar/themeswitcher.sh # Open waybar theme switcher
|
||||
bind = $mainMod CTRL, S, exec, ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage # Open ML4W Dotfiles Settings app
|
||||
bind = $mainMod SHIFT, S, exec, ~/dotfiles/hypr/scripts/hyprshade.sh # Toggle screenshader
|
||||
bind = $mainMod ALT, G, exec, ~/dotfiles/hypr/scripts/gamemode.sh # Toggle game mode
|
||||
bind = $mainMod SHIFT, A, exec, ~/dotfiles/hypr/scripts/toggle-animations.sh
|
||||
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 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 # Open workspace 1
|
||||
bind = $mainMod, 2, workspace, 2 # Open workspace 2
|
||||
bind = $mainMod, 3, workspace, 3 # Open workspace 3
|
||||
bind = $mainMod, 4, workspace, 4 # Open workspace 4
|
||||
bind = $mainMod, 5, workspace, 5 # Open workspace 5
|
||||
bind = $mainMod, 6, workspace, 6 # Open workspace 6
|
||||
bind = $mainMod, 7, workspace, 7 # Open workspace 7
|
||||
bind = $mainMod, 8, workspace, 8 # Open workspace 8
|
||||
bind = $mainMod, 9, workspace, 9 # Open workspace 9
|
||||
bind = $mainMod, 0, workspace, 10 # Open workspace 10
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1 # Move active window to workspace 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2 # Move active window to workspace 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3 # Move active window to workspace 3
|
||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4 # Move active window to workspace 4
|
||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5 # Move active window to workspace 5
|
||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6 # Move active window to workspace 6
|
||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7 # Move active window to workspace 7
|
||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8 # Move active window to workspace 8
|
||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9 # Move active window to workspace 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Move active window to workspace 10
|
||||
bind = $mainMod, mouse_down, workspace, e+1 # Open next workspace
|
||||
bind = $mainMod, mouse_up, workspace, e-1 # Open previous workspace
|
||||
bind = $mainMod CTRL, down, workspace, empty # Open the next empty workspace
|
||||
|
||||
# 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
|
||||
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
|
||||
|
||||
# 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
|
||||
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
|
||||
bind = $mainMod, P, submap, passthru
|
||||
submap = passthru
|
||||
bind = SUPER, Escape, submap, reset
|
||||
submap = reset
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||
# -----------------------------------------------------
|
||||
input {
|
||||
kb_layout = de
|
||||
kb_layout = us
|
||||
kb_variant =
|
||||
kb_model =
|
||||
kb_options =
|
||||
@@ -11,7 +11,9 @@ input {
|
||||
follow_mouse = 1
|
||||
mouse_refocus=false
|
||||
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.
|
||||
}
|
||||
|
||||
@@ -13,4 +13,11 @@ master {
|
||||
|
||||
gestures {
|
||||
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
|
||||
}
|
||||
@@ -5,4 +5,6 @@
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
enable_swallow = true
|
||||
swallow_regex = ^(Alacritty)$
|
||||
}
|
||||
|
||||
+4
-3
@@ -22,9 +22,9 @@ windowrulev2 = float,class:(ml4w-dotfiles-settings.py)
|
||||
windowrulev2 = size 400 500,class:(ml4w-dotfiles-settings.py)
|
||||
windowrulev2 = move 10% 20%,class:(ml4w-dotfiles-settings.py)
|
||||
|
||||
windowrulev2 = float,class:(com.ml4w.hyprland.settings)
|
||||
windowrulev2 = size 700 600,class:(com.ml4w.hyprland.settings)
|
||||
windowrulev2 = center,class:(com.ml4w.hyprland.settings)
|
||||
windowrulev2 = float,class:(com.ml4w.hyprlandsettings)
|
||||
windowrulev2 = size 700 600,class:(com.ml4w.hyprlandsettings)
|
||||
windowrulev2 = center,class:(com.ml4w.hyprlandsettings)
|
||||
|
||||
windowrulev2 = float,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 = XCURSOR_SIZE,24
|
||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
# -----------------------------------------------------
|
||||
# Monitor Setup
|
||||
# name: "Default"
|
||||
# -----------------------------------------------------
|
||||
|
||||
monitor=,preferred,auto,2
|
||||
@@ -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 @@
|
||||
source = ~/dotfiles/hypr/conf/windowrules/default.conf
|
||||
source = ~/dotfiles/hypr/conf/windowrules/custom.conf
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
# -----------------------------------------------------
|
||||
# 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)$
|
||||
@@ -6,7 +6,7 @@
|
||||
general {
|
||||
gaps_in = 10
|
||||
gaps_out = 14
|
||||
border_size = 3
|
||||
border_size = 2
|
||||
col.active_border = $color11
|
||||
col.inactive_border = rgba(ffffffff)
|
||||
layout = dwindle
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
[pyprland]
|
||||
|
||||
plugins = [
|
||||
"scratchpads",
|
||||
"magnify",
|
||||
]
|
||||
|
||||
[scratchpads.term]
|
||||
animation = "fromTop"
|
||||
command = "kitty --class kitty-dropterm"
|
||||
class = "kitty-dropterm"
|
||||
size = "75% 60%"
|
||||
@@ -7,18 +7,13 @@
|
||||
#
|
||||
|
||||
if [ -f ~/.cache/gamemode ] ;then
|
||||
hyprctl reload
|
||||
hyprctl keyword animations:enabled true
|
||||
hyprctl keyword decoration:blur:enabled true
|
||||
rm ~/.cache/gamemode
|
||||
notify-send "Gamemode deactivated" "Animations and blur enabled"
|
||||
else
|
||||
hyprctl --batch "\
|
||||
keyword animations:enabled 0;\
|
||||
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"
|
||||
hyprctl keyword animations:enabled false
|
||||
hyprctl keyword decoration:blur:enabled false
|
||||
touch ~/.cache/gamemode
|
||||
notify-send "Gamemode activated" "Animations and blur disabled"
|
||||
fi
|
||||
|
||||
@@ -21,29 +21,13 @@ config_file=${config_file/source=~/}
|
||||
config_file="/home/$USER$config_file"
|
||||
echo "Reading from: $config_file"
|
||||
|
||||
keybinds=""
|
||||
|
||||
# Detect Start String
|
||||
while read -r line
|
||||
do
|
||||
if [[ "$line" == "bind"* ]]; then
|
||||
|
||||
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"
|
||||
|
||||
# -----------------------------------------------------
|
||||
# Parse keybindings
|
||||
# -----------------------------------------------------
|
||||
keybinds=$(grep -oP '(?<=bind = ).*' $config_file)
|
||||
keybinds=$(echo "$keybinds" | sed 's/$mainMod/SUPER/g'| sed 's/,\([^,]*\)$/ = \1/' | sed 's/, exec//g' | sed 's/^,//g')
|
||||
# -----------------------------------------------------
|
||||
# Show keybindings in rofi
|
||||
# -----------------------------------------------------
|
||||
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"
|
||||
@@ -45,6 +45,7 @@ source .install/remove.sh
|
||||
source .install/general.sh
|
||||
source .install/packages/general-packages.sh
|
||||
source .install/install-packages.sh
|
||||
source .install/fcitx5.sh
|
||||
source .install/profile.sh
|
||||
if [[ $profile == *"Hyprland"* ]]; then
|
||||
echo -e "${GREEN}"
|
||||
@@ -61,6 +62,7 @@ if [[ $profile == *"Qtile"* ]]; then
|
||||
source .install/install-packages.sh
|
||||
fi
|
||||
source .install/wallpaper.sh
|
||||
source .install/hidpi.sh
|
||||
source .install/displaymanager.sh
|
||||
source .install/issue.sh
|
||||
source .install/restore.sh
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user