Comments (5)
The other issue is that it seems it can't use a symlink as the config file setting, making using nix home-manager difficult.
from finicky.
If it helps anyone else coming here for the same thing, I ended up just hacking a little around it.
home.file.".config/finicky" = {
source = ./finicky;
onChange = "cat ~/.config/finicky/fincky.js > ~/.finicky.js";
};
from finicky.
It's a constant in the code => /Finicky/Finicky/Config.swift
I think you can't do what you want...
from finicky.
Interestingly, there is a way to "Use another file..." from the menu bar drop down. If you add a different config file location through that UI, and then run the command:
/usr/libexec/PlistBuddy -c print ~/Library/Preferences/net.kassett.finicky.plist
It clearly shows that file being stored in some encoded way. Beyond my MacFu to understand how to get that set programmatically.
from finicky.
If it helps anyone else coming here for the same thing, I ended up just hacking a little around it.
home.file.".config/finicky" = { source = ./finicky; onChange = "cat ~/.config/finicky/fincky.js > ~/.finicky.js"; };
Thanks for this! This might be even better:
{config, ...}: let
filePath = "finicky/config.js";
in {
xdg.configFile.${filePath} = {
source = ./config.js;
onChange = "cat ${config.xdg.configHome}/${filePath} > ${config.home.homeDirectory}/.finicky.js";
};
}
from finicky.
Related Issues (20)
- Force link in current browser to be opened by the default browser
- Opening different browsers for different Google Accounts HOT 1
- Couldn't find browser "Google Chrome" HOT 1
- Links from Microsoft Teams no longer open in the expected browser HOT 2
- ms edge multiple profile HOT 2
- Long running Finicky becomes slow HOT 1
- Can't get finicky to do anything HOT 2
- Open YouTube links from Slack in specific browser HOT 2
- Example config doesn't work HOT 1
- Support Safari Profiles HOT 1
- Add support for writing config file in Typescript
- Open certain links in selected Tab Group in Safari HOT 6
- Finicky is closing automatically after clicking any link HOT 10
- How to detect the URL data from a Brave Browser PWA? HOT 2
- Add "Copy to clipboard" option
- Add minimum system requirements to readme
- Is it possible to configure Finicky to work properly with Miro/Boardmix sharing links? And zoom/my (NOT zoom/j/) links?
- Force open target browser HOT 1
- ServiceNow link crashes finicky.log() HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finicky.