Compare commits

..

2 Commits

Author SHA1 Message Date
Noah Masur
756177826c add code for macos meetingbar settings 2024-01-25 08:35:19 -05:00
Noah Masur
c60632a37f tweaks for new mac 2024-01-25 07:55:31 -05:00
4 changed files with 24 additions and 7 deletions

View File

@ -16,9 +16,13 @@
}; };
# https://1password.community/discussion/135462/firefox-extension-does-not-connect-to-linux-app # https://1password.community/discussion/135462/firefox-extension-does-not-connect-to-linux-app
# Doesn't seem to fix the issue on macOS anyway # On Mac, does not apply: https://1password.community/discussion/142794/app-and-browser-integration
# However, the button doesn't work either:
# https://1password.community/discussion/140735/extending-support-for-trusted-web-browsers
environment.etc."1password/custom_allowed_browsers".text = '' environment.etc."1password/custom_allowed_browsers".text = ''
${config.home-manager.users.${config.user}.programs.firefox.package} ${
config.home-manager.users.${config.user}.programs.firefox.package
}/Applications/Firefox.app/Contents/MacOS/firefox
firefox firefox
''; '';
}; };

View File

@ -18,3 +18,5 @@ bind -M insert \cn 'commandline -r "nix shell nixpkgs#"'
bind -M default \cn 'commandline -r "nix shell nixpkgs#"' bind -M default \cn 'commandline -r "nix shell nixpkgs#"'
bind -M insert \x11F nix-fzf bind -M insert \x11F nix-fzf
bind -M default \x11F nix-fzf bind -M default \x11F nix-fzf
bind -M insert \ch _atuin_search --filter-mode global
bind -M default \ch _atuin_search --filter-mode global

View File

@ -31,7 +31,7 @@
casks = [ casks = [
"1password" # 1Password will not launch from Nix on macOS "1password" # 1Password will not launch from Nix on macOS
"apache-directory-studio" # Packaging on Nix is not available for macOS "apache-directory-studio" # Packaging on Nix is not available for macOS
"gitify" # Git notifications in menu bar # "gitify" # Git notifications in menu bar (downgrade manually from 4.6.1)
"keybase" # GUI on Nix not available for macOS "keybase" # GUI on Nix not available for macOS
# "logitech-g-hub" # Mouse and keyboard management # "logitech-g-hub" # Mouse and keyboard management
"logitune" # Logitech webcam firmware "logitune" # Logitech webcam firmware

View File

@ -154,11 +154,15 @@
echo "Show the ~/Library folder" echo "Show the ~/Library folder"
chflags nohidden ~/Library chflags nohidden ~/Library
if [ ! $(defaults read com.apple.dock magnification) = "1" ]; then
echo "Enable dock magnification" echo "Enable dock magnification"
defaults write com.apple.dock magnification -bool true defaults write com.apple.dock magnification -bool true
fi
if [ ! $(defaults read com.apple.dock largesize) = "48" ]; then
echo "Set dock magnification size" echo "Set dock magnification size"
defaults write com.apple.dock largesize -int 48 defaults write com.apple.dock largesize -int 48
fi
echo "Define dock icon function" echo "Define dock icon function"
__dock_item() { __dock_item() {
@ -183,6 +187,13 @@
"$(__dock_item ${pkgs.obsidian}/Applications/Obsidian.app)" \ "$(__dock_item ${pkgs.obsidian}/Applications/Obsidian.app)" \
"$(__dock_item ${pkgs.kitty}/Applications/kitty.app)" \ "$(__dock_item ${pkgs.kitty}/Applications/kitty.app)" \
"$(__dock_item /System/Applications/System\ Settings.app)" "$(__dock_item /System/Applications/System\ Settings.app)"
echo "MeetingBar settings"
defaults write leits.MeetingBar eventTimeFormat -string "\"show\""
defaults write leits.MeetingBar eventTitleFormat -string "\"none\""
defaults write leits.MeetingBar eventTitleIconFormat -string "\"iconCalendar\""
defaults write leits.MeetingBar slackBrowser -string "{\"deletable\":true,\"arguments\":\"\",\"name\":\"Slack\",\"path\":\"\"}"
defaults write leits.MeetingBar zoomBrowser -string "{\"deletable\":true,\"arguments\":\"\",\"name\":\"Zoom\",\"path\":\"\"}"
''; '';
}; };