Compare commits
7 Commits
499a0153c3
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 622b723ae8 | |||
| 30d2facbbc | |||
| a8dd455576 | |||
| 37d4dd8a0b | |||
| 67525324f0 | |||
| c714c0d946 | |||
| d26642e949 |
@@ -125,7 +125,7 @@
|
|||||||
;;fsharp ; ML stands for Microsoft's Language
|
;;fsharp ; ML stands for Microsoft's Language
|
||||||
;;fstar ; (dependent) types and (monadic) effects and Z3
|
;;fstar ; (dependent) types and (monadic) effects and Z3
|
||||||
;;gdscript ; the language you waited for
|
;;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
|
;;(haskell +lsp) ; a language that's lazier than I am
|
||||||
;;hy ; readability of scheme w/ speed of python
|
;;hy ; readability of scheme w/ speed of python
|
||||||
;;idris ; a language you can depend on
|
;;idris ; a language you can depend on
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ input {
|
|||||||
// dwtp
|
// dwtp
|
||||||
// drag false
|
// drag false
|
||||||
// drag-lock
|
// drag-lock
|
||||||
natural-scroll
|
// natural-scroll
|
||||||
// accel-speed 0.2
|
// accel-speed 0.2
|
||||||
// accel-profile "flat"
|
// accel-profile "flat"
|
||||||
// scroll-method "two-finger"
|
// scroll-method "two-finger"
|
||||||
@@ -278,6 +278,8 @@ layout {
|
|||||||
// which may be more convenient to use.
|
// which may be more convenient to use.
|
||||||
// See the binds section below for more spawn examples.
|
// 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.
|
// This line starts waybar, a commonly used bar for Wayland compositors.
|
||||||
// spawn-at-startup "waybar"
|
// spawn-at-startup "waybar"
|
||||||
|
|
||||||
@@ -374,13 +376,15 @@ binds {
|
|||||||
|
|
||||||
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||||
Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; }
|
Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; }
|
||||||
Mod+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; }
|
Mod+D hotkey-overlay-title="Run an Application: rofi" { spawn "~/.config/rofi/launchers/type-7/launcher.sh"; }
|
||||||
Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; }
|
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.
|
// 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`.
|
// 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).
|
// 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.
|
// Example volume keys mappings for PipeWire & WirePlumber.
|
||||||
// The allow-when-locked=true property makes them work even when the session is locked.
|
// 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+Space { switch-layout "next"; }
|
||||||
// Mod+Shift+Space { switch-layout "prev"; }
|
// Mod+Shift+Space { switch-layout "prev"; }
|
||||||
|
|
||||||
Print { screenshot; }
|
Alt+P { screenshot; }
|
||||||
Ctrl+Print { screenshot-screen; }
|
Ctrl+Print { screenshot-screen; }
|
||||||
Alt+Print { screenshot-window; }
|
Alt+Print { screenshot-window; }
|
||||||
|
|
||||||
@@ -609,10 +613,12 @@ binds {
|
|||||||
Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
|
Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
|
||||||
|
|
||||||
// The quit action will show a confirmation dialog to avoid accidental exits.
|
// The quit action will show a confirmation dialog to avoid accidental exits.
|
||||||
Mod+Shift+E { quit; }
|
// Mod+Shift+E { quit; }
|
||||||
Ctrl+Alt+Delete { quit; }
|
// Ctrl+Alt+Delete { quit; }
|
||||||
|
|
||||||
// Powers off the monitors. To turn them back on, do any input like
|
// Powers off the monitors. To turn them back on, do any input like
|
||||||
// moving the mouse or pressing any other key.
|
// moving the mouse or pressing any other key.
|
||||||
Mod+Shift+P { power-off-monitors; }
|
Mod+Shift+P { power-off-monitors; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
include "dms/outputs.kdl"
|
||||||
|
|||||||
@@ -173,3 +173,22 @@ keys
|
|||||||
apply() {
|
apply() {
|
||||||
(cd ~/Code/arch-ansible && ansible-playbook -i inventory/hosts.yml site.yml -K "$@")
|
(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
1
.gitignore
vendored
@@ -14,3 +14,4 @@ lazy-lock.json
|
|||||||
flycheck-packages.el
|
flycheck-packages.el
|
||||||
*.log
|
*.log
|
||||||
.config/zsh/.zcompdump
|
.config/zsh/.zcompdump
|
||||||
|
.local/bin/claude
|
||||||
|
|||||||
4
.local/bin/start-keyring.sh
Normal file
4
.local/bin/start-keyring.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# ~/.local/bin/start-keyring.sh
|
||||||
|
eval $(gnome-keyring-daemon --start --components=secrets)
|
||||||
|
export GNOME_KEYRING_CONTROL
|
||||||
Reference in New Issue
Block a user