Skip to content

Instantly share code, notes, and snippets.

💜
javascript

Pavan Jadhaw pavanjadhaw

💜
javascript
Block or report user

Report or block pavanjadhaw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View simple.zsh-theme
PROMPT='%{$fg[green]%}%~%F{5}$(git_prompt_info)%{$reset_color%} ──── '
ZSH_THEME_GIT_PROMPT_PREFIX=" "
ZSH_THEME_GIT_PROMPT_SUFFIX=""
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}∙%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN=" %{$fg[green]%}∙%{$reset_color%}"
View .tmux.conf
# Default terminal
set-option -g default-terminal "screen-256color"
# Use vim key bindings
set-option -g mode-keys vi
set-option -g status-keys vi
# Turn the mouse on
set-option -g mouse on
View dunstrc
[global]
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 0
follow = mouse
geometry = "250x50-40+40"
indicate_hidden = yes
shrink = yes
transparency = 0
View config
; vim:ft=cfg
; _____
; (, / ) /) /)
; _/__ / ___// (/_ _ __
; / (_)(/_ (_/_/_) (_(_/ (_
; ) / .-/
; (_/ (_/
[colors]
background = ${xrdb:color0}
View config.h
///---User configurable stuff---///
#include <X11/XF86keysym.h>
///---Modifiers---///
#define MOD XCB_MOD_MASK_4 /* Super/Windows key or check xmodmap(1) with -pm defined in /usr/include/xcb/xproto.h */
///--Speed---///
/* Move this many pixels when moving or resizing with keyboard unless the window has hints saying otherwise.
*0)move step slow 1)move step fast
*2)mouse slow 3)mouse fast */
static const uint16_t movements[] = {20,40,15,400};
/* resize by line like in mcwm -- jmbi */
View .xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
View nerdinfo.sh
#!/bin/bash
# a system info script written by yours truly
# it's hardcoded stuff, lulz
red="\e[31m"
grn="\e[32m"
ylw="\e[33m"
cyn="\e[36m"
blu="\e[34m"
View polybarmultimutedcolorconfig
;--------------------------------------------
; colors ;
;--------------------------------------------
[colors]
bar_bg = #1d1f21
bar_fg = #c5c8c6
border_col = #1d1f21
View polybarconfig
;--------------------------------------------
; colors ;
;--------------------------------------------
[colors]
bar_bg = #1d1f21
bar_fg = #c5c8c6
border_col = #1d1f21
View custom_archlinux_live_USB.md

Custom Arch Linux live USB

Setup

Install the dependencies for the archiso package:

(root): pacman -S make squashfs-tools libisoburn dosfstools patch lynx devtools git

I recommend archiso getting them from git, there is a package in the repositories, however, at this time of writing, it will not work with the instructions below. So, grab the most recent version from git and install it:

(user): git clone git://projects.archlinux.org/archiso.git && cd archiso
You can’t perform that action at this time.