import the css in the css section on nuxt.config.js
// Global CSS (https://go.nuxtjs.dev/config-css)
css: ["@/assets/css/uikit.min.css"],
create a new plugin in the plugin directory and add this lines of code
import Vue from "vue";
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |
frist create a custom widget class that extend the default wordpress widget class this code is from the official wordpress code reference
class My_Widget extends WP_Widget {
/**
* Sets up the widgets name etc
lspci -nnk | grep -i -EA3 "3d|display|vga"
xrandr
sudo apt-get update sudo apt-get dist-upgrade
sudo apt-get install xserver-xorg-video-ati sudo apt-get install xserver-xorg-video-amdgpu
from time import time, sleep | |
import subprocess | |
while True: | |
bashCommand = "zenity --notification --text='5'" | |
process = subprocess.Popen(bashCommand.split(), stdout=subprocess.PIPE) | |
output, error = process.communicate() | |
sleep(60 * 5) |