about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home-manager/config/dconf/default.nix10
-rw-r--r--home-manager/config/default.nix1
-rwxr-xr-xhome-manager/wms/river/init3
3 files changed, 11 insertions, 3 deletions
diff --git a/home-manager/config/dconf/default.nix b/home-manager/config/dconf/default.nix
new file mode 100644
index 00000000..94e4bc96
--- /dev/null
+++ b/home-manager/config/dconf/default.nix
@@ -0,0 +1,10 @@
+# vim: ts=2
+{...}: {
+  # Also see:  https://github.com/gvolpe/dconf2nix
+  dconf.settings = {
+    "org/gnome/desktop/wm/preferences" = {
+      # hide gtk buttons in titelbar
+      button-layout = "";
+    };
+  };
+}
diff --git a/home-manager/config/default.nix b/home-manager/config/default.nix
index 9c2db635..34b1d3ea 100644
--- a/home-manager/config/default.nix
+++ b/home-manager/config/default.nix
@@ -4,6 +4,7 @@
     ./alacritty
     ./btop
     ./cups
+    ./dconf
     ./firefox
     ./gammastep
     ./git
diff --git a/home-manager/wms/river/init b/home-manager/wms/river/init
index a60440f6..dd99a2da 100755
--- a/home-manager/wms/river/init
+++ b/home-manager/wms/river/init
@@ -50,9 +50,6 @@ err_fail riverctl set-cursor-warp on-output-change
 
 err_fail riverctl input pointer-1133-49970-Logitech_Gaming_Mouse_G502 pointer-accel 0
 err_fail riverctl input pointer-1133-49970-Logitech_Gaming_Mouse_G502 accel-profile none
-
-# remove GTK buttons in titlebar
-err_fail gsettings set org.gnome.desktop.wm.preferences button-layout "" # TODO fix this
 # }}}
 
 # Setup of general apps {{{