Skip to content

Instantly share code, notes, and snippets.

@GrabbenD
GrabbenD / README.md
Last active June 13, 2024 08:47
[Sway] VRR in fullscreen only

VRR for fullscreen apps only

The idea behind this script is to only use VRR when a application is in fullscreen mode, here's the features:

  • Has multi monitor support through a output whitelist config (I'd like this to be automatic in the future but there doesn't seem to be any way in swaymsg to identify if a output is VRR capable, one thing which comes to mind is checking EDID for VRR range).
  • Determine if VRR needs to be toggled when a application is in fullscreen mode (which is how Windows does it usually and it's a option in Hyprland). This applies to:
    • Opening a app
    • Changing focus
    • Switching workplaces
    • Going into fullscreen mode (e.g. Youtube videos in Chromium)
@GrabbenD
GrabbenD / README.md
Last active June 10, 2024 12:34
org.freedesktop.secrets

Setup org.freedesktop.secrets the easy way with KeepassXC in Github Desktop

Overview

You might want to quickly authenticate with your Github Account to avoid having to manually configure GIT.

Although if you're using a lightweight distribution you might discover that you have to manually find a provider for org.freedesktop.secrets.

I encountered this problem and wanted to share my thoughts and general pointers from what I've learned!

@GrabbenD
GrabbenD / gist:6c5cfbde6c00501096dc1edeca83355e
Created October 6, 2021 13:53
eact-native-multithreading@1.1.1/example
2021-10-06 15:51:24.403 11932-11932/? I/emultithreadin: Late-enabling -Xcheck:jni
2021-10-06 15:51:24.403 11932-11932/? I/emultithreadin: Late-enabling -Xcheck:jni
2021-10-06 15:51:24.403 11932-11932/? I/emultithreadin: Late-enabling -Xcheck:jni
2021-10-06 15:51:24.432 11932-11932/? I/emultithreadin: Unquickening 22 vdex files!
2021-10-06 15:51:24.432 11932-11932/? I/emultithreadin: Unquickening 22 vdex files!
2021-10-06 15:51:24.440 11932-11932/? D/ActivityThread: setConscryptValidator
2021-10-06 15:51:24.440 11932-11932/? D/ActivityThread: setConscryptValidator
2021-10-06 15:51:24.440 11932-11932/? D/ActivityThread: setConscryptValidator - put
2021-10-06 15:51:24.440 11932-11932/? D/ActivityThread: setConscryptValidator - put
2021-10-06 15:51:24.432 11932-11932/? I/emultithreadin: Unquickening 22 vdex files!
@GrabbenD
GrabbenD / react-native-vision-camera-example
Created September 23, 2021 11:09
Samsung Galaxy S20+ / Android 11
2021-09-23 13:07:41.762 23813-23813/? I/.camera.exampl: Late-enabling -Xcheck:jni
2021-09-23 13:07:41.762 23813-23813/? I/.camera.exampl: Late-enabling -Xcheck:jni
2021-09-23 13:07:41.789 23813-23813/? I/.camera.exampl: Unquickening 22 vdex files!
2021-09-23 13:07:41.797 23813-23813/? D/ActivityThread: setConscryptValidator
2021-09-23 13:07:41.797 23813-23813/? D/ActivityThread: setConscryptValidator - put
2021-09-23 13:07:41.789 23813-23813/? I/.camera.exampl: Unquickening 22 vdex files!
2021-09-23 13:07:41.797 23813-23813/? D/ActivityThread: setConscryptValidator
2021-09-23 13:07:41.797 23813-23813/? D/ActivityThread: setConscryptValidator - put
2021-09-23 13:07:41.802 1173-1220/? V/WindowManager: Relayout Window{f8d4a82 u0 Splash Screen com.mrousavy.camera.example}: viewVisibility=0 req=1440x3200
2021-09-23 13:07:41.822 23813-23813/com.mrousavy.camera.example D/ActivityThread: handleBindApplication()++ app=com.mrousavy.camera.example