mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 03:12:24 +00:00
Re-set up laptop
This commit is contained in:
parent
368c0a6254
commit
d78e6c923c
8 changed files with 200 additions and 11 deletions
|
@ -29,7 +29,8 @@ cursor:
|
||||||
blinking: "Never"
|
blinking: "Never"
|
||||||
unfocused_hollow: true
|
unfocused_hollow: true
|
||||||
font:
|
font:
|
||||||
normal: { "family": "Fira Code Nerd Font" }
|
normal: { "family": "Fira Code" }
|
||||||
|
#normal: { "family": "Fira Code Nerd Font" }
|
||||||
#normal: { "family": "APL 385 Unicode" }
|
#normal: { "family": "APL 385 Unicode" }
|
||||||
#normal: { "family": "Jetbrains Mono" }
|
#normal: { "family": "Jetbrains Mono" }
|
||||||
#normal: { "family": "Victor Mono" }
|
#normal: { "family": "Victor Mono" }
|
||||||
|
|
186
foot/.config/foot/foot.ini
Normal file
186
foot/.config/foot/foot.ini
Normal file
|
@ -0,0 +1,186 @@
|
||||||
|
# -*- conf -*-
|
||||||
|
|
||||||
|
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
|
||||||
|
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
|
||||||
|
# login-shell=no
|
||||||
|
|
||||||
|
# app-id=foot
|
||||||
|
# title=foot
|
||||||
|
# locked-title=no
|
||||||
|
|
||||||
|
font=Fira Code:size=8
|
||||||
|
# font-bold=<bold variant of regular font>
|
||||||
|
# font-italic=<italic variant of regular font>
|
||||||
|
# font-bold-italic=<bold+italic variant of regular font>
|
||||||
|
# font-size-adjustment=0.5
|
||||||
|
# line-height=<font metrics>
|
||||||
|
# letter-spacing=0
|
||||||
|
# horizontal-letter-offset=0
|
||||||
|
# vertical-letter-offset=0
|
||||||
|
# underline-offset=<font metrics>
|
||||||
|
# underline-thickness=<font underline thickness>
|
||||||
|
# box-drawings-uses-font-glyphs=no
|
||||||
|
# dpi-aware=auto
|
||||||
|
|
||||||
|
# initial-window-size-pixels=700x500 # Or,
|
||||||
|
# initial-window-size-chars=<COLSxROWS>
|
||||||
|
# initial-window-mode=windowed
|
||||||
|
pad=15x15 # optionally append 'center'
|
||||||
|
# resize-delay-ms=100
|
||||||
|
|
||||||
|
# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
|
||||||
|
|
||||||
|
# bold-text-in-bright=no
|
||||||
|
# word-delimiters=,│`|:"'()[]{}<>
|
||||||
|
# selection-target=primary
|
||||||
|
# workers=<number of logical CPUs>
|
||||||
|
# utempter=/usr/lib/utempter/utempter
|
||||||
|
|
||||||
|
[environment]
|
||||||
|
# name=value
|
||||||
|
|
||||||
|
[bell]
|
||||||
|
urgent=no
|
||||||
|
notify=no
|
||||||
|
command-focused=no
|
||||||
|
|
||||||
|
[scrollback]
|
||||||
|
lines=100000
|
||||||
|
# multiplier=3.0
|
||||||
|
# indicator-position=relative
|
||||||
|
# indicator-format=""
|
||||||
|
|
||||||
|
[url]
|
||||||
|
# launch=xdg-open ${url}
|
||||||
|
# label-letters=sadfjklewcmpgh
|
||||||
|
# osc8-underline=url-mode
|
||||||
|
# protocols=http, https, ftp, ftps, file, gemini, gopher
|
||||||
|
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
|
||||||
|
|
||||||
|
[cursor]
|
||||||
|
style=block
|
||||||
|
# color=<inverse foreground/background>
|
||||||
|
# blink=no
|
||||||
|
# beam-thickness=1.5
|
||||||
|
# underline-thickness=<font underline thickness>
|
||||||
|
|
||||||
|
[mouse]
|
||||||
|
hide-when-typing=yes
|
||||||
|
# alternate-scroll-mode=yes
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
background=282828
|
||||||
|
foreground=ebdbb2
|
||||||
|
regular0=282828
|
||||||
|
regular1=cc241d
|
||||||
|
regular2=98971a
|
||||||
|
regular3=d79921
|
||||||
|
regular4=458588
|
||||||
|
regular5=b16286
|
||||||
|
regular6=689d6a
|
||||||
|
regular7=a89984
|
||||||
|
bright0=928374
|
||||||
|
bright1=fb4934
|
||||||
|
bright2=b8bb26
|
||||||
|
bright3=fabd2f
|
||||||
|
bright4=83a598
|
||||||
|
bright5=d3869b
|
||||||
|
bright6=8ec07c
|
||||||
|
bright7=ebdbb2
|
||||||
|
# alpha=1.0
|
||||||
|
# background=002b36
|
||||||
|
# foreground=839496
|
||||||
|
|
||||||
|
|
||||||
|
## Misc colors
|
||||||
|
# selection-foreground=<inverse foreground/background>
|
||||||
|
# selection-background=<inverse foreground/background>
|
||||||
|
# jump-labels=<regular0> <regular3> # black-on-yellow
|
||||||
|
# scrollback-indicator=<regular0> <bright4> # black-on-bright-blue
|
||||||
|
# search-box-no-match=<regular0> <regular1> # black-on-red
|
||||||
|
# search-box-match=<regular0> <regular3> # black-on-yellow
|
||||||
|
# urls=<regular3>
|
||||||
|
|
||||||
|
[csd]
|
||||||
|
# preferred=server
|
||||||
|
# size=26
|
||||||
|
# font=<primary font>
|
||||||
|
# color=<foreground color>
|
||||||
|
# hide-when-typing=no
|
||||||
|
# border-width=0
|
||||||
|
# border-color=<csd.color>
|
||||||
|
# button-width=26
|
||||||
|
# button-color=<background color>
|
||||||
|
# button-minimize-color=<regular4>
|
||||||
|
# button-maximize-color=<regular2>
|
||||||
|
# button-close-color=<regular1>
|
||||||
|
|
||||||
|
[key-bindings]
|
||||||
|
# scrollback-up-page=Shift+Page_Up
|
||||||
|
# scrollback-up-half-page=none
|
||||||
|
# scrollback-up-line=none
|
||||||
|
# scrollback-down-page=Shift+Page_Down
|
||||||
|
# scrollback-down-half-page=none
|
||||||
|
# scrollback-down-line=none
|
||||||
|
# clipboard-copy=Control+Shift+c XF86Copy
|
||||||
|
# clipboard-paste=Control+Shift+v XF86Paste
|
||||||
|
# primary-paste=Shift+Insert
|
||||||
|
# search-start=Control+Shift+r
|
||||||
|
# font-increase=Control+plus Control+equal Control+KP_Add
|
||||||
|
# font-decrease=Control+minus Control+KP_Subtract
|
||||||
|
# font-reset=Control+0 Control+KP_0
|
||||||
|
# spawn-terminal=Control+Shift+n
|
||||||
|
# minimize=none
|
||||||
|
# maximize=none
|
||||||
|
# fullscreen=none
|
||||||
|
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||||
|
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||||
|
# pipe-selected=[xargs -r firefox] none
|
||||||
|
# show-urls-launch=Control+Shift+u
|
||||||
|
# show-urls-copy=none
|
||||||
|
# show-urls-persistent=none
|
||||||
|
# prompt-prev=Control+Shift+z
|
||||||
|
# prompt-next=Control+Shift+x
|
||||||
|
# unicode-input=none
|
||||||
|
# noop=none
|
||||||
|
|
||||||
|
[search-bindings]
|
||||||
|
# cancel=Control+g Control+c Escape
|
||||||
|
# commit=Return
|
||||||
|
# find-prev=Control+r
|
||||||
|
# find-next=Control+s
|
||||||
|
# cursor-left=Left Control+b
|
||||||
|
# cursor-left-word=Control+Left Mod1+b
|
||||||
|
# cursor-right=Right Control+f
|
||||||
|
# cursor-right-word=Control+Right Mod1+f
|
||||||
|
# cursor-home=Home Control+a
|
||||||
|
# cursor-end=End Control+e
|
||||||
|
# delete-prev=BackSpace
|
||||||
|
# delete-prev-word=Mod1+BackSpace Control+BackSpace
|
||||||
|
# delete-next=Delete
|
||||||
|
# delete-next-word=Mod1+d Control+Delete
|
||||||
|
# extend-to-word-boundary=Control+w
|
||||||
|
# extend-to-next-whitespace=Control+Shift+w
|
||||||
|
# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
|
||||||
|
# primary-paste=Shift+Insert
|
||||||
|
# unicode-input=none
|
||||||
|
|
||||||
|
[url-bindings]
|
||||||
|
# cancel=Control+g Control+c Control+d Escape
|
||||||
|
# toggle-url-visible=t
|
||||||
|
|
||||||
|
[text-bindings]
|
||||||
|
# \x03=Mod4+c # Map Super+c -> Ctrl+c
|
||||||
|
|
||||||
|
[mouse-bindings]
|
||||||
|
# selection-override-modifiers=Shift
|
||||||
|
# primary-paste=BTN_MIDDLE
|
||||||
|
# select-begin=BTN_LEFT
|
||||||
|
# select-begin-block=Control+BTN_LEFT
|
||||||
|
# select-extend=BTN_RIGHT
|
||||||
|
# select-extend-character-wise=Control+BTN_RIGHT
|
||||||
|
# select-word=BTN_LEFT-2
|
||||||
|
# select-word-whitespace=Control+BTN_LEFT-2
|
||||||
|
# select-row=BTN_LEFT-3
|
||||||
|
|
||||||
|
# vim: ft=dosini
|
|
@ -44,8 +44,8 @@
|
||||||
:kyazdani42/nvim-web-devicons {}
|
:kyazdani42/nvim-web-devicons {}
|
||||||
:folke/which-key.nvim {}
|
:folke/which-key.nvim {}
|
||||||
:folke/todo-comments.nvim {:lazy true
|
:folke/todo-comments.nvim {:lazy true
|
||||||
:event "VeryLazy
|
:event "VeryLazy"
|
||||||
":config #(require "dots.plugins.todo-comments")}
|
:config #(require "dots.plugins.todo-comments")}
|
||||||
|
|
||||||
:Famiu/feline.nvim {:config #(require "dots.plugins.feline")}
|
:Famiu/feline.nvim {:config #(require "dots.plugins.feline")}
|
||||||
:akinsho/nvim-bufferline.lua {:config #(require "dots.plugins.bufferline")
|
:akinsho/nvim-bufferline.lua {:config #(require "dots.plugins.bufferline")
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
"inc-rename.nvim": { "branch": "main", "commit": "21c23c379342a731a0c90f226601ec0434627b26" },
|
"inc-rename.nvim": { "branch": "main", "commit": "21c23c379342a731a0c90f226601ec0434627b26" },
|
||||||
"kmonad-vim": { "branch": "master", "commit": "37978445197ab00edeb5b731e9ca90c2b141723f" },
|
"kmonad-vim": { "branch": "master", "commit": "37978445197ab00edeb5b731e9ca90c2b141723f" },
|
||||||
"lalrpop.vim": { "branch": "master", "commit": "7073eec8efdeff37cacd4bca378c28dad02c3c14" },
|
"lalrpop.vim": { "branch": "master", "commit": "7073eec8efdeff37cacd4bca378c28dad02c3c14" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "5b4444f0d7e556deba3f7ca949a2ba0e2c3369fb" },
|
"lazy.nvim": { "branch": "main", "commit": "623e00cabbc908f635150e73d4250cf4f241d919" },
|
||||||
"litee.nvim": { "branch": "main", "commit": "bf366a1414fd0f9401631ac8884f2f9fa4bf18d2" },
|
"litee.nvim": { "branch": "main", "commit": "bf366a1414fd0f9401631ac8884f2f9fa4bf18d2" },
|
||||||
"lsp_signature.nvim": { "branch": "master", "commit": "6f6252f63b0baf0f2224c4caea33819a27f3f550" },
|
"lsp_signature.nvim": { "branch": "master", "commit": "6f6252f63b0baf0f2224c4caea33819a27f3f550" },
|
||||||
"neoformat": { "branch": "master", "commit": "2e9fd3a7cbdce0c90379c8bc52e0bca6726eba81" },
|
"neoformat": { "branch": "master", "commit": "2e9fd3a7cbdce0c90379c8bc52e0bca6726eba81" },
|
||||||
|
|
|
@ -24,7 +24,7 @@ set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||||
output * bg /home/leon/Pictures/wallpapers/0126.jpg fill
|
#output * bg /home/leon/Pictures/wallpapers/0126.jpg fill
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
|
|
1
zsh/.config/zsh/.gitignore
vendored
1
zsh/.config/zsh/.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
.zcompdump
|
.zcompdump
|
||||||
|
.zcompcache
|
||||||
*.zwc
|
*.zwc
|
||||||
|
|
|
@ -4,6 +4,7 @@ local __bright_cyan="#8ec07c"
|
||||||
local __bright_white="#ebdbb2"
|
local __bright_white="#ebdbb2"
|
||||||
local __bright_green="#b8bb26"
|
local __bright_green="#b8bb26"
|
||||||
|
|
||||||
|
local CUTOFF=3
|
||||||
|
|
||||||
# black magic that reruns prompt whenever the vi mode changes {{{
|
# black magic that reruns prompt whenever the vi mode changes {{{
|
||||||
function zle-line-init zle-keymap-select {
|
function zle-line-init zle-keymap-select {
|
||||||
|
@ -19,10 +20,9 @@ zle -N zle-keymap-select
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dir() {
|
function get_dir() {
|
||||||
local CUTOFF=3
|
|
||||||
local IFS=/
|
local IFS=/
|
||||||
local my_path=($(print -P '%~'))
|
local my_path=$(print -P '%~')
|
||||||
local p
|
local p
|
||||||
for p in $my_path; do
|
for p in $my_path; do
|
||||||
printf %s "${s}${p[0,$CUTOFF]}"
|
printf %s "${s}${p[0,$CUTOFF]}"
|
||||||
|
@ -32,7 +32,7 @@ dir() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
git_status() {
|
function git_status() {
|
||||||
local BRANCH=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/*\s*\(.*\)/\1/')
|
local BRANCH=$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/*\s*\(.*\)/\1/')
|
||||||
|
|
||||||
if [ ! -z $BRANCH ]; then
|
if [ ! -z $BRANCH ]; then
|
||||||
|
@ -48,7 +48,7 @@ function _my_prompt() {
|
||||||
#echo -n "%F{$__bright_white}╭───"
|
#echo -n "%F{$__bright_white}╭───"
|
||||||
echo -n "%F{$__bright_cyan}$USER"
|
echo -n "%F{$__bright_cyan}$USER"
|
||||||
echo -n "%F{$__bright_white} in"
|
echo -n "%F{$__bright_white} in"
|
||||||
echo -n "%F{$__bright_green} $(dir)"
|
echo -n "%F{$__bright_green} $(get_dir)"
|
||||||
echo -n "%F{$__bright_white} $(git_status)"
|
echo -n "%F{$__bright_white} $(git_status)"
|
||||||
if [ ! "$exit_code" = 0 ]; then
|
if [ ! "$exit_code" = 0 ]; then
|
||||||
echo -n "%F{red} REEEEEEEEEEE $exit_code"
|
echo -n "%F{red} REEEEEEEEEEE $exit_code"
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
ZDOTDIR=$HOME/.config/zsh
|
ZDOTDIR=$HOME/.config/zsh
|
||||||
. "$HOME/.cargo/env"
|
|
||||||
|
[ -f "$HOME/.cargo/env" ] && . "$HOME/.cargo/env"
|
||||||
|
|
Loading…
Reference in a new issue