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 / 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)
@rohshall
rohshall / i3config
Last active September 20, 2022 19:04
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@rohshall
rohshall / bspwmrc
Last active November 8, 2022 23:40 — forked from jinyeow/bspwmrc
Config files related to bspwm and panel (lemonbar)
#! /bin/sh
xrandr.sh
sxhkd &
xcompmgr &
$HOME/bin/panel &
bspc monitor LVDS-1 -d 1 2 3 4 5
bspc monitor HDMI-2 -d 6 7 8 9 0
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=
@rohshall
rohshall / .vimrc
Last active November 9, 2022 20:52
syntax on
set hidden
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set nu
set laststatus=2