This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/os/linux/kanshi/desktop-single-workspace.sh

7 lines
270 B
Bash

#!/usr/bin/env bash
move_workspace() { swaymsg workspace "$1"; swaymsg move workspace to "'$2'"; }
setup_output() { out="$1"; shift; while (($#)); do move_workspace "$1" "$out"; shift; done; }
setup_output 'Samsung Electric Company CF791 HTRJ500315' 1 2 3 4 5 6 7 8 9