-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
1,397 additions
and
928 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
*.code-workspace | ||
|
||
__pycache* | ||
.qt_* | ||
|
||
.vscode | ||
venv | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,3 @@ | ||
#! /usr/bin/env bash | ||
|
||
udevadm control --reload-rules | ||
|
||
echo "IMPORTANT: in order to stop the background service ##########" | ||
echo 'please run "systemctl --user stop keyboard-center.service"' | ||
echo "and" | ||
echo 'systemctl --user disable keyboard-center.service" as NON ROOT' | ||
echo "##############################################################" | ||
sleep 3 |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
# Form implementation generated from reading ui file '/home/bene/Programmierkram/GitHub/G910-gui/src/gui/commandWidget.ui' | ||
# | ||
# Created by: PyQt5 UI code generator 5.14.1 | ||
# | ||
# WARNING! All changes made in this file will be lost! | ||
|
||
|
||
from PyQt5 import QtCore, QtGui, QtWidgets | ||
|
||
|
||
class Ui_CommandWidget(object): | ||
def setupUi(self, CommandWidget): | ||
CommandWidget.setObjectName("CommandWidget") | ||
CommandWidget.resize(726, 54) | ||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) | ||
sizePolicy.setHorizontalStretch(0) | ||
sizePolicy.setVerticalStretch(0) | ||
sizePolicy.setHeightForWidth(CommandWidget.sizePolicy().hasHeightForWidth()) | ||
CommandWidget.setSizePolicy(sizePolicy) | ||
CommandWidget.setMinimumSize(QtCore.QSize(0, 40)) | ||
CommandWidget.setMaximumSize(QtCore.QSize(16777215, 60)) | ||
CommandWidget.setAutoFillBackground(True) | ||
CommandWidget.setStyleSheet("QWidget {\n" | ||
" #this does break dark mode stupid me\n" | ||
" #background-color: white;\n" | ||
"}\n" | ||
"") | ||
self.horizontalLayout = QtWidgets.QHBoxLayout(CommandWidget) | ||
self.horizontalLayout.setObjectName("horizontalLayout") | ||
self.label = QtWidgets.QLabel(CommandWidget) | ||
self.label.setMinimumSize(QtCore.QSize(25, 0)) | ||
self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) | ||
self.label.setObjectName("label") | ||
self.horizontalLayout.addWidget(self.label) | ||
self.label_2 = QtWidgets.QLabel(CommandWidget) | ||
self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) | ||
self.label_2.setObjectName("label_2") | ||
self.horizontalLayout.addWidget(self.label_2) | ||
self.commandEdit = QtWidgets.QLineEdit(CommandWidget) | ||
self.commandEdit.setClearButtonEnabled(True) | ||
self.commandEdit.setObjectName("commandEdit") | ||
self.horizontalLayout.addWidget(self.commandEdit) | ||
self.line_2 = QtWidgets.QFrame(CommandWidget) | ||
self.line_2.setFrameShape(QtWidgets.QFrame.VLine) | ||
self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken) | ||
self.line_2.setObjectName("line_2") | ||
self.horizontalLayout.addWidget(self.line_2) | ||
self.moveUp = QtWidgets.QPushButton(CommandWidget) | ||
self.moveUp.setFocusPolicy(QtCore.Qt.NoFocus) | ||
icon = QtGui.QIcon.fromTheme("go-up") | ||
self.moveUp.setIcon(icon) | ||
self.moveUp.setObjectName("moveUp") | ||
self.horizontalLayout.addWidget(self.moveUp) | ||
self.moveDown = QtWidgets.QPushButton(CommandWidget) | ||
self.moveDown.setFocusPolicy(QtCore.Qt.NoFocus) | ||
icon = QtGui.QIcon.fromTheme("go-down") | ||
self.moveDown.setIcon(icon) | ||
self.moveDown.setObjectName("moveDown") | ||
self.horizontalLayout.addWidget(self.moveDown) | ||
self.line = QtWidgets.QFrame(CommandWidget) | ||
self.line.setFrameShape(QtWidgets.QFrame.VLine) | ||
self.line.setFrameShadow(QtWidgets.QFrame.Sunken) | ||
self.line.setObjectName("line") | ||
self.horizontalLayout.addWidget(self.line) | ||
self.delButton = QtWidgets.QPushButton(CommandWidget) | ||
icon = QtGui.QIcon.fromTheme("list-remove") | ||
self.delButton.setIcon(icon) | ||
self.delButton.setObjectName("delButton") | ||
self.horizontalLayout.addWidget(self.delButton) | ||
|
||
self.retranslateUi(CommandWidget) | ||
self.delButton.clicked.connect(CommandWidget._remove) | ||
self.moveDown.clicked.connect(CommandWidget._moveDown) | ||
self.moveUp.clicked.connect(CommandWidget._moveUp) | ||
QtCore.QMetaObject.connectSlotsByName(CommandWidget) | ||
|
||
def retranslateUi(self, CommandWidget): | ||
_translate = QtCore.QCoreApplication.translate | ||
CommandWidget.setWindowTitle(_translate("CommandWidget", "Form")) | ||
self.label.setText(_translate("CommandWidget", "X.")) | ||
self.label_2.setText(_translate("CommandWidget", "Command:")) | ||
self.commandEdit.setPlaceholderText(_translate("CommandWidget", "put command (e.g. konsole -e htop or cowsay \"nvidia sucks\")")) |
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
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
Oops, something went wrong.