[feat] Add darwin configs as well

This commit is contained in:
Uttarayan
2024-02-14 23:46:42 +05:30
parent 465a237519
commit dcd0b6b936
7 changed files with 316 additions and 262 deletions

View File

@@ -1,6 +1,6 @@
{ pkgs, ... }: {
{pkgs, ...}: {
wayland.windowManager.hyprland = {
enable = true;
enable = pkgs.stdenv.isLinux;
settings = {
monitor = [
",preferred,auto,auto"
@@ -37,8 +37,6 @@
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 10;
drop_shadow = true;
shadow_range = 4;
shadow_render_power = 3;
@@ -150,7 +148,6 @@
# "$mainModShift,Print, exec, grim -g "$(slurp)""
"$mainModShift,s, exec, watershot"
# Move focus with mainMod + arrow keys
"$mainMod, left, movefocus, l"
"$mainMod, right, movefocus, r"
@@ -191,13 +188,10 @@
"$mainMod SHIFT, 9, movetoworkspace, 9"
"$mainMod SHIFT, 0, movetoworkspace, 10"
# Scroll through existing workspaces with mainMod + scroll
"$mainMod, mouse_down, workspace, e+1"
"$mainMod, mouse_up, workspace, e-1"
"$mainMod, Tab, cyclenext, bind = ALT, Tab, bringactivetotop,"
];
@@ -220,8 +214,6 @@
"9, monitor:HDMI-A-2"
"10, monitor:HDMI-A-2"
];
};
};
}