This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name InvertCSS | |
// @exclude https://*.github.com/* | |
// @match *://*/* | |
// ==/UserScript== | |
function addGlobalStyle(css) { | |
let head, style; | |
head = document.getElementsByTagName('head')[0]; | |
if (!head) { return; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
menu=("4500" "3500" "RemoveEffect") | |
answer=`zenity --list --column=Menu ${menu[@]} --title "GammastepColor" --height 200` | |
if [ "$answer" = "4500" ]; then | |
#We Verify if there is a gammastep process running and if its running, we kill it before applying new temperature: | |
processo=$(pidof gammastep) | |
if [[ -n $processo ]]; then |