Compare commits

...

7 Commits

Author SHA1 Message Date
724d77dc57 [Shell] Fix capitalization typo in stay-awake alias
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-06 16:17:47 -07:00
fb95bcb6cf [Eww] Clean up shell scripts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-06 16:17:44 -07:00
e6e4c5a683 [Hyprland] Simplify verbose float literals
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-06 16:17:41 -07:00
f2b0a1e850 [Hyprland] Fix mouse resize binding typo
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-06 16:17:39 -07:00
a914bd4e90 [Neovim] Simplify window navigation keymaps into a loop
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-06 16:17:36 -07:00
7af382fcfd [Neovim] Fix obsidian note_id_func generating only one random char
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-06 16:17:33 -07:00
26de8e0076 [Neovim] Fix snacks opts silently discarding merged config
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-06 16:17:30 -07:00
8 changed files with 16 additions and 15 deletions

View File

@@ -5,8 +5,7 @@ set -e
handle_event() {
case $1 in
focusedmon*) active_workspace;;
workspace*) active_workspace;;
focusedmon* | workspace*) active_workspace;;
esac
}

View File

@@ -12,8 +12,8 @@ handle_event() {
}
list_workspaces() {
focused=`hyprctl activeworkspace -j | jq '.id'`
active=`hyprctl monitors -j | jq 'map(select(.name == "'$monitor'")) | .[0].activeWorkspace.id'`
focused=$(hyprctl activeworkspace -j | jq '.id')
active=$(hyprctl monitors -j | jq 'map(select(.name == "'$monitor'")) | .[0].activeWorkspace.id')
# Explanation
# 1. Select only workspaces on the current monitor.
# 2. Remove duplicates (might be a bug with split-monitor-workspaces

View File

@@ -95,5 +95,5 @@ hl.bind(" + XF86AudioPrev", function()
hl.exec_cmd("playerctl previous")
end, { locked = true })
hl.bind("SUPER + mouse:272", hl.dsp.window.drag(), { mouse = true })
hl.bind("SUPER + mouse:273", hl.dsp.window.resize(), { mouce = true })
hl.bind("SUPER + mouse:273", hl.dsp.window.resize(), { mouse = true })
-- hl.bind(" + mouse:272", hl.dsp.hy3:focustab({ mouse })) --, { non_consuming = true }

View File

@@ -25,14 +25,14 @@ hl.config({
resize_on_border = true,
},
decoration = {
active_opacity = 1.000000,
active_opacity = 1.0,
blur = {
enabled = true,
passes = 1,
size = 3,
vibrancy = 0.169600,
},
inactive_opacity = 1.000000,
inactive_opacity = 1.0,
rounding = 5,
shadow = {
color = "rgba(1a1a1aee)",
@@ -81,7 +81,7 @@ hl.config({
hl.device({
name = "logitech-g502-1",
sensitivity = -0.200000,
sensitivity = -0.2,
})
-- Additional configs

View File

@@ -2,7 +2,6 @@
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
vim.keymap.set("n", "<C-up>", "<C-w>k", { noremap = true, silent = true })
vim.keymap.set("n", "<C-down>", "<C-w>j", { noremap = true, silent = true })
vim.keymap.set("n", "<C-left>", "<C-w>h", { noremap = true, silent = true })
vim.keymap.set("n", "<C-right>", "<C-w>l", { noremap = true, silent = true })
for _, map in ipairs({ { "<C-up>", "k" }, { "<C-down>", "j" }, { "<C-left>", "h" }, { "<C-right>", "l" } }) do
vim.keymap.set("n", map[1], "<C-w>" .. map[2], { noremap = true, silent = true })
end

View File

@@ -58,9 +58,11 @@ return {
return title:gsub("[^A-Za-z0-9-_]", ""):lower()
else
-- If title is nil, just put the date and four random characters
local suffix = ""
for _ = 1, 4 do
return os.date("%Y-%m-%d ") .. string.char(math.random(65, 90))
suffix = suffix .. string.char(math.random(65, 90))
end
return os.date("%Y-%m-%d") .. "-" .. suffix
end
end,
},

View File

@@ -1,7 +1,7 @@
return {
"folke/snacks.nvim",
opts = function(_, opts)
vim.tbl_deep_extend("force", opts, {
opts = vim.tbl_deep_extend("force", opts, {
styles = {
notification = {
wo = { wrap = true }, -- wrap notifications
@@ -57,6 +57,7 @@ return {
end
end,
}):map("<leader>ut", { desc = "Toggle Color Column" })
return opts
end,
keys = {
{

View File

@@ -65,7 +65,7 @@
"du" = "echo 'Do you mean: dust or dua?'";
"ranger" = "echo 'Do you mean: yazi'";
"stay-awake" = ''
tmux new-session -d -A -s keep-awake 'systemd-inhibit --who="DRew" --why="Manual keep awake" --what=sleep sleep infinity'
tmux new-session -d -A -s keep-awake 'systemd-inhibit --who="Drew" --why="Manual keep awake" --what=sleep sleep infinity'
'';
"allow-sleep" = "tmux kill-session -t keep-awake";
};