Skip to content

Instantly share code, notes, and snippets.

View y8a5y's full-sized avatar
🐢
🚩🏴

Marius y8a5y

🐢
🚩🏴
View GitHub Profile
@y8a5y
y8a5y / yt-layout-switch.js
Last active October 1, 2025 09:26
Youtube layout switch, *Monkey script
// ==UserScript==
// @name YouTube layout switch
// @description Script to switch the two main columns of YT's video layout (puts player on the right and video list on the left).
//
// @author y8a5y
// @namespace https://gist.github.com/y8a5y/d88d2f0225b0246692ea302653e5183e
// @version 1.0.2
//
// @match https://www.youtube.com/watch*
// @icon https://www.youtube.com/favicon.ico
@y8a5y
y8a5y / disable_wakeup_from_mouse_movement_on_systemd_distros.md
Last active January 14, 2025 16:18
disable wakeup from mouse movement on systemd distros

context: my laptop does not offer option to disable wakeup from mouse movement in bios and an option in KDE is nowhere to be found.

I've agregated many posts from various places online to make a hopefully easy way to disable permanently this behaviour without side effect nor hacks.

  1. find your mouse with udevadm info
# list your available mouse inputs
ls /dev/input/mouse*
# print mouse info