Compare commits

2 Commits

Author SHA1 Message Date
3a640ee9df Update Hyprland dotfiles 2025-11-14 22:38:40 +01:00
1944df07cc docs: Update README with installation instructions 2025-11-14 19:24:24 +01:00
5 changed files with 64 additions and 27 deletions

View File

@@ -33,7 +33,36 @@ The primary goal was to enable reliable dark/light theme switching across Waybar
6. **Hyprland Window Rules (`~/.config/hypr/UserConfigs/WindowRules.conf`)**:
* **Alacritty Opacity Fix:** Added a specific `windowrule = opacity 1.0 1.0, class:^(Alacritty)$` to ensure the Alacritty terminal is fully opaque. This overrides a more general `tag:terminal*` transparency rule that was unintentionally affecting Alacritty.
## Installation 🚀
To install these dotfiles and set up your Hyprland environment, follow these steps:
1. **Clone the repository:**
```bash
git clone https://gitea.ramforth.net/ramforth/hyprland-dots.git ~/.config/hypr
```
2. **Navigate to the dotfiles directory:**
```bash
cd ~/.config/hypr
```
3. **Make the install script executable:**
```bash
chmod +x install.sh
```
4. **Run the installation script:**
```bash
./install.sh
```
**Important Notes:**
* This script assumes you have already installed Hyprland and its core dependencies.
* You will need to manually install applications like Waybar, Kitty, etc., using your system's package manager (e.g., `pacman -S hyprland waybar kitty`).
* After running the script, it's recommended to reboot your system or log out and back in for all changes to take effect.
## Future Work
* **Firefox Theming:** Further investigation is needed to ensure Firefox correctly follows the dark/light theme switch managed by `DarkLight.sh`. This is likely related to how `DarkLight.sh` interacts with GTK themes and how Firefox interprets those changes.
* **NVIDIA Environment Variables:** Review and potentially enable NVIDIA environment variables in `ENVariables.conf` for optimal performance with the NVIDIA RTX 4080.
* **NVIDIA Environment Variables:** Review and potentially enable NVIDIA environment variables in `ENVariables.conf` for optimal performance with the NVIDIA RTX 4080.

View File

@@ -11,8 +11,8 @@
$edit=${EDITOR:-nano}
# These two are for UserKeybinds.conf & Waybar Modules
$term = kitty # Terminal
$term = alacritty # Terminal
$files = thunar # File Manager
# Default Search Engine for ROFI Search (SUPER S)
$Search_Engine = "https://www.google.com/search?q={}"
$Search_Engine = "https://www.google.com/search?q={}"

View File

@@ -37,8 +37,8 @@ env = QT_SCALE_FACTOR,1
# Bibata-Modern-Ice-Cursor
# NOTE! You must have the hyprcursor version to activate this.
# https://wiki.hyprland.org/Hypr-Ecosystem/hyprcursor/
#env = HYPRCURSOR_THEME,Bibata-Modern-Ice
#env = HYPRCURSOR_SIZE,24
env = HYPRCURSOR_THEME,Bibata-Modern-Ice
env = HYPRCURSOR_SIZE,48
# firefox
env = MOZ_ENABLE_WAYLAND,1
@@ -51,39 +51,39 @@ env = ELECTRON_OZONE_PLATFORM_HINT,auto # auto selects Wayland if possible, X11
# This is from Hyprland Wiki. Below will be activated nvidia gpu detected
# See hyprland wiki https://wiki.hyprland.org/Nvidia/#environment-variables
env = LIBVA_DRIVER_NAME,nvidia
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = NVD_BACKEND,direct
env = GSK_RENDERER,ngl
#env = LIBVA_DRIVER_NAME,nvidia
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
#env = NVD_BACKEND,direct
#env = GSK_RENDERER,ngl
# additional ENV's for nvidia. Caution, activate with care
env = GBM_BACKEND,nvidia-drm
#env = GBM_BACKEND,nvidia-drm
env = __GL_GSYNC_ALLOWED,1 #adaptive Vsync
env = __NV_PRIME_RENDER_OFFLOAD,1
env = __VK_LAYER_NV_optimus,NVIDIA_only
env = WLR_DRM_NO_ATOMIC,1
#env = __GL_GSYNC_ALLOWED,1 #adaptive Vsync
#env = __NV_PRIME_RENDER_OFFLOAD,1
#env = __VK_LAYER_NV_optimus,NVIDIA_only
#env = WLR_DRM_NO_ATOMIC,1
# FOR VM and POSSIBLY NVIDIA
# LIBGL_ALWAYS_SOFTWARE software mesa rendering
env = LIBGL_ALWAYS_SOFTWARE,1 # Warning. May cause hyprland to crash
env = WLR_RENDERER_ALLOW_SOFTWARE,1
#env = LIBGL_ALWAYS_SOFTWARE,1 # Warning. May cause hyprland to crash
#env = WLR_RENDERER_ALLOW_SOFTWARE,1
# nvidia firefox (for hardware acceleration on FF)?
# check this post https://github.com/elFarto/nvidia-vaapi-driver#configuration
env = MOZ_DISABLE_RDD_SANDBOX,1
env = EGL_PLATFORM,wayland
#env = MOZ_DISABLE_RDD_SANDBOX,1
#env = EGL_PLATFORM,wayland
#### Aquamarine Environment Variables #### ( Hyprland > 0.45 )
# https://wiki.hyprland.org/Configuring/Environment-variables/#aquamarine-environment-variables----ref-httpsgithubcomhyprwmaquamarineblobmaindocsenvmd---
env = AQ_TRACE,1 # Enables more verbose logging.
env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0 # Set an explicit list of DRM devices (GPUs) to use. Its a colon-separated list of paths, with the first being the primary. E.g. /dev/dri/card1:/dev/dri/card0
env = AQ_MGPU_NO_EXPLICIT,1 # Disables explicit syncing on mgpu buffers
env = AQ_NO_MODIFIERS,1 # Disables modifiers for DRM buffers
# env = AQ_TRACE,1 # Enables more verbose logging.
# env = AQ_DRM_DEVICES,/dev/dri/card1:/dev/dri/card0 # Set an explicit list of DRM devices (GPUs) to use. Its a colon-separated list of paths, with the first being the primary. E.g. /dev/dri/card1:/dev/dri/card0
# env = AQ_MGPU_NO_EXPLICIT,1 # Disables explicit syncing on mgpu buffers
# env = AQ_NO_MODIFIERS,1 # Disables modifiers for DRM buffers
#### Hyprland Environment Variables ####
# https://wiki.hyprland.org/Configuring/Environment-variables/#hyprland-environment-variables
env = HYPRLAND_TRACE,1 # Enables more verbose logging.
env = HYPRLAND_NO_RT,1 # Disables realtime priority setting by Hyprland.
env = HYPRLAND_NO_SD_NOTIFY,1 # If systemd, disables the 'sd_notify' calls.
env = HYPRLAND_NO_SD_VARS,1 # Disables management of variables in systemd and dbus activation environments.
# env = HYPRLAND_TRACE,1 # Enables more verbose logging.
# env = HYPRLAND_NO_RT,1 # Disables realtime priority setting by Hyprland.
# env = HYPRLAND_NO_SD_NOTIFY,1 # If systemd, disables the 'sd_notify' calls.
# env = HYPRLAND_NO_SD_VARS,1 # Disables management of variables in systemd and dbus activation environments.

View File

@@ -57,3 +57,6 @@ exec-once = swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent
# xdg-desktop-portal-hyprland (should be auto starting. However, you can force to start)
#exec-once = $scriptsDir/PortalHyprland.sh
# Autostart Vesktop
#exec-once = vesktop

View File

@@ -5,6 +5,11 @@
# Autostart gnome-keyring-daemon
exec-once = /usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh
debug {
enable_stdout_logs = true
# log_level = LOG_TRACE
}
# Initial boot script enable to apply initial wallpapers, theming, new settings etc.
# suggest not to change this or delete this including deleting referrence file in ~/.config/hypr/.initial_startup_done
@@ -44,4 +49,4 @@ source= $UserConfigs/01-UserDefaults.conf # settings for User defaults apps
# nwg-displays
source= $HOME/.config/hypr/monitors.conf
source= $HOME/.config/hypr/workspaces.conf
source= $HOME/.config/hypr/workspaces.conf