- go to lima shell:
rdctl shell- change configs:
sudo vi /etc/conf.d/dockerrdctl shellsudo vi /etc/conf.d/docker| py_binary( | |
| name = 'generate_compile_command', | |
| srcs = [ | |
| 'generate_compile_command.py', | |
| ], | |
| deps = [ | |
| '//third_party/bazel:extra_actions_proto_py', | |
| ], | |
| ) |
| # Apply this config conditionally to all C files | |
| If: | |
| PathMatch: .*\.(c|h)$ | |
| CompileFlags: | |
| Compiler: /usr/bin/gcc | |
| --- | |
| # Apply this config conditionally to all C++ files | |
| If: |
| #!/bin/zsh | |
| # This script helps those who want to | |
| # get all Aerial wallpapers on macOS Sonoma | |
| # all at once instead of clicking on settings one by one. | |
| # Dependencies: jq, parallel | |
| # Install all dependencies via `brew install jq parallel` | |
| # After `parallel` installed run `sudo parallel --citation` first to read citation notice (IMPORTANT) |
echo $XDG_SESSION_TYPEsudo cp ~/.config/monitors.xml ~gdm/.config/monitors.xml
sudo chown gdm:gdm ~gdm/.config/monitors.xmlsudo machinectl shell gdm@ /bin/bashGRUB_CMDLINE_LINUX_DEFAULT="consoleblank=60"setterm -blank X (X in minutes) in shell init file (.bashrc) or /etc/rc.local.Then, prevent sleep when lid close:
sudoedit /etc/systemd/logind.conf:
HandleLidSwitch=ignore| "$schema" = 'https://starship.rs/config-schema.json' | |
| # Inserts a blank line between shell prompts | |
| add_newline = false | |
| format = """ | |
| [](surface0)\ | |
| $os\ | |
| $username\ | |
| [](bg:peach fg:surface0)\ |
| # $HOME/Library/Application\ Support/com.mitchellh.ghostty/config | |
| theme = dark:Adwaita Dark,light:Adwaita | |
| # theme = Adwaita Dark | |
| font-family = "CaskaydiaCove Nerd Font Mono" | |
| window-theme = auto | |
| window-height = 33 | |
| window-width = 110 | |
| window-colorspace = display-p3 |
| [wsl2] | |
| dnsTunneling=false | |
| networkingMode=NAT # mirrored | |
| dnsProxy=true | |
| autoProxy=true | |
| firewall=false |