From 06d6f6ba34a530665ddd539abf1914f6a4742980 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 26 Aug 2024 17:33:42 +0400 Subject: [PATCH] (major) make sakopc use hyprland --- config/hyprland/hyprland.conf | 9 ++++++++- config/hyprland/hyprpaper.conf | 2 +- hosts/sakopc/configuration.nix | 7 +++++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/config/hyprland/hyprland.conf b/config/hyprland/hyprland.conf index 633cecef..a958fc97 100644 --- a/config/hyprland/hyprland.conf +++ b/config/hyprland/hyprland.conf @@ -8,8 +8,12 @@ # # See https://wiki.hyprland.org/Configuring/Monitors/ +# default monitor=,preferred,auto,auto +# sakopc +monitor = DP-1, 1920x1080@239.96, 0x0, 1 +monitor = HDMI-A-1, 1920x1080, -1920x0, 1 # See https://wiki.hyprland.org/Configuring/Keywords/ for more @@ -42,7 +46,6 @@ env = HYPRCURSOR_THEME,rose-pine-hyprcursor # Nvidia Environment Vars env = LIBVA_DRIVER_NAME,nvidia env = XDG_SESSION_TYPE,wayland -env = GBM_BACKEND,nvidia-drm env = __GLX_VENDOR_LIBRARY_NAME,nvidia # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ @@ -78,6 +81,10 @@ general { layout = dwindle } +cursor { + no_hardware_cursors = true +} + decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more diff --git a/config/hyprland/hyprpaper.conf b/config/hyprland/hyprpaper.conf index 2db096b1..7b4aa4d6 100644 --- a/config/hyprland/hyprpaper.conf +++ b/config/hyprland/hyprpaper.conf @@ -1,3 +1,3 @@ preload = /home/sako/background.png -wallpaper = eDP-1,/home/sako/background.png +wallpaper = , /home/sako/background.png diff --git a/hosts/sakopc/configuration.nix b/hosts/sakopc/configuration.nix index 3797909c..6b407797 100644 --- a/hosts/sakopc/configuration.nix +++ b/hosts/sakopc/configuration.nix @@ -18,9 +18,11 @@ desktop = { printing.enable = true; bspwm = { - enable = true; - polybar.enable = true; + enable = false; + polybar.enable = false; }; + hyprland.enable = true; + foot.enable = true; kitty.enable = true; picom.enable = true; dunst.enable = true; @@ -65,6 +67,7 @@ emacs = { enable = true; daemon = true; + package = pkgs.emacs-unstable-pgtk; }; }; cc.enable = true;