a lot of changes, and spotify thats important too
This commit is contained in:
@@ -6,6 +6,7 @@ in
|
||||
imports = [
|
||||
./settings.nix
|
||||
./runner.nix
|
||||
./screenshot.nix
|
||||
];
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
@@ -22,7 +23,7 @@ in
|
||||
main = {
|
||||
term = "xterm-256color";
|
||||
|
||||
#font = "CaskaydiaCove Nerd Font Mono:size=11";
|
||||
font = "CaskaydiaCove Nerd Font Mono:size=12";
|
||||
};
|
||||
|
||||
mouse = {
|
||||
|
||||
19
nix/modules/hyprland/nixos.nix
Normal file
19
nix/modules/hyprland/nixos.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
config = {
|
||||
programs.xwayland.enable = true;
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
# set the flake package
|
||||
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||
# make sure to also set the portal package, so that they are in sync
|
||||
portalPackage =
|
||||
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
|
||||
};
|
||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
nix.settings = {
|
||||
substituters = [ "https://hyprland.cachix.org" ];
|
||||
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -2,7 +2,5 @@
|
||||
let
|
||||
|
||||
in {
|
||||
home.packages = with pkgs; [
|
||||
wofi
|
||||
];
|
||||
programs.wofi.enable = true;
|
||||
}
|
||||
|
||||
@@ -2,7 +2,10 @@
|
||||
let
|
||||
|
||||
in {
|
||||
home.packages = with pkgs; [
|
||||
wofi
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
wl-clipboard
|
||||
wayfreeze
|
||||
grim
|
||||
slurp
|
||||
];
|
||||
}
|
||||
|
||||
@@ -99,12 +99,12 @@
|
||||
"$mainMod, right, movefocus, r"
|
||||
"$mainMod, up, movefocus, u"
|
||||
"$mainMod, down, movefocus, d"
|
||||
"$mainMod, S, exec, $screenShot"
|
||||
("$mainMod, S, exec, " + ''wayfreeze --after-freeze-cmd 'grim -g "$(slurp -d)" - | wl-copy -t image/png;killall wayfreeze' --hide-cursor'')
|
||||
"$mainMod, F, fullscreen"
|
||||
"$mainMod, mouse_down, workspace, e+1"
|
||||
"$mainMod, mouse_up, workspace, e-1"
|
||||
", home, exec, $toggleSpeaker"
|
||||
", end, exec, $toggleMic"
|
||||
", home, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||
", end, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"
|
||||
", F8, sendshortcut, , F8, class:^(com\.obsproject\.Studio)$"
|
||||
"$mainMod, 0, workspace, 10"
|
||||
"$mainMod SHIFT, 0, movetoworkspace, 10"
|
||||
@@ -132,6 +132,7 @@
|
||||
"workspace 8 silent, class:^(vesktop)$"
|
||||
"workspace 8 silent, class:^(org.telegram.desktop)$"
|
||||
"workspace 10 silent, class:^(com\.obsproject\.Studio)$"
|
||||
"workspace 1 silent, initialTitle:^(Discord Popout)$"
|
||||
];
|
||||
windowrulev2 = [
|
||||
"noinitialfocus, class:.*"
|
||||
|
||||
Reference in New Issue
Block a user