Skip to content
This repository has been archived by the owner on May 27, 2020. It is now read-only.

Commit

Permalink
WM: Outlook/chat app tweaks
Browse files Browse the repository at this point in the history
- Update yabai rules to open Outlook main window to Display 1 Space 3
  - Currently cannot get rules working to float all windows apart from
    main and compose. See koekeishiya/yabai#173 (comment)

- Switch Skype back to single-window mode (chats in main window)

- Float all chat app main windows and manually assign them to all desktops
  • Loading branch information
James Vaughn committed Aug 9, 2019
1 parent d3e83d9 commit 9e7d0ac
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
3 changes: 0 additions & 3 deletions app_settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,6 @@ defaults write at.obdev.LaunchBar WelcomeWindowVersion -int 2
#-------------------------------------------------------------------------------

# Preferences
## General > Show chats in separate pop-up windows: True
defaults write com.microsoft.SkypeForBusiness isSingleWindowMode -bool false

## General > Prompt me before leaving a call: False
defaults write com.microsoft.SkypeForBusiness showEndCallDialog -bool false

Expand Down
15 changes: 10 additions & 5 deletions dotfiles/.yabairc
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ yabai -m rule --add label=anyconnect_d1s1 \
space=1 \
manage=off

# Launch main window to Display 1, Space 3
yabai -m rule --add label=outlookmain_d1s3 \
app='Microsoft Outlook' \
title='^(Inbox .+\@.+$|Calendar$|People$|Tasks$|Notes$)' \
space=3

# Float applications
yabai -m rule --add label=alfredprefs_float \
app='Alfred Preferences' \
Expand All @@ -43,16 +49,15 @@ yabai -m rule --add label=sysprefs_float \
app='System Preferences' \
manage=off

yabai -m rule --add label=slack_float \
app='Slack' \
manage=off

yabai -m rule --add label=telegram_float \
app='Telegram' \
manage=off

# Float windows
yabai -m rule --add label=outlookmain_float \
app='Microsoft Outlook' \
title='^(Inbox|Calendar$|People$|Tasks$|Notes$)' \
manage=off

yabai -m rule --add label=skypemainsplash_float \
app='Skype for Business' \
title='^(Skype for Business|Sign In)$' \
Expand Down
16 changes: 13 additions & 3 deletions manual_tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,19 @@ Menu bar:
- Cisco AnyConnect
- System icons

# Using 'All Desktops' instead of yabai rules means no SIP changes needed
# Using PlistBuddy/defaults to set com.apple.spaces[app-bindings] doesn't work
Dock:
Skype for Business:
Options:
Assign To: All Desktops
Slack:
Options:
Assign To: All Desktops
Telegram:
Options:
Assign To: All Desktops

Notification Centre:
World Clock:
- Hillsboro
Expand Down Expand Up @@ -86,9 +99,6 @@ Applications:
Office Intelligent Services: False

Skype for Business:
General:
# Need to do this manually, `defaults delete` doesn't work
Show chats with same person in a single pop-up window: True
Switch to (audio device):
DisplayPort:
Switch: False
Expand Down

0 comments on commit 9e7d0ac

Please sign in to comment.