This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
percent=$1 | |
width=${WIDTH:-10} | |
echo -n "<span font='22'>$LABEL</span> " | |
echo -n "<span rise='5000'>" | |
end=$(($width - 1)) | |
for i in $(seq 0 $end); do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
percent=$1 | |
width=${WIDTH:-10} | |
end=$(($width - 1)) | |
echo -n "<span font='22'>$LABEL</span>" | |
for i in $(seq 0 $end); do | |
segment=$(($i * (100 / $width))) | |
if (( percent > segment)); then | |
echo -n ${FILL:-━} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env bash | |
percent=$1 | |
end=$(($WIDTH - 1)) | |
for i in $(seq 0 $end); do | |
segment=$(($i * (100 / $WIDTH))) | |
if (( percent > segment)); then | |
echo -n $FILL | |
else | |
echo -n $EMPTY |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[time] | |
command=date '+%Y-%m-%d %H:%M:%S' | |
interval=5 | |
[batterybar] | |
command=/home/jomik/.config/i3blocks/batterybar | |
label=bat: | |
interval=5 | |
markup=none | |
min_width=bat: ■■■■■ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
coc-nvim = let | |
pname = "coc-nvim"; | |
version = "0.0.61"; | |
src = fetchFromGitHub { | |
owner = "neoclide"; | |
repo = "coc.nvim"; | |
rev = "v${version}"; | |
sha256 = "1as2hb4kfq1m0nq7vp2ibkfq8n219ykr04qx4qadg97s7iky4yx4"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(self: super: { | |
neovim-unwrapped = super.neovim-unwrapped.overrideAttrs { | |
version = "0.4.0"; | |
src = pkgs.fetchFromGitHub { | |
owner = "neovim"; | |
repo = "neovim"; | |
rev = "36762a00a8010c5e14ad4347ab8287d1e8e7e064"; | |
sha256 = "0000000000000000000000000000000000000000000000000000"; | |
}; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs, stdenv, vimUtils, fetchurl, fetchFromGitHub }: | |
with vimUtils; | |
let | |
nodePackages = import ./node-composition.nix {}; | |
in { | |
coc-nvim = let | |
version = "0.0.61"; | |
in buildVimPluginFrom2Nix { | |
inherit version; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
set runtimepath^=/nix/store/d9z3mcb91h9sf9lalfyf89pr1zjcpxyg-vimplugin-coc-nvim-0.0.61/share/vim-plugins/coc-nvim | |
filetype plugin indent on | |
syntax on | |
set hidden | |
let mapleader=" " | |
tnoremap <Esc> <C-\><C-n> | |
noremap <silent> k gk | |
noremap <silent> j gj |