feat: improved alacritty, awesome, zsh amd vim configs, incluing epitech header, better colors and more
This commit is contained in:
parent
0239abc296
commit
279fc2bbb7
@ -176,141 +176,45 @@
|
||||
#draw_bold_text_with_bright_colors: false
|
||||
|
||||
# Colors (Tomorrow Night)
|
||||
#colors:
|
||||
colors:
|
||||
# Default colors
|
||||
#primary:
|
||||
# background: '#1d1f21'
|
||||
# foreground: '#c5c8c6'
|
||||
primary:
|
||||
background: '#1d1f21'
|
||||
foreground: '#c5c8c6'
|
||||
|
||||
# Bright and dim foreground colors
|
||||
#
|
||||
# The dimmed foreground color is calculated automatically if it is not
|
||||
# present. If the bright foreground color is not set, or
|
||||
# `draw_bold_text_with_bright_colors` is `false`, the normal foreground
|
||||
# color will be used.
|
||||
#dim_foreground: '#828482'
|
||||
#bright_foreground: '#eaeaea'
|
||||
|
||||
# Cursor colors
|
||||
#
|
||||
# Colors which should be used to draw the terminal cursor.
|
||||
#
|
||||
# Allowed values are CellForeground/CellBackground, which reference the
|
||||
# affected cell, or hexadecimal colors like #ff00ff.
|
||||
#cursor:
|
||||
# text: CellBackground
|
||||
# cursor: CellForeground
|
||||
|
||||
# Vi mode cursor colors
|
||||
#
|
||||
# Colors for the cursor when the vi mode is active.
|
||||
#
|
||||
# Allowed values are CellForeground/CellBackground, which reference the
|
||||
# affected cell, or hexadecimal colors like #ff00ff.
|
||||
#vi_mode_cursor:
|
||||
# text: CellBackground
|
||||
# cursor: CellForeground
|
||||
|
||||
# Search colors
|
||||
#
|
||||
# Colors used for the search bar and match highlighting.
|
||||
#search:
|
||||
# Allowed values are CellForeground/CellBackground, which reference the
|
||||
# affected cell, or hexadecimal colors like #ff00ff.
|
||||
#matches:
|
||||
# foreground: '#000000'
|
||||
# background: '#ffffff'
|
||||
#focused_match:
|
||||
# foreground: '#ffffff'
|
||||
# background: '#000000'
|
||||
|
||||
#bar:
|
||||
# background: '#c5c8c6'
|
||||
# foreground: '#1d1f21'
|
||||
|
||||
# Keyboard regex hints
|
||||
#hints:
|
||||
# First character in the hint label
|
||||
#
|
||||
# Allowed values are CellForeground/CellBackground, which reference the
|
||||
# affected cell, or hexadecimal colors like #ff00ff.
|
||||
#start:
|
||||
# foreground: '#1d1f21'
|
||||
# background: '#e9ff5e'
|
||||
|
||||
# All characters after the first one in the hint label
|
||||
#
|
||||
# Allowed values are CellForeground/CellBackground, which reference the
|
||||
# affected cell, or hexadecimal colors like #ff00ff.
|
||||
#end:
|
||||
# foreground: '#e9ff5e'
|
||||
# background: '#1d1f21'
|
||||
|
||||
# Line indicator
|
||||
#
|
||||
# Color used for the indicator displaying the position in history during
|
||||
# search and vi mode.
|
||||
#
|
||||
# By default, these will use the opposing primary color.
|
||||
#line_indicator:
|
||||
# foreground: None
|
||||
# background: None
|
||||
|
||||
# Selection colors
|
||||
#
|
||||
# Colors which should be used to draw the selection area.
|
||||
#
|
||||
# Allowed values are CellForeground/CellBackground, which reference the
|
||||
# affected cell, or hexadecimal colors like #ff00ff.
|
||||
#selection:
|
||||
# text: CellBackground
|
||||
# background: CellForeground
|
||||
# Colors the cursor will use if `custom_cursor_colors` is true
|
||||
cursor:
|
||||
text: '#1d1f21'
|
||||
cursor: '#ffffff'
|
||||
|
||||
# Normal colors
|
||||
#normal:
|
||||
# black: '#1d1f21'
|
||||
# red: '#cc6666'
|
||||
# green: '#b5bd68'
|
||||
# yellow: '#f0c674'
|
||||
# blue: '#81a2be'
|
||||
# magenta: '#b294bb'
|
||||
# cyan: '#8abeb7'
|
||||
# white: '#c5c8c6'
|
||||
normal:
|
||||
black: '#1d1f21'
|
||||
red: '#cc6666'
|
||||
green: '#b5bd68'
|
||||
yellow: '#e6c547'
|
||||
blue: '#81a2be'
|
||||
magenta: '#b294bb'
|
||||
cyan: '#70c0ba'
|
||||
white: '#373b41'
|
||||
|
||||
# Bright colors
|
||||
#bright:
|
||||
# black: '#666666'
|
||||
# red: '#d54e53'
|
||||
# green: '#b9ca4a'
|
||||
# yellow: '#e7c547'
|
||||
# blue: '#7aa6da'
|
||||
# magenta: '#c397d8'
|
||||
# cyan: '#70c0b1'
|
||||
# white: '#eaeaea'
|
||||
bright:
|
||||
black: '#666666'
|
||||
red: '#ff3334'
|
||||
green: '#9ec400'
|
||||
yellow: '#f0c674'
|
||||
blue: '#81a2be'
|
||||
magenta: '#b77ee0'
|
||||
cyan: '#54ced6'
|
||||
white: '#282a2e'
|
||||
|
||||
# Dim colors
|
||||
# Transparent cell backgrounds
|
||||
#
|
||||
# If the dim colors are not set, they will be calculated automatically based
|
||||
# on the `normal` colors.
|
||||
#dim:
|
||||
# black: '#131415'
|
||||
# red: '#864343'
|
||||
# green: '#777c44'
|
||||
# yellow: '#9e824c'
|
||||
# blue: '#556a7d'
|
||||
# magenta: '#75617b'
|
||||
# cyan: '#5b7d78'
|
||||
# white: '#828482'
|
||||
|
||||
# Indexed Colors
|
||||
#
|
||||
# The indexed colors include all colors from 16 to 256.
|
||||
# When these are not set, they're filled with sensible defaults.
|
||||
#
|
||||
# Example:
|
||||
# `- { index: 16, color: '#ff00ff' }`
|
||||
#
|
||||
#indexed_colors: []
|
||||
# Whether or not `window.opacity` applies to all cell backgrounds or only to
|
||||
# the default background. When set to `true` all cells will be transparent
|
||||
# regardless of their background color.
|
||||
#transparent_background_colors: false
|
||||
|
||||
# Bell
|
||||
#
|
||||
@ -357,7 +261,7 @@
|
||||
#
|
||||
# Window opacity as a floating point number from `0.0` to `1.0`.
|
||||
# The value `0.0` is completely transparent and `1.0` is opaque.
|
||||
background_opacity: 0.8
|
||||
background_opacity: 0.9
|
||||
|
||||
#selection:
|
||||
# This string contains all characters that are used as separators for
|
||||
|
@ -467,16 +467,16 @@ globalkeys = gears.table.join(
|
||||
awful.key(
|
||||
{}, "XF86AudioRaiseVolume",
|
||||
function()
|
||||
awful.spawn.with_shell("pactl set-sink-mute 0 0 && pactl set-sink-volume 0 +5%")
|
||||
awful.spawn.with_shell("pactl set-sink-mute 0 0 && pactl set-sink-volume 0 +2%")
|
||||
end,
|
||||
{description = "increase volume by 5%", group = "hotkeys"}
|
||||
{description = "increase volume by 2%", group = "hotkeys"}
|
||||
),
|
||||
awful.key(
|
||||
{}, "XF86AudioLowerVolume",
|
||||
function()
|
||||
awful.spawn.with_shell("pactl set-sink-mute 0 0 && pactl set-sink-volume 0 -5%")
|
||||
awful.spawn.with_shell("pactl set-sink-mute 0 0 && pactl set-sink-volume 0 -2%")
|
||||
end,
|
||||
{description = "decrease volume by 5%", group = "hotkeys"}
|
||||
{description = "decrease volume by 2%", group = "hotkeys"}
|
||||
),
|
||||
awful.key(
|
||||
{}, "XF86AudioMute",
|
||||
@ -714,8 +714,8 @@ awful.rules.rules = {
|
||||
|
||||
{rule_any = {class = {"Brave-browser"}}, properties = {tag = "WEB", switch_to_tags = true}},
|
||||
{rule_any = {class = {"code-oss"}}, properties = {tag = "DEV", switch_to_tags = true}},
|
||||
{rule_any = {class = {"Steam", "Lutris", "Minecraft"}}, properties = {tag = "GAM", switch_to_tags = true}},
|
||||
{rule_any = {class = {"Virt-manager"}}, properties = {tag = "SBX", switch_to_tags = true}},
|
||||
{rule_any = {class = {"Steam", "Lutris", "Minecraft"}}, properties = {tag = "GAM"}},
|
||||
{rule_any = {class = {"Virt-manager"}}, properties = {tag = "SBX"}},
|
||||
{rule_any = {class = {"libreoffice"}}, properties = {tag = "DOC", switch_to_tags = true}},
|
||||
{rule_any = {class = {"vlc"}}, properties = {tag = "MED", switch_to_tags = true}},
|
||||
{rule_any = {class = {"Gimp"}}, properties = {tag = "GFX", switch_to_tags = true}}
|
||||
@ -758,6 +758,7 @@ apps = {
|
||||
"/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1",
|
||||
"xss-lock --transfer-sleep-lock -- " .. lock,
|
||||
"picom",
|
||||
"/usr/lib/kdeconnectd",
|
||||
"redshift",
|
||||
"nm-applet",
|
||||
"pasystray",
|
||||
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +1,6 @@
|
||||
[submodule ".vim/pack/dist/opt/nerdtree"]
|
||||
path = .vim/pack/dist/opt/nerdtree
|
||||
url = https://github.com/preservim/nerdtree.git
|
||||
[submodule ".vim/pack/dist/opt/vim-better-whitespace"]
|
||||
path = .vim/pack/dist/opt/vim-better-whitespace
|
||||
url = https://github.com/ntpeters/vim-better-whitespace.git
|
||||
|
1
.vim/pack/dist/opt/vim-better-whitespace
vendored
Submodule
1
.vim/pack/dist/opt/vim-better-whitespace
vendored
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit c5afbe91d29c5e3be81d5125ddcdc276fd1f1322
|
30
.vimrc
30
.vimrc
@ -15,7 +15,33 @@ set hlsearch
|
||||
|
||||
" packages
|
||||
packadd! nerdtree
|
||||
packadd! vim-better-whitespace
|
||||
|
||||
" packages keybindings
|
||||
function! EpitechHeader()
|
||||
let com_arr = {
|
||||
\ 'c': {'top': '/*', 'mid': '**', 'bot': '*/'},
|
||||
\ 'cpp': {'top': '/*', 'mid': '**', 'bot': '*/'},
|
||||
\ 'make': {'top': '##', 'mid': '##', 'bot': '##'}
|
||||
\ }
|
||||
let top = com_arr[&filetype]['top']
|
||||
let mid = com_arr[&filetype]['mid']
|
||||
let bot = com_arr[&filetype]['bot']
|
||||
let proj_name = input('Enter project name: ')
|
||||
let file_desc = input('Enter file description: ')
|
||||
|
||||
if file_desc == ''
|
||||
let file_desc = expand('%:t:r')
|
||||
endif
|
||||
call append(0, top)
|
||||
call append(1, mid . " EPITECH PROJECT, " . strftime("%Y"))
|
||||
call append(2, mid . " " . proj_name)
|
||||
call append(3, mid . " File description:")
|
||||
call append(4, mid . " " . file_desc)
|
||||
call append(5, bot)
|
||||
endfunction
|
||||
|
||||
command EpiHeader call EpitechHeader()
|
||||
|
||||
" keybindings
|
||||
nnoremap <F8> :NERDTreeToggle<CR>
|
||||
nnoremap <F9> :/\s\+$<CR>
|
||||
nnoremap <C-c><C-h> :EpiHeader<CR>
|
||||
|
Loading…
Reference in New Issue
Block a user