Browse Source

small tweak on copy script

pull/10/head
JaKooLit 2 years ago
parent
commit
d88e4c18f6
  1. 17
      README.md
  2. 2
      config/hypr/configs/ENVariables.conf
  3. 10
      copy.sh

17
README.md

@ -8,14 +8,13 @@
</div> </div>
## 👁🗨 My Hyprland install Scripts 👁🗨 ## 👁🗨 My Hyprland install Scripts 👁🗨
- You can install Hyprland using Scripts below:
- [Fedora-Linux](https://github.com/JaKooLit/Fedora-Hyprland) - [Fedora-Linux](https://github.com/JaKooLit/Fedora-Hyprland)
- [Debian/Ubuntu-Linux](https://github.com/JaKooLit/Debian-Hyprland) - [Debian/Ubuntu-Linux](https://github.com/JaKooLit/Debian-Hyprland)
- [Arch-Linux](https://github.com/JaKooLit/Arch-Hyprland) - [Arch-Linux](https://github.com/JaKooLit/Arch-Hyprland)
- [Arch-Linux-(orig)](https://github.com/JaKooLit/Hyprland-v4)
- As you noticed there are 2 for Arch Linux. At some point I will be concentrating on the Arch-Linux only
- refer to install scripts what packages needed to install... but atleast, Hyprland packages is needed 😏😏😏 duh!! - refer to install scripts what packages needed to install... but atleast, Hyprland packages is needed 😏😏😏 duh!!
@ -60,20 +59,16 @@ chmod +x $HOME/.config/hypr/scripts/*
- Make sure to execute initial symlinks else dunst, wofi and waybar will fail to launch - Make sure to execute initial symlinks else dunst, wofi and waybar will fail to launch
```bash ```bash
ln -sf "$HOME/.config/waybar/configs/config-default" "$HOME/.config/waybar/config" ln -sf "$HOME/.config/waybar/configs/config-default" "$HOME/.config/waybar/config"
ln -sf "$HOME/.config/waybar/style/style-dark.css" "$HOME/.config/waybar/style.css" ln -sf "$HOME/.config/waybar/style/style-pywal.css" "$HOME/.config/waybar/style.css"
ln -sf "$HOME/.config/dunst/styles/dunstrc-dark" "$HOME/.config/dunst/dunstrc" ln -sf "$HOME/.config/dunst/styles/dunstrc-dark" "$HOME/.config/dunst/dunstrc"
ln -sf "$HOME/.config/wofi/styles/style-dark.css" "$HOME/.config/wofi/style.css"
ln -sf "$HOME/.config/wofi/configs/config-default" "$HOME/.config/wofi/config"
``` ```
### ⚠ A MUST! after copying these dots ### ⚠ A MUST! after copying these dots
- By default I have not set a wallpaper. If using swww, just press SUPER CTRL W and choose wallpaper. Once you reboot or logged out, the last wallpaper will be loaded by swww automatically. - By default I have not set a wallpaper. Press Super CTRL W and set a wallpaper. This is also to initiate pywal for waybar, kitty (tty) and rofi themes
- If not using swww, edit ~/.config/hypr/Execs.conf and set using swaybg
- Nvidia Owners. Make sure to edit your ~/.config/hypr/configs/ENVariables.conf if you have set a proper environment already. (recommended). WLR_NO_CURSORS will be activated if nvidia gpu is detected. - Nvidia Owners. Make sure to edit your ~/.config/hypr/configs/ENVariables.conf if you have set a proper environment already. (recommended). WLR_NO_CURSORS will be activated if nvidia gpu is detected.
- If you have already set your own keybinds, monitors, etc.... Just copy over from backup created before log-out or reboot. (recommended) - If you have already set your own keybinds, monitors, etc.... Just copy over from backup created before log-out or reboot. (recommended)
### 📖 Known issues and possibly solutions ### 📖 Known issues and possibly solutions
- Foot tty fonts after copying dots is broken - Install Fira Code or just restore your previous foot configuration in ~/.config/foot
- Themes are broken when changing dark light - Ensure you have Tokyo Night Dark and Light themes installed and Tokyo Night SE icons or adjust the Dark Light script located in ~/.config/hypr/scripts/DarkLight.sh - Themes are broken when changing dark light - Ensure you have Tokyo Night Dark and Light themes installed and Tokyo Night SE icons or adjust the Dark Light script located in ~/.config/hypr/scripts/DarkLight.sh
- Keyboard shortcuts or customized Keybinds are broken! - Just copy over your previous Keybinds.conf from the hypr-backup in ~/.config/ - Keyboard shortcuts or customized Keybinds are broken! - Just copy over your previous Keybinds.conf from the hypr-backup in ~/.config/
@ -86,9 +81,9 @@ ln -sf "$HOME/.config/wofi/configs/config-default" "$HOME/.config/wofi/config"
- Waybar styles (all those new panel styles require some tweaking) - I kindly request assistance 🙏 - Waybar styles (all those new panel styles require some tweaking) - I kindly request assistance 🙏
### 🤷 TO DO! ### 🤷 TO DO!
- [X] ~~After Arch update the hyprland package, will uncomment line 38 to 44 in ~/.config/hypr/configs/Settings.conf. Users of hyprland-git or if compiled from source, you can safely uncomment these lines (group and groupbar)~~ Switched to Hyprland-git for Arch-Hyprland script as Arch dev is not updating its Hyprland repo
- [ ] Tweak waybar layouts and Themes - [ ] Tweak waybar layouts and Themes
- [X] ~~Integrate these dotfiles into my Hyprland install scripts for a centralized configurations~~ - [ ] Tweak rofi layouts and Themes
### 🔮 Discord Server ### 🔮 Discord Server
- kindly join my Discord Server https://discord.gg/V2SJ92vbEN - kindly join my Discord Server https://discord.gg/V2SJ92vbEN

2
config/hypr/configs/ENVariables.conf

@ -30,3 +30,5 @@ env = MOZ_ENABLE_WAYLAND,1
#env = WLR_DRM_NO_ATOMIC,1 #env = WLR_DRM_NO_ATOMIC,1
#env = NVD_BACKEND,direct #env = NVD_BACKEND,direct
# FOR VM and POSSIBLY NVIDIA
#env = WLR_RENDERER_ALLOW_SOFTWARE,1

10
copy.sh

@ -21,12 +21,18 @@ RESET=$(tput sgr0)
# Set the name of the log file to include the current date and time # Set the name of the log file to include the current date and time
LOG="install-$(date +%d-%H%M%S)_dotfiles.log" LOG="install-$(date +%d-%H%M%S)_dotfiles.log"
#uncommenting WLR_NO_HARDWARE_CURSORS if nvidia is detected # uncommenting WLR_NO_HARDWARE_CURSORS if nvidia is detected
if lspci -k | grep -A 2 -E "(VGA|3D)" | grep -iq nvidia; then if lspci -k | grep -A 2 -E "(VGA|3D)" | grep -iq nvidia; then
# NVIDIA GPU detected, uncomment line 23 in ENVariables.conf # NVIDIA GPU detected, uncomment line 23 in ENVariables.conf
sed -i '/env = WLR_NO_HARDWARE_CURSORS,1/s/^#//' config/hypr/configs/ENVariables.conf sed -i '/env = WLR_NO_HARDWARE_CURSORS,1/s/^#//' config/hypr/configs/ENVariables.conf
fi fi
# uncommenting WLR_RENDERER_ALLOW_SOFTWARE,1 if running in a VM is detected
if hostnamectl | grep -q 'Chassis: vm'; then
echo "This script is running in a virtual machine."
sed -i '/env = WLR_RENDERER_ALLOW_SOFTWARE,1/s/^#//' config/hypr/configs/ENVariables.conf
fi
# preparing hyprland.conf keyboard layout # preparing hyprland.conf keyboard layout
# Function to detect keyboard layout in an X server environment # Function to detect keyboard layout in an X server environment
detect_x_layout() { detect_x_layout() {
@ -83,7 +89,7 @@ printf "\n"
set -e # Exit immediately if a command exits with a non-zero status. set -e # Exit immediately if a command exits with a non-zero status.
printf "${NOTE} copying dotfiles\n" printf "${NOTE} copying dotfiles\n"
for DIR in btop cava dunst foot hypr swappy swaylock waybar wofi; do for DIR in btop cava dunst hypr kitty rofi swappy swaylock waybar wlogout; do
DIRPATH=~/.config/$DIR DIRPATH=~/.config/$DIR
if [ -d "$DIRPATH" ]; then if [ -d "$DIRPATH" ]; then
echo -e "${NOTE} - Config for $DIR found, attempting to back up." echo -e "${NOTE} - Config for $DIR found, attempting to back up."

Loading…
Cancel
Save