Skip to content

Instantly share code, notes, and snippets.

View korvinko's full-sized avatar

Dzmitry Kasenka korvinko

View GitHub Profile
@korvinko
korvinko / fan-control.sh
Last active April 27, 2024 10:07
Nvidia fan curve control
#!/bin/bash
# Enable fan control
nvidia-settings -a "[gpu:0]/GPUFanControlState=1"
while true; do
# Get the current GPU temperature
temp=$(nvidia-settings -q gpucoretemp -t)
# Define fan speed based on temperature ranges
@korvinko
korvinko / PKGBUILD
Last active May 1, 2021 18:06
PKGBUILD gnome-shell-extension-dash-to-panel for GNOME 4.0
# $Id$
# Maintainer: Mohammadreza Abdollahzadeh < morealaz at gmail dot com >
# Contributor: Carl George < arch at cgtx dot us >
pkgname=gnome-shell-extension-dash-to-panel-git
_commit=fbfa5a1
pkgver=41.r2.${_fbfa5a1}
pkgrel=1
pkgdesc='Extension for GNOME shell to combine the dash and main panel'
arch=(any)