Skip to content

Commit

Permalink
Merge pull request #5 from bgounon/master
Browse files Browse the repository at this point in the history
Add 'number' directive in workspace command
  • Loading branch information
lpicanco committed Mar 27, 2021
2 parents ad192b4 + 24d3e48 commit 99c0631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i3/i3.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func SetCurrentWorkspace(workspaceNum int64) error {
func UpdateWorkspaces(display config.Display) error {
for _, workspace := range display.Workspaces {

command := fmt.Sprintf("workspace %d; move workspace to %s", workspace, display.Name)
command := fmt.Sprintf("workspace number %d; move workspace to %s", workspace, display.Name)
_, err := i3.RunCommand(command)

if err != nil {
Expand Down

0 comments on commit 99c0631

Please sign in to comment.