Skip to content

Instantly share code, notes, and snippets.

@ar7eniyan
ar7eniyan / config
Last active December 29, 2024 08:48
Waybar module for controlling brightness of an external display
// insert into ~/.config/waybar/config
"custom/ddc_brightness": {
// I don't even want to know why this works.
// Change it to the following for your custom icons,
// current format is a hack for Material Symbols to display normally:
// "format": "{icon} {percentage}%",
"format": "<span rise='-2pt' size='12pt'>{icon}</span> <span rise='1pt' size='10pt'>{percentage}%</span>",
"format-icons": [
// Icons from Google Material Symbols.
@cjay
cjay / vulkan.css
Created July 1, 2021 04:24
Vulkan Spec Dark Mode
/*
For use with the Stylus browser extension, since Dark Reader is slow on the giant single page spec.
*/
html,
body,
input,
textarea,
select,
button {
@MiyacoGBF
MiyacoGBF / 01_NieR_FAR.md
Last active March 19, 2025 23:38
How to Install FAR, HD Texture Pack, and ReShade (GShade) for NieR:Automata on Linux
@LC43
LC43 / send_workspace_next.sh
Last active May 14, 2022 00:18
Send window to next workspace
#!/bin/bash
## workspace Number ( count )
WS_N=$(wmctrl -d | wc -l)
## workspace ID
WS_ID=$(wmctrl -d | grep '*' | cut -d ' ' -f1)
## next workspace id ( loops around )
NEXT_ID=$(( ( $WS_ID + 1 ) % $WS_N ));
@LC43
LC43 / end_workspace_prev.sh
Last active May 14, 2022 00:18
Send window to previous workspace
#!/bin/bash
## workspace Number ( count )
WS_N=$(wmctrl -d | wc -l)
## workspace ID
WS_ID=$(wmctrl -d | grep '*' | cut -d ' ' -f1)
## previous workspace id ( loops around )
PREV_ID=$(( ( $WS_ID - 1 ) % $WS_N ));