Skip to content

Instantly share code, notes, and snippets.

@iliketwertles
iliketwertles / nvidia.md
Created August 29, 2022 22:56
nvidia+hyprland/wayland guide

First of all this is no where near a cure-all or universal guide, this is just my experience with my specific card and system. This is what has gotten my MSI 1650 Super Gaming X gpu (probably overly specific lol) to work on hyprland, not sure if this works on any other wayland compositors but i assume it would work for sway, newm, etc

Anyways lets start with a basic arch install with the regular kernel and some basic packages including but not limited to: dkms, base-devel, git, yay, etc

Next is to get nvidia stuff figured out, if your card is supported, use nvidia-open-dkms, if not, nvidia-dkms. Then ensure nvidia modules are in the MODULES= section of mkinitcpio like this (MODULES="nvidia nvidia_drm nvidia_modeset nvidia_uvm") then running: "mkinitcpio -P". I suggest making a packman hook to rebuild initramfs whenever either 'linux' (kernel) or nvidia-open-dkms

@iliketwertles
iliketwertles / chtm
Last active June 28, 2022 17:16
chtm is a bash script for backing up and loading different themes
#!/bin/bash
############################################################################################################################
# this is a very basic theme "handler" so to speak and it can save, list and change the current #
# theme of most WM's and the respective common software relating to it, for anything other than the following: #
# (polybar, rofi, bspwm, alacritty, neofetch and thunar) you will have to specify the path of the config directory or file.#
# Don't complain if this "breaks" your themes or doesnt work, you know what you're getting into if you use this. #
# THIS DOES NOT AUTO-SAVE YOUR THEMES. Please back them up either with this tool or manually #
# if you got this far you should be good to go #
############################################################################################################################