Compare commits
2 Commits
35aaa755e0
...
0f7e79849d
Author | SHA1 | Date | |
---|---|---|---|
0f7e79849d | |||
2a6a3ab604 |
@@ -29,9 +29,13 @@ bindd = SUPER SHIFT, X, X Post, exec, omarchy-launch-webapp "https://x.com/compo
|
|||||||
# bindd = SUPER, SPACE, Omarchy menu, exec, omarchy-menu
|
# bindd = SUPER, SPACE, Omarchy menu, exec, omarchy-menu
|
||||||
|
|
||||||
# keybinds for special workspaces
|
# keybinds for special workspaces
|
||||||
bind = SUPER, S, togglespecialworkspace, slack
|
bindd = SUPER, S, Show/hide Slack, togglespecialworkspace, slack
|
||||||
bind = SUPER, period, togglespecialworkspace, 1password
|
bindd = SUPER, period, Show/hide 1Password, togglespecialworkspace, 1password
|
||||||
bind = SUPER, Z, togglespecialworkspace, creddy
|
bindd = SUPER, Z, Show/hide Creddy, togglespecialworkspace, creddy
|
||||||
|
|
||||||
# I'm used to super+L to lock screen
|
# I'm used to super+L to lock screen
|
||||||
bind = SUPER, L, exec, omarchy-lock-screen
|
bindd = SUPER, L, Lock screen, exec, omarchy-lock-screen
|
||||||
|
|
||||||
|
# I don't want ctrl+alt+delete to affect my "special" apps
|
||||||
|
unbind = CTRL ALT, DELETE
|
||||||
|
bindd = CTRL ALT, DELETE, Close all windows (except special), exec, ~/.local/bin/close-non-special-windows
|
||||||
|
7
dot_config/systemd/user/clear-downloads.service
Normal file
7
dot_config/systemd/user/clear-downloads.service
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Delete downloads older than 24h
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/home/joe/.local/bin/clear-downloads
|
||||||
|
|
10
dot_config/systemd/user/clear-downloads.timer
Normal file
10
dot_config/systemd/user/clear-downloads.timer
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Run clear-downloads service once a day
|
||||||
|
Requires=clear-downloads.service
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=daily
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
@@ -0,0 +1 @@
|
|||||||
|
/home/joe/.config/systemd/user/clear-downloads.timer
|
9
dot_local/bin/executable_close-non-special-windows
Normal file
9
dot_local/bin/executable_close-non-special-windows
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Close all open windows that aren't in special:* workspaces
|
||||||
|
hyprctl clients -j |
|
||||||
|
jq -r '.[] | select(.workspace.name | startswith("special:") | not) | .address' |
|
||||||
|
xargs -I{} hyprctl dispatch closewindow address:{}
|
||||||
|
|
||||||
|
# Move to first workspace
|
||||||
|
hyprctl dispatch workspace 1
|
Reference in New Issue
Block a user