Skip to content

Instantly share code, notes, and snippets.

@Sneakpeakcss
Sneakpeakcss / fx-css-variables.txt
Created December 8, 2024 22:56 — forked from MrOtherGuy/fx-css-variables.txt
CSS variables used by Firefox
main-window
***********************
--arrowpanel-background
--arrowpanel-border-color
--arrowpanel-color
--arrowpanel-dimmed
--arrowpanel-dimmed-even-further
--arrowpanel-dimmed-further
--arrowpanel-padding
--autocomplete-popup-background
@Sneakpeakcss
Sneakpeakcss / open-in-explorer.lua
Last active August 8, 2025 06:14
mpv player script to open directory and select currently playing file (Windows).
-- open-in-explorer.lua
mp.add_key_binding(nil, "open-in-explorer", function()
local path = mp.get_property("path")
if path ~= nil and not path:match("^%a[%a%d-_]+://") then
path = string.gsub(path, "/", "\\")
mp.command_native({
name = "subprocess",
playback_only = false,
args = { 'explorer', '/select,', path .. ' ' },