Compare commits
5 Commits
68582d6054
...
e2a0d8fb32
Author | SHA1 | Date | |
---|---|---|---|
e2a0d8fb32 | |||
fc429a2f3f | |||
0a765ae781 | |||
db8203219d | |||
f48178a488 |
@@ -13,7 +13,6 @@ size = 10
|
|||||||
padding.x = 14
|
padding.x = 14
|
||||||
padding.y = 14
|
padding.y = 14
|
||||||
decorations = "None"
|
decorations = "None"
|
||||||
opacity = 0.98
|
|
||||||
|
|
||||||
[keyboard]
|
[keyboard]
|
||||||
bindings = [
|
bindings = [
|
||||||
|
@@ -21,24 +21,28 @@ bindd = SUPER, O, modgoffice, exec, omarchy-launch-webapp "https://office.modg.o
|
|||||||
# lazy apps: Launch if not currently running, otherwise just switch to that app
|
# 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
|
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
|
# omarchy uses swapwindow for these binds, but I prefer movewindow so that it can cross monitor boundaries
|
||||||
# unbind = SUPER, Space
|
unbind = SUPER SHIFT, left
|
||||||
# bindd = SUPER, SPACE, Omarchy menu, exec, omarchy-menu
|
unbind = SUPER SHIFT, right
|
||||||
|
unbind = SUPER SHIFT, up
|
||||||
|
unbind = SUPER SHIFT, down
|
||||||
|
bindd = SUPER SHIFT, left, Move window to the left, movewindow, l
|
||||||
|
bindd = SUPER SHIFT, right, Move window to the right, movewindow, r
|
||||||
|
bindd = SUPER SHIFT, up, Move window up, movewindow, u
|
||||||
|
bindd = SUPER SHIFT, down, Move window down, movewindow, d
|
||||||
|
|
||||||
# I have my own screnshot script now
|
bindd = SUPER ALT, left, Move current workspace to the left, movecurrentworkspacetomonitor, l
|
||||||
unbind = , PRINT
|
bindd = SUPER ALT, right, Move current workspace to the right, movecurrentworkspacetomonitor, r
|
||||||
bindd = , PRINT, Screenshot of region, exec, ~/.local/bin/freezeshot
|
bindd = SUPER ALT, up, Move current workspace up, movecurrentworkspacetomonitor, u
|
||||||
unbind = SHIFT, PRINT
|
bindd = SUPER ALT, down, Move current workspace down, movecurrentworkspacetomonitor, d
|
||||||
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
|
||||||
|
|
||||||
# keybinds for special workspaces
|
# keybinds for background apps
|
||||||
bindd = SUPER, S, Show/hide Slack, togglespecialworkspace, slack
|
bindd = SUPER, S, Show/hide Slack, togglespecialworkspace, slack
|
||||||
bindd = SUPER, period, Show/hide 1Password, togglespecialworkspace, 1password
|
bindd = SUPER, period, 1Password quick access, exec, 1password --quick-access
|
||||||
|
bindd = SUPER CTRL, period, Show/hide 1Password, togglespecialworkspace, 1password
|
||||||
bindd = SUPER, Z, Show Creddy, exec, creddy shortcut show-window
|
bindd = SUPER, Z, Show Creddy, exec, creddy shortcut show-window
|
||||||
|
|
||||||
# I'm used to super+L to lock screen
|
# I'm used to super+L to lock screen
|
||||||
|
@@ -10,5 +10,9 @@ windowrule = monitor 2, class:creddy
|
|||||||
|
|
||||||
windowrule = workspace special:slack, class:Slack
|
windowrule = workspace special:slack, class:Slack
|
||||||
|
|
||||||
windowrule = workspace special:1password, class:1Password
|
# excluding floating windows allows the unlock and quick-access popups to show in any workspace
|
||||||
|
windowrule = workspace special:1password, class:1Password, floating:0
|
||||||
|
# quick-access popup doesn't resize automatically when its content changes
|
||||||
|
# windowrule = size 550 404, class:1Password, title:Quick.*
|
||||||
|
windowrule = persistentsize, class:1Password, title:Quick.*
|
||||||
|
|
||||||
|
@@ -17,6 +17,11 @@ k9s = "latest"
|
|||||||
awscli = "latest"
|
awscli = "latest"
|
||||||
kubectl = "latest"
|
kubectl = "latest"
|
||||||
|
|
||||||
|
[tools."gitlab:tools/setconf"]
|
||||||
|
version = "latest"
|
||||||
|
api_url = "https://gitlab.modg.net/api/v4"
|
||||||
|
bin = "setconf"
|
||||||
|
|
||||||
[tools."pipx:harlequin"]
|
[tools."pipx:harlequin"]
|
||||||
version = "latest"
|
version = "latest"
|
||||||
extras = "postgres,odbc"
|
extras = "postgres,odbc"
|
||||||
|
@@ -1,32 +0,0 @@
|
|||||||
#!/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
|
|
Reference in New Issue
Block a user