feat(hypr): add env variables into a new file called env.conf

This commit is contained in:
Sergio Laín 2023-12-23 12:58:37 +01:00
parent 18b39cd6cf
commit d6744e2cde
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
3 changed files with 19 additions and 10 deletions

View file

@ -0,0 +1,17 @@
# XDG
envd = XDG_CURRENT_DESKTOP, Hyprland
envd = XDG_SESSION_TYPE, wayland
envd = XDG_SESSION_DESKTOP, Hyprland
# QT
env = QT_QPA_PLATFORMTHEME, qt5ct
env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1
env = QT_AUTO_SCREEN_SCALE_FACTOR, 1
# Tearing
env = WLR_DRM_NO_ATOMIC, 1
# Themes
env = GTK_THEME, Catppuccin-Macchiato-Standard-Lavender-Dark
env = XCURSOR_THEME, Catppuccin-Macchiato-Dark-Cursors
env = XCURSOR_SIZE, 24

View file

@ -1,4 +1,5 @@
# Configs (change to whichever config you want to use)
source = ~/.config/hypr/configs/env.conf
source = ~/.config/hypr/configs/binds.conf
source = ~/.config/hypr/configs/monitors.conf
source = ~/.config/hypr/configs/workspaces.conf
@ -7,10 +8,6 @@ source = ~/.config/hypr/configs/workspaces.conf
exec-once = $HOME/.config/hypr/scripts/autostart/services
exec-once = $HOME/.config/hypr/scripts/autostart/apps
# Environment Variables
env = QT_QPA_PLATFORMTHEME, qt5ct
env = WLR_DRM_NO_ATOMIC, 1
# Theme (change to whichever theme you want to use)
source = ~/.config/hypr/themes/luna/theme.conf
source = ~/.config/hypr/themes/luna/rules.conf

View file

@ -33,14 +33,9 @@ swayidle &
wl-clip-persist --clipboard regular &
wl-paste --watch cliphist store &
# Gnome polkit authentication
# Polkit authentication
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
# umm is this unnecessary?
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
dbus-update-activation-environment --systemd --all &
systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
# Screen sharing and portals
"$scripts"/launch_portals &
xwaylandvideobridge &