diff --git a/configuration.nix b/configuration.nix index df1d364..6049639 100644 --- a/configuration.nix +++ b/configuration.nix @@ -73,9 +73,9 @@ bind = [ "$mainMod, C, exec, alacritty" "$mainMod, Q, killactive," - "$mainMod, grave, exec, rofi -show drun" - "$mainMod, F, fullscreen" - "$mainMod, V, togglefloating," + "$mainMod, grave, exec, rofi -show drun" + "$mainMod, F, fullscreen" + "$mainMod, V, togglefloating," # Switch workspaces with mainMod + [0-9] "$mainMod, 1, workspace, 1" @@ -100,32 +100,36 @@ "$mainMod SHIFT, 8, movetoworkspace, 8" "$mainMod SHIFT, 9, movetoworkspace, 9" "$mainMod SHIFT, 0, movetoworkspace, 10" - ]; - bindm = [ + ]; + bindm = [ "$mainMod, mouse:272, movewindow" "$mainMod, mouse:273, resizewindow" - ]; - monitor = [ + ]; + monitor = [ "DP-3, 2560x1440@170, 1440x700, 1" - "HDMI-A-1, 2560x1440@144, 0x0, 1, transform, 1" - ]; - windowrulev2 = [ - "tile, initialClass:^(Godot)$, initialTitle: ^(Godot)$" - "float, class:^(Godot)$, title:^(?!(.*Godot)).*$" - "float, initialTitle:^(Godot)$, class:^(?!(Godot)).*$" - ]; + "HDMI-A-1, 2560x1440@144, 0x0, 1, transform, 1" + ]; + windowrulev2 = [ + "tile, initialClass:^(Godot)$, initialTitle: ^(Godot)$" + "float, class:^(Godot)$, title:^(?!(.*Godot)).*$" + "float, initialTitle:^(Godot)$, class:^(?!(Godot)).*$" + ]; + exec-once = [ + "swaybg -i ~/.wallpaper -m fill" + "nextcloud --background" + ]; }; }; programs.neovim = { enable = true; extraConfig = '' - set number relativenumber - set tabstop=2 - set softtabstop=2 - set shiftwidth=2 - set expandtab - set cc=80 - ''; + set number relativenumber + set tabstop=2 + set softtabstop=2 + set shiftwidth=2 + set expandtab + set cc=80 + ''; }; }; }; @@ -164,6 +168,7 @@ signal-desktop cargo docker + swaybg ]; };