mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-13 22:02:34 +00:00
feat: Rearranges some file locations, adds install web apps script for a new machine.
This commit is contained in:
BIN
assets/icons/housecallpro.png
Normal file
BIN
assets/icons/housecallpro.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
BIN
assets/icons/oryx.png
Normal file
BIN
assets/icons/oryx.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
@@ -1,3 +1,3 @@
|
|||||||
preload = /home/michael/.config/hypr/wallpaper.png
|
preload = /home/michael/.dotfiles/assets/wallpapers/wall1.png
|
||||||
wallpaper = ,/home/michael/.config/hypr/wallpaper.png
|
wallpaper = ,/home/michael/.dotfiles/assets/wallpapers/wall1.png
|
||||||
splash = true
|
splash = true
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
-- bootstrap lazy.nvim, LazyVim and your plugin
|
-- bootstrap lazy.nvim, LazyVim and your plugin
|
||||||
vim.g.netrw_browsex_viewer = "xdg-open"
|
vim.g.netrw_browsex_viewer = "xdg-open"
|
||||||
|
|
||||||
require("config.lazy")
|
require("config.lazy")
|
||||||
|
|
||||||
|
vim.filetype.add({
|
||||||
|
pattern = {
|
||||||
|
[".*"] = function(path, bufnr)
|
||||||
|
local first_line = vim.api.nvim_buf_get_lines(bufnr, 0, 1, false)[1] or ""
|
||||||
|
if first_line:match("^#!.*zsh") then
|
||||||
|
return "bash"
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|||||||
@@ -63,3 +63,13 @@ createCmd("TextYankPost", {
|
|||||||
vim.highlight.on_yank()
|
vim.highlight.on_yank()
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
|
||||||
|
pattern = "*",
|
||||||
|
callback = function(args)
|
||||||
|
local first_line = vim.api.nvim_buf_get_lines(args.buf, 0, 1, false)[1] or ""
|
||||||
|
if first_line:match("^#!.*zsh") then
|
||||||
|
vim.bo[args.buf].filetype = "bash"
|
||||||
|
end
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|||||||
@@ -19,10 +19,10 @@ return {
|
|||||||
"TmuxNavigatorProcessList",
|
"TmuxNavigatorProcessList",
|
||||||
},
|
},
|
||||||
keys = {
|
keys = {
|
||||||
{ "<c-h>", "<cmd><C-U>TmuxNavigateLeft<cr>" },
|
{ "<c-h>", "<cmd><C-U>TmuxNavigateLeft<cr>" },
|
||||||
{ "<c-j>", "<cmd><C-U>TmuxNavigateDown<cr>" },
|
{ "<c-j>", "<cmd><C-U>TmuxNavigateDown<cr>" },
|
||||||
{ "<c-k>", "<cmd><C-U>TmuxNavigateUp<cr>" },
|
{ "<c-k>", "<cmd><C-U>TmuxNavigateUp<cr>" },
|
||||||
{ "<c-l>", "<cmd><C-U>TmuxNavigateRight<cr>" },
|
{ "<c-l>", "<cmd><C-U>TmuxNavigateRight<cr>" },
|
||||||
{ "<c-\\>", "<cmd><C-U>TmuxNavigatePrevious<cr>" },
|
{ "<c-\\>", "<cmd><C-U>TmuxNavigatePrevious<cr>" },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
5
scripts/arch/clear-clipboard-history
Executable file
5
scripts/arch/clear-clipboard-history
Executable file
@@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
|
wl-copy --clear && \
|
||||||
|
rm ~/.local/share/clipse/clipboard_history.json >/dev/null 2>&1
|
||||||
|
|
||||||
@@ -23,6 +23,7 @@ yay -S --noconfirm --needed \
|
|||||||
fastfetch \
|
fastfetch \
|
||||||
fzf \
|
fzf \
|
||||||
git \
|
git \
|
||||||
|
git-lfs \
|
||||||
github-cli \
|
github-cli \
|
||||||
gum \
|
gum \
|
||||||
hyprpaper \
|
hyprpaper \
|
||||||
|
|||||||
61
scripts/install-webapps.sh
Executable file
61
scripts/install-webapps.sh
Executable file
@@ -0,0 +1,61 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
|
||||||
|
source ~/.dotfiles/scripts/arch/install-webapp \
|
||||||
|
--name "Excalidraw" \
|
||||||
|
--url "https://draw.housh.dev" \
|
||||||
|
--icon "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/excalidraw.png"
|
||||||
|
|
||||||
|
source ~/.dotfiles/scripts/arch/install-webapp \
|
||||||
|
--name "Gitea" \
|
||||||
|
--url "https://git.housh.dev" \
|
||||||
|
--icon "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/gitea.png"
|
||||||
|
|
||||||
|
source ~/.dotfiles/scripts/arch/install-webapp \
|
||||||
|
--name "GitHub" \
|
||||||
|
--url "https://github.com" \
|
||||||
|
--icon "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/github-light.png"
|
||||||
|
|
||||||
|
source ~/.dotfiles/scripts/arch/install-webapp \
|
||||||
|
--name "HouseCall Pro" \
|
||||||
|
--url "https://pro.housecallpro.com" \
|
||||||
|
--icon "~/.dotfiles/assets/icons/housecallpro.png"
|
||||||
|
|
||||||
|
source ~/.dotfiles/scripts/arch/install-webapp \
|
||||||
|
--name "Hyprland Wiki" \
|
||||||
|
--url "https://https://wiki.hypr.land" \
|
||||||
|
--icon "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/hyprland.png"
|
||||||
|
|
||||||
|
source ~/.dotfiles/scripts/arch/install-webapp \
|
||||||
|
--name "Immich" \
|
||||||
|
--url "https://photos.housh.dev" \
|
||||||
|
--icon "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/immich.png"
|
||||||
|
|
||||||
|
source ~/.dotfiles/scripts/arch/install-webapp \
|
||||||
|
--name "Oryx" \
|
||||||
|
--url "https://configure.zsa.io/voyager/layouts/v9LLL/latest/0" \
|
||||||
|
--icon "~/.dotfiles/assets/icons/oryx.png"
|
||||||
|
#
|
||||||
|
source ~/.dotfiles/scripts/arch/install-webapp \
|
||||||
|
--name "Proton Mail" \
|
||||||
|
--url "https://mail.proton.me" \
|
||||||
|
--icon "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/proton-mail.png"
|
||||||
|
|
||||||
|
source ~/.dotfiles/scripts/arch/install-webapp \
|
||||||
|
--name "Proton Pass" \
|
||||||
|
--url "https://pass.proton.me" \
|
||||||
|
--icon "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/proton-pass.png"
|
||||||
|
|
||||||
|
source ~/.dotfiles/scripts/arch/install-webapp \
|
||||||
|
--name "Unifi Drive" \
|
||||||
|
--url "https://192.168.10.105/drive/dashboard" \
|
||||||
|
--icon "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/unifi-drive.png"
|
||||||
|
|
||||||
|
source ~/.dotfiles/scripts/arch/install-webapp \
|
||||||
|
--name "Unifi" \
|
||||||
|
--url "https://unifi.ui.com" \
|
||||||
|
--icon "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/unifi.png"
|
||||||
|
|
||||||
|
source ~/.dotfiles/scripts/arch/install-webapp \
|
||||||
|
--name "YouTube" \
|
||||||
|
--url "https://youtube.com" \
|
||||||
|
--icon "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/youtube.png"
|
||||||
@@ -2,7 +2,5 @@
|
|||||||
|
|
||||||
# Set up clipse (clipboard history) storage directories / files.
|
# Set up clipse (clipboard history) storage directories / files.
|
||||||
mkdir -p ~/.local/share/clipse/tmp_files
|
mkdir -p ~/.local/share/clipse/tmp_files
|
||||||
touch ~/.local/share/clipse/clipboard_history.json
|
|
||||||
chmod 600 ~/.local/share/clipse/clipboard_history.json
|
|
||||||
|
|
||||||
mkdir ~/Pictures >/dev/null 2>&1
|
mkdir ~/Pictures >/dev/null 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user