Skip to content

Commit

Permalink
chore: fix template, todo
Browse files Browse the repository at this point in the history
  • Loading branch information
pancsta committed Jul 29, 2024
1 parent 2ba22e2 commit ae68f4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ nano pkg/usr-cmds/arrange.go
- user scripts in wasm
- underscore windows from the current workspace
- show on all screens (via wayland)
- group fzf cmds under `sway-yasm fzf`
- pick grouping containers with `pick-container`
- `switcher --current-output-only`
- `switcher --current-space-only`
Expand Down
8 changes: 4 additions & 4 deletions pkg/usr-cmds/arrange.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,23 +54,23 @@ func ArrangeWindows(d DaemonAPI, _ map[string]string) (string, error) {
if d.WinMatchApp(win, "jetbrains") {
err = d.MoveWinToSpace(win.ID, spaces.dev)
}
if d.WinMatchApp(win, "jaeger") {
if d.WinMatchTitle(win, "jaeger") {
err = d.MoveWinToSpace(win.ID, spaces.dev)
}

// 2:blogic
if d.WinMatchApp(win, "obsidian") {
err = d.MoveWinToSpace(win.ID, spaces.blogic)
}
if d.WinMatchApp(win, "gmail") {
if d.WinMatchTitle(win, "gmail") {
err = d.MoveWinToSpace(win.ID, spaces.blogic)
}

// 3:read
if d.WinMatchApp(win, "pocket") {
if d.WinMatchTitle(win, "pocket") {
err = d.MoveWinToSpace(win.ID, spaces.read)
}
if d.WinMatchApp(win, "inoreader") {
if d.WinMatchTitle(win, "inoreader") {
err = d.MoveWinToSpace(win.ID, spaces.read)
}
if d.WinMatchApp(win, "thunderbird") {
Expand Down

0 comments on commit ae68f4c

Please sign in to comment.