Skip to content

Instantly share code, notes, and snippets.

@GrabbenD
GrabbenD / config.toml
Created March 23, 2025 21:19
Jay Wayland - starter config example
# ~/.config/jay/config.toml
# Use inline config for readability
# - Config example : https://github.com/mahkoh/jay/blob/master/docs/config.md
# - Config options : https://github.com/mahkoh/jay/blob/master/toml-spec/spec/spec.generated.md
# |
# | KEYBINDINGS
# |
@GrabbenD
GrabbenD / runuser.sh
Last active July 22, 2024 11:24
runuser: execute commands without use of quotation marks
#!/usr/bin/env bash
# Persistent variables
declare -g VARIABLES=( "import=works" "env=var" )
declare -g EXAMPLE="WONTBEIMPORTED"
# Isolated commands to be executed in a clean environment
function SANDBOX_RUN {
echo "${USER}" # = build
whoami # = build
@GrabbenD
GrabbenD / README.md
Last active January 20, 2025 17:53
[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 April 16, 2025 14:31
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!

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