fixed a stupid bug with chmura and attempted adding a hyprland plugin myself

This commit is contained in:
jacekpoz 2023-07-16 16:40:40 +02:00
parent 3445ce4ff6
commit 2006a2058f
6 changed files with 28 additions and 3 deletions

View file

@ -16,7 +16,6 @@
home = {
username = "chmura";
#homeDirectory = "/home/chmura";
packages = with pkgs; [
git
exa

View file

@ -9,7 +9,7 @@
extraSpecialArgs = {inherit inputs self;}; # let home-manager access inputs and self
users = {
jacek = import ./jacek;
chmura = import ./chmura;
#chmura = import ./chmura;
};
};
}

View file

@ -90,6 +90,7 @@
waypipe
swaylock
trash-cli
bibata-cursors
];
stateVersion = lib.mkDefault "23.11";

View file

@ -9,6 +9,7 @@
enable = true;
plugins = [
inputs.hyprland-plugins.packages.${pkgs.system}.csgo-vulkan-fix
pkgs.callPackage ./split-monitor-workspaces {inherit (pkgs.hyprland.packages.${pkgs.system}) hyprland;}
];
extraConfig = ''
#laptop

View file

@ -0,0 +1,24 @@
{
lib,
stdenv,
hyprland,
}: stdenv.mkDerivation {
pname = "split-monitor-workspaces";
src = lib.fetchFromGithub {
owner = "Duckonaut";
repo = "split-monitor-workspaces";
rev = "07696f7f8d2681c3c9d4d0d2f99c679cb941e8e7";
sha256 = "";
};
inherit (hyprland) nativeBuildInputs;
buildInputs = [hyprland] ++ hyprland.buildInputs;
meta = with lib; {
homepage = "https://github.com/Duckonaut/split-monitor-workspaces";
description = "A small Hyprland plugin to provide awesome-like workspace behavior";
license = licenses.bsd3;
platforms = platforms.linux;
};
}

View file

@ -12,7 +12,7 @@
settings.mainBar = {
gtk-layer-shell = true;
layer = "top";
modules-left = [ "custom/launcher" "custom/power_profile" "custom/xwayland" "tray" "hyprland/workspaces" ];
modules-left = [ "custom/launcher" "custom/xwayland" "tray" "hyprland/workspaces" ];
modules-center = [ "hyprland/window" ];
modules-right = [ "custom/dnd" "backlight" "cava" "pulseaudio" "clock" "battery" "custom/power" ];