shflakjjds
This commit is contained in:
@@ -77,3 +77,6 @@
|
||||
;;
|
||||
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
|
||||
;; they are implemented.
|
||||
|
||||
(after! lsp-mode
|
||||
(setq lsp-nix-nil-auto-archive t))
|
||||
|
||||
@@ -11,7 +11,6 @@ let
|
||||
isLaptop = systemName == "laptop";
|
||||
isPc = systemName == "pc";
|
||||
|
||||
hypr-package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||
hypr-portal =
|
||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||
hypr-split =
|
||||
@@ -29,7 +28,7 @@ in
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = window_manager == "hyprland" || window_manager == "all";
|
||||
package = hypr-package;
|
||||
package = null; # Use the system package from programs.hyprland to avoid duplicate sessions
|
||||
portalPackage = hypr-portal;
|
||||
plugins = [
|
||||
#pkgs.hyprlandPlugins.hyprsplit
|
||||
@@ -51,9 +50,7 @@ in
|
||||
exec-once = [
|
||||
# "waybar"
|
||||
# "quickshell"
|
||||
#"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
|
||||
"${pkgs.kdePackages.polkit-kde-agent-1}/libexec/polkit-kde-authentication-agent-1"
|
||||
"${pkgs.kdePackages.kwallet-pam}/libexec/pam_kwallet_init"
|
||||
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"
|
||||
"fcitx5 -d"
|
||||
"foot -s"
|
||||
"systemctl --user import-environment DBUS_SESSION_BUS_ADDRESS WAYLAND_DISPLAY XDG_SESSION_TYPE XDG_CURRENT_DESKTOP XDG_SESSION_DESKTOP QT_QPA_PLATFORMTHEME GTK_THEME"
|
||||
|
||||
@@ -89,10 +89,6 @@ in
|
||||
# Startup programs (aligned with hyprland exec-once)
|
||||
spawn-at-startup = [
|
||||
{ command = [ "xwayland-satellite" ]; }
|
||||
{
|
||||
command = [ "${pkgs.kdePackages.polkit-kde-agent-1}/libexec/polkit-kde-authentication-agent-1" ];
|
||||
}
|
||||
{ command = [ "${pkgs.kdePackages.kwallet-pam}/libexec/pam_kwallet_init" ]; }
|
||||
{
|
||||
command = [
|
||||
"fcitx5"
|
||||
@@ -310,6 +306,16 @@ in
|
||||
|
||||
# Window rules
|
||||
window-rules = [
|
||||
#{
|
||||
# matches = [
|
||||
# { app-id = "firefox"; }
|
||||
# { app-id = "thunar"; }
|
||||
# { app-id = "vesktop"; }
|
||||
# ];
|
||||
# default-column-width = {
|
||||
# proportion = 0.95;
|
||||
# };
|
||||
#}
|
||||
# Float file dialogs
|
||||
{
|
||||
matches = [
|
||||
|
||||
Reference in New Issue
Block a user