Skip to content

Instantly share code, notes, and snippets.

View Bug-Reaper's full-sized avatar
💭
🦙

Bug-Reaper

💭
🦙
View GitHub Profile
@Bug-Reaper
Bug-Reaper / showkey-monitor.sh
Created August 26, 2025 08:43
Example Bash Monitoring of `showkey` Utility
#!/bin/bash
STOP=0
trap 'echo "Caught Ctrl+C, cleaning up..."; STOP=1; cleanup; exit 0' SIGINT
cleanup() {
sudo pkill -f "showkey" 2>/dev/null
sudo pkill -f "script.*showkey" 2>/dev/null
pkill -P $$ 2>/dev/null
@Bug-Reaper
Bug-Reaper / rofioutput.txt
Created March 4, 2022 02:26
It's required
configuration {
/* modi: "window,run,ssh";*/
/* font: "mono 12";*/
/* location: 0;*/
/* yoffset: 0;*/
/* xoffset: 0;*/
/* fixed-num-lines: true;*/
/* show-icons: false;*/
/* terminal: "rofi-sensible-terminal";*/
/* ssh-client: "ssh";*/