fix screensharing and add workspaces
This commit is contained in:
@@ -31,6 +31,17 @@ in {
|
|||||||
",preferred,auto,auto"
|
",preferred,auto,auto"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
workspace =
|
||||||
|
lib.lists.optionals (osConfig.networking.hostName == "kop-pc") [
|
||||||
|
"1,monitor:DP-1"
|
||||||
|
"2,monitor:DP-1"
|
||||||
|
"3,monitor:DP-1"
|
||||||
|
"4,monitor:DP-1"
|
||||||
|
"5,monitor:DP-1"
|
||||||
|
"9,monitor:HDMI-A-1"
|
||||||
|
"10,monitor:HDMI-A-1"
|
||||||
|
];
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
|
||||||
# Execute your favorite apps at launch
|
# Execute your favorite apps at launch
|
||||||
@@ -50,12 +61,15 @@ in {
|
|||||||
kb_options = "";
|
kb_options = "";
|
||||||
kb_rules = "";
|
kb_rules = "";
|
||||||
|
|
||||||
follow_mouse = 2;
|
follow_mouse = 1;
|
||||||
float_switch_override_focus = 2;
|
float_switch_override_focus = 2;
|
||||||
|
|
||||||
touchpad = { natural_scroll = true; };
|
touchpad = { natural_scroll = true; };
|
||||||
|
|
||||||
sensitivity = if osConfig.networking.hostName == "kop-pc" then -0.3 else 0; # -1.0 - 1.0, 0 means no modification.
|
sensitivity = if osConfig.networking.hostName == "kop-pc" then
|
||||||
|
-0.3
|
||||||
|
else
|
||||||
|
0; # -1.0 - 1.0, 0 means no modification.
|
||||||
};
|
};
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
@@ -249,8 +263,12 @@ in {
|
|||||||
"${pkgs.swww} img $(ls -d /synced/default/dinge/Bg/* | shuf -n 1)"
|
"${pkgs.swww} img $(ls -d /synced/default/dinge/Bg/* | shuf -n 1)"
|
||||||
"${pkgs.networkmanagerapplet}/bin/nm-applet --indicator &"
|
"${pkgs.networkmanagerapplet}/bin/nm-applet --indicator &"
|
||||||
"${pkgs.waybar}/bin/waybar &"
|
"${pkgs.waybar}/bin/waybar &"
|
||||||
|
"dex --autostart --environment Hyprland"
|
||||||
"hypridle &"
|
"hypridle &"
|
||||||
#"${pkgs.dunst}/bin/dunst &"
|
#"${pkgs.dunst}/bin/dunst &"
|
||||||
|
] ++ lib.lists.optionals (osConfig.networking.hostName == "kop-pc") [
|
||||||
|
"[workspace 9 silent] vesktop"
|
||||||
|
"[workspace 10 silent] firefox"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
extraConfig = let
|
extraConfig = let
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ in
|
|||||||
man-pages
|
man-pages
|
||||||
kate
|
kate
|
||||||
jetbrains.idea-ultimate
|
jetbrains.idea-ultimate
|
||||||
|
typescript
|
||||||
#jetbrains.clion
|
#jetbrains.clion
|
||||||
insomnia
|
insomnia
|
||||||
nodejs_22 # needed for tabby extension
|
nodejs_22 # needed for tabby extension
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
xdg.portal.enable = true;
|
xdg.portal.enable = true;
|
||||||
xdg.portal.extraPortals = lib.mkDefault [ pkgs.xdg-desktop-portal-gtk ];
|
xdg.portal.extraPortals = lib.mkDefault [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-hyprland ];
|
||||||
|
|
||||||
programs.hyprland = { enable = true; };
|
programs.hyprland = { enable = true; };
|
||||||
|
|
||||||
@@ -62,6 +62,7 @@ in {
|
|||||||
networkmanagerapplet
|
networkmanagerapplet
|
||||||
wayland
|
wayland
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
dex # starts applications according to .desktop files
|
||||||
#qt5.qtwayland
|
#qt5.qtwayland
|
||||||
#qt6.qmake
|
#qt6.qmake
|
||||||
#qt6.qtwayland
|
#qt6.qtwayland
|
||||||
|
|||||||
@@ -1,17 +1,15 @@
|
|||||||
{config, lib, pkgs, ...}:
|
{config, pkgs, lib, ...}:
|
||||||
with lib;
|
|
||||||
let
|
let
|
||||||
cfg = config.custom.graphical.noise-supression;
|
cfg = config.custom.graphical.noise-supression;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.custom.graphical.noise-supression = {
|
options.custom.graphical.noise-supression = {
|
||||||
enable = mkEnableOption "Enables noise-supression";
|
enable = lib.mkEnableOption "Enables noise-supression";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.noisetorch.enable = true;
|
environment.systemPackages = with pkgs; [
|
||||||
environment.systemPackages = [
|
easyeffects
|
||||||
pkgs.easyeffects
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||||
});
|
});
|
||||||
hyprland = inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}.hyprland;
|
hyprland = inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}.hyprland;
|
||||||
|
xdg-desktop-portal-hyprland = inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||||
|
|
||||||
# .png doesnt work :(
|
# .png doesnt work :(
|
||||||
#fastfetch = prev.fastfetch.overrideAttrs (oldAttrs: {
|
#fastfetch = prev.fastfetch.overrideAttrs (oldAttrs: {
|
||||||
|
|||||||
Reference in New Issue
Block a user