Skip to content

Instantly share code, notes, and snippets.

View EgZvor's full-sized avatar

Egor Zvorykin EgZvor

  • Санкт-Петербург
View GitHub Profile
/* Dracula colors */
* {
black: rgba ( 40, 42, 54, 100 % );
gray: rgba ( 68, 71, 90, 100 % );
white: rgba ( 248, 248, 242, 100 % );
light-gray: rgba ( 98, 114, 164, 100 % );
cyan: rgba ( 139, 233, 253, 100 % );
green: rgba ( 80, 250, 123, 100 % );
orange: rgba ( 255, 184, 108, 100 % );
pink: rgba ( 255, 121, 198, 100 % );
@EgZvor
EgZvor / config.rasi
Created February 9, 2018 10:23
Dracula theme for rofi (put in ~/.config/rasi)
// Dracula colors
* {
background: rgba ( 40, 42, 54, 100 % );
current-line: rgba ( 68, 71, 90, 100 % );
selection: rgba ( 68, 71, 90, 100 % );
foreground: rgba ( 248, 248, 242, 100 % );
comment: rgba ( 98, 114, 164, 100 % );
cyan: rgba ( 139, 233, 253, 100 % );
green: rgba ( 80, 250, 123, 100 % );
orange: rgba ( 255, 184, 108, 100 % );

Keybase proof

I hereby claim:

  • I am egzvor on github.
  • I am egzvor (https://keybase.io/egzvor) on keybase.
  • I have a public key ASCQzubYGyRq4R_viV2lVtIe--fiaa3sFAU_gkvmhUK11Qo

To claim this, I am signing this object:

#!/usr/bin/env python3
"""
The script accepts either an argument or stdin line as a Vim server name
and focuses on i3 window contaning that Vim instance.
Read `:help client-server
<http://vimdoc.sourceforge.net/htmldoc/remote.html#client-server>`_.
Requires ``psutil`` ::
@EgZvor
EgZvor / fzy.zsh
Created August 15, 2019 23:56
fzy bindings for zsh mirrored from fzf and simplified
# CTRL-T - Paste the selected file path(s) into the command line
__fsel() {
setopt localoptions pipefail 2> /dev/null
rg --files --hidden --glob '!.git/' | fzy
local ret=$?
echo
return $ret
}
fzy-file-widget() {
[urgency_low]
frame_color = "#8be9fd"
foreground = "#8be9fd"
background = "#282A36"
timeout = 4
[urgency_normal]
frame_color = "#50fa7b"
foreground = "#50fa7b"
background = "#282A36"
!!!!!!!!!!!!!!!!!!!!!!!
! Dracula colorscheme !
!!!!!!!!!!!!!!!!!!!!!!!
urxvt.foreground: #F8F8F2
urxvt.background: #282A36
urxvt.color0: #000000
urxvt.color1: #FF5555
urxvt.color2: #50FA7B
urxvt.color3: #F1FA8C
urxvt.color4: #BD93F9
from i3pystatus import Status
# pylint: disable=C0330
# flake8: noqa: E128
status = Status()
DRACULA_THEME = {
"background": "#282a36",
"current line": "#44475a",
@EgZvor
EgZvor / myi3pystatus.py
Last active February 2, 2018 10:16
i3pystatus configuration (do not name this file as i3pystatus.py , because it will mess up python imports)
from i3pystatus import Status
status = Status()
DRACULA_THEME={
"background": "#282a36",
"current line": "#44475a",
"selection": "#44475a",
"foreground": "#f8f8f2",
"comment": "#6272a4",
{
"cells": [
{
"cell_type": "code",
"execution_count": 35,
"metadata": {
"collapsed": false
},
"outputs": [
{