Compare commits

...

6 Commits

11 changed files with 86 additions and 18 deletions

View File

@@ -6,28 +6,33 @@ bindd = SUPER, return, Terminal, exec, $terminal --working-directory=$(omarchy-c
bindd = SUPER, F, File manager, exec, uwsm app -- nautilus --new-window bindd = SUPER, F, File manager, exec, uwsm app -- nautilus --new-window
bindd = SUPER, B, Browser, exec, $browser bindd = SUPER, B, Browser, exec, $browser
bindd = SUPER, M, Music, exec, uwsm app -- spotify bindd = SUPER, M, Music, exec, uwsm app -- spotify
bindd = SUPER, N, Neovim, exec, $terminal -e nvim bindd = SUPER, N, Notes, exec, heynote
bindd = SUPER, T, Activity, exec, $terminal -e btop bindd = SUPER, T, Activity, exec, $terminal -e btop
bindd = SUPER, D, Docker, exec, $terminal -e lazydocker bindd = SUPER ALT, D, Docker, exec, $terminal -e lazydocker
bindd = SUPER, G, Signal, exec, uwsm app -- signal-desktop
bindd = SUPER, O, Obsidian, exec, uwsm app -- obsidian -disable-gpu
bindd = SUPER, slash, Passwords, exec, uwsm app -- 1password
# If your web app url contains #, type it as ## to prevent hyperland treat it as comments # If your web app url contains #, type it as ## to prevent hyperland treat it as comments
bindd = SUPER, A, ChatGPT, exec, omarchy-launch-webapp "https://chatgpt.com" bindd = SUPER, A, Claude, exec, omarchy-launch-webapp "https://claude.ai/new"
bindd = SUPER SHIFT, A, Grok, exec, omarchy-launch-webapp "https://grok.com" bindd = SUPER, E, Email, exec, omarchy-launch-webapp "https://mail.google.com/mail/u/0/"
bindd = SUPER, C, Calendar, exec, omarchy-launch-webapp "https://app.hey.com/calendar/weeks/"
bindd = SUPER, E, Email, exec, omarchy-launch-webapp "https://app.hey.com"
bindd = SUPER, Y, YouTube, exec, omarchy-launch-webapp "https://youtube.com/" bindd = SUPER, Y, YouTube, exec, omarchy-launch-webapp "https://youtube.com/"
bindd = SUPER SHIFT, G, WhatsApp, exec, omarchy-launch-webapp "https://web.whatsapp.com/" bindd = SUPER, G, GitLab, exec, omarchy-launch-webapp "https://gitlab.modg.net/"
bindd = SUPER ALT, G, Google Messages, exec, omarchy-launch-webapp "https://messages.google.com/web/conversations" bindd = SUPER ALT, G, Google Messages, exec, omarchy-launch-webapp "https://messages.google.com/web/conversations"
bindd = SUPER, X, X, exec, omarchy-launch-webapp "https://x.com/" bindd = SUPER, O, modgoffice, exec, omarchy-launch-webapp "https://office.modg.org"
bindd = SUPER SHIFT, X, X Post, exec, omarchy-launch-webapp "https://x.com/compose/post"
# lazy apps: Launch if not currently running, otherwise just switch to that app
bindd = SUPER, D, Open/focus DataGrip, exec, ~/.local/bin/lazy-app class:jetbrains-datagrip ~/.local/share/JetBrains/Toolbox/apps/datagrip/bin/datagrip
# Overwrite existing bindings, like putting Omarchy Menu on Super + Space # Overwrite existing bindings, like putting Omarchy Menu on Super + Space
# unbind = SUPER, Space # unbind = SUPER, Space
# bindd = SUPER, SPACE, Omarchy menu, exec, omarchy-menu # bindd = SUPER, SPACE, Omarchy menu, exec, omarchy-menu
# I have my own screnshot script now
unbind = , PRINT
bindd = , PRINT, Screenshot of region, exec, ~/.local/bin/freezeshot
unbind = SHIFT, PRINT
bindd = SHIFT, PRINT, Screenshot of window, exec, ~/.local/bin/freezeshot window
unbind = CTRL, PRINT
bindd = CTRL, PRINT, Screenshot of display, exec, ~/.local/bin/freezeshot output
# create a new workspace # create a new workspace
bindd = SUPER, grave, Create a mew workspace, exec, ~/.local/bin/new-workspace bindd = SUPER, grave, Create a mew workspace, exec, ~/.local/bin/new-workspace
@@ -42,3 +47,4 @@ bindd = SUPER, L, Lock screen, exec, omarchy-lock-screen
# I don't want ctrl+alt+delete to affect my "special" apps # I don't want ctrl+alt+delete to affect my "special" apps
unbind = CTRL ALT, DELETE unbind = CTRL ALT, DELETE
bindd = CTRL ALT, DELETE, Close all windows (except special), exec, ~/.local/bin/close-non-special-windows bindd = CTRL ALT, DELETE, Close all windows (except special), exec, ~/.local/bin/close-non-special-windows

View File

@@ -17,3 +17,5 @@ source = ~/.config/hypr/input.conf
source = ~/.config/hypr/bindings.conf source = ~/.config/hypr/bindings.conf
source = ~/.config/hypr/envs.conf source = ~/.config/hypr/envs.conf
source = ~/.config/hypr/autostart.conf source = ~/.config/hypr/autostart.conf
source = ~/.config/hypr/windows.conf

View File

@@ -0,0 +1,12 @@
# datagrip gets its own named workspace
windowrule = workspace name:DataGrip, class:jetbrains-datagrip
# creddy gets some special treatment
windowrule = workspace special:creddy, class:creddy
windowrule = float, class:creddy
windowrule = size 800 600, class:creddy
windowrule = workspace special:slack, class:Slack
windowrule = workspace special:1password, class:1Password

View File

@@ -13,6 +13,9 @@ node = "lts"
rust = "latest" rust = "latest"
uv = "latest" uv = "latest"
yay = "latest" yay = "latest"
k9s = "latest"
awscli = "latest"
kubectl = "latest"
[tools."pipx:harlequin"] [tools."pipx:harlequin"]
version = "latest" version = "latest"

View File

@@ -16,7 +16,7 @@
], ],
"hyprland/workspaces": { "hyprland/workspaces": {
"on-click": "activate", "on-click": "activate",
"format": "{id}", "format": "{icon}",
}, },
"custom/omarchy": { "custom/omarchy": {
"format": "<span font='omarchy'>\ue900</span>", "format": "<span font='omarchy'>\ue900</span>",

View File

@@ -20,6 +20,9 @@
"format_on_save": "off", "format_on_save": "off",
"ui_font_size": 16, "ui_font_size": 16,
"buffer_font_size": 15, "buffer_font_size": 15,
"buffer_font_features": {
"calt": false
},
"theme": { "theme": {
"mode": "system", "mode": "system",
"light": "One Light", "light": "One Light",

View File

@@ -0,0 +1,3 @@
#!/usr/bin/bash
creddy docker $@

View File

@@ -0,0 +1,32 @@
#!/bin/bash
# adapted from ~/.local/share/omarchy/bin/omarchy-cmd-screenshot
[[ -f ~/.config/user-dirs.dirs ]] && source ~/.config/user-dirs.dirs
OUTPUT_DIR="${OMARCHY_SCREENSHOT_DIR:-${XDG_PICTURES_DIR:-$HOME/Pictures}}"
if [[ ! -d "$OUTPUT_DIR" ]]; then
notify-send "Screenshot directory does not exist: $OUTPUT_DIR" -u critical -t 3000
exit 1
fi
# if we are in the process of screenshotting, cancel that and exit
pkill slurp && exit 0
# freeze display(s)
wayfreeze &
sleep 0.1
# use process substitution to send to satty rather than piping so that we can kill wayfreeze as soon as hyprshot finishes
hyprshot -m ${1:-region} --raw > >(
satty --filename - \
--output-filename "$output_dir/screenshot-$(date +'%y-%m-%d_%h-%m-%s').png" \
--early-exit \
--actions-on-enter save-to-clipboard \
--save-after-copy \
--copy-command 'wl-copy'
) &
wait $(jobs -p %hyprshot)
kill $(jobs -p %wayfreeze)
# satty is still running at this point, but we don't particularly care

View File

@@ -2,5 +2,9 @@
sudo pacman -U https://git.jfmonty2.com/jfmonty2/creddy/releases/download/v0.6.5/creddy-0.6.5-1-x86_64.pkg.tar.zst sudo pacman -U https://git.jfmonty2.com/jfmonty2/creddy/releases/download/v0.6.5/creddy-0.6.5-1-x86_64.pkg.tar.zst
sudo pacman -S unixodbc sudo pacman -S unixodbc
sudo pacman -S vulkan-radeon
sudo pacman -R amdvlk
yay aur/msodbcsql17 yay msodbcsql17
yay wayfreeze-git
yay heynote-bin

View File

@@ -1,7 +1,7 @@
#!/usr/bin/bash #!/usr/bin/bash
# current highest-numbered workspace # generate ids from 1-100, remove the ids of existing workspaces, take the
MAX_WORKSPACE=$(hyprctl workspaces -j | jq 'sort_by(.id) | reverse | .[0].id') # first of the remaining numbers and you have the first available workspace id
FIRST_AVAILABLE=$(hyprctl workspaces -j | jq '[range(1; 100)] - map(.id) | .[0]')
hyprctl dispatch workspace $(($MAX_WORKSPACE + 1))
hyprctl dispatch workspace $FIRST_AVAILABLE

View File

@@ -0,0 +1,3 @@
{
"credsStore": "creddy"
}