Skip to content

Instantly share code, notes, and snippets.

View Daivasmara's full-sized avatar
A squirrel is just a rat with a cuter outfit!

Muhammad Denaw Daivasmara

A squirrel is just a rat with a cuter outfit!
View GitHub Profile
Daivasmara / tmux.conf
Created September 7, 2023 10:00
View tmux.conf
set-option -sa terminal-overrides ",xterm*:Tc"
set -g mouse on
set -g default-command /usr/bin/zsh
set -g default-shell /usr/bin/zsh
unbind C-b
set -g prefix C-Space
bind C-Space send-prefix
# Vim style pane selection
Daivasmara / Neofetch
Last active January 17, 2023 09:37
Neofetch Config
View Neofetch
# Source:
# Made by
# Customization Wiki
print_info() {
# info title
# info underline
prin "\n"
prin "\n Weather" "$(curl | awk '/°(C|F)/ {printf $(NF-1) $(NF) " ("a")"} /,/ {a=$0}')"
prin "┌──────────────────────────────────────┐"
Daivasmara / Xresources
Last active January 17, 2023 09:43
View Xresources
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
Xft.rgba: rgb
Xft.autohint: false
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault
*background: #1b182c
*foreground: #cbe3e7
Daivasmara / Alacritty
Last active January 17, 2023 09:38
Alacritty Config
View Alacritty
family: Anonymous Pro
style: Bold
family: Anonymous Pro
style: Italic
family: Anonymous Pro
style: Bold Italic
Daivasmara / i3 Status
Last active January 17, 2023 09:41
i3 Status
View i3 Status
# i3status configuration file.
# see "man i3status" for documentation.
# It is important that this file is edited as UTF-8.
# The following line should contain a sharp s:
# ß
# If the above line is not correctly displayed, fix your editor first!
general {
colors = true
Daivasmara / i3
Last active March 13, 2023 05:06
i3 Config
View i3
# i3 config file (v4)
# Please see for a complete reference!
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
set $mod Mod4
# set default desktop layout (default is tiling)
# workspace_layout tabbed <stacking|tabbed>
# Configure border style <normal|1pixel|pixel xx|none|pixel>
Daivasmara /
Last active December 16, 2020 09:52
Ubuntu 18.04
#! /bin/bash
sudo apt update
sudo apt upgrade -y
sudo reboot
sudo ufw enable && sudo ufw allow ssh
sudo apt install nginx
sudo ufw allow 'Nginx HTTP'
Daivasmara / NVIM
Last active February 17, 2024 10:34
NVIM v0.9.0
call plug#begin('~/.vim/plugged')
Plug 'challenger-deep-theme/vim', { 'as': 'challenger-deep' }
Plug 'morhetz/gruvbox'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
Plug 'stsewd/fzf-checkout.vim'
Plug 'sheerun/vim-polyglot'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'