Skip to content

Instantly share code, notes, and snippets.

View madprops's full-sized avatar

madprops madprops

View GitHub Profile
configuration {
/* modes: "window,drun,run,ssh";*/
font: "hack 14";
/* location: 0;*/
/* yoffset: 0;*/
/* xoffset: 0;*/
/* fixed-num-lines: true;*/
/* show-icons: false;*/
/* terminal: "rofi-sensible-terminal";*/
/* ssh-client: "ssh";*/
/**
* rofi -dump-theme output.
* Rofi version: 1.7.5
**/
* {
red: rgba ( 220, 50, 47, 100 % );
selected-active-foreground: rgba ( 249, 249, 249, 100 % );
lightfg: rgba ( 88, 104, 117, 100 % );
separatorcolor: rgba ( 29, 31, 33, 100 % );
urgent-foreground: rgba ( 204, 102, 102, 100 % );
#!/usr/bin/env bash
# Check the number of selected files
file_count=$#
if [ $file_count -gt 5 ]; then
echo "More than 5 files selected. Exiting."
exit 1
fi
# Define the remote server variables
#!/bin/bash
# Infinite loop to display a random word every 20 minutes
while true; do
# Pick a random word from nouns.txt
random_word=$(shuf -n 1 nouns.txt)
# Display the word using cowsay
clear && echo "$random_word" | cowsay