Skip to content

Commit

Permalink
chore: move floating apps to yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
miszo committed Jan 16, 2025
1 parent ddc2bcd commit 77de107
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 62 deletions.
13 changes: 13 additions & 0 deletions home/.chezmoidata/floating_apps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
floating_apps:
- 'com.apple.finder'
- 'com.apple.systempreferences'
- 'com.apple.ActivityMonitor'
- 'com.apple.AppStore'
- 'pl.maketheweb.cleanshotx'
- 'com.1password.1password'
- 'dev.kdrag0n.MacVirt'
- 'com.jordanbaird.Ice'
- 'com.macpaw.CleanMyMac-setapp'
- 'com.iBoysoft.NTFS-Assistant-website-setapp'
- 'org.languagetool.desktop'
- 'com.shure.motivmix'
8 changes: 4 additions & 4 deletions home/.chezmoidata/packages.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
packages:
gh:
extensions:
- "nektos/gh-act"
- "joaom00/gh-b"
- "github/gh-copilot"
- "dlvhdr/gh-dash"
- 'nektos/gh-act'
- 'joaom00/gh-b'
- 'github/gh-copilot'
- 'dlvhdr/gh-dash'
61 changes: 3 additions & 58 deletions home/dot_config/exact_private_aerospace/aerospace.toml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -197,66 +197,11 @@ alt-shift-k = ['join-with up', 'mode main']
alt-shift-l = ['join-with right', 'mode main']

# floating windows for apps


[[on-window-detected]]
if.app-id = 'com.apple.finder'
run = 'layout floating'

[[on-window-detected]]
if.app-id = 'com.apple.systempreferences'
run = 'layout floating'

[[on-window-detected]]
if.app-id = 'com.apple.AppStore'
run = 'layout floating'

{{ range .floating_apps }}
[[on-window-detected]]
if.app-id = 'pl.maketheweb.cleanshotx'
if.app-id = {{ . | squote }}
run = 'layout floating'

[[on-window-detected]]
if.app-id = 'com.1password.1password'
run = 'layout floating'

[[on-window-detected]]
if.app-id = 'com.1password.1password'
run = 'layout floating'

[[on-window-detected]]
if.app-id = 'com.apple.ActivityMonitor'
run = 'layout floating'

[[on-window-detected]]
if.app-id = 'dev.kdrag0n.MacVirt'
run = 'layout floating'

[[on-window-detected]]
if.app-id = 'com.google.Chrome'
if.window-title-regex-substring = 'Picture in Picture'
run = 'layout floating'
check-further-callbacks = true

[[on-window-detected]]
if.app-id = 'com.jordanbaird.Ice'
run = 'layout floating'

[[on-window-detected]]
if.app-id = 'com.macpaw.CleanMyMac-setapp'
run = 'layout floating'

[[on-window-detected]]
if.app-id = 'com.iBoysoft.NTFS-Assistant-website-setapp'
run = 'layout floating'

[[on-window-detected]]
if.app-id = 'org.languagetool.desktop'
run = 'layout floating'

[[on-window-detected]]
if.app-id = 'com.shure.motivmix'
run = 'layout floating'

{{ end }}
{{- if .computer.isWork }}
[[on-window-detected]]
if.app-id = {{ .selfService.appId | squote }}
Expand Down

0 comments on commit 77de107

Please sign in to comment.