Jump to content

Dasblatz

Member
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Dasblatz

  1. 9 minutes ago, xilopaint said:

     

    The extension is not signed for PopClip because I've made changes on the official extension to support Alfred 4.

     

    Does it work for you?

    Quote

    Alfred.popclipextz does not contain a valid PopClip extension.

    Reason: Failed to unzip extension.

     

    now I got it to work

     

    Unsigned Extension Warning
    
    By default, PopClip will display a warning dialog when you try to install your own extension, because it is not digitally signed by Pilotmoon Software.
    
    If you find this gets annoying while you are testing your work, you can turn off the warning. Run the following command at the Terminal, then Quit and restart PopClip:
    
    defaults write com.pilotmoon.popclip LoadUnsignedExtensions -bool YES
    
    Please be aware that PopClip extensions can contain arbitrary executable scripts. Be careful about the extensions you create, and be wary about loading extensions you get from someone else. Proceed at your own risk.
    

     

  2. Would be nice if this workflow can change the used Alfred theme as well when switching to dark mode <-> light mode,

     

    Can this be implemented or can I add this to workflow on my own?

     

    Solved it, it’s just on additional line at the end of your script. Just put in your preferred dark and light theme.

     

    Exchange this on „lightmode“ -Script 

    tell application "System Events"
    	tell appearance preferences
    		set dark mode to false
    	end tell
    end tell
    
    tell application "Alfred 3" to set theme "Alfred macOS"

    Exchange this on „darkmode“ -Script 

    tell application "System Events"
    	tell appearance preferences
    			set dark mode to true
    	end tell
    end tell
    
    tell application "Alfred 3" to set theme "Alfred macOS Dark"

     

    Exchange this on „togglemode“ -Script

    tell application "System Events"
    	tell appearance preferences
     		set dark mode to not dark mode
    	end tell
    end tell
    
    tell application "Alfred 3" to set theme "Alfred macOS"

     

×
×
  • Create New...