Browse Source

Update Tweak.x

master
exoticswingset 5 years ago
parent
commit
058a299e15
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Tweak.x

+ 2
- 1
Tweak.x View File

-(void)setBackgroundAlpha:(double)arg1 { // Method found in SBDockView.h used to set dock opacity -(void)setBackgroundAlpha:(double)arg1 { // Method found in SBDockView.h used to set dock opacity
// Preferences // Preferences
NSDictionary *bundleDefaults = [[NSUserDefaults standardUserDefaults]persistentDomainForName:@"com.exoticswingset.truthfuldockprefs"];
NSDictionary *bundleDefaults = [[NSUserDefaults standardUserDefaults]
persistentDomainForName:@"com.exoticswingset.truthfuldockprefs"];
id isTweakEnabled = [bundleDefaults valueForKey:@"isTweakEnabled"]; id isTweakEnabled = [bundleDefaults valueForKey:@"isTweakEnabled"];
double alphaValue = [[bundleDefaults valueForKey:@"alphaValue"]doubleValue]; double alphaValue = [[bundleDefaults valueForKey:@"alphaValue"]doubleValue];

Loading…
Cancel
Save