feat(hyprland): Add hyprland config

This commit is contained in:
whoami 2024-12-22 07:44:26 +00:00
parent 981dd2170c
commit 4bf9687d72
28 changed files with 540 additions and 80 deletions

View file

@ -1,7 +1,12 @@
# $XDG_CONFIG_HOME/conda/condarc.yaml
# ==================================================================
# New-Item -ItemType SymbolicLink -Path $Env:XDG_CONFIG_HOME\conda\.condarc -Target $DOTFILES\.config\conda\condarc.yaml
# $DOTFILES/common/condarc.yaml
# Date: 2024-12-22
# Author: js0ny
# Location:
# $XDG_CONFIG_HOME/conda/.condarc
# Linking:
# ln -s $DOTFILES/.config/conda/condarc.yaml $XDG_CONFIG_HOME/conda/.condarc
# ==================================================================
# ================================================================================
# Reference:
# https://docs.conda.io/projects/conda/en/latest/user-guide/configuration/use-condarc.html
auto_activate_base: false

View file

@ -1,14 +1,19 @@
# $XDG_CONFIG_HOME/git/config
# %USERPROFILE%\.gitconfig # No XDG support on Windows
# ln -sf $DOTFILES/.config/git/.gitconfig $XDG_CONFIG_HOME/git/config
# New-Item -ItemType SymbolicLink -Path "$Env:XDG_CONFIG_HOME\git\config" -Target "$DOTFILES\.config\git\.gitconfig"
[user]
# $DOTFILES/common/gitconfig.example
# Date: 2024-12-22
# Author: js0ny
# Location:
# Windows: %USERPROFILE%\.gitconfig
# *nix: ~/.config/git/config
# Linking: (Note that this file is an example, only copy this then edit)
# cp $DOTFILES/common/gitconfig.example ~/.config/git/config
[user] # Modify the name and email
name = whoami
email = whoami@example.com
[core]
editor = nvim
pager = delta
autocrlf = input
autocrlf = input # Force End of Line in different platforms
[interactive]
diffFilter = delta --color-only
[delta]
@ -19,5 +24,5 @@
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "git@github.com:"]
insteadOf = https://github.com/
# [url "git@github.com:"] # Force ssh
# insteadOf = https://github.com/

View file

@ -1,5 +1,10 @@
# ~/.config/glow/glow.yaml
# ln -sf $DOTFILES/glow/glow.yaml ~/.config/glow/glow.yaml
# $DOTFILES/common/glow.yaml
# Date: 2024-12-22
# Author: js0ny
# Location:
# ~/.config/glow/config.yml
# ln -sf $DOTFILES/glow/glow.yaml ~/.config/glow/config.yml
# style name or JSON path (default "auto")
style: "auto"
# mouse support (TUI-mode only)

View file

@ -1 +1 @@
editMode: Vi
editMode: Vi

View file

@ -1,6 +1,12 @@
"$XDG_CONFIG_HOME/ideavim/ideavimrc
" New-Item -ItemType SymbolicLink -Path ~\.ideavimrc -Target $DOTFILES\.config\ideavim\ideavimrc.vimrc
" ln -sf $DOTFILES/.config/ideavim/ideavimrc.vimrc $XDG_CONFIG_HOME/ideavim/ideavimrc
" $DOTFILES/common/ideavimrc
" Date: 2024-12-22
" Author: js0ny
" Location:
" $XDG_CONFIG_HOME/ideavim/ideavimrc
" Linking:
" ln -sf $DOTFILES/common/ideavimrc $XDG_CONFIG_HOME/ideavim/ideavimrc
""" Basic Configs """
let mapleader = " " " set <leader> to <space>

View file

@ -1,4 +1,13 @@
# $DOTFILES/common/gitconfig.example
# Date: 2024-12-22
# Author: js0ny
# GNU Readline config file, works for programs that use that library
# e.g. Python REPL, Lua REPL, Bash on Linux
# Location:
# $XDG_CONFIG_HOME/readline/inputrc
# Linking:
# ln -sf $DOTFILES/common/inputrc $XDG_CONFIG_HOME/readline/inputrc
# Colemak Key Remaps
set editing-mode vi

View file

@ -1,6 +1,16 @@
# $XDG_CONFIG_HOME/lesskey -- less options
# ln -sf $DOTFILES/.config/lesskey $XDG_CONFIG_HOME/lesskey
# $DOTFILES/common/lesskey
# Date: 2024-12-22
# Author: js0ny
# Less the pager.
# Location:
# $XDG_CONFIG_HOME/lesskey
# Or specified by the environment variable $LESSKEYIN
# Linking:
# ln -sf $DOTFILES/common/lesskey ~/.config/lesskey
# ===========================================================
# work for less -V > 582, for mac, use brew install less to override the system less
# In Windows (current version), the default pager is `more`, should be specifed to `less` by `$Env:Pager = less`
# Format: key action

View file

@ -1,6 +1,14 @@
# $DOTFILES/common/npmrc
# Date: 2024-12-22
# Author: js0ny
# Location:
# $NPM_CONFIG_USERCONFIG
# ~/.npmrc (Default location)
# Linking:
# export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME"/npm/npmrc
# ===========================================================
# $XDG_CONFIG_HOME/npm/npmrc
# ln -s $DOTFILES/.config/npm/npmrc $NPM_CONFIG_USERCONFIG
# New-Item -ItemType SymbolicLink -Path $env:NPM_CONFIG_USERCONFIG -Value $env:DOTFILES/.config/npm/npmrc
# registry=https://registry.npmmirror.com

View file

@ -1,5 +1,12 @@
# $DOTFILES/common/tmux.conf
# Date: 2024-12-22
# Author: js0ny
# `tmux` - Terminal Multiplexer
# Location:
# $XDG_CONFIG_HOME/tmux/tmux.conf
# ln -sf $DOTFILES/.config/tmux/tmux.conf $XDG_CONFIG_HOME/tmux/tmux.conf
# Linking:
# ln -sf $DOTFILES/common/tmux.conf $XDG_CONFIG_HOME/tmux/tmux.conf
# Prefix
# -----------------
@ -14,7 +21,7 @@ set-option -g allow-rename on
set-option -g alternate-screen on
set-option -g visual-activity on
set-option -g pane-border-style fg=colour244
set-option -g pane-activity-border-style fg=colour239
# set-option -g pane-activity-border-style fg=colour239
# Index
# -----------------
@ -54,17 +61,17 @@ bind ` resize-pane -Z
# Status Bar
# -----------------
# set -g status-position top
# set-option -g status-bg black
# set-option -g status-fg white
# set-option -g status-left '#[fg=green][#S] '
# setw -g window-status-current-format '#[fg=colour236,bg=colour39] #I #W '
set -g status-position top
set -g @catppuccin_flavor "frappe"
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
set -g status-right-length 100
set -g status-left-length 100
set -g status-left ""
set -g status-right "#{E:@catppuccin_status_application}"
set -ag status-right "#{E:@catppuccin_status_session}"
set-option -g status-bg black
set-option -g status-fg white
set-option -g status-left '#[fg=green][#S] '
setw -g window-status-current-format '#[fg=colour236,bg=colour39] #I #W '
# set -g status-position top
# set -g @catppuccin_flavor "frappe"
# run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
# set -g status-right-length 100
# set -g status-left-length 100
# set -g status-left ""
# set -g status-right "#{E:@catppuccin_status_application}"
# set -ag status-right "#{E:@catppuccin_status_session}"

View file

@ -13,9 +13,9 @@ keybinds {
}
pane {
bind "h" "Left" { MoveFocus "Left"; }
bind "i" "Right" { MoveFocus "Right"; }
bind "n" "Down" { MoveFocus "Down"; }
bind "e" "Up" { MoveFocus "Up"; }
bind "i" "Right" { MoveFocus "Right"; }
bind "p" { SwitchFocus; }
}
locked {