From 6fdbd20f3883c2c6c7b9ec6259ef7277a108b137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sun, 15 Sep 2019 13:23:01 +0100 Subject: [PATCH] Do not open terminal on startup, configure evince --- nixos/i3.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nixos/i3.nix b/nixos/i3.nix index c25b7bf0..d2e7febc 100644 --- a/nixos/i3.nix +++ b/nixos/i3.nix @@ -12,9 +12,10 @@ in { command = "exec hsetroot -solid '#002b36'"; always = true; notification = false; } { command = "exec setxkbmap -layout pl"; always = true; notification = false; } { command = "exec autorandr -c"; always = true; notification = false; } - { command = "exec i3-sensible-terminal"; always = false; notification = false; } { command = "exec $HOME/dev/dotfiles/lock.sh"; always = false; notification = false; } + { command = "exec xdg-mime default org.gnome.Evince.desktop application/pdf"; always = false; notification = false; } ]; + window = { hideEdgeBorders = "horizontal"; titlebar = false; @@ -77,6 +78,7 @@ in "${mod}+Shift+9" = "move container to workspace 9"; "${mod}+Shift+0" = "move container to workspace 10"; }; + }; };