Adding desktop config

This commit is contained in:
Miguel Palhas
2024-11-29 11:11:46 +00:00
parent c48c55275b
commit c5303302f4
7 changed files with 176 additions and 111 deletions
+25 -10
View File
@@ -31,9 +31,9 @@ in
new_optimizations = "on";
};
drop_shadow = "yes";
shadow_range = 2;
shadow_render_power = 1;
shadow = {
enabled = false;
};
};
input = {
@@ -54,14 +54,20 @@ in
};
general = {
gaps_in = 2;
border_size = 0;
gaps_in = 0;
gaps_out = 0;
};
monitor = [
"eDP-1, 1920x1080, 0x0, 1"
"DP-1, 1920x1080, auto, 1, mirror, eDP-1"
];
misc = {
disable_hyprland_logo = true;
disable_splash_rendering = true;
force_default_wallpaper = 0;
};
xwayland = {
force_zero_scaling = true;
};
animations = {
bezier = "easeOutQuad, 0.5, 1, 0.89, 1";
@@ -79,14 +85,15 @@ in
dwindle = {
preserve_split = "yes";
no_gaps_when_only = true;
};
master = {
orientation = "center";
no_gaps_when_only = true;
};
env = [
"GDK_SCALE, 2"
"XCURSOR_SIZE, 32"
"HYPRCURSOR_THEME, rose-pine-hyprcursor"
"HYPRCURSOR_SIZE, 24"
];
@@ -180,4 +187,12 @@ in
];
};
};
services.hyprpaper = {
enable = true;
settings = {
ipc = "off";
splash = false;
};
};
}
+4 -3
View File
@@ -1,9 +1,11 @@
{ config, pkgs, ... }: {
{ config, pkgs, ... }:
{
programs.kitty = {
enable = true;
settings = {
confirm_os_window_close = 0;
enable_audio_bell = false;
cursor_trail = 1;
enabled_layouts = "tall, grid, fat, splits";
@@ -18,8 +20,7 @@
tab_bar_edge = "bottom";
tab_bar_style = "powerline";
tab_powerline_style = "slanted";
tab_title_template =
"{title}{' :{}'.format(num_windows) if num_windows > 1 else ''}";
tab_title_template = "{title}{' :{}'.format(num_windows) if num_windows > 1 else ''}";
# keys
kitty_mod = "alt";
+1
View File
@@ -93,6 +93,7 @@
procs
eza
asdf-vm
fd
];
home.sessionPath = [
+1 -1
View File
@@ -21,6 +21,7 @@
../common/features/colorscheme.nix
../common/features/xdg.nix
../common/features/bluetooth.nix
./wallpaper.nix
];
home.sessionVariables = {
@@ -31,7 +32,6 @@
};
wayland.windowManager.hyprland.settings = {
monitor = [ "eDP-1, preferred, 0x1080, 1, bitdepth, 8" ];
windowrulev2 = [
"float, class:thunar"
"move cursor -50% -50%, class:thunar"
+30
View File
@@ -0,0 +1,30 @@
{
inputs,
pkgs,
config,
}:
let
wallpaper1 = pkgs.fetchurl {
url = "https://i.redd.it/mvev8aelh7zc1.png";
hash = "sha256-lJjIq+3140a5OkNy/FAEOCoCcvQqOi73GWJGwR2zT9w";
};
in
{
wayland.windowManager.hyprland.settings = {
monitor = [
"DP-1, preferred, 0x0, auto, bitdepth, 8"
"HDMI-A-1, preferred, 2560x0, auto, bitdepth, 8"
];
workspace = [
"1, monitor=HDMI-A-1"
"2, monitor=DP-1"
"3, monitor=DP-1"
"4, monitor=DP-1"
];
};
services.hyprpaper.settings.wallpapers = [
"DP-1, ${builtins.toString wallpaper1}"
"HDMI-A-1, ${builtins.toString wallpaper1}"
];
}