#!/usr/bin/env bash gsettings set org.gnome.mutter dynamic-workspaces false gsettings set org.gnome.desktop.wm.preferences num-workspaces 12 for i in {1..12} do gsettings set "org.gnome.desktop.wm.keybindings" "switch-to-workspace-$i" "['${i}']" gsettings set "org.gnome.desktop.wm.keybindings" "move-to-workspace-$i" "['${i}']" done