Skip to content

Instantly share code, notes, and snippets.

View skyblue-jpn's full-sized avatar

skyblue skyblue-jpn

  • Japan
  • 10:41 (UTC +09:00)
View GitHub Profile
@skyblue-jpn
skyblue-jpn / configuration.nix
Last active April 16, 2025 11:50
nixos minimal config for installation
{
config,
lib,
pkgs,
...
}:
{
imports = [
# Include the results of the hardware scan.
@skyblue-jpn
skyblue-jpn / .bashrc
Last active December 9, 2024 07:01
bash config (Garuda)
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Load starship prompt if starship is installed
if [ -x /usr/bin/starship ]; then
__main() {
local major="${BASH_VERSINFO[0]}"
local minor="${BASH_VERSINFO[1]}"
if ((major > 4)) || { ((major == 4)) && ((minor >= 1)); }; then
@skyblue-jpn
skyblue-jpn / .zshrc
Created December 9, 2024 07:00
zsh config (Garuda)
## Path section
# Set $PATH if ~/.local/bin exist
if [ -d "$HOME/.local/bin" ]; then
export PATH=$HOME/.local/bin:$PATH
fi
eval "$(starship init zsh)"
function set_win_title(){
echo -ne "\033]0; $USER@$HOST:${PWD/$HOME/~} \007"
}
@skyblue-jpn
skyblue-jpn / config.fish
Last active December 9, 2024 07:00
fish config (Garuda)
## Set values
# Hide welcome message & ensure we are reporting fish as shell
set fish_greeting
set VIRTUAL_ENV_DISABLE_PROMPT "1"
set -xU MANPAGER "sh -c 'col -bx | bat -l man -p'"
set -xU MANROFFOPT "-c"
set -x SHELL /usr/bin/fish
## Export variable need for qt-theme
if type "qtile" >> /dev/null 2>&1
@skyblue-jpn
skyblue-jpn / starship.toml
Created November 20, 2024 05:45
starship config (dots-hyprland)
# Don't print a new line at the start of the prompt
add_newline = false
# Pipes ╰─ ╭─
# Powerline symbols                                   
# Wedges 🭧🭒 🭣🭧🭓
# Random noise 🬖🬥🬔🬗
# format = """
# $cmd_duration$username$hostname $directory $git_branch
# $character
@skyblue-jpn
skyblue-jpn / preamble.tex
Created December 2, 2023 04:32
preamble of LaTeX
%ページ形式
\pagestyle{plain}
%コメントアウト関連
\usepackage{comment}
%目次関連
\usepackage{tocloft}
\usepackage{titletoc}