Skip to content

Instantly share code, notes, and snippets.

View rohshall's full-sized avatar

Salil Wadnerkar rohshall

  • United States
View GitHub Profile
@rohshall
rohshall / i3_gruvbox_material.config
Created July 1, 2023 15:03 — forked from Cardoso1994/i3_gruvbox_material.config
Gruvbox material colorscheme for i3wm
################################
#### Gruvbox Material Light ####
################################
set $bg #fbf1c7
set $fg #654735
set $red #c14a4a
set $orange #c35e0a
set $green #6c782e
set $blue #45707a
set $purple #945e80
@rohshall
rohshall / i3color
Created July 1, 2023 03:51 — forked from iiey/i3color
i3 themes inspired by some colorschemes
#zenburn
set $bg #2c2c2e
set $fg #9f9f9f
set $hi #efef8f
set $ac #a0afa0
set $tx #040404
set $ia #8f8f8f
set $be #8faf9f
set $yw #ccdc90
set $gn #88b090
@rohshall
rohshall / hyprland.conf
Last active November 6, 2022 20:52
Hyprland config
########################################################################################
AUTOGENERATED HYPR CONFIG.
PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
########################################################################################
#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
modkey = "Mod4"
mousekey = "Mod4"
workspaces = []
tags = ["1", "2", "3", "4", "5", "6", "7", "8", "9"]
layouts = ["MainAndVertStack", "MainAndHorizontalStack", "MainAndDeck", "GridHorizontal", "EvenHorizontal", "EvenVertical", "Fibonacci", "LeftMain", "CenterMain", "CenterMainBalanced", "CenterMainFluid", "Monocle", "RightWiderLeftStack", "LeftWiderRightStack"]
layout_mode = "Workspace"
insert_behavior = "Bottom"
scratchpad = []
window_rules = []
disable_current_tag_swap = false
@rohshall
rohshall / init.lua
Last active November 12, 2022 19:52
nvim
local function load_plugins()
require('packer').startup(function()
-- Packer can manage itself
use 'wbthomason/packer.nvim'
use "neovim/nvim-lspconfig"
use "nvim-treesitter/nvim-treesitter"
use {
'nvim-tree/nvim-tree.lua',
requires = {
'nvim-tree/nvim-web-devicons', -- optional, for file icons
# use UTF-8 everywhere
export LANG=en_US.UTF-8
# specify location of kshrc
export ENV=$HOME/.kshrc
xrdb -merge $HOME/.Xdefaults
# set your background color
xsetroot -solid dimgray
@rohshall
rohshall / .kshrc (NetBSD)
Last active November 13, 2022 20:10
kshrc
# $NetBSD: dot.shrc,v 1.3 2007/11/24 11:14:42 pavel Exp $
if [ -f /etc/shrc ]; then
. /etc/shrc
fi
case "$-" in *i*)
# interactive mode settings go here
export PS1='$(logname)@$(hostname -s) $(pwd) $ '
;;
@rohshall
rohshall / Xdefaults (Linux)
Last active July 12, 2022 05:15
Xdefaults
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: full
Xft.hintstyle: hintslight
Xft.rgba: rgb
UXTerm.termName: xterm-256color
UXTerm.loginShell: true
UXTerm.vt100.locale: true
UXTerm.vt100.faceName: xft:Liberation Mono
@rohshall
rohshall / tmux.conf
Last active November 21, 2022 06:15
unbind-key C-b
set -g prefix C-a
bind-key C-a send-prefix
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
set-option -g renumber-windows on
set -g mouse on
@rohshall
rohshall / convert.py
Last active February 28, 2024 15:25 — forked from EsotericAlgorithm/convert.py
A script to process azw3, epub, and mobi into text files using calibre ebook-convert
import os
import shlex
import subprocess
sink = open('/dev/null', 'w')
def convert_book(input, output):
subprocess.call("ebook-convert" + " " + input + " " + output, shell=True, stdout=sink, stderr=sink)