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
| ## this should be used in conjunction wtih a patched copy of kwin_wayland which diasbles the idiotic gestures built in by default for the last 5+ years | |
| # Global settings (approximate Touchegg's action_execute_threshold and animation_delay) | |
| threshold: | |
| swipe: 0.5 # Lower = easier to trigger (similar to 10% threshold) | |
| pinch: 0.5 | |
| interval: | |
| swipe: 0.8 # Delay between gestures | |
| pinch: 0.8 | |
| # Default context (equivalent to Touchegg's <application name="All">) |
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
| The ESP32-S2 Mini (piece of shit) will flop between ttyACM0 and ttyACM1, so you can't use the web flasher. Hold down the 0 button, press the RST button, DO NOT RELEASE THE 0 BUTTON, and hit enter on the following command. | |
| esptool.py --chip esp32s2 --port /dev/ttyACM0 write_flash 0x0 /path/to/whatever.factory.bin | |
| If it fails, keep 0 held, RST again, and try again (or replace ACM0 with ACM1). |
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
| <mute-speakers.sh.desktop> | |
| ` | |
| [Desktop Entry] | |
| Exec=/path/to/mute-speakers.sh | |
| Icon=application-x-shellscript | |
| Name=mute-speakers.sh | |
| Type=Application | |
| X-KDE-AutostartScript=true | |
| ` | |
| <mute-speakers.sh> |
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
| You must rebuild kwin_wayland with gestures patched out! | |
| You must install fusuma (https://github.com/iberianpig/fusuma) *and* fusuma-plugin-sendkey (https://github.com/iberianpig/fusuma-plugin-sendkey)! | |
| FIRST FILE | |
| <~/.config/autostart/fusuma.desktop> | |
| ` | |
| [Desktop Entry] | |
| Type=Application | |
| Exec=fusuma.ruby4.0 -d | |
| Hidden=false |
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
| 1. enable the source repo && zypper ref | |
| 2. ensure build toolchain: | |
| zypper in osc rpm-build rpmdevtools gcc-c++ cmake ninja git libqt6-qtbase-devel libqt6-qtdeclarative-devel extra-cmake-modules | |
| 3. install source package | |
| zypper source-install kwin6 | |
| 4. set up ~/rpmbuild | |
| rpmdev-setuptree |
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
| [Unit] | |
| Description=Starts ydotoold service | |
| [Service] | |
| Type=simple | |
| ExecStart=/usr/bin/ydotoold --socket-path=/tmp/.ydotool_socket --socket-perm=0666 | |
| Restart=always | |
| ExecReload=/usr/bin/kill -HUP $MAINPID | |
| KillMode=process | |
| TimeoutSec=180 |
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
| https://gist.github.com/search?q=%s%20user%3AYOURUSERNAMEHERE&ref=searchresults |
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
| # Set BFQ for rotational HDDs | |
| ACTION=="add|change", KERNEL=="sd[a-z]*", ATTR{queue/rotational}=="1", ATTR{queue/scheduler}="bfq" | |
| ## Set mq-deadline for SATA SSDs | |
| #ACTION=="add|change", KERNEL=="sd[a-z]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="mq-deadline" | |
| # Set none for SATA SSDs | |
| ACTION=="add|change", KERNEL=="sd[a-z]*", ATTR{queue/rotational}=="0", ATTR{queue/scheduler}="none" | |
| # Set none for NVMe SSDs |
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
| include "/usr/share/nano/*.nanorc" | |
| set mouse | |
| set positionlog | |
| set softwrap | |
| set atblanks | |
| set indicator | |
| set linenumbers |
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
| twinkpad:/sys/devices/platform/thinkpad_acpi # cat /etc/systemd/system/tpled.service | |
| [Unit] | |
| Description=Custom LED Trigger Setup | |
| After=multi-user.target | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/root/bin/tpled.sh | |
| RemainAfterExit=yes |
NewerOlder