Compare commits
148
Commits
fcitx5
..
5ce679affd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ce679affd | ||
|
|
93eea9a463 | ||
|
|
26c68b27ac | ||
|
|
198a1cd956 | ||
|
|
d5051c5c96 | ||
|
|
13750bb854 | ||
|
|
164e56e0b1 | ||
|
|
c37f2e2040 | ||
|
|
fa96759ddf | ||
|
|
0120c08205 | ||
|
|
0746e2ab13 | ||
|
|
ea854b83e6 | ||
|
|
08ee7cf4dc | ||
|
|
e1801c20cb | ||
|
|
60e96faf42 | ||
|
|
8fb376e095 | ||
|
|
34cda567b3 | ||
|
|
d1036c31c6 | ||
|
|
b156843244 | ||
|
|
d2d71fef55 | ||
|
|
27b802d4a0 | ||
|
|
6c3bef60c6 | ||
|
|
ea979c58a4 | ||
|
|
ce02d5357b | ||
|
|
6b4977e52a | ||
|
|
113c023b3c | ||
|
|
f88efba29e | ||
|
|
f85d049cbd | ||
|
|
12a4ccbc13 | ||
|
|
49fd73e67b | ||
|
|
bc97bf2569 | ||
|
|
16a504966c | ||
|
|
6e5fed1913 | ||
|
|
7e2f972430 | ||
|
|
5ad9e37759 | ||
|
|
3ba0df7b7c | ||
|
|
a23d8a5c38 | ||
|
|
6cd8154bab | ||
|
|
35c4cf74d2 | ||
|
|
04496cb334 | ||
|
|
7e5feec5e0 | ||
|
|
72a185c97e | ||
|
|
3bc6335304 | ||
|
|
36764c77b3 | ||
|
|
a23f49bcaf | ||
|
|
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 | ||
|
|
d9bdf7e748 | ||
|
|
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 | ||
|
|
d7a50ce2fe | ||
|
|
2c3ff9e10d | ||
|
|
48eab0a6ab | ||
|
|
607178e5a2 | ||
|
|
71a63edafa | ||
|
|
091bbbfb1a | ||
|
|
f058ea58f7 | ||
|
|
6a9270c276 | ||
|
|
58966c14c8 | ||
|
|
d2b6c0adcc | ||
|
|
75759b18c3 | ||
|
|
a1f6438b3c | ||
|
|
87b7bed3fe | ||
|
|
45214117ef | ||
|
|
07c38a02b5 | ||
|
|
fdbd7de334 | ||
|
|
0d4b85956e | ||
|
|
059396985d | ||
|
|
8565146242 | ||
|
|
d2a368d166 | ||
|
|
c6678dcc96 | ||
|
|
b6156e3233 | ||
|
|
0da2e83f29 | ||
|
|
9f8b285ba3 | ||
|
|
671a47f09e | ||
|
|
51a350c544 | ||
|
|
d28d59b6b8 | ||
|
|
943cb53c93 | ||
|
|
c3bfe46e79 |
@@ -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."
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# ------------------------------------------------------
|
||||||
|
# install fish
|
||||||
|
# ------------------------------------------------------
|
||||||
|
packagesPacman=("fish");
|
||||||
|
packagesYay=();
|
||||||
|
source .install/install-packages.sh
|
||||||
Executable
+21
@@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
# ------------------------------------------------------
|
||||||
|
# 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# -----------------------------------------------------' >> ~/dotfiles-versions/$version/hypr/hyprland.conf
|
||||||
|
echo -e '# HiDPI Scaling' >> ~/dotfiles-versions/$version/hypr/hyprland.conf
|
||||||
|
echo -e '# -----------------------------------------------------' >> ~/dotfiles-versions/$version/hypr/hyprland.conf
|
||||||
|
echo -e 'source = ~/dotfiles/hypr/conf/hidpi.conf' >> ~/dotfiles-versions/$version/hypr/hyprland.conf
|
||||||
|
sed -i -E 's/1/2/' ~/dotfiles-versions/$version/hypr/conf/monitors/default.conf
|
||||||
|
sed -i -E 's/24/32/' ~/dotfiles-versions/$version/hypr/conf/cursor.conf
|
||||||
|
echo ":: finished hidpi patch."
|
||||||
|
fi
|
||||||
@@ -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
|
||||||
@@ -43,5 +46,12 @@ 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
|
||||||
|
|||||||
@@ -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"
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -3,15 +3,17 @@ packagesPacman=(
|
|||||||
"hyprpaper"
|
"hyprpaper"
|
||||||
"hyprlock"
|
"hyprlock"
|
||||||
"hypridle"
|
"hypridle"
|
||||||
"xdg-desktop-portal-hyprland"
|
"xdg-desktop-portal-hyprland"
|
||||||
"waybar"
|
"waybar"
|
||||||
"grim"
|
"grim"
|
||||||
"slurp"
|
"slurp"
|
||||||
"swappy"
|
"swappy"
|
||||||
"cliphist"
|
"cliphist"
|
||||||
|
"kitty"
|
||||||
);
|
);
|
||||||
|
|
||||||
packagesYay=(
|
packagesYay=(
|
||||||
|
"pyprland"
|
||||||
"wlogout"
|
"wlogout"
|
||||||
"nwg-look"
|
"nwg-look"
|
||||||
"eww"
|
"eww"
|
||||||
|
|||||||
@@ -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."
|
||||||
|
|||||||
+17
-9
@@ -14,6 +14,14 @@ _showRestoreOptions() {
|
|||||||
restorelist+="~/dotfiles/.bashrc "
|
restorelist+="~/dotfiles/.bashrc "
|
||||||
selectedlist+="~/dotfiles/.bashrc,"
|
selectedlist+="~/dotfiles/.bashrc,"
|
||||||
fi
|
fi
|
||||||
|
if [ -f ~/dotfiles/.zshrc ]; then
|
||||||
|
restorelist+="~/dotfiles/.zshrc "
|
||||||
|
selectedlist+="~/dotfiles/.zshrc,"
|
||||||
|
fi
|
||||||
|
if [ -f ~/dotfiles/.p10k.zsh ]; then
|
||||||
|
restorelist+="~/dotfiles/.p10k.zsh "
|
||||||
|
selectedlist+="~/dotfiles/.p10k.zsh,"
|
||||||
|
fi
|
||||||
if [ -d ~/dotfiles/.settings ]; then
|
if [ -d ~/dotfiles/.settings ]; then
|
||||||
restorelist+="~/dotfiles/.settings "
|
restorelist+="~/dotfiles/.settings "
|
||||||
selectedlist+="~/dotfiles/.settings,"
|
selectedlist+="~/dotfiles/.settings,"
|
||||||
@@ -24,7 +32,7 @@ _showRestoreOptions() {
|
|||||||
then
|
then
|
||||||
restorelist+="~/dotfiles/hypr/hypridle.conf "
|
restorelist+="~/dotfiles/hypr/hypridle.conf "
|
||||||
selectedlist+="~/dotfiles/hypr/hypridle.conf,"
|
selectedlist+="~/dotfiles/hypr/hypridle.conf,"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ -f ~/dotfiles/hypr/conf/custom.conf ]; then
|
if [ -f ~/dotfiles/hypr/conf/custom.conf ]; then
|
||||||
restorelist+="~/dotfiles/hypr/conf/custom.conf "
|
restorelist+="~/dotfiles/hypr/conf/custom.conf "
|
||||||
@@ -75,13 +83,13 @@ _showRestoreOptions() {
|
|||||||
fi
|
fi
|
||||||
restoreselect=$(gum choose --no-limit --height 20 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " --selected="$selectedlist" $restorelist)
|
restoreselect=$(gum choose --no-limit --height 20 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " --selected="$selectedlist" $restorelist)
|
||||||
if [ ! -z "$restoreselect" ] ;then
|
if [ ! -z "$restoreselect" ] ;then
|
||||||
echo "Selected to restore:"
|
echo "Selected to restore:"
|
||||||
echo "$restoreselect"
|
echo "$restoreselect"
|
||||||
echo ""
|
echo ""
|
||||||
confirmrestore=$(gum choose "Start restore" "Change restore" "Skip restore")
|
confirmrestore=$(gum choose "Start restore" "Change restore" "Skip restore")
|
||||||
if [ "$confirmrestore" == "Start restore" ] ;then
|
if [ "$confirmrestore" == "Start restore" ] ;then
|
||||||
_startRestore
|
_startRestore
|
||||||
elif [ "$confirmrestore" == "Change restore" ]; then
|
elif [ "$confirmrestore" == "Change restore" ]; then
|
||||||
_showRestoreOptions
|
_showRestoreOptions
|
||||||
else
|
else
|
||||||
echo ":: Restore skipped."
|
echo ":: Restore skipped."
|
||||||
@@ -94,7 +102,7 @@ _showRestoreOptions() {
|
|||||||
echo ":: Installation canceled."
|
echo ":: Installation canceled."
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
if [ "$confirmrestore" == "Change restore" ]; then
|
if [ "$confirmrestore" == "Change restore" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
_showRestoreOptions
|
_showRestoreOptions
|
||||||
else
|
else
|
||||||
@@ -135,11 +143,11 @@ _startRestore() {
|
|||||||
cp ~/dotfiles/hypr/conf/keyboard.conf ~/dotfiles-versions/$version/hypr/conf/
|
cp ~/dotfiles/hypr/conf/keyboard.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||||
echo ":: Hyprland keyboard.conf restored!"
|
echo ":: Hyprland keyboard.conf restored!"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/monitor.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
if [[ $restoreselect == *"~/dotfiles/hypr/conf/monitor.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||||
if [ -f ~/dotfiles/hypr/conf/monitor.conf ]; then
|
if [ -f ~/dotfiles/hypr/conf/monitor.conf ]; then
|
||||||
cp ~/dotfiles/hypr/conf/monitor.conf ~/dotfiles-versions/$version/hypr/conf/
|
cp ~/dotfiles/hypr/conf/monitor.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||||
echo ":: Hyprland monitor.conf restored!"
|
echo ":: Hyprland monitor.conf restored!"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/keybinding.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
if [[ $restoreselect == *"~/dotfiles/hypr/conf/keybinding.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||||
@@ -153,19 +161,19 @@ _startRestore() {
|
|||||||
cp ~/dotfiles/hypr/conf/environment.conf ~/dotfiles-versions/$version/hypr/conf/
|
cp ~/dotfiles/hypr/conf/environment.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||||
echo ":: Hyprland environment.conf restored!"
|
echo ":: Hyprland environment.conf restored!"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/layout.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
if [[ $restoreselect == *"~/dotfiles/hypr/conf/layout.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||||
if [ -f ~/dotfiles/hypr/conf/layout.conf ]; then
|
if [ -f ~/dotfiles/hypr/conf/layout.conf ]; then
|
||||||
cp ~/dotfiles/hypr/conf/layout.conf ~/dotfiles-versions/$version/hypr/conf/
|
cp ~/dotfiles/hypr/conf/layout.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||||
echo ":: Hyprland layout.conf restored!"
|
echo ":: Hyprland layout.conf restored!"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/windowrule.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
if [[ $restoreselect == *"~/dotfiles/hypr/conf/windowrule.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||||
if [ -f ~/dotfiles/hypr/conf/windowrule.conf ]; then
|
if [ -f ~/dotfiles/hypr/conf/windowrule.conf ]; then
|
||||||
cp ~/dotfiles/hypr/conf/windowrule.conf ~/dotfiles-versions/$version/hypr/conf/
|
cp ~/dotfiles/hypr/conf/windowrule.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||||
echo ":: Hyprland windowrule.conf restored!"
|
echo ":: Hyprland windowrule.conf restored!"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [[ $restoreselect == *"~/dotfiles/hypr/conf/animation.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
if [[ $restoreselect == *"~/dotfiles/hypr/conf/animation.conf"* ]] || [[ $restoreselect == *"All"* ]] ; then
|
||||||
if [ -f ~/dotfiles/hypr/conf/animation.conf ]; then
|
if [ -f ~/dotfiles/hypr/conf/animation.conf ]; then
|
||||||
cp ~/dotfiles/hypr/conf/animation.conf ~/dotfiles-versions/$version/hypr/conf/
|
cp ~/dotfiles/hypr/conf/animation.conf ~/dotfiles-versions/$version/hypr/conf/
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
# ------------------------------------------------------
|
||||||
|
# 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
|
||||||
|
RUNZSH=no CHSH=no sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||||
|
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 ~/
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
# ------------------------------------------------------
|
||||||
|
# Select additional shell
|
||||||
|
# ------------------------------------------------------
|
||||||
|
echo -e "${GREEN}"
|
||||||
|
figlet "Zsh Fish"
|
||||||
|
echo -e "${NONE}"
|
||||||
|
echo "Please select if you want to install zsh or fish."
|
||||||
|
echo
|
||||||
|
zshfish=$(gum choose --no-limit --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) " "zsh" "fish")
|
||||||
|
|
||||||
|
if [ -z "${zshfish}" ] ;then
|
||||||
|
echo ":: No shell selected. Keep using bash."
|
||||||
|
else
|
||||||
|
echo "Please select your default shell."
|
||||||
|
echo
|
||||||
|
shell=$(echo -e "bash\n$zshfish" | gum choose --limit=1 --cursor-prefix "( ) " --selected-prefix "(x) " --unselected-prefix "( ) ")
|
||||||
|
if [[ $zshfish == *"zsh"* ]]; then
|
||||||
|
echo ":: zsh selected"
|
||||||
|
source .install/zsh.sh
|
||||||
|
fi
|
||||||
|
if [[ $zshfish == *"fish"* ]]; then
|
||||||
|
echo ":: fish selected"
|
||||||
|
source .install/fish.sh
|
||||||
|
fi
|
||||||
|
fi
|
||||||
@@ -1 +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,4 +1,3 @@
|
|||||||
* {
|
* {
|
||||||
border-width: 2px;
|
border-width: 2px;
|
||||||
border-radius: 15px;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
alacritty -e pacseek
|
|
||||||
@@ -0,0 +1,80 @@
|
|||||||
|
# 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='vim'
|
||||||
|
|
||||||
|
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"
|
||||||
|
# fix ssh if in kitty
|
||||||
|
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
||||||
|
|
||||||
|
# -----------------------------------------------------
|
||||||
|
# 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
|
||||||
@@ -0,0 +1,62 @@
|
|||||||
|
# ---------------------------------------------------
|
||||||
|
# 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
|
||||||
|
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
||||||
|
|
||||||
|
# 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
|
||||||
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]
|
[font]
|
||||||
size = 12.0
|
size = 16.0
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "FiraCode Nerd Font"
|
family = "FiraCode Nerd Font"
|
||||||
@@ -11,3 +11,6 @@ opacity = 0.7
|
|||||||
[window.padding]
|
[window.padding]
|
||||||
x = 15
|
x = 15
|
||||||
y = 15
|
y = 15
|
||||||
|
|
||||||
|
[selection]
|
||||||
|
save_to_clipboard = true
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
--ozone-platform=wayland --enable-wayland-ime
|
||||||
+164
-109
@@ -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 @@
|
|||||||
source = ~/dotfiles/hypr/conf/animations/animation-moving.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
|
# 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
|
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
exec-once = hyprctl setcursor Bibata-Modern-Ice 24
|
exec-once = hyprctl setcursor Vimix-hyprcursors 24
|
||||||
|
env = HYPRCURSOR_THEME,Vimix-hyprcursors
|
||||||
|
|||||||
@@ -3,5 +3,3 @@ exec-once = fcitx5 -d --replace
|
|||||||
exec-once = fcitx5-remote -r
|
exec-once = fcitx5-remote -r
|
||||||
|
|
||||||
bind=$mainMod CTRL, E, exec, pkill fcitx5 -9;sleep 1;fcitx5 -d --replace; sleep 1;fcitx5-remote -r
|
bind=$mainMod CTRL, E, exec, pkill fcitx5 -9;sleep 1;fcitx5 -d --replace; sleep 1;fcitx5-remote -r
|
||||||
|
|
||||||
env=QT_IM_MODULE,fcitx
|
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
xwayland {
|
||||||
|
force_zero_scaling = true
|
||||||
|
}
|
||||||
|
|
||||||
|
env = GDK_SCALE,2
|
||||||
|
env = QT_SCALE_FACTOR,2
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Key bindings
|
# Key bindings
|
||||||
# name: "Default"
|
# name: "Default"
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
|
||||||
# SUPER KEY
|
# SUPER KEY
|
||||||
$mainMod = SUPER
|
$mainMod = SUPER
|
||||||
@@ -9,7 +9,7 @@ $mainMod = SUPER
|
|||||||
# Applications
|
# Applications
|
||||||
bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh
|
bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh
|
||||||
bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh
|
bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh
|
||||||
bind = $mainMod, period, exec, emote
|
bind = $mainMod SHIFT, E, exec, emote
|
||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
bind = $mainMod, Q, killactive
|
bind = $mainMod, Q, killactive
|
||||||
@@ -35,15 +35,18 @@ bind = $mainMod, PRINT, exec, ~/dotfiles/hypr/scripts/screenshot.sh
|
|||||||
bind = $mainMod CTRL, Q, exec, wlogout
|
bind = $mainMod CTRL, Q, exec, wlogout
|
||||||
bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh
|
bind = $mainMod SHIFT, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh
|
||||||
bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select
|
bind = $mainMod CTRL, W, exec, ~/dotfiles/hypr/scripts/wallpaper.sh select
|
||||||
bind = $mainMod CTRL, RETURN, exec, rofi -show drun -replace -i
|
bind = $mainMod, SPACE, exec, rofi -show drun -replace -i
|
||||||
bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh
|
bind = $mainMod CTRL, H, exec, ~/dotfiles/hypr/scripts/keybindings.sh
|
||||||
bind = $mainMod SHIFT, B, exec, ~/dotfiles/waybar/launch.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 SHIFT, R, exec, ~/dotfiles/hypr/scripts/loadconfig.sh
|
||||||
bind = $mainMod CTRL, F, exec, ~/dotfiles/scripts/filemanager.sh
|
|
||||||
bind = $mainMod CTRL, C, exec, ~/dotfiles/scripts/cliphist.sh
|
bind = $mainMod CTRL, C, exec, ~/dotfiles/scripts/cliphist.sh
|
||||||
bind = $mainMod, V, 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, T, exec, ~/dotfiles/waybar/themeswitcher.sh
|
||||||
bind = $mainMod CTRL, S, exec, ~/dotfiles/apps/ML4W_Dotfiles_Settings-x86_64.AppImage
|
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
|
# Workspaces
|
||||||
bind = $mainMod, 1, workspace, 1
|
bind = $mainMod, 1, workspace, 1
|
||||||
@@ -92,3 +95,6 @@ bind = $mainMod, P, submap, passthru
|
|||||||
submap = passthru
|
submap = passthru
|
||||||
bind = SUPER, Escape, submap, reset
|
bind = SUPER, Escape, submap, reset
|
||||||
submap = reset
|
submap = reset
|
||||||
|
|
||||||
|
# Pyprland
|
||||||
|
bind = $mainMod SHIFT, RETURN, exec, pypr toggle term
|
||||||
|
|||||||
@@ -3,15 +3,17 @@
|
|||||||
# 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 =
|
||||||
numlock_by_default = true
|
numlock_by_default = true
|
||||||
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.
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
@@ -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)$
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
# -----------------------------------------------------
|
||||||
|
# Monitor Setup
|
||||||
|
# name: "Default"
|
||||||
|
# -----------------------------------------------------
|
||||||
|
|
||||||
|
monitor=,preferred,auto,2
|
||||||
@@ -4,4 +4,7 @@
|
|||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
|
||||||
monitor=DP-1,preferred,0x0,2
|
monitor=DP-1,preferred,0x0,2
|
||||||
monitor=HDMI-A-1,3840x2160,1920x-180,2,transform,1
|
monitor=HDMI-A-1,3840x2160,1920x-275,2,transform,1
|
||||||
|
|
||||||
|
workspace=1,monitor:DP-1
|
||||||
|
exec-once=hyprctl dispatch workspace 1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Window rules
|
# Window rules
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
|
||||||
windowrule = tile,^(Microsoft-edge)$
|
windowrule = tile,^(Microsoft-edge)$
|
||||||
windowrule = tile,^(Brave-browser)$
|
windowrule = tile,^(Brave-browser)$
|
||||||
@@ -16,3 +16,6 @@ layerrule = blur, logout_dialog
|
|||||||
|
|
||||||
windowrule = float,title=^(Mathematica)$
|
windowrule = float,title=^(Mathematica)$
|
||||||
windowrule = opacity 0.75, ^(Code)$
|
windowrule = opacity 0.75, ^(Code)$
|
||||||
|
windowrule = opacity 0.75, ^(code-url-handler)$
|
||||||
|
windowrule = float,^(QQ)$
|
||||||
|
windowrule = float,^(fdm)$
|
||||||
|
|||||||
+31
-31
@@ -1,48 +1,48 @@
|
|||||||
# _ _ _ _
|
# _ _ _ _
|
||||||
# | | | |_ _ _ __ _ __| | __ _ _ __ __| |
|
# | | | |_ _ _ __ _ __| | __ _ _ __ __| |
|
||||||
# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
|
# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
|
||||||
# | _ | |_| | |_) | | | | (_| | | | | (_| |
|
# | _ | |_| | |_) | | | | (_| | | | | (_| |
|
||||||
# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
|
# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
|
||||||
# |___/|_|
|
# |___/|_|
|
||||||
#
|
#
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# IMPORTANT: Don't overwrite ML4W configuration.
|
# IMPORTANT: Don't overwrite ML4W configuration.
|
||||||
# Create your own custom configuration variation instead.
|
# Create your own custom configuration variation instead.
|
||||||
# https://gitlab.com/stephan-raabe/dotfiles#hyprland-configuration-variations
|
# https://gitlab.com/stephan-raabe/dotfiles#hyprland-configuration-variations
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Monitor
|
# Monitor
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
source = ~/dotfiles/hypr/conf/monitor.conf
|
source = ~/dotfiles/hypr/conf/monitor.conf
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Autostart
|
# Autostart
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
source = ~/dotfiles/hypr/conf/autostart.conf
|
source = ~/dotfiles/hypr/conf/autostart.conf
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Cursor
|
# Cursor
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
source = ~/dotfiles/hypr/conf/cursor.conf
|
source = ~/dotfiles/hypr/conf/cursor.conf
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Environment
|
# Environment
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
source = ~/dotfiles/hypr/conf/environment.conf
|
source = ~/dotfiles/hypr/conf/environment.conf
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Keyboard
|
# Keyboard
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
source = ~/dotfiles/hypr/conf/keyboard.conf
|
source = ~/dotfiles/hypr/conf/keyboard.conf
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Load pywal color file
|
# Load pywal color file
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
source = ~/.cache/wal/colors-hyprland.conf
|
source = ~/.cache/wal/colors-hyprland.conf
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Load configuration files
|
# Load configuration files
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
source = ~/dotfiles/hypr/conf/window.conf
|
source = ~/dotfiles/hypr/conf/window.conf
|
||||||
source = ~/dotfiles/hypr/conf/decoration.conf
|
source = ~/dotfiles/hypr/conf/decoration.conf
|
||||||
source = ~/dotfiles/hypr/conf/layout.conf
|
source = ~/dotfiles/hypr/conf/layout.conf
|
||||||
@@ -50,22 +50,22 @@ source = ~/dotfiles/hypr/conf/misc.conf
|
|||||||
source = ~/dotfiles/hypr/conf/keybinding.conf
|
source = ~/dotfiles/hypr/conf/keybinding.conf
|
||||||
source = ~/dotfiles/hypr/conf/windowrule.conf
|
source = ~/dotfiles/hypr/conf/windowrule.conf
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Animation
|
# Animation
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
source = ~/dotfiles/hypr/conf/animation.conf
|
source = ~/dotfiles/hypr/conf/animation.conf
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Custom
|
# Custom
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
source = ~/dotfiles/hypr/conf/custom.conf
|
source = ~/dotfiles/hypr/conf/custom.conf
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# ML4W Configuration
|
# ML4W Configuration
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
source = ~/dotfiles/hypr/conf/ml4w.conf
|
source = ~/dotfiles/hypr/conf/ml4w.conf
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# Environment for xdg-desktop-portal-hyprland
|
# Environment for xdg-desktop-portal-hyprland
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
[pyprland]
|
||||||
|
|
||||||
|
plugins = [
|
||||||
|
"scratchpads",
|
||||||
|
"magnify",
|
||||||
|
]
|
||||||
|
|
||||||
|
[scratchpads.term]
|
||||||
|
animation = "fromTop"
|
||||||
|
command = "kitty --class kitty-dropterm"
|
||||||
|
class = "kitty-dropterm"
|
||||||
|
size = "75% 60%"
|
||||||
+4
-4
@@ -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
|
||||||
@@ -42,4 +42,4 @@ case $choice in
|
|||||||
notify-send "Screenshot created and copied to clipboard" "Mode: Fullscreen"
|
notify-send "Screenshot created and copied to clipboard" "Mode: Fullscreen"
|
||||||
swappy -f "$DIR$NAME"
|
swappy -f "$DIR$NAME"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ if [[ $profile == *"Qtile"* ]]; then
|
|||||||
source .install/install-packages.sh
|
source .install/install-packages.sh
|
||||||
fi
|
fi
|
||||||
source .install/wallpaper.sh
|
source .install/wallpaper.sh
|
||||||
|
source .install/hidpi.sh
|
||||||
source .install/displaymanager.sh
|
source .install/displaymanager.sh
|
||||||
source .install/issue.sh
|
source .install/issue.sh
|
||||||
source .install/restore.sh
|
source .install/restore.sh
|
||||||
@@ -77,6 +78,7 @@ 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
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -38,6 +38,7 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
|
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
|
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
|
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
|
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
|
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
|
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
|
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
|
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
thunar
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# _____ _ _ _ __ _
|
|
||||||
# |_ _(_)_ __ ___ ___ ___| |__ (_)/ _| |_
|
|
||||||
# | | | | '_ ` _ \ / _ \/ __| '_ \| | |_| __|
|
|
||||||
# | | | | | | | | | __/\__ \ | | | | _| |_
|
|
||||||
# |_| |_|_| |_| |_|\___||___/_| |_|_|_| \__|
|
|
||||||
#
|
|
||||||
|
|
||||||
sleep 1
|
|
||||||
clear
|
|
||||||
figlet "Timeshift"
|
|
||||||
|
|
||||||
_isInstalledYay() {
|
|
||||||
package="$1";
|
|
||||||
check="$(yay -Qs --color always "${package}" | grep "local" | grep "${package} ")";
|
|
||||||
if [ -n "${check}" ] ; then
|
|
||||||
echo 0; #'0' means 'true' in Bash
|
|
||||||
return; #true
|
|
||||||
fi;
|
|
||||||
echo 1; #'1' means 'false' in Bash
|
|
||||||
return; #false
|
|
||||||
}
|
|
||||||
|
|
||||||
timeshift_installed=$(_isInstalledYay "timeshift")
|
|
||||||
grubbtrfs_installed=$(_isInstalledYay "grub-btrfs")
|
|
||||||
|
|
||||||
if [[ $timeshift_installed == "0" ]] ;then
|
|
||||||
echo ":: Timeshift is already installed"
|
|
||||||
else
|
|
||||||
if gum confirm "DO YOU WANT TO INSTALL Timeshift now?" ;then
|
|
||||||
yay -S timeshift
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if [[ -d /boot/grub ]] && [[ $grubbtrfs_installed == "0" ]] ;then
|
|
||||||
echo ":: grub-btrfs is already installed"
|
|
||||||
else
|
|
||||||
echo ":: grub-btrfs is required to select a snapshot on grub bootloader."
|
|
||||||
if gum confirm "DO YOU WANT TO INSTALL grub-btrfs now?" ;then
|
|
||||||
yay -S grub-btrfs
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
sleep 3
|
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# ___ _ _ _ _ _ _ _
|
|
||||||
# |_ _|_ __ ___| |_ __ _| | | | | | |_ __ __| | __ _| |_ ___ ___
|
|
||||||
# | || '_ \/ __| __/ _` | | | | | | | '_ \ / _` |/ _` | __/ _ \/ __|
|
|
||||||
# | || | | \__ \ || (_| | | | | |_| | |_) | (_| | (_| | || __/\__ \
|
|
||||||
# |___|_| |_|___/\__\__,_|_|_| \___/| .__/ \__,_|\__,_|\__\___||___/
|
|
||||||
# |_|
|
|
||||||
# by Stephan Raabe (2024)
|
|
||||||
# -----------------------------------------------------
|
|
||||||
# Required: yay trizen timeshift btrfs-grub
|
|
||||||
# -----------------------------------------------------
|
|
||||||
|
|
||||||
sleep 1
|
|
||||||
clear
|
|
||||||
figlet "Updates"
|
|
||||||
echo
|
|
||||||
_isInstalledYay() {
|
|
||||||
package="$1";
|
|
||||||
check="$(yay -Qs --color always "${package}" | grep "local" | grep "${package} ")";
|
|
||||||
if [ -n "${check}" ] ; then
|
|
||||||
echo 0; #'0' means 'true' in Bash
|
|
||||||
return; #true
|
|
||||||
fi;
|
|
||||||
echo 1; #'1' means 'false' in Bash
|
|
||||||
return; #false
|
|
||||||
}
|
|
||||||
|
|
||||||
# ------------------------------------------------------
|
|
||||||
# Confirm Start
|
|
||||||
# ------------------------------------------------------
|
|
||||||
|
|
||||||
if gum confirm "DO YOU WANT TO START THE UPDATE NOW?" ;then
|
|
||||||
echo
|
|
||||||
echo ":: Update started."
|
|
||||||
elif [ $? -eq 130 ]; then
|
|
||||||
exit 130
|
|
||||||
else
|
|
||||||
echo
|
|
||||||
echo ":: Update canceled."
|
|
||||||
exit;
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ $(_isInstalledYay "timeshift") == "0" ]] ;then
|
|
||||||
if gum confirm "DO YOU WANT TO CREATE A SNAPSHOT?" ;then
|
|
||||||
echo
|
|
||||||
c=$(gum input --placeholder "Enter a comment for the snapshot...")
|
|
||||||
sudo timeshift --create --comments "$c"
|
|
||||||
sudo timeshift --list
|
|
||||||
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
|
||||||
echo ":: DONE. Snapshot $c created!"
|
|
||||||
echo
|
|
||||||
elif [ $? -eq 130 ]; then
|
|
||||||
echo ":: Snapshot canceled."
|
|
||||||
exit 130
|
|
||||||
else
|
|
||||||
echo ":: Snapshot canceled."
|
|
||||||
fi
|
|
||||||
echo
|
|
||||||
fi
|
|
||||||
|
|
||||||
yay
|
|
||||||
|
|
||||||
notify-send "Update complete"
|
|
||||||
echo
|
|
||||||
echo ":: Update complete"
|
|
||||||
sleep 2
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user