Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
5c11e953ef |
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -1 +0,0 @@
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.DS_Store
|
||||
nvm/.git
|
||||
vscode/extensions
|
@ -4,14 +4,9 @@
|
||||

|
||||
|
||||
|
||||
## Rice
|
||||
|
||||
### Tokyo Night ( KDE with I3 )
|
||||

|
||||
|
||||
Resources used:
|
||||
|
||||
[managing dotfiles](https://www.jakewiesler.com/blog/managing-dotfiles)
|
||||
|
||||
|
||||
[Using Git to manage your dotfiles](https://blog.smalleycreative.com/using-git-and-github-to-manage-your-dotfiles)
|
||||
[Using Git to manage your dotfiles](https://blog.smalleycreative.com/using-git-and-github-to-manage-your-dotfiles)
|
@ -1,22 +0,0 @@
|
||||
# Live config reload
|
||||
live_config_reload = true
|
||||
|
||||
[env]
|
||||
projects = "~/Documents/Development"
|
||||
|
||||
[window]
|
||||
opacity = 0.8
|
||||
startup_mode = "Windowed"
|
||||
dynamic_title = false
|
||||
title = "Alacritty Terminal"
|
||||
|
||||
[font]
|
||||
size = 13
|
||||
normal = {family="Hack Nerd Font", style="Regular" }
|
||||
bold = {family="Hack Nerd Font", style="Bold" }
|
||||
italic = {family="Hack Nerd Font", style="Italic" }
|
||||
bold_italic = {family="Hack Nerd Font", style="Bold Italic" }
|
||||
|
||||
|
||||
[cursor]
|
||||
style = { shape="Block", blinking="On" }
|
@ -1,7 +0,0 @@
|
||||
# ~/.bash_logout: executed by bash(1) when login shell exits.
|
||||
|
||||
# when leaving the console clear the screen to increase privacy
|
||||
|
||||
if [ "$SHLVL" = 1 ]; then
|
||||
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
|
||||
fi
|
122
bash/dot-bashrc
122
bash/dot-bashrc
@ -1,122 +0,0 @@
|
||||
# ~/.bashrc: executed by bash(1) for non-login shells.
|
||||
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
|
||||
# for examples
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
case $- in
|
||||
*i*) ;;
|
||||
*) return;;
|
||||
esac
|
||||
|
||||
# don't put duplicate lines or lines starting with space in the history.
|
||||
# See bash(1) for more options
|
||||
HISTCONTROL=ignoreboth
|
||||
|
||||
# append to the history file, don't overwrite it
|
||||
# shopt -s histappend
|
||||
|
||||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||
HISTSIZE=1000
|
||||
HISTFILESIZE=2000
|
||||
|
||||
# check the window size after each command and, if necessary,
|
||||
# update the values of LINES and COLUMNS.
|
||||
#shopt -s checkwinsize
|
||||
|
||||
# If set, the pattern "**" used in a pathname expansion context will
|
||||
# match all files and zero or more directories and subdirectories.
|
||||
#shopt -s globstar
|
||||
|
||||
# make less more friendly for non-text input files, see lesspipe(1)
|
||||
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
|
||||
|
||||
# set variable identifying the chroot you work in (used in the prompt below)
|
||||
if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
|
||||
debian_chroot=$(cat /etc/debian_chroot)
|
||||
fi
|
||||
|
||||
# set a fancy prompt (non-color, unless we know we "want" color)
|
||||
case "$TERM" in
|
||||
xterm-color|*-256color) color_prompt=yes;;
|
||||
esac
|
||||
|
||||
# uncomment for a colored prompt, if the terminal has the capability; turned
|
||||
# off by default to not distract the user: the focus in a terminal window
|
||||
# should be on the output of commands, not on the prompt
|
||||
#force_color_prompt=yes
|
||||
|
||||
if [ -n "$force_color_prompt" ]; then
|
||||
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
||||
# We have color support; assume it's compliant with Ecma-48
|
||||
# (ISO/IEC-6429). (Lack of such support is extremely rare, and such
|
||||
# a case would tend to support setf rather than setaf.)
|
||||
color_prompt=yes
|
||||
else
|
||||
color_prompt=
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$color_prompt" = yes ]; then
|
||||
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
else
|
||||
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||
fi
|
||||
unset color_prompt force_color_prompt
|
||||
|
||||
# If this is an xterm set the title to user@host:dir
|
||||
case "$TERM" in
|
||||
xterm*|rxvt*)
|
||||
PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
# enable color support of ls and also add handy aliases
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
alias ls='ls --color=auto'
|
||||
#alias dir='dir --color=auto'
|
||||
#alias vdir='vdir --color=auto'
|
||||
|
||||
#alias grep='grep --color=auto'
|
||||
#alias fgrep='fgrep --color=auto'
|
||||
#alias egrep='egrep --color=auto'
|
||||
fi
|
||||
|
||||
# colored GCC warnings and errors
|
||||
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||
|
||||
# some more ls aliases
|
||||
alias ll='ls -l'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
|
||||
# Alias definitions.
|
||||
# You may want to put all your additions into a separate file like
|
||||
# ~/.bash_aliases, instead of adding them here directly.
|
||||
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
|
||||
|
||||
if [ -f ~/.bash_aliases ]; then
|
||||
. ~/.bash_aliases
|
||||
fi
|
||||
|
||||
setxkbmap us
|
||||
|
||||
# enable programmable completion features (you don't need to enable
|
||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||
# sources /etc/bash.bashrc).
|
||||
if ! shopt -oq posix; then
|
||||
if [ -f /usr/share/bash-completion/bash_completion ]; then
|
||||
. /usr/share/bash-completion/bash_completion
|
||||
elif [ -f /etc/bash_completion ]; then
|
||||
. /etc/bash_completion
|
||||
fi
|
||||
fi
|
||||
#
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
||||
# Add cargo
|
||||
source "$HOME/.cargo/env"
|
17
config/alacritty/alacritty.toml
Normal file
17
config/alacritty/alacritty.toml
Normal file
@ -0,0 +1,17 @@
|
||||
# Live config reload
|
||||
live_config_reload = true
|
||||
|
||||
[env]
|
||||
projects = "~/Documents/Development"
|
||||
|
||||
[window]
|
||||
opacity = 0.8
|
||||
startup_mode = "Windowed"
|
||||
dynamic_title = false
|
||||
title = "Alacritty Terminal"
|
||||
|
||||
[font]
|
||||
size = 13
|
||||
|
||||
[cursor]
|
||||
style = { shape = "Block", blinking= "On"}
|
1
config/iterm2/AppSupport
Symbolic link
1
config/iterm2/AppSupport
Symbolic link
@ -0,0 +1 @@
|
||||
/Users/nigel/Library/Application Support/iTerm2
|
@ -1,90 +0,0 @@
|
||||
; set variables
|
||||
(setq ido-enable-flex-matching t)
|
||||
(setq ido-everywhere t)
|
||||
(setq inhibit-splash-screen t)
|
||||
(setq tab-width 4)
|
||||
(setq custom-file "~/emacs-custom.el")
|
||||
(setq display-line-numbers 'relative)
|
||||
|
||||
; Toggle modes
|
||||
(ido-mode 1)
|
||||
(tool-bar-mode -1)
|
||||
(toggle-scroll-bar -1)
|
||||
(menu-bar-mode -1)
|
||||
(global-display-line-numbers-mode 1)
|
||||
|
||||
; Install and load packages
|
||||
(require 'package)
|
||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
|
||||
(package-initialize)
|
||||
|
||||
(require 'use-package-ensure)
|
||||
(setq use-package-always-ensure t)
|
||||
|
||||
(use-package catppuccin-theme)
|
||||
(use-package magit)
|
||||
(use-package paredit)
|
||||
|
||||
|
||||
(use-package evil
|
||||
:init
|
||||
(setq evil-want-integration t)
|
||||
(setq evil-want-keybinding nil)
|
||||
:config
|
||||
(evil-mode 1)
|
||||
)
|
||||
|
||||
(use-package evil-collection
|
||||
:pin melpa
|
||||
:after evil
|
||||
:config
|
||||
(evil-collection-init))
|
||||
|
||||
(use-package all-the-icons)
|
||||
(use-package nerd-icons)
|
||||
|
||||
(use-package lsp-mode
|
||||
:commands (lsp lsp-deferred)
|
||||
:init
|
||||
(setq lsp-keymap-prefix "C-c l")
|
||||
)
|
||||
|
||||
(use-package lsp-ui
|
||||
:after lsp-mode
|
||||
:hook (lsp-mode . lsp-ui-mode)
|
||||
:custom
|
||||
(lsp-ui-doc-position 'bottom))
|
||||
|
||||
(use-package fzf
|
||||
:bind
|
||||
:config
|
||||
(setq fzf/args "-x --color bw --print-query --margin=1,0 --no-hscroll"
|
||||
fzf/executable "fzf"
|
||||
fzf/git-grep-args "-i --line-number %s"
|
||||
fzf/grep-command "grep -nrH"
|
||||
fzf/position-bottom t
|
||||
fzf/window-height 15))
|
||||
|
||||
(use-package consult
|
||||
:bind
|
||||
;; Keybindings
|
||||
:hook (completion-list-mode . consult-preview-at-point-mode)
|
||||
:init
|
||||
(setq register-preview-delay 0.5)
|
||||
(setq xref-show-xrefs-function #'consult-xref
|
||||
xref-show-definitions-function #'consult-xref))
|
||||
|
||||
(use-package magit-delta
|
||||
:hook (magit-mode . magit-delta-mode)
|
||||
)
|
||||
|
||||
|
||||
; activate font and theme
|
||||
(add-to-list 'default-frame-alist '(font . "SF Mono"))
|
||||
(set-face-attribute 'default t :font "SF Mono")
|
||||
(load-theme 'catppuccin :no-confirm)
|
||||
(setq catppuccin-flavor 'frappe)
|
||||
(set-frame-parameter nil 'alpha-background 80)
|
||||
(add-to-list 'default-frame-alist '(alpha-background . 80))
|
||||
|
||||
(load custom-file)
|
@ -8,5 +8,3 @@
|
||||
required = true
|
||||
[init]
|
||||
defaultBranch = main
|
||||
[commit]
|
||||
gpgsign = false
|
22
i3/catpuccin
22
i3/catpuccin
@ -1,22 +0,0 @@
|
||||
# target title bg text indicator border
|
||||
client.focused $lavender $base $text $rosewater $lavender
|
||||
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
|
||||
client.unfocused $overlay0 $base $text $rosewater $overlay0
|
||||
client.urgent $peach $base $peach $overlay0 $peach
|
||||
client.placeholder $overlay0 $base $text $overlay0 $overlay0
|
||||
client.background $base
|
||||
|
||||
# bar
|
||||
# bar {
|
||||
# colors {
|
||||
# background $base
|
||||
# statusline $text
|
||||
# focused_statusline $text
|
||||
# focused_separator $base
|
||||
# focused_workspace $base $base $green
|
||||
# active_workspace $base $base $blue
|
||||
# inactive_workspace $base $base $surface1
|
||||
# urgent_workspace $base $base $surface1
|
||||
# binding_mode $base $base $surface1
|
||||
# }
|
||||
# }
|
@ -1,26 +0,0 @@
|
||||
set $rosewater #f4dbd6
|
||||
set $flamingo #f0c6c6
|
||||
set $pink #f5bde6
|
||||
set $mauve #c6a0f6
|
||||
set $red #ed8796
|
||||
set $maroon #ee99a0
|
||||
set $peach #f5a97f
|
||||
set $yellow #eed49f
|
||||
set $green #a6da95
|
||||
set $teal #8bd5ca
|
||||
set $sky #91d7e3
|
||||
set $sapphire #7dc4e4
|
||||
set $blue #8aadf4
|
||||
set $lavender #b7bdf8
|
||||
set $text #cad3f5
|
||||
set $subtext1 #b8c0e0
|
||||
set $subtext0 #a5adcb
|
||||
set $overlay2 #939ab7
|
||||
set $overlay1 #8087a2
|
||||
set $overlay0 #6e738d
|
||||
set $surface2 #5b6078
|
||||
set $surface1 #494d64
|
||||
set $surface0 #363a4f
|
||||
set $base #24273a
|
||||
set $mantle #1e2030
|
||||
set $crust #181926
|
231
i3/config
231
i3/config
@ -1,231 +0,0 @@
|
||||
# This file has been auto-generated by i3-config-wizard(1).
|
||||
# It will not be overwritten, so edit it as you like.
|
||||
#
|
||||
# Should you change your keyboard layout some time, delete
|
||||
# this file and re-run i3-config-wizard(1).
|
||||
#
|
||||
|
||||
# i3 config file (v4)
|
||||
#
|
||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||
|
||||
set $mod Mod4
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:Hack Nerd Font 11
|
||||
exec --no-startup-id picom -b
|
||||
exec --no-startup-id feh --bg-fill ~/Pictures/Wallpapers/the-dreamy-colorful-landscape-5k-9y-3436x1439.jpg
|
||||
exec_always --no-startup-id autotiling -w 1 3 5 7 9
|
||||
exec --no-startup-id "sh ~/.xprofile"
|
||||
|
||||
focus_follows_mouse no
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
#font pango:DejaVu Sans Mono 8
|
||||
|
||||
# Before i3 v4.8, we used to recommend this one as the default:
|
||||
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
||||
# The font above is very space-efficient, that is, it looks good, sharp and
|
||||
# clear in small sizes. However, its unicode glyph coverage is limited, the old
|
||||
# X core fonts rendering does not support right-to-left and this being a bitmap
|
||||
# font, it doesn’t scale on retina/hidpi displays.
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec alacritty
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
# bindsym $mod+d exec dmenu_run
|
||||
bindsym $mod+d exec --no-startup-id rofi -show run
|
||||
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||
|
||||
# change focus
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Left focus left
|
||||
bindsym $mod+Down focus down
|
||||
bindsym $mod+Up focus up
|
||||
bindsym $mod+Right focus right
|
||||
|
||||
# move focused window
|
||||
bindsym $mod+Shift+j move left
|
||||
bindsym $mod+Shift+k move down
|
||||
bindsym $mod+Shift+l move up
|
||||
bindsym $mod+Shift+semicolon move right
|
||||
|
||||
# alternatively, you can use the cursor keys:
|
||||
bindsym $mod+Shift+Left move left
|
||||
bindsym $mod+Shift+Down move down
|
||||
bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# split in horizontal orientation
|
||||
bindsym $mod+% split h
|
||||
|
||||
# split in vertical orientation
|
||||
bindsym $mod+v split v
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# change focus between tiling / floating windows
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# focus the parent container
|
||||
bindsym $mod+a focus parent
|
||||
|
||||
# focus the child container
|
||||
#bindsym $mod+d focus child
|
||||
|
||||
# Define names for default workspaces for which we configure key bindings later on.
|
||||
# We use variables to avoid repeating the names in multiple places.
|
||||
set $ws1 "1"
|
||||
set $ws2 "2"
|
||||
set $ws3 "3"
|
||||
set $ws4 "4"
|
||||
set $ws5 "5"
|
||||
set $ws6 "6"
|
||||
set $ws7 "7"
|
||||
set $ws8 "8"
|
||||
set $ws9 "9"
|
||||
set $ws10 "10"
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace $ws1
|
||||
bindsym $mod+2 workspace $ws2
|
||||
bindsym $mod+3 workspace $ws3
|
||||
bindsym $mod+4 workspace $ws4
|
||||
bindsym $mod+5 workspace $ws5
|
||||
bindsym $mod+6 workspace $ws6
|
||||
bindsym $mod+7 workspace $ws7
|
||||
bindsym $mod+8 workspace $ws8
|
||||
bindsym $mod+9 workspace $ws9
|
||||
bindsym $mod+0 workspace $ws10
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+1 move container to workspace $ws1
|
||||
bindsym $mod+Shift+2 move container to workspace $ws2
|
||||
bindsym $mod+Shift+3 move container to workspace $ws3
|
||||
bindsym $mod+Shift+4 move container to workspace $ws4
|
||||
bindsym $mod+Shift+5 move container to workspace $ws5
|
||||
bindsym $mod+Shift+6 move container to workspace $ws6
|
||||
bindsym $mod+Shift+7 move container to workspace $ws7
|
||||
bindsym $mod+Shift+8 move container to workspace $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace $ws9
|
||||
bindsym $mod+Shift+0 move container to workspace $ws10
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
|
||||
# Pressing left will shrink the window’s width.
|
||||
# Pressing right will grow the window’s width.
|
||||
# Pressing up will shrink the window’s height.
|
||||
# Pressing down will grow the window’s height.
|
||||
bindsym h resize shrink width 10 px or 10 ppt
|
||||
bindsym j resize grow height 10 px or 10 ppt
|
||||
bindsym k resize shrink height 10 px or 10 ppt
|
||||
bindsym l resize grow width 10 px or 10 ppt
|
||||
|
||||
# same bindings, but for the arrow keys
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
|
||||
# back to normal: Enter or Escape or $mod+r
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||
|
||||
gaps inner 10
|
||||
for_window [all] title_window_icon on padding 5
|
||||
title_align center
|
||||
# include ~/.dotfiles/i3/catpuccin-macchiato
|
||||
# include ~/.dotfiles/i3/catpuccin
|
||||
|
||||
set $rosewater #f4dbd6
|
||||
set $flamingo #f0c6c6
|
||||
set $pink #f5bde6
|
||||
set $mauve #c6a0f6
|
||||
set $red #ed8796
|
||||
set $maroon #ee99a0
|
||||
set $peach #f5a97f
|
||||
set $yellow #eed49f
|
||||
set $green #a6da95
|
||||
set $teal #8bd5ca
|
||||
set $sky #91d7e3
|
||||
set $sapphire #7dc4e4
|
||||
set $blue #8aadf4
|
||||
set $lavender #b7bdf8
|
||||
set $text #cad3f5
|
||||
set $subtext1 #b8c0e0
|
||||
set $subtext0 #a5adcb
|
||||
set $overlay2 #939ab7
|
||||
set $overlay1 #8087a2
|
||||
set $overlay0 #6e738d
|
||||
set $surface2 #5b6078
|
||||
set $surface1 #494d64
|
||||
set $surface0 #363a4f
|
||||
set $base #24273a
|
||||
set $mantle #1e2030
|
||||
set $crust #181926
|
||||
|
||||
# target title bg text indicator border
|
||||
client.focused $lavender $base $text $rosewater $lavender
|
||||
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
|
||||
client.unfocused $overlay0 $base $text $rosewater $overlay0
|
||||
client.urgent $peach $base $peach $overlay0 $peach
|
||||
client.placeholder $overlay0 $base $text $overlay0 $overlay0
|
||||
client.background $base
|
||||
|
||||
# Volume and brightness controls
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym XF86AudioPause exec playerctl play-pause
|
||||
bindsym XF86AudioNext exec playerctl next
|
||||
bindsym XF86AudioPrev exec playerctl previous
|
||||
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
|
||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% # raise volume
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% # lower volume
|
||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle # toggle mute for default device
|
||||
|
||||
for_window [window_role="pop-up"] floating enable
|
||||
for_window [title="virtual Machine Manager"] floating enable
|
||||
for_window [class="plasmashell" window_type="notification"] floating enable, border none, move right 700px, move down 450px
|
||||
no_focus [class="plasmashell" window_type="notification"]
|
||||
for_window [title="Bitwarden" window_role="pop-up"] floating enable
|
||||
|
45
i3/otter
45
i3/otter
@ -1,45 +0,0 @@
|
||||
# target title bg text indicator border
|
||||
client.focused $lavender $base $text $rosewater $lavender
|
||||
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
|
||||
client.unfocused $overlay0 $base $text $rosewater $overlay0
|
||||
client.urgent $peach $base $peach $overlay0 $peach
|
||||
client.placeholder $overlay0 $base $text $overlay0 $overlay0
|
||||
client.background $base
|
||||
|
||||
# bar
|
||||
bar {
|
||||
colors {
|
||||
background $base
|
||||
statusline $text
|
||||
focused_statusline $text
|
||||
focused_separator $base
|
||||
focused_workspace $base $base $green
|
||||
active_workspace $base $base $blue
|
||||
inactive_workspace $base $base $surface1
|
||||
urgent_workspace $base $base $surface1
|
||||
binding_mode $base $base $surface1
|
||||
}
|
||||
}
|
||||
|
||||
# target title bg text indicator border
|
||||
client.focused $lavender $base $text $rosewater $lavender
|
||||
client.focused_inactive $overlay0 $base $text $rosewater $overlay0
|
||||
client.unfocused $overlay0 $base $text $rosewater $overlay0
|
||||
client.urgent $peach $base $peach $overlay0 $peach
|
||||
client.placeholder $overlay0 $base $text $overlay0 $overlay0
|
||||
client.background $base
|
||||
|
||||
# bar
|
||||
bar {
|
||||
colors {
|
||||
background $base
|
||||
statusline $text
|
||||
focused_statusline $text
|
||||
focused_separator $base
|
||||
focused_workspace $base $base $green
|
||||
active_workspace $base $base $blue
|
||||
inactive_workspace $base $base $surface1
|
||||
urgent_workspace $base $base $surface1
|
||||
binding_mode $base $base $surface1
|
||||
}
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
general {
|
||||
output_format = "i3bar"
|
||||
colors = true
|
||||
interval = 10
|
||||
}
|
||||
|
||||
order += "volume master"
|
||||
order += "cpu_usage"
|
||||
order += "memory"
|
||||
order += "disk /"
|
||||
order += "ethernet enp4s0"
|
||||
order += "tztime local"
|
||||
|
||||
|
||||
tztime local {
|
||||
format = "%d/%m/%Y - %H:%M"
|
||||
}
|
||||
|
||||
ethernet enp4s0 {
|
||||
format_up = "E: %ip (%speed)"
|
||||
format_down = "E: down"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "Disk free: %free"
|
||||
}
|
||||
|
||||
load {
|
||||
format = "Load: %5min"
|
||||
}
|
||||
|
||||
cpu_usage {
|
||||
max_threshold = 95
|
||||
degraded_threshold = 80
|
||||
format = "CPU (total: %usage) 0: %cpu0 1: %cpu1 2: %cpu2"
|
||||
}
|
||||
|
||||
memory {
|
||||
format= "MEM: %percentage_used used, %percentage_free free, (%used/%total)"
|
||||
threshold_degraded= 10%
|
||||
threshold_critical= 3%
|
||||
}
|
||||
|
||||
volume master {
|
||||
format = "♪: %volume"
|
||||
device = "default"
|
||||
mixer = "Master"
|
||||
mixer_idx = 0
|
||||
}
|
||||
|
1
nvim
1
nvim
Submodule nvim deleted from 430a2879e9
1
nvm
Submodule
1
nvm
Submodule
Submodule nvm added at bab86d5de5
@ -1,2 +0,0 @@
|
||||
opacity-rule = [ "80:class_g = 'Alacritty'",
|
||||
"80:class_g = 'rofi'", "95:class_g = 'Google-chrome'" ];
|
@ -1,8 +0,0 @@
|
||||
[colors]
|
||||
background = #282a36
|
||||
background-alt = #44475a
|
||||
foreground = #f8f8f2
|
||||
primary = #bd93f9
|
||||
secondary = #ffb86c
|
||||
alert = #ff5555
|
||||
disabled = #6272a4
|
@ -1,9 +0,0 @@
|
||||
[colors]
|
||||
background = #64391d
|
||||
background-alt = #b38a5b
|
||||
foreground = #FFFFFF
|
||||
primary = #b7d72c
|
||||
secondary = #dde368
|
||||
alert = #7c2c09
|
||||
disabled = #4f3b22
|
||||
|
@ -1,22 +0,0 @@
|
||||
;==========================================================
|
||||
;
|
||||
;
|
||||
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
||||
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
||||
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
||||
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
||||
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
||||
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
||||
;
|
||||
;
|
||||
; To learn more about how to configure Polybar
|
||||
; go to https://github.com/polybar/polybar
|
||||
;
|
||||
; The README contains a lot of information
|
||||
;
|
||||
;==========================================================
|
||||
include-file = colors.ini
|
||||
include-file = settings.ini
|
||||
include-file = mybar.ini
|
||||
include-file = modules.ini
|
||||
; vim:ft=dosini
|
@ -1,7 +0,0 @@
|
||||
polybar-msg cmd quit
|
||||
|
||||
echo "---" | tee -a /tmp/polybar.log
|
||||
polybar MyBar 2>&1 | tee -a /tmp/polybar.log & disown
|
||||
|
||||
echo "Bars launched ... "
|
||||
|
@ -1,104 +0,0 @@
|
||||
[module/xworkspaces]
|
||||
type = internal/xworkspaces
|
||||
|
||||
label-active = %name%
|
||||
label-active-background = ${colors.background-alt}
|
||||
label-active-underline= ${colors.primary}
|
||||
label-active-padding = 1
|
||||
|
||||
label-occupied = %name%
|
||||
label-occupied-padding = 1
|
||||
|
||||
label-urgent = %name%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 1
|
||||
|
||||
label-empty = %name%
|
||||
label-empty-foreground = ${colors.disabled}
|
||||
label-empty-padding = 1
|
||||
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title:0:60:...%
|
||||
|
||||
[module/filesystem]
|
||||
type = internal/fs
|
||||
interval = 25
|
||||
|
||||
mount-0 = /
|
||||
|
||||
label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
|
||||
|
||||
label-unmounted = %mountpoint% not mounted
|
||||
label-unmounted-foreground = ${colors.disabled}
|
||||
|
||||
[module/pulseaudio]
|
||||
type = internal/pulseaudio
|
||||
|
||||
format-volume-prefix = "VOL "
|
||||
format-volume-prefix-foreground = ${colors.primary}
|
||||
format-volume = <label-volume>
|
||||
|
||||
label-volume = %percentage%%
|
||||
|
||||
label-muted = muted
|
||||
label-muted-foreground = ${colors.disabled}
|
||||
|
||||
[module/xkeyboard]
|
||||
type = internal/xkeyboard
|
||||
blacklist-0 = num lock
|
||||
|
||||
label-layout = %layout%
|
||||
label-layout-foreground = ${colors.primary}
|
||||
|
||||
label-indicator-padding = 2
|
||||
label-indicator-margin = 1
|
||||
label-indicator-foreground = ${colors.background}
|
||||
label-indicator-background = ${colors.secondary}
|
||||
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
format-prefix = "RAM "
|
||||
format-prefix-foreground = ${colors.primary}
|
||||
label = %percentage_used:2%%
|
||||
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 2
|
||||
format-prefix = "CPU "
|
||||
format-prefix-foreground = ${colors.primary}
|
||||
label = %percentage:2%%
|
||||
|
||||
[network-base]
|
||||
type = internal/network
|
||||
interval = 5
|
||||
format-connected = <label-connected>
|
||||
format-disconnected = <label-disconnected>
|
||||
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
|
||||
|
||||
[module/wlan]
|
||||
inherit = network-base
|
||||
interface-type = wireless
|
||||
label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%
|
||||
|
||||
[module/eth]
|
||||
inherit = network-base
|
||||
interface-type = wired
|
||||
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
|
||||
date = %d-%m-%Y
|
||||
date-alt = %Y-%m-%d
|
||||
|
||||
label = %date%
|
||||
label-foreground = ${colors.primary}
|
||||
[module/time]
|
||||
type= internal/date
|
||||
interval=1
|
||||
date = %H:%M:%S
|
||||
label = %date%
|
||||
|
@ -1,44 +0,0 @@
|
||||
[bar/MyBar]
|
||||
width = 100%
|
||||
height = 24pt
|
||||
radius = 3
|
||||
|
||||
offset-x = 50
|
||||
offset-y = 50
|
||||
|
||||
; dpi = 96
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
line-size = 4pt
|
||||
|
||||
#border-size = 4pt
|
||||
#border-color = ${colors.background}
|
||||
|
||||
padding-left = 0
|
||||
padding-right = 1
|
||||
|
||||
module-margin = 1
|
||||
|
||||
separator = |
|
||||
separator-foreground = ${colors.disabled}
|
||||
|
||||
font-0 = "HeavyDataNerdFont:pixelsize=20;2"
|
||||
font-1 = monospace;2
|
||||
|
||||
modules-center = time
|
||||
modules-left = xworkspaces tray xwindow
|
||||
modules-right = pulseaudio memory cpu eth date
|
||||
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
; tray-position = right
|
||||
|
||||
; wm-restack = generic
|
||||
; wm-restack = bspwm
|
||||
; wm-restack = i3
|
||||
|
||||
; override-redirect = true
|
@ -1,4 +0,0 @@
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
pseudo-transparency = true
|
||||
|
BIN
rice/DebianRice_TokyoNight_KDE_i3.png
(Stored with Git LFS)
BIN
rice/DebianRice_TokyoNight_KDE_i3.png
(Stored with Git LFS)
Binary file not shown.
@ -1,6 +0,0 @@
|
||||
rofi.modes: "window, run, ssh, drun"
|
||||
rofi.color-enabled: true
|
||||
|
||||
rofi.lines: 15
|
||||
|
||||
rofi.theme: /usr/share/rofi/themes/rounded-purple-dark.rasi
|
@ -1,14 +0,0 @@
|
||||
configuration {
|
||||
modi: "window,run,ssh";
|
||||
font: "SF Mono 12";
|
||||
timeout {
|
||||
action: "kb-cancel";
|
||||
delay: 0;
|
||||
}
|
||||
filebrowser {
|
||||
directories-first: true;
|
||||
sorting-method: "name";
|
||||
}
|
||||
}
|
||||
|
||||
@theme "/home/nigel/.local/share/rofi/themes/catppuccin-frappe.rasi"
|
@ -1,13 +0,0 @@
|
||||
#!/bin/zsh
|
||||
stow --dotfiles bash zsh tmux git
|
||||
mkdir -p $HOME/.config/nvim && stow --dotfiles nvim -t $HOME/.config/nvim
|
||||
mkdir -p $HOME/.config/alacritty && stow --dotfiles alacritty -t $HOME/.config/alacritty
|
||||
mkdir -p $HOME/.config/i3 && stow --dotfiles i3 -t $HOME/.config/i3
|
||||
mkdir -p $HOME/.config/i3status && stow --dotfiles i3status -t $HOME/.config/i3status
|
||||
mkdir -p $HOME/.config/rofi && stow --dotfiles rofi -t $HOME/.config/rofi
|
||||
mkdir -p $HOME/.config/polybar && stow --dotfiles polybar -t $HOME/.config/polybar
|
||||
stow --dotfiles starship -t $HOME/.config
|
||||
stow --dotfiles starship -t $HOME/.config
|
||||
stow --dotfiles picom -t $HOME/.config
|
||||
stow --dotfiles emacs -t $HOME/.config
|
||||
|
@ -1,54 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
if [ $# -eq 0 ]
|
||||
then
|
||||
# provide a list of options
|
||||
CHOICE=$(echo $'search\nlearn\ncheatsheet'| fzf)
|
||||
echo $CHOICE
|
||||
if [ $CHOICE = "search" ]
|
||||
then
|
||||
echo -n "enter program: "
|
||||
read
|
||||
p=$REPLY
|
||||
echo -n "enter search term: "
|
||||
read
|
||||
t=$REPLY
|
||||
|
||||
curl cheat.sh/$p~$t | less
|
||||
elif [ $CHOICE = "learn" ]
|
||||
then
|
||||
echo -n "Enter Programming Language: "
|
||||
read
|
||||
curl cheat.sh/$REPLY/:learn | less -R
|
||||
|
||||
elif [ $CHOICE = "cheatsheet" ]
|
||||
then
|
||||
echo -n "Enter a thing you want to cheat: "
|
||||
read
|
||||
curl cheat.sh/$REPLY | less -R
|
||||
else
|
||||
echo "Someone messed up!!!"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ $# -eq 1 ]
|
||||
then
|
||||
curl cheat.sh/$1 | less
|
||||
exit
|
||||
elif [ $# -eq 1]
|
||||
then
|
||||
# parse the input
|
||||
echo "Parse!!!"
|
||||
exit
|
||||
else
|
||||
# no clue!!
|
||||
echo "Don\'t know what you want ?? "
|
||||
echo "Please provide a clear goal"
|
||||
fi
|
||||
|
||||
|
@ -1,10 +0,0 @@
|
||||
#!/bin/zsh
|
||||
stow -D --dotfiles bash zsh tmux git
|
||||
stow -D --dotfiles alacritty -t $HOME/.config/alacritty
|
||||
stow -D --dotfiles nvim -t $HOME/.config/nvim
|
||||
stow -D --dotfiles i3 -t $HOME/.config/i3
|
||||
stow -D --dotfiles i3status -t $HOME/.config/i3status
|
||||
stow -D --dotfiles rofi -t $HOME/.config/rofi
|
||||
stow -D --dotfiles polybar -t $HOME/.config/polybar
|
||||
stow -D --dotfiles starship -t $HOME/.config
|
||||
stow -D --dotfiles picom -t $HOME/.config
|
@ -1,21 +0,0 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# install fzf
|
||||
git clone --depth 1 https://github.com/junegunn/fzf.git /tmp/fzf-source
|
||||
starting_dir=$(pwd)
|
||||
cd /tmp/fzf-source
|
||||
./install
|
||||
cd $starting_dir
|
||||
|
||||
# install ripgrep (Using APT! NOTE: Most likely not the latest version )
|
||||
apt update
|
||||
apt install ripgrep
|
||||
|
||||
# install tmux plugin manager
|
||||
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
|
||||
|
||||
# Install local Ollama runner
|
||||
curl -fsSL https://ollama.com/install.sh | sh
|
||||
ollama run codellama:7b # See https://ollama.com/library/codellama for available models
|
||||
|
||||
apt install picom
|
@ -1,65 +0,0 @@
|
||||
format = """
|
||||
[░▒▓](#788F48)\
|
||||
[ \ue712 ](bg:#648519 fg:#b7b8ba)\
|
||||
[](bg:#648519 fg:#648519)\
|
||||
$directory\
|
||||
[](bg:#7D9F3F fg:#648519)\
|
||||
$git_branch\
|
||||
$git_status\
|
||||
[](bg:#8D995B fg:#7D9F3F)\
|
||||
$python\
|
||||
$rust\
|
||||
$golang\
|
||||
$c\
|
||||
[](fg:#8D995B bg:#648519)\
|
||||
$time\
|
||||
[ ](fg:#648519)\
|
||||
\n$character
|
||||
"""
|
||||
[username]
|
||||
style_root="green bold"
|
||||
format= "[$user]($style) "
|
||||
disabled= false
|
||||
show_always = true
|
||||
|
||||
[directory]
|
||||
style = "fg:#e3e5e5 bg:#648519"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = ".../"
|
||||
|
||||
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "bg:#7D9F3F"
|
||||
format = '[[ $symbol $branch ](fg:#b7b8ba bg:#7D9F3F)]($style)'
|
||||
|
||||
[git_status]
|
||||
style = "bg:#7D9F3F"
|
||||
format = '[[($all_status$ahead_behind )](fg:#b7b8ba bg:#7D9F3F)]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "bg:#8D995B"
|
||||
format = '[[ $symbol ($version) ](fg:#b7b8ba bg:#8D995B)]($style)'
|
||||
|
||||
[c]
|
||||
symbol = "\ue61e"
|
||||
style = "bg:#212736"
|
||||
format = '[[ $symbol ($version) ](fg:#b7b8ba bg:#212736)]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ""
|
||||
style = "bg:#8D995B"
|
||||
format = '[[ $symbol ($version) ](fg:#b7b8ba bg:#8D995B)]($style)'
|
||||
|
||||
[python]
|
||||
|
||||
format = '[[ $symbol ($version) (\($virtualenv\)) ](fg:#b7b8ba bg:#8D995B)]($style)'
|
||||
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
time_format = "%R" # Hour:Minute Format
|
||||
style = "bg:#648519"
|
||||
format = '[[ $time ](fg:#b7b8ba bg:#648519)]($style)'
|
@ -1,52 +0,0 @@
|
||||
##########################################################
|
||||
## ##
|
||||
## My TMUX Config ##
|
||||
## ##
|
||||
##########################################################
|
||||
|
||||
# Rebind the prefix key
|
||||
unbind C-b
|
||||
set-option -g prefix C-Space
|
||||
|
||||
# Map pane selection to more easy vim like bindings
|
||||
bind-key -n 'M-h' select-pane -L
|
||||
bind-key -n 'M-j' select-pane -D
|
||||
bind-key -n 'M-k' select-pane -U
|
||||
bind-key -n 'M-l' select-pane -R
|
||||
|
||||
# Map pane resize
|
||||
bind-key -r -T prefix 'M-h' resize-pane -L 5
|
||||
bind-key -r -T prefix 'M-j' resize-pane -D 5
|
||||
bind-key -r -T prefix 'M-k' resize-pane -U 5
|
||||
bind-key -r -T prefix 'M-l' resize-pane -R 5
|
||||
|
||||
|
||||
|
||||
|
||||
bind h split-window -h
|
||||
bind v split-window -v
|
||||
|
||||
# set Status bar options
|
||||
set-option -g status-position top
|
||||
set-option -g allow-rename off
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'catppuccin/tmux'
|
||||
set -g @catppuccin_flavour 'macchiato'
|
||||
set -g @catppuccin_status_modules_right "host uptime application session"
|
||||
set -s default-terminal 'xterm-256color'
|
||||
|
||||
setw -g mode-keys vi
|
||||
|
||||
# set some sanity options
|
||||
# - This makes sure to keep the window/pane count starting at 1
|
||||
setw -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
# - This prevents me from having to press escape twice
|
||||
set -s escape-time 50
|
||||
|
||||
# allow mouse interaction
|
||||
set-option -g mouse on
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
20
vscode/argv.json
Normal file
20
vscode/argv.json
Normal file
@ -0,0 +1,20 @@
|
||||
// This configuration file allows you to pass permanent command line arguments to VS Code.
|
||||
// Only a subset of arguments is currently supported to reduce the likelihood of breaking
|
||||
// the installation.
|
||||
//
|
||||
// PLEASE DO NOT CHANGE WITHOUT UNDERSTANDING THE IMPACT
|
||||
//
|
||||
// NOTE: Changing this file requires a restart of VS Code.
|
||||
{
|
||||
// Use software rendering instead of hardware accelerated rendering.
|
||||
// This can help in cases where you see rendering issues in VS Code.
|
||||
// "disable-hardware-acceleration": true,
|
||||
|
||||
// Allows to disable crash reporting.
|
||||
// Should restart the app if the value is changed.
|
||||
"enable-crash-reporter": true,
|
||||
|
||||
// Unique id used for correlating crash reports sent from this instance.
|
||||
// Do not edit this value.
|
||||
"crash-reporter-id": "637bd37c-573e-4a4d-b17e-f66f377f3875"
|
||||
}
|
@ -1,83 +0,0 @@
|
||||
-- pull in the wezterm API
|
||||
local wezterm = require('wezterm')
|
||||
local launch_menu = {}
|
||||
|
||||
-- This will hold the configuration
|
||||
local config = wezterm.config_builder()
|
||||
config.colors = { background = "#1e1e2e" }
|
||||
config.color_scheme = 'Catppuccin Mocha'
|
||||
config.window_background_opacity = 1.0
|
||||
config.default_prog = { 'C:/Program Files/PowerShell/7/pwsh.exe' }
|
||||
|
||||
config.window_frame = {
|
||||
font = wezterm.font { family = 'Roboto', weight = 'Bold' },
|
||||
font_size = 12,
|
||||
active_titlebar_bg = '#1e1e2e',
|
||||
inactive_titlebar_bg = '#1e1e2e',
|
||||
}
|
||||
|
||||
config.colors = {
|
||||
tab_bar = {
|
||||
active_tab = {
|
||||
|
||||
bg_color = '#181825',
|
||||
fg_color = "#B4BEFE"
|
||||
},
|
||||
inactive_tab = {
|
||||
bg_color = '#1e1e2e',
|
||||
fg_color = "#CDD6F4"
|
||||
},
|
||||
new_tab = {
|
||||
bg_color = '#1e1e2e',
|
||||
fg_color = "#CDD6F4"
|
||||
},
|
||||
new_tab_hover ={
|
||||
bg_color = '#1b1032',
|
||||
fg_color = '#808080',
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
-- Keys
|
||||
local act = wezterm.action
|
||||
config.leader = { key = "a", mods="CTRL", timeout_milliseconds = 1000}
|
||||
|
||||
config.keys = {
|
||||
{ key = "s", mods = "LEADER", action = act.SplitVertical { domain = "CurrentPaneDomain"}},
|
||||
{ key = "v", mods = "LEADER", action = act.SplitHorizontal { domain = "CurrentPaneDomain" }},
|
||||
{ key = "h", mods = "LEADER", action = act.ActivatePaneDirection("Left") },
|
||||
{ key = "j", mods = "LEADER", action = act.ActivatePaneDirection("Down") },
|
||||
{ key = "k", mods = "LEADER", action = act.ActivatePaneDirection("Up") },
|
||||
{ key = "l", mods = "LEADER", action = act.ActivatePaneDirection("Right") },
|
||||
{ key = "q", mods = "LEADER", action = act.CloseCurrentPane { confirm = false }},
|
||||
{ key = "n", mods = "LEADER", action = act.ShowTabNavigator },
|
||||
{ key = "t", mods = "LEADER", action = act.ShowLauncher },
|
||||
}
|
||||
|
||||
-- config.enable_tab_bar = false
|
||||
config.window_decorations = "INTEGRATED_BUTTONS | TITLE | RESIZE"
|
||||
if wezterm.target_triple == 'x86_64-pc-windows-msvc' then
|
||||
table.insert(launch_menu, {
|
||||
label = 'PowerShell 7',
|
||||
args = { 'pwsh.exe', '-NoLogo' },
|
||||
})
|
||||
table.insert(launch_menu, {
|
||||
label = 'PowerShell',
|
||||
args = { 'PowerShell.exe', '-NoLogo' },
|
||||
})
|
||||
|
||||
for _, vsvers in
|
||||
ipairs ( wezterm.glob('VisualStudio20*', 'D:/')) do
|
||||
local year = vsvers:gsub('VisualStudio', '')
|
||||
table.insert(launch_menu, {
|
||||
label = 'X64 Native Tools VS ' .. year,
|
||||
args = {
|
||||
'cmd.exe',
|
||||
'/k',
|
||||
'D:/' .. vsvers .. '/VC/Auxiliary/Build/vcvars64.bat' },
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
config.launch_menu = launch_menu
|
||||
return config
|
@ -1,82 +0,0 @@
|
||||
-- pull in the wezterm API
|
||||
local wezterm = require('wezterm')
|
||||
local launch_menu = {}
|
||||
|
||||
-- This will hold the configuration
|
||||
local config = wezterm.config_builder()
|
||||
config.colors = { background = "#1e1e2e" }
|
||||
config.color_scheme = 'Catppuccin Mocha'
|
||||
config.window_background_opacity = 0.8
|
||||
|
||||
config.window_frame = {
|
||||
font = wezterm.font { family = 'Roboto', weight = 'Bold' },
|
||||
font_size = 12,
|
||||
active_titlebar_bg = '#1e1e2e',
|
||||
inactive_titlebar_bg = '#1e1e2e',
|
||||
}
|
||||
|
||||
config.colors = {
|
||||
tab_bar = {
|
||||
active_tab = {
|
||||
|
||||
bg_color = '#181825',
|
||||
fg_color = "#B4BEFE"
|
||||
},
|
||||
inactive_tab = {
|
||||
bg_color = '#1e1e2e',
|
||||
fg_color = "#CDD6F4"
|
||||
},
|
||||
new_tab = {
|
||||
bg_color = '#1e1e2e',
|
||||
fg_color = "#CDD6F4"
|
||||
},
|
||||
new_tab_hover = {
|
||||
bg_color = '#1b1032',
|
||||
fg_color = '#808080',
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
-- Keys
|
||||
local act = wezterm.action
|
||||
config.leader = { key = "a", mods = "CTRL", timeout_milliseconds = 1000 }
|
||||
|
||||
config.keys = {
|
||||
{ key = "s", mods = "LEADER", action = act.SplitVertical { domain = "CurrentPaneDomain" } },
|
||||
{ key = "v", mods = "LEADER", action = act.SplitHorizontal { domain = "CurrentPaneDomain" } },
|
||||
{ key = "h", mods = "LEADER", action = act.ActivatePaneDirection("Left") },
|
||||
{ key = "j", mods = "LEADER", action = act.ActivatePaneDirection("Down") },
|
||||
{ key = "k", mods = "LEADER", action = act.ActivatePaneDirection("Up") },
|
||||
{ key = "l", mods = "LEADER", action = act.ActivatePaneDirection("Right") },
|
||||
{ key = "q", mods = "LEADER", action = act.CloseCurrentPane { confirm = false } },
|
||||
{ key = "n", mods = "LEADER", action = act.ShowTabNavigator },
|
||||
{ key = "t", mods = "LEADER", action = act.ShowLauncher },
|
||||
}
|
||||
|
||||
config.enable_tab_bar = false
|
||||
config.window_decorations = "INTEGRATED_BUTTONS | TITLE | RESIZE"
|
||||
if wezterm.target_triple == 'x86_64-pc-windows-msvc' then
|
||||
table.insert(launch_menu, {
|
||||
label = 'PowerShell 7',
|
||||
args = { 'pwsh.exe', '-NoLogo' },
|
||||
})
|
||||
table.insert(launch_menu, {
|
||||
label = 'PowerShell',
|
||||
args = { 'PowerShell.exe', '-NoLogo' },
|
||||
})
|
||||
|
||||
for _, vsvers in
|
||||
ipairs(wezterm.glob('VisualStudio20*', 'D:/')) do
|
||||
local year = vsvers:gsub('VisualStudio', '')
|
||||
table.insert(launch_menu, {
|
||||
label = 'X64 Native Tools VS ' .. year,
|
||||
args = {
|
||||
'cmd.exe',
|
||||
'/k',
|
||||
'D:/' .. vsvers .. '/VC/Auxiliary/Build/vcvars64.bat' },
|
||||
})
|
||||
end
|
||||
end
|
||||
|
||||
config.launch_menu = launch_menu
|
||||
return config
|
2
zsh/.zprofile
Normal file
2
zsh/.zprofile
Normal file
@ -0,0 +1,2 @@
|
||||
eval "$(starship init zsh)"
|
||||
eval "$(/usr/local/bin/brew shellenv)"
|
9893
zsh/.zsh_history
Normal file
9893
zsh/.zsh_history
Normal file
File diff suppressed because it is too large
Load Diff
1
zsh/.zshenv
Normal file
1
zsh/.zshenv
Normal file
@ -0,0 +1 @@
|
||||
. "$HOME/.cargo/env"
|
9
zsh/.zshrc
Normal file
9
zsh/.zshrc
Normal file
@ -0,0 +1,9 @@
|
||||
eval "$(starship init zsh)"
|
||||
eval "$(/usr/local/bin/brew shellenv)"
|
||||
|
||||
echo "Hello, Nigel Barink"
|
||||
|
||||
|
||||
export NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
@ -1,93 +0,0 @@
|
||||
#
|
||||
# _ _ _ _ ___ ____ _ _ ____ ____ _ _ ____ _ ____
|
||||
# |\/| \_/ / [__ |__| | | | |\ | |___ | | __
|
||||
# | | | /__ ___] | | |___ |__| | \| | | |__]
|
||||
#
|
||||
# attach to an existing tmux session or create a new one if none exist
|
||||
# if [ "$TMUX" = "" ] && [ -z "$TMUX"]; then
|
||||
# tmux attach -t $(tmux display-message -p '#S') || tmux new-session
|
||||
# fi
|
||||
|
||||
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
|
||||
# Initialization code that may require console input (password prompts, [y/n]
|
||||
# confirmations, etc.) must go above this block; everything else may go below.
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="/home/nigel/.oh-my-zsh"
|
||||
|
||||
bindkey -v
|
||||
bindkey '^R' history-incremental-search-backward
|
||||
bindkey '^S' history-incremental-search-forward
|
||||
|
||||
ZSH_THEME="lambda"
|
||||
|
||||
setxkbmap us
|
||||
|
||||
# Use case-sensitive completion.
|
||||
CASE_SENSITIVE="true"
|
||||
|
||||
# Disable auto-setting terminal title.
|
||||
DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Enable command auto-correction.
|
||||
ENABLE_CORRECTION="true"
|
||||
|
||||
HIST_STAMPS="dd/mm/yyyy"
|
||||
|
||||
# Which plugins would you like to load?
|
||||
plugins=(git vi-mode zsh-autosuggestions zsh-syntax-highlighting tmux debian themes web-search)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# Add the fzf key-bindings and completions
|
||||
source /usr/share/fzf/key-bindings.zsh
|
||||
source /usr/share/fzf/completion.zsh
|
||||
|
||||
# Set my language environment
|
||||
export LANG=en_GB.UTF-8
|
||||
|
||||
# Preferred editor for local and remote sessions
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
export EDITOR='vim'
|
||||
else
|
||||
export EDITOR='nvim'
|
||||
fi
|
||||
|
||||
# Personal aliases
|
||||
alias zshconfig="$EDITOR ~/.zshrc"
|
||||
alias ohmyzsh="$EDITOR ~/.oh-my-zsh"
|
||||
alias dev="cd /home/nigel/Development"
|
||||
alias dotfiles="cd /home/nigel/.dotfiles"
|
||||
alias gitconfig="$EDITOR $HOME/.gitconfig"
|
||||
alias sshconfig="$EDITOR $HOME/.ssh/config"
|
||||
alias sshhome="cd $HOME/.ssh"
|
||||
alias reload="source $HOME/.zshrc"
|
||||
|
||||
# Add Autocompletion tools
|
||||
_dotnet_zsh_complete()
|
||||
{
|
||||
local completions=("$(dotnet complete "$word")")
|
||||
|
||||
reply=( "${(ps:\n:)completions}")
|
||||
|
||||
}
|
||||
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
|
||||
# zsh paramater for dotnet cli tab completion
|
||||
compctl -K _dotnet_zsh_complete dotnet
|
||||
|
||||
(cat $HOME/.cache/wal/sequences &)
|
||||
source $HOME/.cache/wal/colors.sh
|
||||
|
||||
eval "$(fzf --zsh)"
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
eval "$(register-python-argcomplete pipx)"
|
||||
# Created by `pipx` on 2024-04-10 15:28:48
|
||||
export PATH="$PATH:/home/nigel/.local/bin"
|
Reference in New Issue
Block a user