This file contains hidden or 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 | |
#yakuake wayland focus fix | |
#Copy The Global Yakuake Config To Local | |
cp /usr/share/applications/org.kde.yakuake.desktop ~/.local/share/applications/ | |
#Make Needed Adjustments To The Config | |
sed -i -e "s/'Exec=yakuake'/'Exec=env QT_QPA_PLATFORM=xcb yakuake'/g" ~/.local/share/applications/org.kde.yakuake.desktop | |
#DONE! | |
echo -e "\e[35mYakuake Focus Should Now Be Working Under Wayland!\e[0m" | |
#May Or May Not Be Needed Afterwards? |
This file contains hidden or 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
#!/usr/bin/env python | |
import subprocess | |
import json | |
def ex(cmd): | |
return subprocess.getoutput(cmd) | |
engineList = ex('ibus read-config | grep preload-engines | sed "s/preload-engines://g; s/\'/\\"/g"') | |
engineList = json.loads(engineList) |
This file contains hidden or 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
#Simple List In Python Using Pyside6 GUI Library | |
import sys | |
import os | |
from PySide6.QtWidgets import QApplication, QWidget, QPushButton, QLineEdit, QListWidget, QMessageBox, QFileDialog, QMenu, QSystemTrayIcon | |
from PySide6.QtCore import Qt, QSize, QFile, QTextStream | |
from PySide6.QtGui import QPixmap, QIcon | |
import myResources | |
class PyListApp(QWidget): |
This file contains hidden or 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
import random | |
import sys | |
import kivy | |
from kivy.app import App | |
from kivy.uix.boxlayout import BoxLayout | |
from kivy.uix.button import Button | |
from kivy.uix.label import Label | |
from kivy.uix.popup import Popup | |
class PigGame: |
OlderNewer