This commit is contained in:
DeveloperDurp 2025-09-07 07:55:50 -05:00
parent e14d6ac38a
commit 664cb88ef8
4 changed files with 123 additions and 99 deletions

View file

@ -1,50 +1,4 @@
{
(
modifiers: [
Super,
Shift,
],
key: "7",
): Disable,
(
modifiers: [],
key: "Print",
): Disable,
(
modifiers: [
Super,
Ctrl,
],
key: "2",
): MoveToWorkspace(2),
(
modifiers: [
Super,
Shift,
],
key: "3",
): Disable,
(
modifiers: [
Super,
Ctrl,
],
key: "7",
): MoveToWorkspace(7),
(
modifiers: [
Super,
Ctrl,
],
key: "0",
): MoveToLastWorkspace,
(
modifiers: [
Super,
Ctrl,
],
key: "6",
): MoveToWorkspace(6),
(
modifiers: [
Super,
@ -57,8 +11,70 @@
Super,
Shift,
],
key: "8",
key: "y",
description: Some("Get OTP"),
): Spawn("zsh -c \"$HOME/.config/scripts/ssh.sh\""),
(
modifiers: [
Super,
Ctrl,
],
key: "2",
): MoveToWorkspace(2),
(
modifiers: [
Super,
Shift,
],
key: "1",
): Disable,
(
modifiers: [
Super,
Shift,
],
key: "6",
): Disable,
(
modifiers: [
Super,
Shift,
],
key: "5",
): Disable,
(
modifiers: [
Super,
Shift,
],
key: "7",
): Disable,
(
modifiers: [
Super,
],
): System(Launcher),
(
modifiers: [
Super,
Ctrl,
],
key: "3",
): MoveToWorkspace(3),
(
modifiers: [
Super,
Shift,
],
key: "8",
): Disable,
(
modifiers: [
Super,
Ctrl,
],
key: "6",
): MoveToWorkspace(6),
(
modifiers: [
Super,
@ -66,6 +82,20 @@
],
key: "4",
): Disable,
(
modifiers: [
Super,
],
key: "n",
description: Some("New Session"),
): Spawn(" zsh -c \"$HOME/.config/scripts/sessions.sh new\""),
(
modifiers: [
Super,
Shift,
],
key: "9",
): Disable,
(
modifiers: [
Super,
@ -78,36 +108,8 @@
Super,
Shift,
],
key: "1",
key: "3",
): Disable,
(
modifiers: [
Super,
Shift,
],
key: "9",
): Disable,
(
modifiers: [
Super,
Shift,
],
key: "6",
): Disable,
(
modifiers: [
Super,
Shift,
],
key: "2",
): Disable,
(
modifiers: [
Super,
Ctrl,
],
key: "8",
): MoveToWorkspace(8),
(
modifiers: [
Super,
@ -118,15 +120,25 @@
(
modifiers: [
Super,
Ctrl,
],
): System(Launcher),
key: "9",
): MoveToWorkspace(9),
(
modifiers: [
Super,
Ctrl,
],
key: "3",
): MoveToWorkspace(3),
key: "8",
): MoveToWorkspace(8),
(
modifiers: [
Super,
Shift,
],
key: "p",
description: Some("Grim Screenshot"),
): Spawn("zsh -c \"grim -g '$(slurp)' - | wl-copy\""),
(
modifiers: [
Super,
@ -143,21 +155,6 @@
key: "o",
description: Some("Get OTP"),
): Spawn("zsh -c \"$HOME/.config/scripts/otp.sh\""),
(
modifiers: [
Super,
Shift,
],
key: "y",
description: Some("Get OTP"),
): Spawn("zsh -c \"$HOME/.config/scripts/ssh.sh\""),
(
modifiers: [
Super,
Shift,
],
key: "5",
): Disable,
(
modifiers: [
Super,
@ -170,19 +167,20 @@
Super,
Ctrl,
],
key: "9",
): MoveToWorkspace(9),
key: "0",
): MoveToLastWorkspace,
(
modifiers: [
Super,
Ctrl,
],
key: "n",
description: Some("New Session"),
): Spawn(" zsh -c \"$HOME/.config/scripts/sessions.sh new\""),
key: "7",
): MoveToWorkspace(7),
(
modifiers: [
Super,
Shift,
],
key: "p",
): System(Screenshot),
key: "2",
): Disable,
}

View file

@ -67,6 +67,12 @@ return {
},
{
"folke/zen-mode.nvim",
opts = {},
opts = {
window = {
backdrop = 0.95,
width = 180,
height = 1,
},
},
},
}

View file

@ -176,6 +176,24 @@ scratch() {
tmux attach-session -t "$name"
}
test() {
menu_items=$(
i=1
local items=()
tmux list-windows -F '#{window_name}' |
while read -r window_name; do
items+=("$(printf '%s %d "select-window -t %s"' "$window_name" "$i" "$window_name")")
i=$((i + 1))
done
printf '%s\n' "${items[@]}"
)
# Execute the command using tmux command-prompt
printf "tmux display-menu -x 20 -y 8 $(printf $menu_items)"
eval $(printf "tmux display-menu -x 20 -y 8 $(printf $menu_items)")
}
case "$1" in
new) new $2 ;;
switch) switch ;;
@ -185,5 +203,6 @@ notes) notes ;;
popup) popup ;;
scratch) scratch ;;
goland-new) goland-new $2 ;;
test) test ;;
*) echo "Please enter an action" ;;
esac

View file

@ -121,6 +121,7 @@ required_packages_pacman:
- libfido2
- yubikey-manager
- zenity
- proton-vpn-gtk-app
flatpak_remote:
- { name: "flathub", url: "https://dl.flathub.org/repo/flathub.flatpakrepo" }