mirror of
https://github.com/nmasur/dotfiles
synced 2025-04-24 16:12:25 +00:00
Compare commits
4 Commits
db051a737e
...
fecd66465d
Author | SHA1 | Date | |
---|---|---|---|
|
fecd66465d | ||
|
9b0d363909 | ||
|
400d45df39 | ||
|
634805d36d |
@ -16,7 +16,6 @@
|
|||||||
unfreePackages = [
|
unfreePackages = [
|
||||||
(lib.mkIf config._1password.enable "onepassword-password-manager")
|
(lib.mkIf config._1password.enable "onepassword-password-manager")
|
||||||
"okta-browser-plugin"
|
"okta-browser-plugin"
|
||||||
"wappalyzer"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home-manager.users.${config.user} = {
|
home-manager.users.${config.user} = {
|
||||||
|
@ -31,6 +31,10 @@ STATUS=$?
|
|||||||
# because tesseract adds .txt to the given file path anyways. So if we were to
|
# because tesseract adds .txt to the given file path anyways. So if we were to
|
||||||
# specify /tmp/ocr.txt as the file path, tesseract would out the text to
|
# specify /tmp/ocr.txt as the file path, tesseract would out the text to
|
||||||
# /tmp/ocr.txt.txt
|
# /tmp/ocr.txt.txt
|
||||||
|
cd /tmp || {
|
||||||
|
echo "Failed to jump to directory."
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
tesseract "$IMAGE_FILE" "${TEXT_FILE//\.txt/}"
|
tesseract "$IMAGE_FILE" "${TEXT_FILE//\.txt/}"
|
||||||
|
|
||||||
# Check if the text was detected by checking number
|
# Check if the text was detected by checking number
|
||||||
|
@ -130,10 +130,7 @@
|
|||||||
"com.apple.dock" = {
|
"com.apple.dock" = {
|
||||||
magnification = true;
|
magnification = true;
|
||||||
largesize = 48;
|
largesize = 48;
|
||||||
persistent-apps = let
|
persistent-apps = [
|
||||||
dockText = app:
|
|
||||||
"<dict><key>tile-data</key><dict><key>file-data</key><dict><key>_CFURLString</key><string>${app}</string><key>_CFURLStringType</key><integer>0</integer></dict></dict></dict>";
|
|
||||||
in map dockText [
|
|
||||||
"/Applications/1Password.app"
|
"/Applications/1Password.app"
|
||||||
"${pkgs.slack}/Applications/Slack.app"
|
"${pkgs.slack}/Applications/Slack.app"
|
||||||
"/System/Applications/Calendar.app"
|
"/System/Applications/Calendar.app"
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
mpv # Video player
|
mpv # Video player
|
||||||
gnupg # Encryption
|
gnupg # Encryption
|
||||||
awscli2
|
awscli2
|
||||||
|
ssm-session-manager-plugin
|
||||||
awslogs
|
awslogs
|
||||||
google-cloud-sdk
|
google-cloud-sdk
|
||||||
vault-bin
|
vault-bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user