Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wayland desktop environment #51

Open
bphenriques opened this issue Jun 26, 2024 · 0 comments
Open

Wayland desktop environment #51

bphenriques opened this issue Jun 26, 2024 · 0 comments

Comments

@bphenriques
Copy link
Owner

bphenriques commented Jun 26, 2024

Wayland:

https://github.com/prasanthrangan/hyprdots

 # Enable other essential services
  services.gvfs.enable = true; # Mount, trash, and other functionalities
  services.tumbler.enable = true; # Thumbnail support for images

  # Install firefox.
  # programs.firefox.enable = true;

  # Install thunar.
  programs.thunar.enable = true;

  # Install Hyprland
  programs.hyprland.enable = true;

services.displayManager = {
    sessionPackages = [ pkgs.hyprland ];
  };

Cursor stuff:

{ config, pkgs, lib, ... }:

{
  environment.systemPackages = with pkgs; [
    capitaine-cursors
  ];

  # Set cursor theme for X11
  environment.variables = {
    XCURSOR_THEME = "capitaine-cursors";
    XCURSOR_SIZE = "24";
  };

  # Set the cursor theme for GTK applications
  environment.etc."gtk-3.0/settings.ini".text = ''
    [Settings]
    gtk-cursor-theme-name = capitaine-cursors
    gtk-cursor-theme-size = 24
  '';

  # Set the cursor theme for GTK2 applications
  environment.etc."gtk-2.0/settings.ini".text = ''
    gtk-cursor-theme-name = capitaine-cursors
    gtk-cursor-theme-size = 24
  '';
}

More hyperland stuff

{ config, pkgs, ... }:
{


  environment.systemPackages = with pkgs; [
    # other packages
  hyprpaper
  hyprlock
  hypridle
  hyprshot
  gtk3
  gtk4
  rofi-wayland
  waybar
      ];

  xdg.portal = {
    enable = true;
    extraPortals = with pkgs; [xdg-desktop-portal-gtk xdg-desktop-portal-hyprland];
    config.preferred.default = ["hyprland" "gtk"];
    xdgOpenUsePortal = true;
  };

  }

Waybar: https://github.com/Rouzihiro/iMac/blob/main/Hyprland%20light%20AMD%20support/waybar.nix

@bphenriques bphenriques changed the title Check https://github.com/prasanthrangan/hyprdots Wayland desktop environment Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant