Switch back to macOS.

This commit is contained in:
Bartek Stalewski 2024-06-19 16:19:39 +02:00
parent f8866a9eca
commit e819a06cda
No known key found for this signature in database
137 changed files with 192 additions and 23 deletions

View file

@ -1,18 +0,0 @@
{
"$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json",
"modules": [
"host",
"cpu",
"gpu",
"break",
"os",
"kernel",
"uptime",
"packages",
"break",
"de",
"terminal",
"break",
"colors"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 KiB

View file

@ -1,39 +0,0 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=39
sort_direction=1
tree_sort_key=0
tree_sort_direction=1
hide_kernel_threads=1
hide_userland_threads=1
shadow_other_users=1
show_thread_names=0
show_program_path=1
highlight_base_name=0
highlight_megabytes=1
highlight_threads=1
highlight_changes=0
highlight_changes_delay_secs=5
find_comm_in_cmdline=1
strip_exe_from_cmdline=1
show_merged_command=0
tree_view=1
tree_view_always_by_pid=1
header_margin=1
detailed_cpu_time=0
cpu_count_from_one=0
show_cpu_usage=1
show_cpu_frequency=0
show_cpu_temperature=0
degree_fahrenheit=0
update_process_names=0
account_guest_in_cpu_meter=0
color_scheme=0
enable_mouse=1
delay=15
left_meters=AllCPUs Memory Swap
left_meter_modes=1 1 1
right_meters=Tasks LoadAverage Uptime
right_meter_modes=2 2 2
hide_function_bar=0

View file

@ -1,23 +0,0 @@
gui:
language: 'auto' # one of 'auto' | 'en' | 'zh-CN' | 'zh-TW' | 'pl' | 'nl' | 'ja' | 'ko' | 'ru'
timeFormat: '2006-01-02' # https://pkg.go.dev/time#Time.Format
shortTimeFormat: '3:04PM'
theme:
selectedLineBgColor:
- reverse
commitLength:
show: true
mouseEvents: false
showFileTree: false # for rendering changes files in a tree format
showListFooter: true # for seeing the '5 of 20' message in list panels
showRandomTip: false
showCommandLog: false
nerdFontsVersion: "3" # nerd fonts version to use ("2" or "3"); empty means don't show nerd font icons
git:
commit:
signOff: true
mainBranches: [master]
autoFetch: false
autoRefresh: false
disableStartupPopups: true
notARepository: 'skip' # one of: 'prompt' | 'create' | 'skip' | 'quit'

View file

@ -1 +0,0 @@
clear

View file

@ -3,9 +3,6 @@ export XDG_CACHE_HOME=/tmp/${USER}-cache
export XDG_CONFIG_HOME=$HOME/.config
export XDG_DATA_HOME=$HOME/.local/share
export XDG_STATE_HOME=$HOME/.local/state
export HISTFILE=$XDG_DATA_HOME/zsh/history
export HISTSIZE=10000
export SAVEHIST=$HISTSIZE
export HISTFILE=$XDG_DATA_HOME/zsh/history
# if test -z "$XDG_RUNTIME_DIR"; then
# export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
# fi

View file

@ -1,6 +1,6 @@
if test -z "$XDG_RUNTIME_DIR"; then
export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
fi
# mac specific configuration
touch $HOME/.hushlogin
eval "$(/opt/homebrew/bin/brew shellenv)"
# prepare directories
mkdir -p $XDG_CACHE_HOME/zsh
@ -19,9 +19,9 @@ path=(~/.local/bin "$path[@]")
# source configuration
source $ZDOTDIR/aliases.zsh
source $ZDOTDIR/cleanhome.zsh
source $ZDOTDIR/fzf.zsh
source $ZDOTDIR/keys.zsh
source $ZDOTDIR/ssh.zsh
source $ZDOTDIR/fzf.zsh
# source modules
source ~/.local/git/zsh_modules/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh

View file

@ -3,8 +3,6 @@ LOCAL_GIT_DIR=${HOME}/.local/git
alias ga='git add .; git commit --no-edit --amend; git push --force-with-lease'
alias gae='git add .; git commit --amend; git push --force-with-lease'
alias less='less -R'
alias lg="lazygit"
alias qt="dbus-run-session qtile start -b wayland"
if [[ $(command -v bat) ]]; then
alias cat='bat -pp --color=always --tabs=2 --theme=Monokai\ Extended\ Bright'
@ -50,9 +48,3 @@ function ud() {
for i in ${LOCAL_GIT_DIR}/dotfiles ${LOCAL_GIT_DIR}/zsh_modules/*; do git -C ${i} pull; done
nvim -c "lua require('lazy').sync({wait = true})"
}
function upgrade() {
case $(lsb_release -si) in
Gentoo) eix-sync && eix-update && emerge -avuNDU @world ;;
VoidLinux) xbps-install -Su && xbps-remove -RoO && xlocate -S ;;
esac
}

View file

@ -1,3 +1,2 @@
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export LESSHISTFILE='/dev/null'
mkdir -p ~/.local/share/tig

View file

@ -1,9 +1,4 @@
if [[ $(command -v fzf) ]]; then
case $(lsb_release -si) in
Gentoo) source /usr/share/zsh/site-functions/_fzf ;;
VoidLinux) source /usr/share/fzf/completion.zsh ;;
esac
source /usr/share/fzf/key-bindings.zsh
export FZF_DEFAULT_COMMAND='fd -H -L --ignore-file ~/.local/config/fd'
export FZF_CTRL_T_COMMAND='fd -H -L --ignore-file ~/.local/config/fd'
export FZF_DEFAULT_OPTS="--multi -e --ansi --layout=reverse --preview='bat --color=always --tabs=2 --style=plain --theme=Monokai\ Extended\ Bright {}'"