Skip to content

Instantly share code, notes, and snippets.

View niksingh710's full-sized avatar
🐧
Gnu/Linux building

Nikhil Singh niksingh710

🐧
Gnu/Linux building
View GitHub Profile
@niksingh710
niksingh710 / kaomoji.txt
Created April 26, 2024 04:07
Collection of Kaomoji Β―\_(ツ)_/Β―
>.< Upset
>_> Looking
<(Β ο½₯ο½ͺ-)<} Bow and Arrow
<(;οΏ£Β ο½₯οΏ£) Scratching
<(^oo^)> Pig
<γ‚³:彑 Squid
(#^.^#) Embarrassed
(#Γ—_Γ—) Dead
(>^_^)><(^o^<) Hugging
(>_<) Painful
@niksingh710
niksingh710 / launch.sh
Created October 6, 2023 04:46
Minecraft java launch.sh
#!/usr/bin/env bash
check() {
command -v "$1" >/dev/null 2>&1
}
notify() {
if check notify-send; then
notify-send "$@"
else
@niksingh710
niksingh710 / ixio
Created August 9, 2023 07:45
This is ixio service script to but any text on ixio server and get a shareable link
#!/usr/bin/env bash
# Examples:
# ix hello.txt # paste file (name/ext will be set).
# echo Hello world. | ix # read from STDIN (won't set name/ext).
# ix -n 1 self_destruct.txt # paste will be deleted after one read.
# ix -i ID hello.txt # replace ID, if you have permission.
# ix -d ID
ix() {
@niksingh710
niksingh710 / heroic.css.base
Created July 31, 2023 06:24
Heroic Games Launcher wpgtk template
:root {{
--accent: {active};
--accent-overlay: {inactive};
--navbar-accent: {foreground};
--background: {background};
--body-background: var(--background);
--background-darker: var(--body-background);
--current-background: var(--body-background);
--navbar-background: {background};
--navbar-active-background: {background};
@niksingh710
niksingh710 / barconfig.json
Created June 30, 2023 07:32
Waybar Arch Linux Custom Update Module. Including AUR with (checkupdates-with-aur)
"custom/updates": {
"format": "{}",
"interval": 3600,
"exec": "~/.config/waybar/scripts/updatecheck",
"return-type": "json",
"exec-if": "exit 0",
"signal": 8
},
@niksingh710
niksingh710 / amdgpu.conf
Last active July 31, 2023 06:30
The arch system config with kernel params
options amdgpu si_support=1
options amdgpu cik_support=1
@niksingh710
niksingh710 / grub modules
Created April 11, 2023 05:08
Grub modules list to be used when installing grub bootloader with sbct (Secure boot)
CD_MODULES="
all_video
boot
btrfs
cat
chain
configfile
echo
efifwsetup
efinet
# FG BTN_BG bright less brdark less da txt fg br text btn fg txt bg bg shadow sel bg sel fg link visited alt bg default tooltip bg tooltip_fg
[ColorScheme]
active_colors={foreground}, {background}, {background}, {background}, {background}, {background}, {color7}, {color7}, {foreground}, {color0}, {background}, {background}, {color1}, {color0}, {color1}, {foreground}, {background}, {foreground}, {background.strip}, {foreground}
disabled_colors={inactive}, {background}, {background}, {background}, {background}, {background}, {inactive}, {inactive}, {inactive}, {color0}, {background}, {background}, {color1}, {color0}, {color1}, {inactive}, {background}, {inactive}, {background}, {inactive}
inactive_colors={foreground}, {background}, {background}, {background}, {background}, {background}, {color7}, {color7},
" line numbers
set nu
set relativenumber
" tab & indent
set tabstop=2
set shiftwidth=2
set expandtab
set autoindent
@niksingh710
niksingh710 / 31_hold_shift
Created December 22, 2021 14:27
to be pasted on /etc/grub.d/
#! /bin/sh
set -e
prefix="/usr"
exec_prefix="${prefix}"
datarootdir="${prefix}/share"
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
source "${datarootdir}/grub/grub-mkconfig_lib"