Skip to content

Instantly share code, notes, and snippets.

@threddast
threddast / hypr.sh
Created March 28, 2023 07:33
Launch Hyprland with correct environment variables from Guix
#!/bin/sh
export XDG_CURRENT_DESKTOP=Hyprland
export XDG_SESSION_DESKTOP=Hyprland
export XDG_SESSION_TYPE=wayland
export QT_AUTO_SCREEN_SCALE_FACTOR=1
export QT_QPA_PLATFORM="wayland;xcb"
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
@threddast
threddast / config.scm
Created March 28, 2023 07:31
Guix config with Hyprland
;; This is an operating system configuration generated
;; by the graphical installer.
;;
;; Once installation is complete, you can learn and modify
;; this file to tweak the system configuration, and pass it
;; to the 'guix system reconfigure' command to effect your
;; changes.