Skip to content

Instantly share code, notes, and snippets.

View l1na-forever's full-sized avatar
🌆

Lina l1na-forever

🌆
View GitHub Profile
From 979077105706b7120ea80feb474667d67c481a9e Mon Sep 17 00:00:00 2001
From: Lina <61861965+l1na-forever@users.noreply.github.com>
Date: Sun, 18 Sep 2022 20:54:38 -0700
Subject: [PATCH] minor tweaks, install AMD ROCM PyTorch 5.1.1
---
entrypoint.sh | 8 +++++++-
scripts/relauncher.py | 4 ++--
2 files changed, 9 insertions(+), 3 deletions(-)
@l1na-forever
l1na-forever / config
Created July 19, 2022 08:03
mako configuration
max-visible=4
default-timeout=7500
layer=overlay
font=IBM Plex Sans 11
background-color=#222222dd
text-color=#eeeeee
padding=14
width=325
height=125
@l1na-forever
l1na-forever / config.toml
Created July 19, 2022 07:56
mpris-notifier config
subject_format = '{track}'
body_format = "{album}\n{artist}"
join_string = ' ⬥ '
enable_album_art = true
album_art_deadline = 1000
#!/bin/bash
# Changes the default sink in pamixer
usage() {
cat<<END
Usage: $0 <device name>
Device name will simply be searched as a substring against all possible
sinks, with the first match selected.
END
@l1na-forever
l1na-forever / pamixer-volume.sh
Last active July 6, 2022 20:55
Controls volume using pamixer, emitting notifications with dunstify. #bash
#!/bin/bash
# Controls volume using pamixer, emitting notifications with dunstify.
VOLUME_STEP=3 # percent by which volume is raised or lowered
usage() {
cat<<END
Usage: $0 <mode>"
Available modes:
# /etc/modprobe.d/iwlwifi.conf
options iwlmvm power_scheme=1
options iwlwifi power_save=0