Compare commits

7 Commits

Author SHA1 Message Date
622b723ae8 Merge branch 'master' of git.opal.sh:opal/opalfiles 2026-03-12 09:05:22 -07:00
30d2facbbc zsh chage 2026-03-12 09:04:09 -07:00
a8dd455576 changed lock 2026-03-09 18:32:22 -07:00
37d4dd8a0b updated gitignore 2026-03-09 14:45:58 -07:00
67525324f0 added rofi back 2026-03-09 14:43:09 -07:00
c714c0d946 Merge branch 'master' of git.opal.sh:opal/opalfiles 2026-03-04 08:26:48 -08:00
d26642e949 stoof 2026-03-04 08:26:03 -08:00
5 changed files with 38 additions and 8 deletions

View File

@@ -125,7 +125,7 @@
;;fsharp ; ML stands for Microsoft's Language
;;fstar ; (dependent) types and (monadic) effects and Z3
;;gdscript ; the language you waited for
;;(go +lsp) ; the hipster dialect
(go +lsp) ; the hipster dialect
;;(haskell +lsp) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on

View File

@@ -35,7 +35,7 @@ input {
// dwtp
// drag false
// drag-lock
natural-scroll
// natural-scroll
// accel-speed 0.2
// accel-profile "flat"
// scroll-method "two-finger"
@@ -278,6 +278,8 @@ layout {
// which may be more convenient to use.
// See the binds section below for more spawn examples.
spawn-at-startup "bash" "~/.local/bin/start-keyring.sh"
// This line starts waybar, a commonly used bar for Wayland compositors.
// spawn-at-startup "waybar"
@@ -374,13 +376,15 @@ binds {
// Suggested binds for running programs: terminal, app launcher, screen locker.
Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; }
Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
Mod+D hotkey-overlay-title="Run an Application: rofi" { spawn "~/.config/rofi/launchers/type-7/launcher.sh"; }
Ctrl+Shift+L hotkey-overlay-title="Lock the Screen" { spawn "dms" "ipc" "call" "lock" "lock"; }
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
// Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.
// For example, this is a standard bind to toggle the screen reader (orca).
Super+Alt+S allow-when-locked=true hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; }
// Super+Alt+S allow-when-locked=true hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; }
Mod+Shift+E allow-when-locked=false hotkey-overlay-title=null { spawn-sh "~/.local/bin/emoji_insert.sh"; }
// Super+Alt+S allow-when-locked=true hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; }
// Example volume keys mappings for PipeWire & WirePlumber.
// The allow-when-locked=true property makes them work even when the session is locked.
@@ -594,7 +598,7 @@ binds {
// Mod+Space { switch-layout "next"; }
// Mod+Shift+Space { switch-layout "prev"; }
Print { screenshot; }
Alt+P { screenshot; }
Ctrl+Print { screenshot-screen; }
Alt+Print { screenshot-window; }
@@ -609,10 +613,12 @@ binds {
Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
// The quit action will show a confirmation dialog to avoid accidental exits.
Mod+Shift+E { quit; }
Ctrl+Alt+Delete { quit; }
// Mod+Shift+E { quit; }
// Ctrl+Alt+Delete { quit; }
// Powers off the monitors. To turn them back on, do any input like
// moving the mouse or pressing any other key.
Mod+Shift+P { power-off-monitors; }
}
include "dms/outputs.kdl"

View File

@@ -173,3 +173,22 @@ keys
apply() {
(cd ~/Code/arch-ansible && ansible-playbook -i inventory/hosts.yml site.yml -K "$@")
}
apply-aur() {
(cd ~/Code/arch-ansible/scripts && bash aur-pkg-install.sh)
}
shred-dir() {
local dir="${1:?Usage: shred-dir <directory>}"
local passes="${2:-7}"
[[ ! -d "$dir" ]] && { echo "Not a directory: '$dir'"; return 1; }
echo "Shred '$dir' with $passes passes? [y/N]"
read -r confirm
[[ "$confirm" != [yY] ]] && { echo "Aborted."; return 1; }
find "$dir" -type f -exec shred -uz -n "$passes" {} \;
rm -rf "$dir"
echo "Done."
}

1
.gitignore vendored
View File

@@ -14,3 +14,4 @@ lazy-lock.json
flycheck-packages.el
*.log
.config/zsh/.zcompdump
.local/bin/claude

View File

@@ -0,0 +1,4 @@
#!/bin/bash
# ~/.local/bin/start-keyring.sh
eval $(gnome-keyring-daemon --start --components=secrets)
export GNOME_KEYRING_CONTROL