Skip to content

Commit

Permalink
2024-12-10-17-18 update
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucky Pony committed Dec 10, 2024
1 parent 5f7ba30 commit 9b56074
Show file tree
Hide file tree
Showing 8 changed files with 91 additions and 4 deletions.
4 changes: 4 additions & 0 deletions hypr/configs/Windowrules.conf
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ windowrule = center 1, title:(satty)

# workspace Rules
workspace = s[1], gapsin:10, gapsout:90

# Layers

layerrule = blur, swww-daemon
14 changes: 14 additions & 0 deletions hypr/hyprland.conf
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,27 @@ gestures {

general {
no_border_on_floating = true


}

misc {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
force_default_wallpaper = -1 # Set to 0 to disable the anime mascot wallpapers
}

render {
explicit_sync = 0
}

cursor {
sync_gsettings_theme = true
inactive_timeout = 10
default_monitor = HDMI-A-1
zoom_factor = 1
# use_cpu_buffer = true
}

xwayland {
force_zero_scaling = true
}
Expand Down
2 changes: 1 addition & 1 deletion nvim/lua/plugins/dashboard-nvim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ return {
{ action = "Telescope find_files cwd=~/Documents/Obsidian\\ Vault/", desc = " Notes", icon = "", key = "n" },
{ action = "Telescope oldfiles", desc = " Recent files", icon = "", key = "r" },
{ action = "Telescope live_grep", desc = " Find text", icon = "", key = "g" },
{ action = ":e ~/.config/nvim/init.lua", desc = " Config", icon = "", key = "c" },
{ action = "e ~/.config/nvim/init.lua", desc = " Config", icon = "", key = "c" },
{ action = 'lua require("persistence").load()', desc = " Restore Session", icon = "", key = "s" },
{ action = "qa", desc = " Quit", icon = "", key = "q" },
},
Expand Down
14 changes: 14 additions & 0 deletions nvim/lua/plugins/haskell-tools.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
return {
"mrcjkb/haskell-tools.nvim",
version = "^3",
ft = { "haskell", "lhaskell", "cabal", "cabalproject" },
dependencies = {
{ "nvim-telescope/telescope.nvim", optional = true },
},
config = function()
local ok, telescope = pcall(require, "telescope")
if ok then
telescope.load_extension("ht")
end
end,
}
16 changes: 16 additions & 0 deletions nvim/lua/plugins/notify.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@ return {
},

require("noice").setup({
lsp = {
-- override markdown rendering so that **cmp** and other plugins use **Treesitter**
override = {
["vim.lsp.util.convert_input_to_markdown_lines"] = true,
["vim.lsp.util.stylize_markdown"] = true,
["cmp.entry.get_documentation"] = true, -- requires hrsh7th/nvim-cmp
},
},
-- you can enable a preset for easier configuration
presets = {
bottom_search = true, -- use a classic bottom cmdline for search
command_palette = true, -- position the cmdline and popupmenu together
long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
},
views = {
cmdline_popup = {
position = {
Expand Down
3 changes: 1 addition & 2 deletions nvim/lua/plugins/nvim-lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ return {

LazyVim.lsp.setup()
LazyVim.lsp.on_dynamic_capability(require("lazyvim.plugins.lsp.keymaps").on_attach)

LazyVim.lsp.words.setup(opts.document_highlight)
Snacks.words.setup(opts.document_highlight)

-- diagnostics signs
if vim.fn.has("nvim-0.10.0") == 0 then
Expand Down
35 changes: 35 additions & 0 deletions nvim/lua/plugins/snacks.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
return {
"folke/snacks.nvim",
priority = 1000,
lazy = false,
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
bigfile = { enabled = true },
notifier = { enabled = true },
quickfile = { enabled = true },
statuscolumn = { enabled = true },
terminal = {
win = {
position = "float",
},
},
toggle = {
map = vim.keymap.set, -- keymap.set function to use
which_key = true, -- integrate with which-key to show enabled/disabled icons and colors
notify = true, -- show a notification when toggling
-- icons for enabled/disabled states
icon = {
enabled = "",
disabled = "",
},
-- colors for enabled/disabled states
color = {
enabled = "green",
disabled = "yellow",
},
},
words = { enabled = true },
},
}
7 changes: 6 additions & 1 deletion yazi/yazi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ play = [
image = [
{ run = 'swww img "$@" --transition-fps 90 --transition-duration 5 --transition-type any && ln -sf "$@" ~/.config/hypr/scripts/wallpaper.link' },
]
read = [{ run = 'zathura "$@" ', orphan = true }]
read = [{ run = 'sioyek "$@" ', orphan = true }]

wps = [{ run = 'wps $@', orphan = true }]

[open]
rules = [
Expand All @@ -55,6 +57,9 @@ rules = [
{ name = "*.pdf", use = [
"read",
] },
{ name = "*.doc", use = [
"wps",
] },


{ mime = "text/*", use = [
Expand Down

0 comments on commit 9b56074

Please sign in to comment.