Giter VIP home page Giter VIP logo

dotfiles-archive's Introduction

🚯 Dotfiles

ri • cing /ry-sing/

  • Making visual improvements and customization to your desktop and/or phone that can simplify your desktop environment but (generally) are completely pointless.

好看是第一生产力。

—— @SpencerWoo

macOS

iTerm2

🔺WARNING: Please upgrade iTerm2 to the latest 3.3 version in order to achieve the customizable "Minimal Titlebar" and "Status bar".

  • Color Scheme: manta.itermcolors

  • Set "Tab bar height (points) for minimal theme" to 22, under "Preference - Advanced".

  • Set "Transparency" to near "Opaque", under "Preference - Profiles - Default - Window".

Hyper

Fully customized color scheme, see _hyper_macos.js

🔺 NOTICE: Powerlevel10k can generate the same prompt as Pure given the right configuration options. But P10K is able to deal with large git repositories much much faster. See: romkatv/Pure style for Powerlevel10k.md

Window Manager - yabai

Yabai - a macOS Tiling WM.

Bitbar Scripts

Your custom, open source version of iStat Menu. 阅读更多:监控疫情、看天气、查汇率…… Mac 菜单栏「万能」工具箱:BitBar

Bitbar: put the output from any script or program in your macOS menu bar. Scripts I use are available at: bitbar

Colorful battery CPU Stats

Windows

PowerShell

Configurations What I use
Prompt theme engine oh-my-posh
Prompt theme SpencerTechy.psm1
Font JetBrains Mono Nerd Font
Color theme (for Windows Terminal) Snazzy

Go to oh-my-posh for information on how to install. After installing, you can take a look at your oh-my-posh's profile with:

$ThemeSettings

We are looking for the directory where oh-my-posh stores all your themes. Navigate to that very directory, and put SpencerTechy.psm1 there. Now, you can enable this theme with:

Set-Theme SpencerTechy

Also, here's my PowerShell configuration profile: ps_profile.ps1 for reference. I use:

And I removed PowerShell's default alias of curl via:

# Remove curl alias
If (Test-Path Alias:curl) {Remove-Item Alias:curl}
If (Test-Path Alias:curl) {Remove-Item Alias:curl}

See ps_profile.ps1 for detailed information.

Windows Terminal

❗ You cannot use colortool to apply a theme to Windows Terminal. Instead, you'll need to manually add the theme (which is in JSON) to Windows Terminal's configuration.
  • Dark variant - defined in Windows Terminal settings:

    "theme" : "dark"
  • Windows Terminal themes: Windows Terminal Themes at iTerm Color Schemes.

For more information, see wt_profiles.json.

Linux

❗ I don't use Linux (or Manjaro) any more. I recommend using WSL on Windows. (Or just buy a Mac for god sake.)

Arch Linux WSL (for use on Windows)

Config files: _wsl_zshrc

Manjaro

Scripts

Handy scripts for ricing screenshots.

Neofetch

Fetch system information (with --iterm2 option to display wallpaper.)
neofetch --iterm2

Depends on imagemagick, only works with Terminals who support displaying inline images.

Quickly show all your terminal colors
curl -s https://raw.githubusercontent.com/pablopunk/colortest/master/colortest | bash

color.sh - color.sh

Minimal script to show terminal colors.
curl -s https://raw.githubusercontent.com/spencerwooo/dotfiles/master/scripts/color.sh | bash

256 Color Test

Print out all 256 colors in your console. See: Print a 256-color test pattern in the terminal
curl -s https://gist.githubusercontent.com/HaleTom/89ffe32783f89f403bba96bd7bcd1263/raw/ | bash

ytop

Terminal based task manager.

GitHub: cjbassi/ytop: Another TUI based system monitor, this time in Rust!

tty-clock

Terminal based clock.

GitHub: xorg62/tty-clock

Special Thanks

License

This is published via the MIT License.


🚯 Dotfiles ©Spencer Woo. Released under the MIT License.

Authored and maintained by Spencer Woo.

@Portfolio · @Blog · @GitHub

dotfiles-archive's People

Contributors

spencerwooo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotfiles-archive's Issues

求助,prompt颜色更改

大佬好,我在参照你的dotfile配置wt终端时,发现颜色显示异常,同一种配色在fluent terminal和在windows terminal下显示不一致,如下:
image
image
主要是有两点让我觉得难受:
1.wt中prompt好像格子显示的很明显,有什么办法可以让其看起来和谐一点嘛
2.wt中要怎么更改某一部分的配色呢,比如whalefall 的那一部分,我调整了很多次都不能像fluent-terminal中显示的那么清楚。
谢谢!

iTerm2 theme import failed

Environment

  • OS: 10.12.6
  • iTerm2 version: Build 3.3.12

Error message

The selected file could not be read or did not contain a valid color scheme.

能分享下Windows Terminal 配置么

按照楼主的方法配置了,Powershell 只能达到这个效果,并且安装了Fantasque Sans Mono 在powershell字体设置中不能找到该字体

仔细看了你的截图,应该是Windows Terminal,
可是我安装Windows Terminal后,并没有生效,能否分享下Windows Terminal json配置

certain character makes theme doesn't work

#$prompt += Write-Prompt -Object "╭" -ForegroundColor $sl.Colors.PromptIndicatorForegroundColor1
#$prompt += Write-Prompt -Object "╰" -ForegroundColor $sl.Colors.PromptIndicatorForegroundColor1
themes doesn't work with those"╭" and "╰" in theme setting
works without them

default

Windows Terminal 更新后出现问题

第一个是Windows Terminal的上面变成了和系统一样的配色,整个界面不是全黑了
image
第二个是global标签被舍弃了,需要更新

Set-Theme SpencerTechy 出错

❯ Get-ExecutionPolicy -List


        Scope ExecutionPolicy
        ----- ---------------
MachinePolicy       Undefined
   UserPolicy       Undefined
      Process       Undefined
  CurrentUser    RemoteSigned
 LocalMachine    RemoteSigned


❯ Set-Theme SpencerTechy
Import-Module : 无法加载文件 D:\Dropbox\Documents\WindowsPowerShell\PoshThemes\SpencerTechy.psm1。未对文件
D:\Dropbox\Documents\WindowsPowerShell\PoshThemes\SpencerTechy.psm1
进行数字签名。无法在当前系统上运行该脚本。有关运行脚本和设置执行策略的详细信息,请参阅
https:/go.microsoft.com/fwlink/?LinkID=135170 中的 about_Execution_Policies。
所在位置 D:\Dropbox\Documents\WindowsPowerShell\Modules\oh-my-posh\2.0.487\oh-my-posh.psm1:12 字符: 5
+     Import-Module $sl.CurrentThemeLocation -Force
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : SecurityError: (:) [Import-Module],PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess,Microsoft.PowerShell.Commands.ImportModuleCommand

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.