Skip to content

Instantly share code, notes, and snippets.

View Amirtassaduq's full-sized avatar

Muhammad Amir Amirtassaduq

View GitHub Profile
@Amirtassaduq
Amirtassaduq / plymouth.sh
Created March 9, 2026 00:42
plymouth bash script
#!/bin/bash
# Path to the Plymouth theme configuration file
PLYMOUTH_CONFIG="/usr/share/plymouth/themes/pop-basic/pop-basic.plymouth"
# Function to ask yes/no questions
ask_yes_no() {
while true; do
read -p "$1 (y/n): " yn
case $yn in
@Amirtassaduq
Amirtassaduq / dash to dock
Created February 24, 2026 19:16
dash to dock
// Turn off gnome sidebar dock on hover
gsettings set org.gnome.shell.extensions.dash-to-dock autohide false
gsettings set org.gnome.shell.extensions.dash-to-dock dock-fixed false
gsettings set org.gnome.shell.extensions.dash-to-dock intellihide false
// turn off the gnome animations
gsettings set org.gnome.desktop.interface enable-animations false
Long story short, you can disable animations with these two commands:
gsettings set org.gnome.settings-daemon.plugins.remote-display active false
@Amirtassaduq
Amirtassaduq / snap nvim
Created February 22, 2026 11:58
snap nvim
/snap/bin/nvim
grep "Icon=" /var/lib/snapd/desktop/applications/nvim_nvim.desktop
[Desktop Entry]
Name=Neovim (KITTY)
Exec=kitty sh -c "/snap/bin/nvim %F"
Terminal=false
Type=Application
@Amirtassaduq
Amirtassaduq / kitty.desktop
Last active February 22, 2026 03:32
kitty shortcut in folder context menu to open nvim with kitty
[Desktop Entry]
Version=1.0
Type=Application
Name=kitty
GenericName=Terminal emulator
Comment=Fast, feature-rich, GPU based terminal
TryExec=kitty
Exec=kitty
Icon=kitty
Categories=System;TerminalEmulator;
@Amirtassaduq
Amirtassaduq / QMK Firmware Setup Guide for Linux (Pop!_OS - Ubuntu)
Last active March 23, 2025 16:35
QMK Firmware Setup Guide for Linux (Pop!_OS Ubuntu)
=============================================
QMK Firmware Setup Guide for Linux (Pop!_OS/Ubuntu)
=============================================
1. Install Dependencies & QMK CLI
---------------------------------
sudo apt update && sudo apt upgrade -y
sudo apt install git python3-pip gcc avr-libc avrdude dfu-programmer dfu-util
python3 -m pip install --user qmk
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
@Amirtassaduq
Amirtassaduq / qmk_firmware installation
Created March 23, 2025 16:25
how to install qmk firmware on linux popos 22.04
sudo apt install -y git python3-pip
python3 -m pip install --user qmk
qmk setup
qmk compile -kb <keyboard> -km default
qmk compile -kb clueboard/66/rev3 -km default
1. Fix Missing Udev Rules