mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 20:20:43 +02:00
41 lines
1.0 KiB
Nix
41 lines
1.0 KiB
Nix
{
|
|
userConfig,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
uwsm_run = "${pkgs.uwsm}/bin/uwsm app";
|
|
in
|
|
{
|
|
wayland.windowManager.hyprland = {
|
|
settings = {
|
|
"$mainMod" = "SUPER";
|
|
"$terminal" = "${uwsm_run} -- ${pkgs.kitty}/bin/kitty";
|
|
"$menu" = "${pkgs.hyprlauncher}/bin/hyprlauncher";
|
|
"$music_player" =
|
|
if userConfig.isNixOS then "${pkgs.spotify}/bin/spotify" else "flatpak run com.spotify.Client";
|
|
"$notes" = "${pkgs.obsidian}/bin/obsidian";
|
|
"$browser" = if userConfig.isNixOS then "zen-beta" else "zen-browser"; # beta on nixos
|
|
"$openrgb_color" = "09ce30";
|
|
|
|
env = [
|
|
"XCURSOR_SIZE, 32"
|
|
"HYPRCURSOR_SIZE, 32"
|
|
"HYPRCURSOR_THEME, theme_phinger-cursors-light"
|
|
"XDG_CURRENT_DESKTOP,Hyprland"
|
|
];
|
|
|
|
general = {
|
|
gaps_in = 4;
|
|
gaps_out = 6;
|
|
border_size = 4;
|
|
"col.active_border" = "$blue $sky";
|
|
"col.inactive_border" = "$overlay1";
|
|
resize_on_border = false;
|
|
allow_tearing = false;
|
|
layout = "scrolling";
|
|
};
|
|
};
|
|
};
|
|
}
|