sway: remove some unneeded config options

This commit is contained in:
Colin 2023-09-02 10:37:09 +00:00
parent 4d75c3d97a
commit a880ba254b
2 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,7 @@
{ config, lib, pkgs, ... }:
# docs: https://nixos.wiki/wiki/Sway
# sway-config docs: `man 5 sway`
let
cfg = config.sane.gui.sway;
in

View File

@ -24,6 +24,8 @@ let
# mod = "Mod1"; # Alt
mod = "Mod4"; # Super
in ''
# xwayland disable
### default font
font pango:monospace 8
@ -32,13 +34,12 @@ in ''
default_floating_border pixel 2
hide_edge_borders smart
### defaults
#### focus_wrapping: behavior when trying to focus past the edge of a container
#### no => preserve last focus. helpful mostly when `focus_follows_mouse yes`
focus_wrapping no
focus_follows_mouse yes
focus_on_window_activation smart
mouse_warping output
#### workspace_layout default => workspaces use splits by default (as opposed to e.g. tabbed)
workspace_layout default
workspace_auto_back_and_forth no
### default colors (#border #background #text #indicator #childBorder)
client.focused #4c7899 #285577 #ffffff #2e9ef4 #285577