From e4feed89e6f15bcaaa6cefc8ca79d482accbb300 Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Tue, 15 Nov 2022 00:06:26 +0100 Subject: fixmeuplater --- home.nix | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) (limited to 'home.nix') diff --git a/home.nix b/home.nix index a906017..05682db 100644 --- a/home.nix +++ b/home.nix @@ -35,7 +35,7 @@ userName = "Mike Vink"; userEmail = "mike1994vink@gmail.com"; }; - + programs.alacritty = { enable = true; settings = { @@ -49,22 +49,27 @@ }; }; - wayland.windowManager.sway = { + xsession = { enable = true; - wrapperFeatures.gtk = true; - config = rec { - terminal = "alacritty"; - menu = "wofi --show run"; - modifier = "Mod4"; - bars = [ - { - fonts.size = 15.0; - position = "bottom"; - } - ]; - startup = [ - {command = "firefox";} - ]; + windowManager.spectrwm = { + enable = true; + programs = { + term = "alacritty"; + search = "dmenu -ip -p 'Window name/id:'"; + browser = "firefox"; + }; + bindings = { + browser = "Mod+w"; + term = "Mod+Return"; + restart = "Mod+Shift+r"; + quit = "Mod+Shift+q"; + }; + settings = { + modkey = "Mod4"; + workspace_limit = 5; + focus_mode = "manual"; + focus_close = "next"; + }; }; }; @@ -85,6 +90,7 @@ lua <