Skip to content

Instantly share code, notes, and snippets.

@kRHYME7
kRHYME7 / wallbash.sh
Last active September 16, 2024 16:13
#!/usr/bin/env bash
#|---/ /+---------------------------------------------+---/ /|#
#|--/ /-| Script to generate color palette from image |--/ /-|#
#|-/ /--| Prasanth Rangan |-/ /--|#
#|/ /---+---------------------------------------------+/ /---|#
#// accent color profile
colorProfile="default"
configuration {
/* modes: "window,drun,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";*/
@kRHYME7
kRHYME7 / themeselect.sh
Created April 17, 2024 03:30
Test only
#!/usr/bin/env sh
#// set variables
scrDir="$(dirname "$(realpath "$0")")"
source "${scrDir}/globalcontrol.sh"
rofiConf="${confDir}/rofi/selector.rasi"
@kRHYME7
kRHYME7 / List of my qt5 apps
Last active March 12, 2024 04:31
This happens a week ago after KDE update
ocal/avahi 1:0.8+r194+g3f79789-1
Service Discovery for Linux using mDNS/DNS-SD (compatible with Bonjour)
local/kvantum-qt5 1.0.10-3
SVG-based theme engine for Qt5
local/phonon-qt5 4.12.0-4
The multimedia framework by KDE
local/phonon-qt5-gstreamer 4.10.0-4
Phonon GStreamer backend for Qt5
local/plasma5support 6.0.1-1 (plasma)
Support components for porting from KF5/Qt5 to KF6/Qt6
@kRHYME7
kRHYME7 / volumecontrol.sh
Last active March 8, 2024 06:29
~/.config/hyprdots/scripts/volumecontrol.sh
#!/usr/bin/env sh
ScrDir=`dirname "$(realpath "$0")"`
source $ScrDir/globalcontrol.sh
# define functions
print_error ()
{
@kRHYME7
kRHYME7 / ACFwNS.py
Last active March 7, 2024 07:13
Team OA
give me a code that will make the three servo motors turn on at 7am, 12pm, and 3pm
import time
from machine import Pin, PWM
import esp32
# ESP32 PWM pins
servo1_pin = 18
servo2_pin = 19
servo3_pin = 21
@kRHYME7
kRHYME7 / gamelauncher.sh
Last active March 10, 2024 08:12
This displays icons plus name for lutris games or any games on lutris library. cc https://github.com/Enigma1309 https://github.com/prasanthrangan/hyprdots/issues/866#issuecomment-1973045668
#!/usr/bin/env sh
# set variables
MODE=${1:-5}
ScrDir=`dirname "$(realpath "$0")"`
source $ScrDir/globalcontrol.sh
ThemeSet="${XDG_CONFIG_HOME:-$HOME/.config}/hypr/themes/theme.conf"
RofiConf="${XDG_CONFIG_HOME:-$HOME/.config}/rofi/steam/gamelauncher_${MODE}.rasi"
# set rofi override
@kRHYME7
kRHYME7 / hyprlock.conf
Created March 2, 2024 16:22
hyprlock.conf jus for demonstarion. Please share if you have awesome Hyprlock conf
source = /home/$USER/.config/hypr/themes/colors.conf
$foreground = rgba($primary_3ff)
# BACKGROUND
background {
monitor =
path = /home/$USER/.config/swww/wall.set # If WP is not .png it won't work
blur_passes = 3
contrast = 0.8916
@kRHYME7
kRHYME7 / Theme
Created February 28, 2024 02:34
[OUTPUT ] rofi -dump-config theme timings
/**
* rofi -dump-theme output.
* Rofi version: 1.7.5+wayland2-dev
**/
* {
main-fg: rgba ( 210, 215, 144, 100 % );
select-fg: rgba ( 216, 192, 180, 100 % );
main-bg: rgba ( 39, 63, 75, 90 % );
select-bg: rgba ( 56, 54, 59, 100 % );
main-br: rgba ( 52, 53, 56, 100 % );
❯ hyprpm add https://github.com/DreamMaoMao/hycov -f -v
! Using --force, I hope you know what you are doing.
[v] version returned: Hyprland, built from branch HEAD at commit 84ab8d11e8951a6551d1e1bf87796a8589da6d47 (props: bump ver to 0.35.0).
Date: Mon Feb 5 01:59:02 2024
Tag: v0.35.0
flags: (if any)
[v] parsed commit 84ab8d11e8951a6551d1e1bf87796a8589da6d47 at branch HEAD