Skip to content

Instantly share code, notes, and snippets.

View NicolasRoehm's full-sized avatar

nicolas-roehm NicolasRoehm

View GitHub Profile
// Affiche une alerte pour confirmer le chargement du script
alert('Le fichier custom_style.js est bien chargé !');
// Affiche un message dans la console du navigateur pour confirmation supplémentaire
console.log('Le fichier custom_style.js a été chargé avec succès.');
// Créer une balise <style> et ajouter du CSS
const style = document.createElement('style');
style.innerHTML = `
ha-card {
ha-card {
background: red !important;
}
@NicolasRoehm
NicolasRoehm / switchScreen.bash
Created July 24, 2019 14:55
KDE Neon : Switch widgets to a new monitor
#!/bin/bash
# --- README ------------------------------------------------
# KDE Neon widgets are linked to a screen by foreign keys.
# For example the widget '[Containments][23]' has 'lastScreen=1'
# This script moves the widget '[23]' from the screen '1' to your desired screen ID.
# -----------------------------------------------------------