Compare commits
24
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4b9e7c6175 | ||
|
|
eb2d78da76 | ||
|
|
186fee59c8 | ||
|
|
f631af1696 | ||
|
|
13750bb854 | ||
|
|
fa96759ddf | ||
|
|
ea854b83e6 | ||
|
|
36764c77b3 | ||
|
|
8828e93f78 | ||
|
|
c99a2809ce | ||
|
|
08096e83ff | ||
|
|
a0f43ada10 | ||
|
|
b4a5e4d99c | ||
|
|
45214117ef | ||
|
|
0d4b85956e | ||
|
|
8565146242 | ||
|
|
d2a368d166 | ||
|
|
c6678dcc96 | ||
|
|
b6156e3233 | ||
|
|
0da2e83f29 | ||
|
|
9f8b285ba3 | ||
|
|
671a47f09e | ||
|
|
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 res1='xrandr --output DisplayPort-0 --mode 2560x1440 --rate 120'
|
||||||
alias res2='xrandr --output DisplayPort-0 --mode 1920x1080 --rate 120'
|
alias res2='xrandr --output DisplayPort-0 --mode 1920x1080 --rate 120'
|
||||||
|
|
||||||
export PATH="$HOME/.local/bin/:/usr/lib/ccache/bin/:$PATH"
|
export PATH="/usr/lib/ccache/bin/:$PATH"
|
||||||
|
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# DEVELOPMENT
|
# DEVELOPMENT
|
||||||
|
|||||||
@@ -13,6 +13,24 @@ 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."
|
||||||
|
|||||||
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,9 +5,6 @@
|
|||||||
if [ -d ~/dotfiles-versions/$version/alacritty ]; then
|
if [ -d ~/dotfiles-versions/$version/alacritty ]; then
|
||||||
_installSymLink alacritty ~/.config/alacritty ~/dotfiles/alacritty/ ~/.config
|
_installSymLink alacritty ~/.config/alacritty ~/dotfiles/alacritty/ ~/.config
|
||||||
fi
|
fi
|
||||||
if [ -d ~/dotfiles-versions/$version/kitty ]; then
|
|
||||||
_installSymLink kitty ~/.config/kitty ~/dotfiles/kitty/ ~/.config
|
|
||||||
fi
|
|
||||||
if [ -d ~/dotfiles-versions/$version/vim ]; then
|
if [ -d ~/dotfiles-versions/$version/vim ]; then
|
||||||
_installSymLink vim ~/.config/vim ~/dotfiles/vim/ ~/.config
|
_installSymLink vim ~/.config/vim ~/dotfiles/vim/ ~/.config
|
||||||
fi
|
fi
|
||||||
@@ -46,12 +43,5 @@ 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,57 +1,65 @@
|
|||||||
packagesPacman=(
|
packagesPacman=(
|
||||||
"pacman-contrib"
|
"pacman-contrib"
|
||||||
"vim"
|
"vim"
|
||||||
"bat"
|
"bluez"
|
||||||
"fzf"
|
"bluez-utils"
|
||||||
"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=(
|
||||||
"vimix-cursors"
|
"bibata-cursor-theme"
|
||||||
"orchis-theme"
|
|
||||||
"trizen"
|
"trizen"
|
||||||
"google-chrome"
|
"pacseek"
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -9,11 +9,9 @@ packagesPacman=(
|
|||||||
"slurp"
|
"slurp"
|
||||||
"swappy"
|
"swappy"
|
||||||
"cliphist"
|
"cliphist"
|
||||||
"kitty"
|
|
||||||
);
|
);
|
||||||
|
|
||||||
packagesYay=(
|
packagesYay=(
|
||||||
"pyprland"
|
|
||||||
"wlogout"
|
"wlogout"
|
||||||
"nwg-look"
|
"nwg-look"
|
||||||
"eww"
|
"eww"
|
||||||
|
|||||||
@@ -35,7 +35,4 @@ fi
|
|||||||
if [ -d ~/dotfiles-versions/$version/swappy ]; then
|
if [ -d ~/dotfiles-versions/$version/swappy ]; then
|
||||||
_installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config
|
_installSymLink swappy ~/.config/swappy ~/dotfiles/swappy/ ~/.config
|
||||||
fi
|
fi
|
||||||
if [ -d ~/dotfiles-versions/$version/fastfetch ]; then
|
|
||||||
_installSymLink fastfetch ~/.config/fastfetch ~/dotfiles/fastfetch/ ~/.config
|
|
||||||
fi
|
|
||||||
echo ":: Symbolic links created."
|
echo ":: Symbolic links created."
|
||||||
|
|||||||
@@ -5,17 +5,16 @@ echo -e "${GREEN}"
|
|||||||
figlet "Wallpapers"
|
figlet "Wallpapers"
|
||||||
echo -e "${NONE}"
|
echo -e "${NONE}"
|
||||||
if [ ! -d ~/wallpaper ]; then
|
if [ ! -d ~/wallpaper ]; then
|
||||||
echo "Do you want to download the wallpapers from repository https://gitea.phywyj.dynv6.net/wyj/wallpaper.git ?"
|
echo "Do you want to download the wallpapers from repository https://gitlab.com/stephan-raabe/wallpaper/ ?"
|
||||||
echo "If not, the script will install 3 default wallpapers in ~/wallpaper/"
|
echo "If not, the script will install 3 default wallpapers in ~/wallpaper/"
|
||||||
echo ""
|
echo ""
|
||||||
if gum confirm "Do you want to download the repository?" ;then
|
if gum confirm "Do you want to download the repository?" ;then
|
||||||
# wget -P ~/Downloads/ https://gitlab.com/stephan-raabe/wallpaper/-/archive/main/wallpaper-main.zip
|
wget -P ~/Downloads/ https://gitlab.com/stephan-raabe/wallpaper/-/archive/main/wallpaper-main.zip
|
||||||
# unzip -o ~/Downloads/wallpaper-main.zip -d ~/Downloads/
|
unzip -o ~/Downloads/wallpaper-main.zip -d ~/Downloads/
|
||||||
# if [ ! -d ~/wallpaper/ ]; then
|
if [ ! -d ~/wallpaper/ ]; then
|
||||||
# mkdir ~/wallpaper
|
mkdir ~/wallpaper
|
||||||
# fi
|
fi
|
||||||
# cp ~/Downloads/wallpaper-main/* ~/wallpaper/
|
cp ~/Downloads/wallpaper-main/* ~/wallpaper/
|
||||||
git clone https://gitea.phywyj.dynv6.net/wyj/wallpaper.git ~/wallpaper
|
|
||||||
echo "Wallpapers from the repository installed successfully."
|
echo "Wallpapers from the repository installed successfully."
|
||||||
elif [ $? -eq 130 ]; then
|
elif [ $? -eq 130 ]; then
|
||||||
exit 130
|
exit 130
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
google-chrome-stable
|
chromium
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
~/dotfiles/.settings/terminal.sh -e vim
|
mousepad
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
nm-connection-editor
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
* {
|
|
||||||
border-radius: 15px;
|
|
||||||
}
|
|
||||||
@@ -1,3 +1 @@
|
|||||||
* {
|
* { border-width: 3px; }
|
||||||
border-width: 2px;
|
|
||||||
}
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
alacritty -e pacseek
|
||||||
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.
@@ -1,4 +0,0 @@
|
|||||||
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,6 +11,3 @@ opacity = 0.7
|
|||||||
[window.padding]
|
[window.padding]
|
||||||
x = 15
|
x = 15
|
||||||
y = 15
|
y = 15
|
||||||
|
|
||||||
[selection]
|
|
||||||
save_to_clipboard = true
|
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
--ozone-platform=wayland --enable-wayland-ime
|
|
||||||
+108
-163
@@ -1,165 +1,110 @@
|
|||||||
// Note that you must replace the image path to an existing image to display it.
|
// Thanks to Bina
|
||||||
|
|
||||||
{
|
{
|
||||||
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
|
||||||
// "logo": {
|
"logo": {
|
||||||
// "type": "iterm",
|
"padding": {
|
||||||
// "source": "/Users/carter/Desktop/apple1.png",
|
"top": 2
|
||||||
// "width": 28,
|
}
|
||||||
// "height": 12
|
},
|
||||||
// },
|
"display": {
|
||||||
"display": {
|
"separator": " ➜ "
|
||||||
// "separator": " "
|
},
|
||||||
"separator": " "
|
"modules": [
|
||||||
},
|
"break",
|
||||||
"modules": [
|
"break",
|
||||||
{
|
"break",
|
||||||
"type": "host",
|
{
|
||||||
"key": "╭─",
|
"type": "os",
|
||||||
"keyColor": "green"
|
"key": "OS ",
|
||||||
},
|
"keyColor": "31", // = color1
|
||||||
{
|
},
|
||||||
"type": "cpu",
|
{
|
||||||
"key": "├─",
|
"type": "kernel",
|
||||||
"keyColor": "green"
|
"key": " ├ ",
|
||||||
},
|
"keyColor": "31",
|
||||||
{
|
},
|
||||||
"type": "gpu",
|
{
|
||||||
"key": "├─",
|
"type": "packages",
|
||||||
"keyColor": "green"
|
"format": "{} (pacman)",
|
||||||
},
|
"key": " ├ ",
|
||||||
{
|
"keyColor": "31",
|
||||||
"type": "disk",
|
},
|
||||||
"key": "├─",
|
{
|
||||||
"keyColor": "green"
|
"type": "shell",
|
||||||
},
|
"key": " └ ",
|
||||||
{
|
"keyColor": "31",
|
||||||
"type": "memory",
|
},
|
||||||
"key": "├─",
|
"break",
|
||||||
"keyColor": "green"
|
{
|
||||||
},
|
"type": "wm",
|
||||||
{
|
"key": "WM ",
|
||||||
"type": "swap",
|
"keyColor": "32",
|
||||||
"key": "├─",
|
},
|
||||||
"keyColor": "green"
|
{
|
||||||
},
|
"type": "wmtheme",
|
||||||
{
|
"key": " ├ ",
|
||||||
"type": "display",
|
"keyColor": "32",
|
||||||
"key": "├─",
|
},
|
||||||
"keyColor": "green"
|
{
|
||||||
},
|
"type": "icons",
|
||||||
{
|
"key": " ├ ",
|
||||||
"type": "battery",
|
"keyColor": "32",
|
||||||
"key": "├─",
|
},
|
||||||
"keyColor": "green"
|
{
|
||||||
},
|
"type": "cursor",
|
||||||
{
|
"key": " ├ ",
|
||||||
"type": "poweradapter",
|
"keyColor": "32",
|
||||||
"key": "├─",
|
},
|
||||||
"keyColor": "green"
|
{
|
||||||
},
|
"type": "terminal",
|
||||||
{
|
"key": " ├ ",
|
||||||
"type": "gamepad",
|
"keyColor": "32",
|
||||||
"key": "├─",
|
},
|
||||||
"keyColor": "green"
|
{
|
||||||
},
|
"type": "terminalfont",
|
||||||
{
|
"key": " └ ",
|
||||||
"type": "bluetooth",
|
"keyColor": "32",
|
||||||
"key": "├─",
|
},
|
||||||
"keyColor": "green"
|
"break",
|
||||||
},
|
{
|
||||||
{
|
"type": "host",
|
||||||
"type": "sound",
|
"format": "{5} {1} Type {2}",
|
||||||
"key": "╰─",
|
"key": "PC ",
|
||||||
"keyColor": "green"
|
"keyColor": "33",
|
||||||
},
|
},
|
||||||
"break",
|
{
|
||||||
|
"type": "cpu",
|
||||||
{
|
"format": "{1} ({3}) @ {7} GHz",
|
||||||
"type": "shell",
|
"key": " ├ ",
|
||||||
"key": "╭─",
|
"keyColor": "33",
|
||||||
"keyColor": "yellow"
|
},
|
||||||
},
|
{
|
||||||
{
|
"type": "gpu",
|
||||||
"type": "terminal",
|
"format": "{1} {2} @ {12} GHz",
|
||||||
"key": "├─",
|
"key": " ├ ",
|
||||||
"keyColor": "yellow"
|
"keyColor": "33",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "terminalfont",
|
"type": "memory",
|
||||||
"key": "├─",
|
"key": " ├ ",
|
||||||
"keyColor": "yellow"
|
"keyColor": "33",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "lm",
|
"type": "swap",
|
||||||
"key": "├─",
|
"key": " ├ ",
|
||||||
"keyColor": "yellow"
|
"keyColor": "33",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "de",
|
"type": "disk",
|
||||||
"key": "├─",
|
"key": " ├ ",
|
||||||
"keyColor": "yellow"
|
"keyColor": "33",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "wm",
|
"type": "monitor",
|
||||||
"key": "├─",
|
"key": " └ ",
|
||||||
"keyColor": "yellow"
|
"keyColor": "33",
|
||||||
},
|
},
|
||||||
{
|
"break",
|
||||||
"type": "theme",
|
"break",
|
||||||
"key": "├─",
|
]
|
||||||
"keyColor": "yellow"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "icons",
|
|
||||||
"key": "╰─",
|
|
||||||
"keyColor": "yellow"
|
|
||||||
},
|
|
||||||
|
|
||||||
"break",
|
|
||||||
{
|
|
||||||
"type": "title",
|
|
||||||
"key": "╭─",
|
|
||||||
"format": "{1}@{2}",
|
|
||||||
"keyColor": "blue"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "os",
|
|
||||||
"key": "├─", // Just get your distro's logo off nerdfonts.com
|
|
||||||
"keyColor": "blue"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "kernel",
|
|
||||||
"key": "├─",
|
|
||||||
"format": "{1} {2}",
|
|
||||||
"keyColor": "blue"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "packages",
|
|
||||||
"key": "├─",
|
|
||||||
"keyColor": "blue"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "uptime",
|
|
||||||
"key": "├─",
|
|
||||||
"keyColor": "blue"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "media",
|
|
||||||
"key": "├─",
|
|
||||||
"keyColor": "blue"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "localip",
|
|
||||||
"key": "╰─",
|
|
||||||
"compact": true,
|
|
||||||
"keyColor": "blue"
|
|
||||||
},
|
|
||||||
"break",
|
|
||||||
{
|
|
||||||
"type": "custom",
|
|
||||||
"format": " \u001b[90m \u001b[31m \u001b[32m \u001b[33m \u001b[34m \u001b[35m \u001b[36m \u001b[37m \u001b[38m \u001b[39m"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
source = ~/dotfiles/hypr/conf/animations/animations-high.conf
|
source = ~/dotfiles/hypr/conf/animations/default.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,2 +1 @@
|
|||||||
exec-once = hyprctl setcursor Vimix-hyprcursors 24
|
exec-once = hyprctl setcursor Bibata-Modern-Ice 32
|
||||||
env = HYPRCURSOR_THEME,Vimix-hyprcursors
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
source = ~/dotfiles/hypr/conf/decorations/custom.conf
|
source = ~/dotfiles/hypr/conf/decorations/default.conf
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
# -----------------------------------------------------
|
|
||||||
# General window decoration
|
|
||||||
# name: "Default"
|
|
||||||
# -----------------------------------------------------
|
|
||||||
|
|
||||||
decoration {
|
|
||||||
rounding = 10
|
|
||||||
blur {
|
|
||||||
enabled = true
|
|
||||||
size = 10
|
|
||||||
passes = 3
|
|
||||||
new_optimizations = on
|
|
||||||
ignore_opacity = true
|
|
||||||
xray = false
|
|
||||||
blurls = waybar
|
|
||||||
}
|
|
||||||
active_opacity = 1.0
|
|
||||||
inactive_opacity = 0.8
|
|
||||||
fullscreen_opacity = 1.0
|
|
||||||
|
|
||||||
drop_shadow = true
|
|
||||||
shadow_range = 30
|
|
||||||
shadow_render_power = 3
|
|
||||||
col.shadow = 0x66000000
|
|
||||||
}
|
|
||||||
@@ -6,8 +6,6 @@
|
|||||||
env = XDG_SESSION_TYPE,wayland
|
env = XDG_SESSION_TYPE,wayland
|
||||||
env = XDG_SESSION_DESKTOP,Hyprland
|
env = XDG_SESSION_DESKTOP,Hyprland
|
||||||
env = QT_QPA_PLATFORM,wayland
|
env = QT_QPA_PLATFORM,wayland
|
||||||
env = QT_QPA_PLATFORMTHEME,qt6ct
|
|
||||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||||
env = MOZ_ENABLE_WAYLAND,1
|
env = MOZ_ENABLE_WAYLAND,1
|
||||||
env = GDK_SCALE,1
|
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
xwayland {
|
||||||
|
force_zero_scaling = true
|
||||||
|
}
|
||||||
|
|
||||||
|
env = GDK_SCALE,2
|
||||||
|
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||||
@@ -1 +1 @@
|
|||||||
source = ~/dotfiles/hypr/conf/keybindings/custom.conf
|
source = ~/dotfiles/hypr/conf/keybindings/default.conf
|
||||||
@@ -1,100 +0,0 @@
|
|||||||
# -----------------------------------------------------
|
|
||||||
# Key bindings
|
|
||||||
# name: "Default"
|
|
||||||
# -----------------------------------------------------
|
|
||||||
|
|
||||||
# SUPER KEY
|
|
||||||
$mainMod = SUPER
|
|
||||||
|
|
||||||
# Applications
|
|
||||||
bind = $mainMod, RETURN, exec, ~/dotfiles/.settings/terminal.sh
|
|
||||||
bind = $mainMod, B, exec, ~/dotfiles/.settings/browser.sh
|
|
||||||
bind = $mainMod 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
|
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
input {
|
input {
|
||||||
kb_layout = us
|
kb_layout = de
|
||||||
kb_variant =
|
kb_variant =
|
||||||
kb_model =
|
kb_model =
|
||||||
kb_options =
|
kb_options =
|
||||||
@@ -11,9 +11,7 @@ input {
|
|||||||
follow_mouse = 1
|
follow_mouse = 1
|
||||||
mouse_refocus=false
|
mouse_refocus=false
|
||||||
touchpad {
|
touchpad {
|
||||||
natural_scroll = true
|
natural_scroll = false
|
||||||
disable_while_typing=true
|
|
||||||
tap-to-click=true
|
|
||||||
}
|
}
|
||||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,12 +12,5 @@ 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,6 +5,4 @@
|
|||||||
misc {
|
misc {
|
||||||
disable_hyprland_logo = true
|
disable_hyprland_logo = true
|
||||||
disable_splash_rendering = true
|
disable_splash_rendering = true
|
||||||
enable_swallow = true
|
|
||||||
swallow_regex = ^(Alacritty|kitty|thunar)$
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,8 +3,4 @@
|
|||||||
# name: "Default"
|
# name: "Default"
|
||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
|
|
||||||
monitor=DP-1,preferred,0x0,2
|
monitor=,preferred,auto,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/custom.conf
|
source = ~/dotfiles/hypr/conf/windowrules/default.conf
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
# -----------------------------------------------------
|
|
||||||
# Window rules
|
|
||||||
# -----------------------------------------------------
|
|
||||||
|
|
||||||
windowrule = tile,^(Microsoft-edge)$
|
|
||||||
windowrule = tile,^(Brave-browser)$
|
|
||||||
windowrule = tile,^(Chromium)$
|
|
||||||
windowrule = float,^(pavucontrol)$
|
|
||||||
windowrule = float,^(blueman-manager)$
|
|
||||||
windowrule = float,^(nm-connection-editor)$
|
|
||||||
windowrule = float,^(qalculate-gtk)$
|
|
||||||
windowrule = float,^(showmethekey-gtk)$
|
|
||||||
windowrule = pin,^(showmethekey-gtk)$
|
|
||||||
layerrule = blur, gtk-layer-shell
|
|
||||||
layerrule = blur, logout_dialog
|
|
||||||
|
|
||||||
windowrule = float,title=^(Mathematica)$
|
|
||||||
windowrule = opacity 0.75, ^(Code)$
|
|
||||||
windowrule = opacity 0.75, ^(code-url-handler)$
|
|
||||||
windowrule = float,^(QQ)$
|
|
||||||
windowrule = float,^(fdm)$
|
|
||||||
windowrule = float,^(xdg-desktop-portal-gtk)$
|
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
general {
|
general {
|
||||||
gaps_in = 10
|
gaps_in = 10
|
||||||
gaps_out = 14
|
gaps_out = 14
|
||||||
border_size = 2
|
border_size = 3
|
||||||
col.active_border = $color11
|
col.active_border = $color11
|
||||||
col.inactive_border = rgba(ffffffff)
|
col.inactive_border = rgba(ffffffff)
|
||||||
layout = dwindle
|
layout = dwindle
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
[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
|
||||||
@@ -61,6 +61,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
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
font_family Fira Code Nerd Font
|
|
||||||
font_size 14.0
|
|
||||||
bold_font auto
|
|
||||||
italic_font auto
|
|
||||||
bold_italic_font auto
|
|
||||||
|
|
||||||
background_opacity 0.7
|
|
||||||
|
|
||||||
confirm_os_window_close 0
|
|
||||||
|
|
||||||
enable_audio_bell no
|
|
||||||
|
|
||||||
selection_foreground #000000
|
|
||||||
selection_background #F5FBFF
|
|
||||||
@@ -38,13 +38,12 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
width: 400px;
|
width: 400px;
|
||||||
x-offset: -14px;
|
x-offset: -14px;
|
||||||
y-offset: 14px;
|
y-offset: 65px;
|
||||||
spacing: 0px;
|
spacing: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
@@ -57,7 +56,7 @@ window {
|
|||||||
anchor: northeast;
|
anchor: northeast;
|
||||||
fullscreen: false;
|
fullscreen: false;
|
||||||
enabled: true;
|
enabled: true;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -121,7 +120,6 @@ entry {
|
|||||||
cursor: text;
|
cursor: text;
|
||||||
placeholder: "Search";
|
placeholder: "Search";
|
||||||
placeholder-color: inherit;
|
placeholder-color: inherit;
|
||||||
border-radius: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Mode Switcher ---- */
|
/* ---- Mode Switcher ---- */
|
||||||
@@ -134,7 +132,7 @@ mode-switcher{
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -162,8 +160,7 @@ listview {
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border: 0px;
|
border:0px;
|
||||||
border-radius: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Element ---- */
|
/* ---- Element ---- */
|
||||||
@@ -173,7 +170,7 @@ element {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
border: @border-width;
|
border: @border-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
@@ -58,7 +57,7 @@ window {
|
|||||||
anchor: north;
|
anchor: north;
|
||||||
fullscreen: false;
|
fullscreen: false;
|
||||||
enabled: true;
|
enabled: true;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -122,7 +121,6 @@ entry {
|
|||||||
cursor: text;
|
cursor: text;
|
||||||
placeholder: "Search";
|
placeholder: "Search";
|
||||||
placeholder-color: inherit;
|
placeholder-color: inherit;
|
||||||
border-radius: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Mode Switcher ---- */
|
/* ---- Mode Switcher ---- */
|
||||||
@@ -135,7 +133,7 @@ mode-switcher{
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -163,8 +161,7 @@ listview {
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border: 0px;
|
border:0px;
|
||||||
border-radius: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Element ---- */
|
/* ---- Element ---- */
|
||||||
@@ -174,7 +171,7 @@ element {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
border: @border-width;
|
border: @border-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
@@ -57,7 +56,7 @@ window {
|
|||||||
anchor: center;
|
anchor: center;
|
||||||
fullscreen: false;
|
fullscreen: false;
|
||||||
enabled: true;
|
enabled: true;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -133,7 +132,7 @@ mode-switcher{
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -171,7 +170,7 @@ element {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
border: @border-width;
|
border: @border-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
@@ -57,7 +56,7 @@ window {
|
|||||||
anchor: center;
|
anchor: center;
|
||||||
fullscreen: false;
|
fullscreen: false;
|
||||||
enabled: true;
|
enabled: true;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -133,7 +132,7 @@ mode-switcher{
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -171,7 +170,7 @@ element {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
border: @border-width;
|
border: @border-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,6 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
@@ -58,7 +57,7 @@ window {
|
|||||||
anchor: northeast;
|
anchor: northeast;
|
||||||
fullscreen: false;
|
fullscreen: false;
|
||||||
enabled: true;
|
enabled: true;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -134,7 +133,7 @@ mode-switcher{
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -172,7 +171,7 @@ element {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
border: @border-width;
|
border: @border-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -38,13 +38,12 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
width: 400px;
|
width: 400px;
|
||||||
x-offset: 0px;
|
x-offset: 0px;
|
||||||
y-offset: 14px;
|
y-offset: 65px;
|
||||||
spacing: 0px;
|
spacing: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
@@ -57,7 +56,7 @@ window {
|
|||||||
anchor: north;
|
anchor: north;
|
||||||
fullscreen: false;
|
fullscreen: false;
|
||||||
enabled: true;
|
enabled: true;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -121,7 +120,6 @@ entry {
|
|||||||
cursor: text;
|
cursor: text;
|
||||||
placeholder: "Search";
|
placeholder: "Search";
|
||||||
placeholder-color: inherit;
|
placeholder-color: inherit;
|
||||||
border-radius: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Mode Switcher ---- */
|
/* ---- Mode Switcher ---- */
|
||||||
@@ -134,7 +132,7 @@ mode-switcher{
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -162,8 +160,7 @@ listview {
|
|||||||
padding: 10px;
|
padding: 10px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border: 0px;
|
border:0px;
|
||||||
border-radius: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Element ---- */
|
/* ---- Element ---- */
|
||||||
@@ -173,7 +170,7 @@ element {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
border: @border-width;
|
border: @border-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,13 +33,12 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
width: 761px;
|
width: 761px;
|
||||||
x-offset: 0px;
|
x-offset: 0px;
|
||||||
y-offset: 14px;
|
y-offset: 65px;
|
||||||
spacing: 0px;
|
spacing: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
@@ -52,7 +51,7 @@ window {
|
|||||||
anchor: north;
|
anchor: north;
|
||||||
fullscreen: false;
|
fullscreen: false;
|
||||||
enabled: true;
|
enabled: true;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -115,7 +114,6 @@ entry {
|
|||||||
cursor: text;
|
cursor: text;
|
||||||
placeholder: "Search";
|
placeholder: "Search";
|
||||||
placeholder-color: inherit;
|
placeholder-color: inherit;
|
||||||
border-radius: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Mode Switcher ---- */
|
/* ---- Mode Switcher ---- */
|
||||||
@@ -128,7 +126,7 @@ mode-switcher{
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -157,7 +155,6 @@ listview {
|
|||||||
fixed-columns: true;
|
fixed-columns: true;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
border-radius: 0px;
|
|
||||||
flow: horizontal;
|
flow: horizontal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -168,7 +165,7 @@ element {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
border: @border-width;
|
border: @border-width;
|
||||||
orientation: vertical;
|
orientation: vertical;
|
||||||
}
|
}
|
||||||
|
|||||||
+5
-7
@@ -39,7 +39,6 @@ configuration {
|
|||||||
|
|
||||||
/* ---- Load border width ---- */
|
/* ---- Load border width ---- */
|
||||||
@import "~/dotfiles/.settings/rofi-border.rasi"
|
@import "~/dotfiles/.settings/rofi-border.rasi"
|
||||||
@import "~/dotfiles/.settings/rofi-border-radius.rasi"
|
|
||||||
|
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
@@ -51,14 +50,14 @@ window {
|
|||||||
margin: 0px;
|
margin: 0px;
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
border: @border-width;
|
border: @border-width;
|
||||||
border-color: @foreground;
|
border-color: #FFFFFF;
|
||||||
cursor: "default";
|
cursor: "default";
|
||||||
transparency: "real";
|
transparency: "real";
|
||||||
location: center;
|
location: center;
|
||||||
anchor: center;
|
anchor: center;
|
||||||
fullscreen: false;
|
fullscreen: false;
|
||||||
enabled: true;
|
enabled: true;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -100,7 +99,7 @@ inputbar {
|
|||||||
text-color: @foreground;
|
text-color: @foreground;
|
||||||
spacing: 10px;
|
spacing: 10px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
border-color: @foreground;
|
border-color: @foreground;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
children: [ "textbox-prompt-colon", "entry" ];
|
children: [ "textbox-prompt-colon", "entry" ];
|
||||||
@@ -122,7 +121,6 @@ entry {
|
|||||||
cursor: text;
|
cursor: text;
|
||||||
placeholder: "Search";
|
placeholder: "Search";
|
||||||
placeholder-color: inherit;
|
placeholder-color: inherit;
|
||||||
border-radius: 0px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---- Mode Switcher ---- */
|
/* ---- Mode Switcher ---- */
|
||||||
@@ -135,7 +133,7 @@ mode-switcher{
|
|||||||
|
|
||||||
button {
|
button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
text-color: inherit;
|
text-color: inherit;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -173,7 +171,7 @@ element {
|
|||||||
margin: 5px;
|
margin: 5px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
border-radius: @border-radius;
|
border-radius: 10px;
|
||||||
border: @border-width;
|
border: @border-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Executable
+1
@@ -0,0 +1 @@
|
|||||||
|
thunar
|
||||||
Executable
+42
@@ -0,0 +1,42 @@
|
|||||||
|
#!/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
|
||||||
Executable
+66
@@ -0,0 +1,66 @@
|
|||||||
|
#!/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
|
||||||
Executable
+12
@@ -0,0 +1,12 @@
|
|||||||
|
# ___ ____ _
|
||||||
|
# / _ \ _ __ ___| _ \ _ __(_)_ _____
|
||||||
|
# | | | | '_ \ / _ \ | | | '__| \ \ / / _ \
|
||||||
|
# | |_| | | | | __/ |_| | | | |\ V / __/
|
||||||
|
# \___/|_| |_|\___|____/|_| |_| \_/ \___|
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# by Stephan Raabe (2023)
|
||||||
|
# -----------------------------------------------------
|
||||||
|
|
||||||
|
rclone --vfs-cache-mode writes mount OneDrive: ~/OneDrive &
|
||||||
|
notify-send "OneDrive connected" "Microsoft OneDrive successfully mounted."
|
||||||
Executable
+61
@@ -0,0 +1,61 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# ____ _ _
|
||||||
|
# / ___| _ __ __ _ _ __ ___| |__ ___ | |_
|
||||||
|
# \___ \| '_ \ / _` | '_ \/ __| '_ \ / _ \| __|
|
||||||
|
# ___) | | | | (_| | |_) \__ \ | | | (_) | |_
|
||||||
|
# |____/|_| |_|\__,_| .__/|___/_| |_|\___/ \__|
|
||||||
|
# |_|
|
||||||
|
#
|
||||||
|
# by Stephan Raabe (2024)
|
||||||
|
# -----------------------------------------------------
|
||||||
|
|
||||||
|
sleep 1
|
||||||
|
clear
|
||||||
|
figlet "Snapshot"
|
||||||
|
|
||||||
|
_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
|
||||||
|
c=$(gum input --placeholder "Enter a comment for the snapshot...")
|
||||||
|
sudo timeshift --create --comments "$c"
|
||||||
|
sudo timeshift --list
|
||||||
|
if [[ -d /boot/grub ]] ;then
|
||||||
|
if [[ -d /boot/grub ]] && [[ $grubbtrfs_installed == "1" ]] ;then
|
||||||
|
if gum confirm "DO YOU WANT TO INSTALL grub-btrfs now?" ;then
|
||||||
|
yay -S grub-btrfs
|
||||||
|
|
||||||
|
else
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
fi
|
||||||
|
echo "DONE. Snapshot $c created!"
|
||||||
|
else
|
||||||
|
echo "ERROR: Timeshift is not installed."
|
||||||
|
if gum confirm "DO YOU WANT TO INSTALL Timeshift now?" ;then
|
||||||
|
yay -S timeshift
|
||||||
|
echo
|
||||||
|
echo ":: Timeshift has been installed. Please restart this script."
|
||||||
|
if [[ -d /boot/grub ]] && [[ $grubbtrfs_installed == "1" ]] ;then
|
||||||
|
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
|
||||||
|
else
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
+3
-3
@@ -35,8 +35,7 @@
|
|||||||
"on-click": "activate",
|
"on-click": "activate",
|
||||||
"on-click-middle": "close",
|
"on-click-middle": "close",
|
||||||
"ignore-list": [
|
"ignore-list": [
|
||||||
"Alacritty",
|
"Alacritty"
|
||||||
"alacritty-dropterm"
|
|
||||||
],
|
],
|
||||||
"app_ids-mapping": {
|
"app_ids-mapping": {
|
||||||
"firefoxdeveloperedition": "firefox-developer-edition"
|
"firefoxdeveloperedition": "firefox-developer-edition"
|
||||||
@@ -104,7 +103,8 @@
|
|||||||
"return-type": "json",
|
"return-type": "json",
|
||||||
"exec": "~/dotfiles/scripts/updates.sh",
|
"exec": "~/dotfiles/scripts/updates.sh",
|
||||||
"restart-interval": 60,
|
"restart-interval": 60,
|
||||||
"on-click": "alacritty --class dotfiles-floating -e ~/dotfiles/scripts/installupdates.sh"
|
"on-click": "alacritty --class dotfiles-floating -e ~/dotfiles/scripts/installupdates.sh",
|
||||||
|
"on-click-right": "~/dotfiles/.settings/software.sh"
|
||||||
},
|
},
|
||||||
|
|
||||||
// Wallpaper
|
// Wallpaper
|
||||||
|
|||||||
@@ -1,47 +0,0 @@
|
|||||||
/* -----------------------------------------------------
|
|
||||||
* Import Pywal colors
|
|
||||||
* ----------------------------------------------------- */
|
|
||||||
@import '../../../../../.cache/wal/colors-waybar.css';
|
|
||||||
|
|
||||||
@define-color backgroundlight @color5;
|
|
||||||
@define-color backgrounddark @color11;
|
|
||||||
@define-color workspacesbackground1 @color5;
|
|
||||||
@define-color workspacesbackground2 @color11;
|
|
||||||
@define-color bordercolor @color11;
|
|
||||||
@define-color textcolor1 #FFFFFF;
|
|
||||||
@define-color textcolor2 #FFFFFF;
|
|
||||||
@define-color textcolor3 #FFFFFF;
|
|
||||||
@define-color iconcolor #FFFFFF;
|
|
||||||
|
|
||||||
@define-color base #1e1e2e;
|
|
||||||
@define-color mantle #181825;
|
|
||||||
@define-color crust #11111b;
|
|
||||||
|
|
||||||
@define-color text #cdd6f4;
|
|
||||||
@define-color subtext0 #a6adc8;
|
|
||||||
@define-color subtext1 #bac2de;
|
|
||||||
|
|
||||||
@define-color surface0 #313244;
|
|
||||||
@define-color surface1 #45475a;
|
|
||||||
@define-color surface2 #585b70;
|
|
||||||
|
|
||||||
@define-color overlay0 #6c7086;
|
|
||||||
@define-color overlay1 #7f849c;
|
|
||||||
@define-color overlay2 #9399b2;
|
|
||||||
|
|
||||||
@define-color blue #89b4fa;
|
|
||||||
@define-color lavender #b4befe;
|
|
||||||
@define-color sapphire #74c7ec;
|
|
||||||
@define-color sky #89dceb;
|
|
||||||
@define-color teal #94e2d5;
|
|
||||||
@define-color green #a6e3a1;
|
|
||||||
@define-color yellow #f9e2af;
|
|
||||||
@define-color peach #fab387;
|
|
||||||
@define-color maroon #eba0ac;
|
|
||||||
@define-color red #f38ba8;
|
|
||||||
@define-color mauve #cba6f7;
|
|
||||||
@define-color pink #f5c2e7;
|
|
||||||
@define-color flamingo #f2cdcd;
|
|
||||||
@define-color rosewater #f5e0dc;
|
|
||||||
|
|
||||||
@import '../style.css';
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user