Install gnome-tweak-tool to get keyboard lazout with umlauts.
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install gnome-tweaks
(* | |
Description: Applescript to open/close picture-in-picture in Safari | |
Supported Applications: Safari, IINA | |
Author: Daniel Rotärmel | |
Source: https://gist.github.com/danielrotaermel/201f549d5755ea886eb78bb660133722 | |
Instructions: | |
Assign this to a global keyboard shortcut with better touch tool / hammerspoon etc. - suggested: cmd+ctrl+p. | |
Make sure "Developer > Allow JavaScript from Apple Events" is enabled in Safari. | |
Download the BTT preset here -> https://share.folivora.ai/sharedPreset/caa1198d-36dd-4aeb-89de-142bf39cc336 | |
*) |
// ==UserScript== | |
// @name Toggle picture-in-picture | |
// @description Toggle picture-in-picture in safari (ctrl+p) | |
// @license MIT | |
// @author Daniel Rotärmel | |
// @namespace https://gist.github.com/danielrotaermel | |
// @match *://*.* | |
// ==/UserScript== | |
document.onkeyup = function(e) { |
/* shadow below adjacent elements */ | |
.shadowBelow { | |
position: relative; | |
} | |
.shadowBelow:before { | |
content: ""; | |
position: absolute; | |
top: 0; | |
bottom: 0; |
// ==UserScript== | |
// @name Google Dynamic Dark Mode | |
// @description dynamically set dark/light mode on google according to os settings | |
// @author Daniel Rotaermel | |
// @match *://*google.com* | |
// ==/UserScript== | |
let shouldUseDarkmode = window.matchMedia('(prefers-color-scheme: dark)') | |
.matches; |
Install gnome-tweak-tool to get keyboard lazout with umlauts.
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install gnome-tweaks