Skip to content

Instantly share code, notes, and snippets.

View kronikpillow's full-sized avatar

Dejan Kutle kronikpillow

View GitHub Profile
@Vendicated
Vendicated / index.js
Last active March 12, 2023 17:59
discord_arch_electron stream fix
const electron = require("electron");
const { join } = require("path");
class BrowserWindow extends electron.BrowserWindow {
constructor(options) {
if (options?.webPreferences?.preload && options.title) {
// Replace Discords preload script with our own
process.env.DISCORD_PRELOAD = options.webPreferences.preload;
options.webPreferences.preload = join(__dirname, "preload.js");
@Whimfoome
Whimfoome / archsetup.md
Last active September 30, 2024 22:26
Arch Setup (EndevourOS)

Install Arch with EndevourOS, Gnome Environment, btrfs filesystem

Do most of the things in the eos-welcome app

Common Pacman Commands

  • pacman -Syu (<pkg>) - update && upgrade /pkg optional
  • pacman -S <pkg> - install
  • pacman -Rsc <pkg> - uninstall
  • pacman -Ss <keywords> - search
  • pacman -Qe - list installed pkgs by you
@Provessor
Provessor / cleaner.sh
Last active November 10, 2022 02:00
Scripts used to get image previews used in lf
#!/usr/bin/env bash
kitty +kitten icat --transfer-mode file --clear
export $(dbus-launch)
# could be in /etc/profile.d/dbus.sh
# this with lxdm and i3wm in artix linux.
# if there another way i will see
#!/bin/bash
set -e
##################################################################################################################
# Author : Erik Dubois
# Website : https://www.erikdubois.be
# Website : https://www.arcolinux.info
# Website : https://www.arcolinux.com
# Website : https://www.arcolinuxd.com
# Website : https://www.arcolinuxb.com
# Website : https://www.arcolinuxiso.com
@MilesMcBain
MilesMcBain / rofi.cfg
Created July 17, 2018 02:19
vim like keys for rofi
rofi.kb-row-up: Up,Control+k,Shift+Tab,Shift+ISO_Left_Tab
rofi.kb-row-down: Down,Control+j
rofi.kb-accept-entry: Control+m,Return,KP_Enter
rofi.terminal: mate-terminal
rofi.kb-remove-to-eol: Control+Shift+e
rofi.kb-mode-next: Shift+Right,Control+Tab,Control+l
rofi.kb-mode-previous: Shift+Left,Control+Shift+Tab,Control+h
rofi.kb-remove-char-back: BackSpace