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
| { | |
| config, | |
| lib, | |
| pkgs, | |
| ... | |
| }: | |
| { | |
| imports = [ | |
| # Include the results of the hardware scan. |
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
| # 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 |
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
| ## 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" | |
| } |
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 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 |
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
| # 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 |
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
| %ページ形式 | |
| \pagestyle{plain} | |
| %コメントアウト関連 | |
| \usepackage{comment} | |
| %目次関連 | |
| \usepackage{tocloft} | |
| \usepackage{titletoc} |