fixed a stupid bug with chmura and attempted adding a hyprland plugin myself
This commit is contained in:
parent
3445ce4ff6
commit
2006a2058f
6 changed files with 28 additions and 3 deletions
|
@ -16,7 +16,6 @@
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = "chmura";
|
username = "chmura";
|
||||||
#homeDirectory = "/home/chmura";
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
git
|
git
|
||||||
exa
|
exa
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
extraSpecialArgs = {inherit inputs self;}; # let home-manager access inputs and self
|
extraSpecialArgs = {inherit inputs self;}; # let home-manager access inputs and self
|
||||||
users = {
|
users = {
|
||||||
jacek = import ./jacek;
|
jacek = import ./jacek;
|
||||||
chmura = import ./chmura;
|
#chmura = import ./chmura;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,6 +90,7 @@
|
||||||
waypipe
|
waypipe
|
||||||
swaylock
|
swaylock
|
||||||
trash-cli
|
trash-cli
|
||||||
|
bibata-cursors
|
||||||
];
|
];
|
||||||
|
|
||||||
stateVersion = lib.mkDefault "23.11";
|
stateVersion = lib.mkDefault "23.11";
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [
|
plugins = [
|
||||||
inputs.hyprland-plugins.packages.${pkgs.system}.csgo-vulkan-fix
|
inputs.hyprland-plugins.packages.${pkgs.system}.csgo-vulkan-fix
|
||||||
|
pkgs.callPackage ./split-monitor-workspaces {inherit (pkgs.hyprland.packages.${pkgs.system}) hyprland;}
|
||||||
];
|
];
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
#laptop
|
#laptop
|
||||||
|
|
24
homes/jacek/gui/hypr/split-monitor-workspaces.nix
Normal file
24
homes/jacek/gui/hypr/split-monitor-workspaces.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -12,7 +12,7 @@
|
||||||
settings.mainBar = {
|
settings.mainBar = {
|
||||||
gtk-layer-shell = true;
|
gtk-layer-shell = true;
|
||||||
layer = "top";
|
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-center = [ "hyprland/window" ];
|
||||||
modules-right = [ "custom/dnd" "backlight" "cava" "pulseaudio" "clock" "battery" "custom/power" ];
|
modules-right = [ "custom/dnd" "backlight" "cava" "pulseaudio" "clock" "battery" "custom/power" ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue