This commit is contained in:
Lian Drake 2024-09-07 06:58:24 -04:00
parent 6d5aa98217
commit 432f8303ec
1523 changed files with 40580 additions and 46125 deletions

View file

@ -9,7 +9,7 @@
# First line removes the path; second line sets it. Without the first line,
# your path gets massive and fish becomes very slow.
set -e fish_user_paths
set -U fish_user_paths $HOME/.bin $HOME/.local/bin $HOME/.go/bin $HOME/.cargo/bin $HOME/.local/lib/flutter/bin $HOME/Applications $HOME/.local/share/JetBrains/Toolbox/scripts $HOME/.config/vifm/scripts /var/lib/flatpak/exports/bin/ $fish_user_paths
set -U fish_user_paths $HOME/.bin $HOME/.local/bin $HOME/.go/bin $HOME/.cargo/bin $HOME/.local/lib/flutter/bin $HOME/.local/lib/android/emulator $HOME/.local/share/JetBrains/Toolbox/scripts /var/lib/flatpak/exports/bin/ $fish_user_paths
### EXPORT ###
set fish_greeting # Supresses fish's intro message
@ -161,9 +161,6 @@ alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
# file management
alias fm="$HOME/.config/vifm/scripts/vifmrun"
alias flm="$HOME/.config/vifm/scripts/vifmrun"
alias vifm="$HOME/.config/vifm/scripts/vifmrun"
alias cp='cp -iv'
alias mv='mv -iv'
alias rm='rm -vI'
@ -221,10 +218,10 @@ alias yta-opus="yt-dlp --extract-audio --audio-format opus "
alias yta-vorbis="yt-dlp --extract-audio --audio-format vorbis "
alias yta-wav="yt-dlp --extract-audio --audio-format wav "
alias ytv-best="yt-dlp -f bestvideo+bestaudio "
alias yt='ytfzf -ftslT kitty'
alias youtube='ytfzf -ftslT kitty'
alias ytm='ytfzf -mtslT kitty'
alias youtube-music='ytfzf -mtslT kitty'
alias yt='ytfzf -ftslT chafa'
alias youtube='ytfzf -ftslT chafa'
alias ytm='ytfzf -mtslT chafa'
alias youtube-music='ytfzf -mtslT chafa'
# network and bluetooth
alias netstats='nmcli dev'
@ -235,6 +232,11 @@ alias wfi-on='nmcli radio wifi on'
alias wfi-off='nmcli radio wifi off'
alias blt='bluetoothctl'
# android emulator
alias avd='QT_QPA_PLATFORM=xcb emulator -avd Pixel_6_Pro_API_35'
alias avds='emulator -list-avds'
alias avde='QT_QPA_PLATFORM=xcb emulator -avd'
### SETTING THE STARSHIP PROMPT ###
starship init fish | source
zoxide init fish | source

View file

@ -108,7 +108,7 @@ password() {
elif nmcli -f BSSID,SECURITY dev wifi list | grep -w "$bssid" | awk '{print $2}' | grep -q -- "--"; then
pass=""
else
pass=$($RUNNER -l 0 --password -p "[Enter Password ]  " );
pass=$($RUNNER -l 0 --password -p "[Enter Password  ]  " );
if [ -z "$pass" ]; then
exit 0
fi

View file

@ -2,3 +2,5 @@
mail = maverick.xero@proton.me
name = Lian Drake
email = maverick.xero@proton.me
[safe]
directory = /usr/share/flutter

View file

@ -1,4 +1,4 @@
gtk-theme-name="Gruvbox-Dark"
gtk-theme-name="Gruvbox-Material-Dark"
gtk-icon-theme-name="Papirus-Dark"
gtk-font-name="Inter 10"
gtk-cursor-theme-name="Simp1e-Gruvbox-Dark"

View file

@ -1,5 +1,5 @@
[Settings]
gtk-theme-name=Gruvbox-Dark
gtk-theme-name=Gruvbox-Material-Dark
gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Inter 10
gtk-cursor-theme-name=Simp1e-Gruvbox-Dark

View file

@ -1,27 +1,3 @@
-- neovide options
vim.o.guifont = "mononoki Nerd Font:h14"
vim.g.neovide_no_idle = true
vim.g.neovide_confirm_quit = true
vim.g.neovide_input_use_logo = true
vim.g.neovide_cursor_antialiasing = true
vim.g.neovide_cursor_animate_in_insert_mode = true
vim.g.neovide_cursor_vfx_mode = "pixiedust"
vim.g.neovide_cursor_vfx_particle_speed = 20.0
vim.g.neovide_padding_top = 0
vim.g.neovide_padding_bottom = 0
vim.g.neovide_padding_right = 0
vim.g.neovide_padding_left = 0
-- Helper function for transparency formatting
local alpha = function()
return string.format("%x", math.floor(255 * (vim.g.transparency or 0.98)))
end
vim.g.neovide_transparency = 0.98
vim.g.transparency = 0.98
vim.g.neovide_background_color = "#1d2021" .. alpha()
-- nvim options
vim.opt.shiftwidth = 4
vim.opt.tabstop = 4
@ -31,7 +7,7 @@ vim.opt.wrap = true -- wrap lines
vim.opt.spell = false
vim.o.shell = '/usr/bin/fish'
vim.o.autochdir = true
--vim.cmd('autocmd BufEnter * lcd %:p:h')
vim.cmd('autocmd BufEnter * lcd %:p:h')
-- general
lvim.use_icons = true
@ -39,17 +15,19 @@ lvim.log.level = "info"
-- change theme settings
lvim.colorscheme = "gruvbox"
lvim.transparent_window = false
lvim.transparent_window = true
lvim.builtin.alpha.active = true
lvim.builtin.alpha.mode = "dashboard"
lvim.builtin.terminal.active = true
lvim.builtin.nvimtree.setup.view.side = "left"
lvim.builtin.nvimtree.setup.renderer.icons.show.git = false
lvim.builtin.nvimtree.setup.renderer.icons.show.git = true
lvim.builtin.project.manual_mode = true
lvim.builtin.treesitter.ensure_installed = {
"bash",
"c",
"cpp",
"c_sharp",
"javascript",
"json",
"python",
@ -66,20 +44,11 @@ lvim.builtin.treesitter.ensure_installed = {
-- additional Plugins
lvim.plugins = {
-- Colorschemes
{ "lunarvim/colorschemes" },
{ "ellisonleao/gruvbox.nvim" },
{ "tpope/vim-dadbod" },
{ "kristijanhusak/vim-dadbod-ui" },
{ "kristijanhusak/vim-dadbod-completion", after = "nvim-cmp" },
{ "SirVer/ultisnips" },
{ "mfussenegger/nvim-dap" },
{ "akinsho/flutter-tools.nvim",
dependencies = { "nvim-lua/plenary.nvim", "stevearc/dressing.nvim" },
},
}
-- configuring colorscheme
require("gruvbox").setup({
{ "ellisonleao/gruvbox.nvim",
config = function()
require("gruvbox").setup({
undercurl = true,
underline = true,
bold = false,
@ -99,10 +68,54 @@ require("gruvbox").setup({
palette_overrides = {},
overrides = {},
dim_inactive = false,
transparent_mode = false,
})
transparent_mode = true,
})
end
require('flutter-tools').setup {
},
-- Database UI (vim-dadbod)
{ "kristijanhusak/vim-dadbod-ui",
dependencies = {
{ 'tpope/vim-dadbod', lazy = true },
{ 'kristijanhusak/vim-dadbod-completion',
after = "nvim-cmp",
ft = { 'sql', 'mysql', 'plsql' },
lazy = true
},
},
cmd = {
'DBUI',
'DBUIToggle',
'DBUIAddConnection',
'DBUIFindBuffer',
},
init = function()
vim.g.db_ui_use_nerd_fonts = 1
end,
},
-- Snippets
{ "SirVer/ultisnips" },
-- DAP
{ "mfussenegger/nvim-dap" },
-- Dotnet Tools
{ "MoaidHathot/dotnet.nvim",
config = function()
require("dotnet").setup({})
end
},
-- Flutter Tools
{ "akinsho/flutter-tools.nvim",
dependencies = {
{ "nvim-lua/plenary.nvim" },
{ "stevearc/dressing.nvim" }
},
config = function()
require('flutter-tools').setup {
decorations = {
statusline = {
app_version = false,
@ -131,17 +144,19 @@ require('flutter-tools').setup {
enableSdkFormatter = true,
},
},
}
-- Flutter .arb files should be concidered as json files
vim.filetype.add {
extension = {
arb = 'json',
}
end
},
}
-- Keybindigns
-- vim-dadbod-ui
lvim.keys.normal_mode["<leader>D"] = ":DBUIToggle<CR>"
-- telescope projects
lvim.builtin.which_key.mappings["P"] = { "<cmd>Telescope projects<CR>", "Projects" }
-- flutter
lvim.builtin.which_key.mappings["F"] = {
name = "+Flutter",
c = { "<cmd>Telescope flutter commands<cr>", "Open Flutter Commans" },
@ -153,11 +168,24 @@ lvim.builtin.which_key.mappings["F"] = {
v = { "<cmd>Telescope flutter fvm<cr>", "Flutter version" },
}
vim.api.nvim_create_autocmd("FileType", {
pattern = { "sql", "mysql", "plsql" },
command = ":lua require('cmp').setup.buffer({ sources = {{ name = 'vim-dadbod-completion' }} })",
})
-- dotnet
lvim.builtin.which_key.mappings["N"] = {
name = "+Dotnet",
n = { "<cmd>DotnetUI new_item<cr>", "Create a dotnet project" },
a = { "<cmd>DotnetUI project package add<cr>", "Install a NuGet package" },
r = { "<cmd>DotnetUI project package remove<cr>", "Remove a NuGet package" },
A = { "<cmd>DotnetUI project reference add<cr>", "Add a project reference" },
R = { "<cmd>DotnetUI project reference remove<cr>", "Remove a project reference" },
}
-- Flutter .arb files should be concidered as json files
vim.filetype.add {
extension = {
arb = 'json',
}
}
-- Dart files should use two spaces indentation
vim.api.nvim_create_autocmd("FileType", {
pattern = "dart",
callback = function()
@ -167,4 +195,12 @@ vim.api.nvim_create_autocmd("FileType", {
end,
})
-- Setup auto completion of SQL files with vim-dadbod-completion
vim.api.nvim_create_autocmd("FileType", {
pattern = { "sql", "mysql", "plsql" },
command = ":lua require('cmp').setup.buffer({ sources = {{ name = 'vim-dadbod-completion' }} })",
})
-- Fix weird bug with vim-dadbod under lunarvim
-- https://github.com/kristijanhusak/vim-dadbod-completion/issues/53
local cmp = require("cmp")

View file

@ -21,7 +21,6 @@ https://www.gamingonlinux.com/article_rss.php "~Gaming on linux"
https://hackaday.com/blog/feed/ "~Hackaday"
https://www.phoronix.com/rss.php "~Phoronix"
https://betanews.com/feed "~Betanews Linux"
http://lxer.com/module/newswire/headlines.rss "~Lxer"
https://theevilskeleton.gitlab.io/feed.xml "~TheEvilSkeleton"
https://tutanota.com/blog/feed.xml "~Tutanota Blogs"
https://techcrunch.com/feed/ "~TechCrunch"

View file

@ -11,9 +11,10 @@ set $right l
set $term foot
set $chat flatpak run org.signal.Signal
set $office flatpak run org.libreoffice.LibreOffice
set $notes joplin-desktop
set $browser flatpak run com.brave.Browser
set $file foot -T yazi -a yazi yazi
set $editor neovide --neovim-bin $HOME/.local/bin/lvim
set $editor foot -T lunarvim -a lunarvim $HOME/.local/bin/lvim
set $music foot -T cmus -a cmus cmus
set $rss foot -T newsboat -a newsboat newsboat
set $ani-cli foot -T ani-cli -a ani-cli ani-cli
@ -192,6 +193,7 @@ mode "apps" {
bindsym w exec $browser; mode "default"
bindsym c exec $chat; mode "default"
bindsym o exec $office; mode "default"
bindsym n exec $notes; mode "default"
bindsym m exec $music; mode "default"
bindsym r exec $rss; mode "default"
bindsym Shift+b exec $monitor; mode "default"

View file

@ -30,7 +30,7 @@ gaps inner 5
# gsettings
exec gsettings set org.gnome.desktop.interface {
gtk-theme 'Gruvbox-Dark'
gtk-theme 'Gruvbox-Material-Dark'
icon-theme 'Papirus-Dark'
cursor-theme 'Simp1e-Gruvbox-Dark'
font-name 'Inter 10'

View file

@ -23,7 +23,7 @@ export GTK_CSD=0
# GTK & cursor stuff
export XCURSOR_PATH="$XDG_DATA_HOME/icons/"
export XCURSOR_THEME="Simp1e-Gruvbox-Dark"
export GTK_THEME="Gruvbox-Dark"
export GTK_THEME="Gruvbox-Material-Dark"
export GTK_ICON_THEME="Papirus-Dark"
export GTK_CURSOR_THEME="Simp1e-Gruvbox-Dark"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 280 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 280 KiB

View file

@ -112,7 +112,11 @@
"phone": "\udb80\udff2",
"portable": "\udb80\udff2",
"car": "\udb80\udd0b",
"default": ["\udb81\udd7f", "\udb81\udd80", "\udb81\udd7e"]
"default": [
"\udb81\udd7f",
"\udb81\udd80",
"\udb81\udd7e"
]
},
"on-click": "foot -T audiomixer -a audiomixer pulsemixer"
},

View file

@ -98,7 +98,8 @@ window#waybar {
#workspaces button {
font-family: Symbols Nerd Font Mono;
font-size: 16px;
padding: 4px 0px;
padding: 0px 0px;
margin: 0 0;
color: @white;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 923 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 791 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 899 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 910 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 801 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 670 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 734 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 777 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 144 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 912 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 882 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 897 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 917 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,013 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 814 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 861 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 414 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 354 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 884 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 896 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 419 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 879 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 860 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 685 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 631 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 775 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 724 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -1,23 +0,0 @@
button_offset=9
button_spacing=0
show_app_icon=false
full_width_title=true
title_shadow_active=false
title_shadow_inactive=false
title_horizontal_offset=3
active_text_color=#f0f7fe
active_text_shadow_color=#222426
inactive_text_color=#999da3
inactive_text_shadow_color=#222426
shadow_delta_height=2
shadow_delta_width=0
shadow_delta_x=0
shadow_delta_y=-5
shadow_opacity=40

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 185 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 177 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 999 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 984 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 869 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 943 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 961 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 148 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 399 B

Some files were not shown because too many files have changed in this diff Show more